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

Regarding report

Former Member
0 Likes
416

hi

As of my requirement i want to pick data from VBAK,BKPF,BSEG according to customer number(KUNNR),I didn't find common field in VBAK and BKPF and one more If i take the loop for header data(VBAK) shell i take/read/loop the another header data(BKPF) b/w the loop. waitng for ur reply.

Thanks & Regards,

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
395

hI,

Use VBAK-KUNNR EQ BESG-KUNNR....get the data based on the KUNNR from bseg and then use bkpf to get header data..

Regards,

nagaraj

3 REPLIES 3
Read only

former_member404244
Active Contributor
0 Likes
396

hI,

Use VBAK-KUNNR EQ BESG-KUNNR....get the data based on the KUNNR from bseg and then use bkpf to get header data..

Regards,

nagaraj

Read only

0 Likes
395

Thanks nagaraj

i done this,but my question is can we retrieve the data from header(bkpf) data based on item(bseg) data.

Read only

0 Likes
395

Hi,

Based on the Document Number and Year in BSEG Table we can pick the data in BKPF.