Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

user-exit/BADI to MIGO for updating the GR before posting.

Former Member
0 Kudos

Hi All,

I have a requirement where the before I post the GR in MIGO i need to update the GR number to the delivery note field GENERAL tab of header, i tried with the possible exits and BADIs but in vain , any suggestions please.

6 REPLIES 6

Former Member
0 Kudos

This message was moderated.

0 Kudos

Hi Santhosh,

You can try implementing the BADI "MB_DOCUMENT_UPDATE", to update the fields in the material document.

Regards,

Kumaar.S

0 Kudos

Hi

Try also with MB_MIGO_BADI

Regards

Eduardo

0 Kudos

thanks for the reply but the parameters in that BADI is only importing and i cannot modify the data in that.

0 Kudos

Hi,

You can use the badi MB_DOCUMENT_UPDATE method MB_DOCUMENT_BEFORE_UPDATE

or badi MB_MIGO_BADI method POST_DOCUMENT.

You need to call a function module IN UPDATE TASK in order to save the data in DB, you can use an update statement within this FM...

Create the FM with processing type: Update Module and Start Delayed.

Regards.

nabheetscn
Active Contributor
0 Kudos

Hi,

what i think is since you need to update delivery note you need call your own BAPI/FM logic and sumit it in a new task.

thanks

Nabheet