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

Relation between VBAP and VBRK

Former Member
0 Likes
4,878

Hi All,

I need to find out the relation ship between VBAP and VBRK,

Using VBRK-VBELN how i wll find out vbps-vstel.

Plese suggest me how to do this????

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,370

HI Vinay ,

First you need to establish the relationship between VBRK and VBRP on the field VBELN. In the VBRP table there is one field called VGBEL it contains the referance number from the table VBPA.

Please try this and let me know.

Regards,

Nikhil Joshi

6 REPLIES 6
Read only

GauthamV
Active Contributor
0 Likes
2,370

Plz SEARCH in SCN beofre posting.

VBRP-AUBEL = VBAP-VBELN

VBRP-AUPOS = VBAP-POSNR.

Read only

Former Member
0 Likes
2,370

gautham thanku fr u r reply.

I searched in SDN Ididnt get the proper solution .

Here i need to link between VBAP and VBRK

.

Read only

GauthamV
Active Contributor
0 Likes
2,370

VBRP-AUBEL = VBAP-VBELN

VBRP-AUPOS = VBAP-POSNR

VBRP-VBELN = VBRK-VBELN.

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
2,370

Hi,

If an invoice number exists for a sales document, the you can check the sales document number corresponding to the invoice number using VBRP-AUBEL

Hope this helps you.

Regards,

Tarun

Read only

0 Likes
2,370

Checked!

VBRKvbeln = VBAPvbeln

Read only

Former Member
0 Likes
2,371

HI Vinay ,

First you need to establish the relationship between VBRK and VBRP on the field VBELN. In the VBRP table there is one field called VGBEL it contains the referance number from the table VBPA.

Please try this and let me know.

Regards,

Nikhil Joshi