Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc Extension for Inbound MBGMCR Message

Former Member

I am working on a scenario where the MBGMCR02 IDoc needs to be extended to accomodate two customs fields that are used within the application. I know that it won't be a problem to add the new custom segment to the IDoc, but I cannot find any exits within the code that would allow for the fields on the new custom segment to be processed and sent to the application. Most other IDocs that I have worked with have an area within the code for the custom data to be processed.

The inbound process code is BAPI and the code eventually calls function module IDOC_INPUT_MBGMCR. Does anybody know of any exits that I could use to process data from a custom segment on the IDoc?

Thanks,

Mark

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Fm IDOC_INPUT_MBGMCR donot have any exit where u can populate ur custom segment data. Only option is to copy this FM to a zFM and then modify that FM based on ur need.

Regards,

Joy.

2 REPLIES 2

Former Member
0 Kudos

Fm IDOC_INPUT_MBGMCR donot have any exit where u can populate ur custom segment data. Only option is to copy this FM to a zFM and then modify that FM based on ur need.

Regards,

Joy.

Former Member
0 Kudos

Hi Mark,

I have checked the FM IDOC_INPUT_MBGMCR there is no exit for the particular FM.I sugggest you to copy the standard one and add the necessary extended segments and assign the function module to the inbound process code.

Hope this helps..

Regards,

Sharath