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: 

link bkpf_vbak

naveen_inuganti2
Active Contributor
0 Kudos

hi...

IAM GOING JOIN THE TABLES BKPF AND VBAK WHAT IS THE LINK????

Thank you,

Naveen

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

There is no direct realation b/w vbak and bkpf.

First from vbak to vbap>lips>then link vbrp-VBELN = bkpf-awkey.

Regards

Kiran Sure

5 REPLIES 5

Former Member
0 Kudos

please reward points if useful

Former Member
0 Kudos

Hi,

There is no direct realation b/w vbak and bkpf.

First from vbak to vbap>lips>then link vbrp-VBELN = bkpf-awkey.

Regards

Kiran Sure

0 Kudos

can you againd send this link... clearly..

iam not understand... that sentence...

Former Member
0 Kudos

hi naveen the relation b/w bkpf and vbak is:

u can link with company code.

like BKPF-BUKRS = VBAK-BUKRS_VF.

bkpf-bukrs --> company code and

vbak-bukrs_vf --> comp code to be billed.

points if satisfied,

Rgds,

sudeer.

Former Member
0 Kudos

hi,

go through this:

u can link bkpf and vbak with company code.

BKPF-BUKRS = VBAK-BUKRS_VF.

like

SELECT a~bukrs

a~belnr

a~gjahr

b~vbeln

b~objnr

b~bukrs_vf

FROM bkpf AS a INNER JOIN vbak AS b

into TABLE itab WHERE ( abukrs = b bukrs_vf ).

( or )

into CORRESPONDING FIELDS OF TABLE itab

WHERE ( abukrs = b bukrs_vf ).

Rewards for usful help,

Rgds,

sudharsan.