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: 

How can we get Account document number

Former Member
0 Kudos
501

Hi ,

I am working on MIR4 transaction ,i want to know how we can get account document number(From which table), i have only WBS Element ,Purchase ordernumber and invoice party.By using this three fields from which table i can get unique account document number?

Regards,

Lakshmaiah.c

6 REPLIES 6

Former Member
0 Kudos
97

Hi,

If you are looking for GL acount description you will get from SKAT table. SKAT-TXT20 / SKAT-TXT50.

<b>Reward points</b>

Regards

0 Kudos
97

Hi ,

I need Account document number but not GL acount description .

Regards,

Lakshmaiah.C

0 Kudos
97

Hi,

In table BSEG, give BELNR (Accounting Document number)

<b>Reward points</b>

Regards

0 Kudos
97

Hi ,

You are right .For one EBELN and EBELP is there chances to have more than one account document numbers?.For this i need clarification

Regards,

Lakshmaiah.C

Former Member
0 Kudos
97

Hi

Just pass the PO no and Item no (EBELN and EBELP) fields into RSEG table and take the Accounting doc number (BELNR) from it

Also Pass LIFNR Invoicing party(vendor) also to RSEG table

RBKP is the header for Invoices and RSEG is the Item table

Reward points for useful Answers

Regards

Anji

Message was edited by:

Anji Reddy Vangala

0 Kudos
97

Hi Anji Reddy,

If we take BELNR from RSEG that is the Invoice document number but i need accounting document number .

Regards,

Lakshmaiah.