Skip to Content
author's profile photo Former Member
Former Member

IDoc Extension for Inbound MBGMCR Message

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 03:47 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 03:53 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.