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

Enhance Bapi BAPI_GOODSMVT_CREATE

Hi ,

I have a requierement to Enhance the standard function module IDOC_INPUT_MBGMCR to perform update to Ztable and to Perform validation to prevent duplicated record (this will handle in PI or need validation to be built within the function module) .

I know the process how to enhance badi steps but i am not getting where should i put the code for update the Ztable.

BAPI (Function module u2019BAPI_IDOC_INPUT1) which call subsequent FMs (u2018IDOC_INPUT_MBGMCRu2019 > u2018BAPI_GOODSMVT_CREATEu2019), further investigation is required if above standard function module BAPI_GOODSMVT_CREATE can be used and facilitate update the Z-table where BAPI_GOODSMVT_CREATE is successfull.

Then at which point i have to update the table.

Moderator message: please choose more descriptive subject lines for your posts.

Edited by: Thomas Zloch on Jul 8, 2011 9:31 AM

Edited by: shilpi agarwal on Jul 8, 2011 9:37 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2011 at 07:42 AM

    Hi Shilpi,

    If you are on ECC 6.0, then you can use the implicit enhancement that is available at the end of the FM - IDOC_INPUT_MBGMCR to update the Z Table, based on the result of BAPI_GOODSMVT_CREATE.

    Regards,

    Chen

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2011 at 08:22 AM

    I have replied to your question in [Enhance BADI|Enhance BADI;. Have you tried to use the enhancement section/points available in BAPI_GOODSMVT_CREATE (after the subroutine call to MB_POST_GOODS_MOVEMENT). Read the records in RETURN table after the sub-routine call to check whether the document is successfully posted.

    Regards, Vinod

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 04:06 AM

    done

    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.