06-17-2008 4:31 PM
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
06-17-2008 4: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.
06-17-2008 4: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.
06-17-2008 4: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