2011 Dec 04 7:58 PM
Hi Expert,
I am doing BDC program for transaction MFBF.
After call transaction MFBF, it is posting Goods reciept number.
I want to capture that Goods Reciept Number and display in output.
Can any one know how to capture or which table it will store?
Regds,
Udupi
2011 Dec 05 6:21 AM
While calling transaction, ad logic i.e.
Call transaction MB51messages into msgtab.
Now u had to set a debugging point to check in which msgtype posting number is captured.
Then write
if sy-subrc = 0.
read msgtab into wtab with key msgtype = .....
Edited by: Suruchi Razdan on Dec 5, 2011 7:21 AM
2011 Dec 05 1:16 AM
HI ,
you need to capture all messages using "call transaction MESSAGES INTO itab(type BDCMSGCOLL) " ...it will capture all the informations incl GR no.
Regards
Prabhu
2011 Dec 05 6:21 AM
While calling transaction, ad logic i.e.
Call transaction MB51messages into msgtab.
Now u had to set a debugging point to check in which msgtype posting number is captured.
Then write
if sy-subrc = 0.
read msgtab into wtab with key msgtype = .....
Edited by: Suruchi Razdan on Dec 5, 2011 7:21 AM
2011 Dec 05 6:58 AM
GR no is stored in MKPF and MSEG tables(i.e. Material document no).
2011 Dec 05 8:23 AM