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

Relationship between tables

Former Member
0 Kudos
1,274

Hi,

I have lifnr(lfa1), bukrs(lfb1), augdt(bsik) fields and i have to find relationship between tables bseg ,vbrk, likp,and vbrp,

Thanks,

Amit.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
781

Hi,

BKPF-AWKEY = VBRK-VBELN.

LIKP-VBELN = VBRP-VGBEL.

Thanks,

Naren

5 REPLIES 5
Read only

Former Member
0 Kudos
782

Hi,

BKPF-AWKEY = VBRK-VBELN.

LIKP-VBELN = VBRP-VGBEL.

Thanks,

Naren

Read only

Former Member
0 Kudos
781

hi

good

you cant directly access the BSEG table bcz it is a cluster table ,BSEG TABLE is the combination of 4 other table,so first check table from which table you r going to access the data and than find the relationship with other table,i hope definitely you ll get the relationship.

Thanks

mrutyun^

Read only

Former Member
0 Kudos
781

Hi Amit,

I did not understand what exactly is ur requirement, however u can relate the tables:

LIKP -SD Document: Delivery Header Data field: VBELN

VBRK-Billing Document: Header Data : VBELN, BUKRS

VBRP-Billing Document: Item Data : VBELN

BSEG-Accounting Document Segment : BUKRS

Hope this answers ur query...

Mark useful answers...

Read only

Former Member
0 Kudos
781

Hi

VBRP-vbeln = VBRk-vbeln

likp-vbeln = VBRk-vbeln

bseg-BELNR = vbrk-BELNR

bseg-Bukrs = vbrk-bukrs

bseg-gjahr = vbrk-gjahr

likp-lifnr = bseg-lifnr

Regards

Shiva

Read only

0 Kudos
781

Hi,

Thanks for the reply. But how to get vbeln from bukrs, lifnr, augdt.

Thanks,

Amit.