Application Development and Automation 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: 
Read only

Help regarding report

Former Member
0 Likes
631

I want to create reports for sales order and purchase order

so i need is that which tables and fields will be added in the report

and which are all key fields and their purpose

thank you,

Regards,

Jagrut Bharatkumar Shukla

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
606

hi jagrut,

for purchase order tables used are: vbak, vbap,

for sales order : ekko , ekpo.

with regards,

Suresh Aluri.

4 REPLIES 4
Read only

Former Member
0 Likes
606

Hi,

For PO, generally we use table EKKO (PO Header) and EKPO (PO Item). Go to SE11 to see what fields are in those tables.

Read only

Former Member
0 Likes
606

HI Jagrut

Sales order Header is 'VBAK' , Sales order Detail is 'VBAP'.

the key field for VBAK is VBELN (Sales Doc)

VBAP is VBELN (Sales Doc) and POSNR (item no)

Relation between VBAK and VBAP is VBAK-VBELN = VBAP-VBELN

Purchase order Header is 'EKKO' , Purchase order Detail is 'EKPO'.

the key field for EKKO is VBELN (Pur Doc)

EKPO is EBELN (Pur Doc) and EBELP (item no)

Relation between EKKO and EKPO is EKKO-EBELN = EKPO-EBELN

Regards

Wiboon

Message was edited by:

Wiboon Chaiyabutsakul

Read only

Former Member
0 Likes
606

Hi,

Use the tables EKKO,EKPO,VBAK, VBAP.

check out the field BSTNK in VBAK table .. which is PO number for that SO....

Reward Points if it is Useful.

Thanks,

Manjunath MS

Read only

Former Member
0 Likes
607

hi jagrut,

for purchase order tables used are: vbak, vbap,

for sales order : ekko , ekpo.

with regards,

Suresh Aluri.