11-28-2011 11:36 PM
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.
11-29-2011 2:12 AM
11-29-2011 7:59 AM
Hi Santhosh,
You can try implementing the BADI "MB_DOCUMENT_UPDATE", to update the fields in the material document.
Regards,
Kumaar.S
11-29-2011 10:28 AM
11-30-2011 3:34 AM
thanks for the reply but the parameters in that BADI is only importing and i cannot modify the data in that.
11-30-2011 3:51 PM
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.
11-30-2011 9:03 AM
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