cancel
Showing results for 
Search instead for 
Did you mean: 

SBDoc is not getting created

Former Member
0 Kudos

I have created a new custom SBDoc which is an exact copy of SAP standard SBDOC CAPGEN_OBJECT_WRITE.

I have activated, generated and released the BDoc.

I have created subscriptions for this new SBDoc for a site.

However, when a BUPA_MAIN MBDoc is received in CRM, it is only creating SBDoc for CAPGEN_OBJECT_WRITE and not my custom SBDOC. What else do I need to do to have my custom BDoc created when BUPA_MAIN is received.

I need to create a custom BDoc as I am trying to test a theory to resolve a specific problem we are having. I want to be able to investigate this without impacting the existing CAPGEN_OBJECT_WRITE.

Any help is appreciated.

Thanks

Haseeb

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you'll need to trigger the sbdoc creation yourself. You can either do this in a flow context function (smo8fd) of bupa_main or in the BaDI between CRM online and the CDB (CRM_30A_USER_EXITS).

The Badi is the easiest: there you can copy the standard sbdoc into your own sbdoc and process it in the MW.

Michael.