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

Validation in Inbound IDOC

Hi Gurus,

I have to use IDoc type MBGMCR02 for an inbound scenaio for processing 303movement type in ECC.I have to validate material number is presnet or not in ECC .I want to know where can write the logic for it for an inbound idoc.

Regards

Ravi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 02, 2012 at 12:00 PM

    MBGMCR Message type is a BAPI transformed into an IDoc and has no customer exits, although SAP does

    recommend using it to post inventory.

    In your case i think the BAPI should automatically Validate the Material when an idoc is sent

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2012 at 05:28 PM

    Hello ,

    It is an SAP Standard Interface created through BDBG. I would suggest you to create a similar interface using BDBG.

    1. First create an empty BAPI( Copy of BAPI_GOODSMVT_CREATE) say ZBAPI_GOODSMVT_CREATE. Note the remove the logic of your Z BAPI.

    2. Got to SWO1, create a deleagtion of BUS2017 called ZBUS2017 and a new Z API Method ZCREATEFROMDATA forr Z BAPI

    Release and Activate.

    3. Now go to BDBG and create an BAPI -ALE Interface.

    You can write the custom logic and validation in your Z BAPI - ZBAPI_GOODSMVT_CREATE and finally call the standard BAPI BAPI_GOODSMVT_CREATE in it to post goods movement.

    Advantage : 1. one less enhancement for SPAU, next upgrade.

    2. Interface is generated automatically , only you need to take care of your custom code in Z BAPI.

    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.