2007 Mar 02 5:56 AM
Hi,
I have a "agreement number" and the VBELN(SD document number) and i need to know the accounting document number linked to them....is there some table/FM using which I can find that out.
also,do i need some thing more than a agreement number and VBELN to find the accounting number?
thnx in advance
chirantan
2007 Mar 02 6:07 AM
Hi,
You need not have agreement number to find out Document number.
what u do is go to VBAK table find out KUNNR based on Sales order, then with that kunnr go to BSID table, give Kunnr value & find Document number (BELNR).
If helps pls reward points.
2007 Mar 02 6:49 AM
Hi,
You can Pass the Agreement No in XBLNR and VBELN fields to BSID table and get the BELNR Accounting Number.
Regards,
Anji