cancel
Showing results for 
Search instead for 
Did you mean: 

Extending BUPA_MAIN with custom fields

Demirbilek
Explorer
0 Kudos

Hi all;

Could anyone please send me a step-by-step guide to enhance BUPA_MAIN with a custom field and exchange data with R/3? We' re using CRM 5.0 and R/3 470.

Best regards;

Hakan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hakan

Have a look at the functionality of the easy enhancement workbench (Tx EEWB) to add additional fields to CRM objects like business partners. They have also the option to exchange them with R/3, although you have to do some programming in R/3 itself. If you search this forum for EEWB you will find alot of documentation and examples.

Regards, Kai

Answers (1)

Answers (1)

Former Member
0 Kudos

Here's a way to enhance BUPA_MAIN:

1. Tcode - SBDM -> choose BUPA_MAIN.

2. Double click 'Related Data Type' : BUS_EI_MAIN (this structure has the interface parameters which hold the BP data).

3. Double click the deep structure: PARTNERS -> will take you to the line type BUS_EI_EXTERN, which can be enhanced manually by append structure or by creating a EEWB project, in which case this structure is enhanced with custom fields when you generate the EEWB project!

4. You can view these fields in the outgoing BDoc in the transaction SMW01 ->Show BDoc Extension Data which is the deep structure PARTNERS above.

Regards,

Naga.

Demirbilek
Explorer
0 Kudos

Hi Naga;

Thank you for your reply. I have created additional custom fields using EEWB. On the CRM site, everything seems to be fine. I can see my custom fields in the BUT000 table too. My main question is, what is to be done on the R/3 site... I have tried some solutions refering to some OSS notes and forum threads but I couldn't retrieve my custom field data from R/3 to CRM.

Former Member
0 Kudos

Typically you make an RFC call to CRM in your custom program in R/3 to fetch these custom fields (from CRM) and do what you want to do in R/3 - say, post a transaction. In your RFC, make use of the function module BUPA_CENTRAL_CI_GET_DETAIL to fetch the custom fields in the structure <i>BUS000_EEW</i>. Note: this module itself is not RFC-enabled!

Or, you could implement one of the BADi definitions - CRM_BUS20001_R3A or CRMXIF_PARTNER_MAP to work with 'customer extensions' structures. <i>These BADis are used in all components in which a data transfer from SAP CRM to SAP ECC should be executed.</i>

Regards,

Naga.