cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_MKTLIST_BADI - Create Business partner with Custom Fields

ashish_shah
Contributor
0 Kudos

Hi CRM Experts,

I need to add a new field in Mapping format for Organization structure - say ZZCUSTOM.

This field is already added in BUT000 table.

This field will be used in External list upload file to create Leads and business partners.

I have added this field ZZCUSTOM in CRMT_MKTLIST_ORG_EXT structure.

I have also implemented BADI CRM_MKTLIST_BADI by copying its default implementation CL_DEF_IM_CRM_MKTLIST_BADI.

I have activated this BADI for Filter criteria *.

Now in the method : IF_EX_CRM_MKTLIST_BADI~CREATE_BUSINESS_PARTNERS, when it is creating Organization using method :

FM  BUPA_CREATE_FROM_DATA , the structure BAPIBUS1006_CENTRAL_ORGAN has enhancement category "cannot be enhanced".

So i am unable to pass values to this ZZCUSTOM field and BP gets created without this ZZCUSTOM field getting populated.

Can you please suggest how can i populate this ZZCUSTOM field for business partner from BADI CRM_MKTLIST_BADI?

Is there any FM that i can use?

Regards,

Ashish Shah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ashish,

Use FM  BUPA_CENTRAL_CI_CHANGE to update any BP custom field after the call to FM  BUPA_CREATE_FROM_DATA.

Regards,

Shobhit

ashish_shah
Contributor
0 Kudos

Hey Shobhit,

You are absolutely right , BUPA_CENTRAL_EXTINCL_CHANGE works perfect.

However I have used FM BUPA_CENTRAL_EXTINCL_CHANGE and it works the same way too.

Thanks for your help.

Regards,

Ashish Shah

Answers (0)