on 10-08-2008 7:48 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<ignore>
Edited by: Vijay Babu Dudla on Oct 8, 2008 2:56 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check table MSEG.
Regds,
Senthil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.