cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with mBDoc's...

Former Member
0 Kudos

Hi all,

I'm currently working on a project that needs an enhancement for the mBDoc BUPA_MAIN in CRM/IS-U.

First issue:

Therefore I've - according to help.sap.com - created a new segment in the BDoc-Modeller. Later this turned out to be the wrong place for my enhancement.

According to OSS-Note 432101 it is impossible to change a BDoc that is already released. Is there any chance of deleting this segment?

Up to now my BDoc hasn't been transported away from the development system.

Second issue:

There is still an error in the exchange of data between CRM and IS-U as well as the other direction.

Can somebody describe how I can debug this scenario?

I need to know which FuBa's are called...

Thank you in advance.

Regards

Dennis

Accepted Solutions (1)

Accepted Solutions (1)

patricia_vega
Advisor
Advisor
0 Kudos

Hi Dennis,

A Bdoc in status Released, means that only compatible modifications can be done on this Bdoc. Releasing a Bdoc is not mandatory for it to be used in the data flow.A Bdoc is released just to avoid incompatible modifications on it.

Regarding the IS-U issue, there is a guide in service.sap.com, containing all function modules which must be activated in order to enable data exchange of BP with CRM, the name is "IS-U Specifications for the Set-Up and Load Guide for the Business Partner", the extract containing the modules:

Converting Control Tables

To realize the IS-U-specific business partner concept, you must convert the following control tables.

In IS-U table COM_BUPA_CALL_FU (transaction SM30) for the business partner object, make the following

entries (with set call indicators):

Event Position Name of Function Module

Mapping In 5000 COM_BUPA_MWX_FILTER_ISU

Mapping In 10000 COM_BUPA_MWX_FILTER_MAIN

Mapping In 50000 COM_BUPA_MWX_MAP_NUMRANGE

Mapping In 100000 COM_BUPA_MWX_MAP_MAIN_CENTRAL

Mapping In 150000 COM_BUPA_MWX_MAP_ISU

R/3 Object In 3000000 COM_BUPA_MAIN_INBOUND_ISU

R/3 Object Out 1000000 COM_BUPA_MWX_CREATE_MAIN

Mapping Out 100000 COM_BUPA_MWX_BPS_FILL_CENTRAL

Mapping Out 150000 COM_BUPA_MWX_BPS_FILL_ISU

In CRM table CRMC_BUT_CALL_FU (transaction SM30) for the business partner object, make the following

entries (with set call indicators):

Event Position Name of Function Module

CRM In 50000 CRM_BUPA_BDOC_MAP_NUMRANGE

CRM In 100000 BUPA_MWX_BDOC_MAP_MAIN_CENTRAL

CRM In 200000 CRM_BUPA_BDOC_MAP_MAIN

CRM Out 100000 BUPA_MWX_BDOC_BPS_FILL_CENTRAL

CRM Out 200000 CRM_BUPA_BDOC_BPS_FILL_DATA

R/3 Adapter Outbox 100000 BUPA_MWX_BDOC_UP_CURRSTATE_SET

In transaction BF31, change the allocation of function modules for the following Business Transaction Events

(BTE):

Event Applc. Function Module

DE_KTOKD IS-U COM_INTERFACE_DE_KTOKD_ISU

00001321 IS-U ISU_INTERFACE_00001321

Delete all other entries for these two events:

CAM_1000

CAM_2000

CAM_3000

(...)

If you cannot find the guide I can send you a copy (it's just a couple of pages).

Regards, Patricia

Former Member
0 Kudos

Hi Patrica,

Unfortunaly I wasn't told abut the Released_status before

But it is possible to `UNDO` all changes at the database level. A nice person at SAP helped me with that after I created an OSS-Message.

Anyways that should only be the very last option.

Debugging is possible by setting the flag __debug in method PROCESS_OUTBOUND of class CL_SMW_MFLOW.

Then you can reprocess the BDoc in SMW01 with ok_code 'MSG_RPBD'.

The Customizing Table COM_BUPA_CALL_FU is a good place to start but in my case I had to customize Table CRM_COCU to allow a complex structure to be processed.

The associated tables in CRM are:

SMW_BECOCU and CRMC_BUT_CALL_FU

In my case I ha to make an entry in SMW_BECOCL to specify the RFC-FM in IS-U...

So long and thanks for all the information

Dennis

Answers (0)