Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Material document number and accounting document

Hi,

Which tables can you find the accouting number (BSEG-BELNR) from a given material document #? I know there is a transaction MB03 we can look up, but I'm coding an user exit, I need to loop up tables.

Thanks

Lily

Tags:
Former Member
Former Member replied

Hi,

You can use the table BKPF.

pass AWTYP = 'MKPF'

and AWKEY = 'Material document number' (MKPF-MBLNR) + 'Year'(MKPF-MJAHR).

basically concatenate 'Material document number' (MKPF-MBLNR) + 'Year'(MKPF-MJAHR) to get the awkey...and then use that value in the BKPF select.

Thanks

Naren

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question