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: 

BADI for Goods Movement

Former Member
0 Kudos

Hi,

Whenever a materail document number(MKPF-mblnr) is created r changed then i have to write a pgm so that the data(MKPF-mblnr,mjahr,bldat,cputm and Tcode) must be there in a custom table.Can u anyone tell me whats the BADI we can use for this.The fields which must be there in custom table r mblnr,mjahr,bldat,cputm and Tcode.

thanks,

Gopi.

3 REPLIES 3

Former Member
0 Kudos

I am using a BADI for a similar purpose. I do not have a system in front of me to check the name.

I think it was MB_DOCUMENT_BADI and two methods were available. It is fully documented and the fields you listed are available.

Former Member
0 Kudos

Hi,

Try the BADI MB_DOCUMENT_UPDATE..

Thanks,

Naren

Former Member
0 Kudos

Hi Gopi,

The following post will explain how to search all the badis that belong to any transaction.

Regards,

Eric