Skip to Content

retrieving document number after saving in MIGO

hello all

we are creating a custom table that contains specific data that is being filled while using transaction MIGO.

we want to save in this table also the document number of the transaction performed but the document number is being created only after saving.

Can someone help?

I recall our developer doing this a while back but I do not remember what he did.

thanks all

Alisa

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 28, 2016 at 06:44 AM

    You can call this statement in Update task e.g. create a custom function module and in FM update the custom table. Call this function module with update task. you will get the document number created.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2016 at 06:48 AM

    Try below one

    Badi name: MB_DOCUMENT_BADI

    Methodname:MB_DOCUMENT_BEFORE_UPDATE

    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.