cancel
Showing results for 
Search instead for 
Did you mean: 

How to change material document?

Former Member
0 Kudos

Dear All,

Is there any userexit or enhancement to change quantity or amount of a material doucment in the tcode MIGO_GR?

I found a userexit MB_CF001, but it is not called in this tcode.

And the BADI MB_BAPI_GOODSMVT_CREATE cannot change MSEG

How can I change a material document in the tcode MIGO_GR?

Thanks!

Kevin

Accepted Solutions (0)

Answers (5)

Answers (5)

chundru_ravindra
Participant
0 Kudos

Hi,

I think you can use BAdI  :  MB_DOCUMENT_UPDATE

Ravindra.

Former Member
0 Kudos

Dear Ravindra,

I checked the BAdI (MB_DOCUMENT_UPDATE) you mentioned,

but its parameter XMSEG can not be modifed.

How should I do?

Thanks in advance,

Kevin

Former Member
0 Kudos

MB_MIGO_BADI method LINE_MODIFY

Former Member
0 Kudos

The best way to do this is change the quantities on the MIGO screen before they are posted. MB_MIGO_BADI method LINE_MODIFY was created for this.

Do not change the quantities of material documents as they are being posted!  That will lead to inconsistencies in inventory management and you lose all your friends at work.

Former Member
0 Kudos

Dear,

It seems that I have to change my solution.

Ok. I will find another way to satisfy my customers.

Thanks!

Kevin

Former Member
0 Kudos

Hi Kevin,

Did you try Function Module - MB_CHANGE_DOCUMENT

Former Member
0 Kudos

Do you know how to fine and use implicit enhancements?

Neal