Skip to Content
Former Member
Dec 08, 2008 at 01:31 PM

how to create a BDoc in an ABAP report ?



I need to develop a report to send customer specific data from CRM to R/3. This report will be executed as a batch every to update data in R/3 from specific data in CRM (created with EEWB).

The question is : which FM do I have to use to create and process the BDoc ?

I start to develop the report and I tried to use the FM BUPA_MWX_BDOC_CREATE_MAIN.



CT_BP_EXTERN = t_partnerdata.

I fill the table t_partner_data which typ eis BUS_EI_EXTERN_T and the report run seems to run fine as I see the BDoc created with the data in transaction SMW01 but th Bdoc remains in state intermediate state.

When I click on button Show BDoc Msg receivers, the message "No receivers or error segments for BDoc message ..." appears.

When I check the BDoc message classic data, I see the structure CRMW_BUPA_HEAD filled with one entry but the CRMW_BUPA_SITES is empty. With standard transaction, BDoc processing runs fine.

Thanks for any help

Edited by: Jerome Munier on Dec 8, 2008 2:31 PM