cancel
Showing results for 
Search instead for 
Did you mean: 

Update of Sales Area thru ELM.

former_member320292
Active Participant
0 Kudos

Hi Guys,

I have gone thru ELM functionality. I could not find sales area details for mapping.

Is it possible to upload Sales Area data thru ELM?

If I need to add additional categories how can I do it.

Regards,

Rahul

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Rahul,

Refer Note 915015 - ELM : Create business partners in role 'Prospect'. This note talks about the changes required for creation of Prospect from ELM.

Similarly you can create Sold-to party. In Method Creare_person, at this point the role prospect is added, instead of BUP002 export CRM000.

CALL FUNCTION 'BAPI_BUPA_ROLE_ADD'

EXPORTING

businesspartner = lv_bp_person

businesspartnerrole = 'BUP002' " Prospect

TABLES

return = et_return.

Also to populate sales area data, you can code below this by calling function module BAPI_BUPA_FRG0030_ADD, wherein you will have to pass the sales area.

Wish this helps.

Regards,

Shalini Chauhan

srikantan_j
Contributor
0 Kudos

Hi Rahul,

In order to add additional fields you need to do structure enhancements using Appended Fields, the process enables the creation of a new mapping format to map additional fields that could not be mapped with the standard target structure.

For more information on how to do it, please go through the link provided below:

[http://help.sap.com/saphelp_crm50/helpdata/en/e6/889840c7872e54e10000000a1550b0/content.htm]

Remember, the standard ELM functionality in the CRM system allows the creation of business partners only in the role "Business Partner general" or "Consumer". If you wish to create business partners in other roles like 'Sold-to Party' etc., you need to implement a BADI .

You must create and activate a seperate implementation for the CRM_MKTLIST_BADI BAdI. The path to this is as follows:

IMG -> Customer Relationship Management -> Marketing -> External List

Management -> Business Add-Ins(BAdIs) -> Define Execution of steps

You can see the default implementation of the BAdI if you display the BAdI in Transaction SE18. Use the 'Goto' menu to display the source code of the default implementation. The ABAP OO class for this is CL_DEF_IM_MKTLIST_BADI and you can display it directly in the ABAP Workbench.

Copy the source code of the default implementation in your new class. Also copy the additional private methods CREATE_ORGANIZATION, CREATE_PERSON. In the methods CREATE_ORGANIZATION and CREATE_PERSON, you must assign the new role (like 'sold-to party') to the business partner when you have created it. The BAPI_BUPA_ROLE_ADD function module is used to do this.

Hope this is useful to you

regards

Srikantan

former_member320292
Active Participant
0 Kudos

Hi Srikantan,

We have tried to implement as advised by you. It is throwing an error.

Is it possible to pass documentation regarding how to create the class & how it will be called by ELM.

Regards,

Rahul

srikantan_j
Contributor
0 Kudos

Hi Rahul,

You must create a separate implementation for the CRM_MKTLIST_BADI

BAdI. Copy the source code from the default implementation. Also

copy the additional private methods

CREATE_ORGANIZATION,

CREATE_PERSON,

ADD_INTL_ADDR_VERSION,

CONTP_ADD_INTL_ADDR_VERSION

and the source code in these methods.

You can see the default implementation of the BAdI if you display

the BAdI in Transaction SE18. Use the 'Goto' menu to display the

source code of the default implementation. The ABAP OO class for

this is CL_DEF_IM_MKTLIST_BADI and you can display it directly in

the ABAP Workbench.

In the method CREATE_ORGANIZATION or CREATE_PERSON, you must assign

a new role to the business partner when you have created it. Use

the BAPI_BUPA_ROLE_ADD function module to do this.

Also go through the SAP Note 915015, this might be useful to you.

regards

Srikantan