Skip to Content
0
Former Member
Feb 07, 2008 at 04:31 PM

Cannot update batch header no matter how I try in MB_DOCUMENT_BADI

129 Views

I am trying to update next inspection date via MIGO when Goods Receipting a production order which is held in the batch header and in a classification we have set up. I have used function modules to try and perform the update.

I have used both 'VB_UPDATE_BATCH' and QEVA_BATCH_UPDATE both by themselves and in an update task to update field QNDAT. (1st one updating MCHA and MCH1 the second one to update MCHA).

I had the code before in POST_DOCUMENT of BADI MB_MIGO_BADI and this made no difference either. Sometimes it updates if I cancel the material document and redo the goods receipt with the same production number but this is very inconsistent. I need this to be done when I am posting the goods receipt.

Does anyone have any ideas as I am at the end of my tether with this one?

Many thanks

Regards

Larissa Maryniuk

Edited by: Larissa Maryniuk on Feb 7, 2008 4:34 PM