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: 

Relation between REGUP and RSEG tables.

sharadendu_agrawal
Active Participant
0 Kudos

I want to find out the Purchasing Document number from RSEG table. How to proceed for that.

Initially i am having the values of LAUFD, LAUFI, ZBUKR, LIFNR, VBLNR, BELNR

fields which i am using to find out the values of BUKRS BELNR GJAHR BUZEI

from the REGUP table.

Now i am using BUKRS BELNR GJAHR to find out the value of AWKEY from the BKPF table.

Using the first 10 characters of the AWKEY field as BELNR and GJAHR, BUZEI from the REGUP table i am trying to find out the value of PO number(EBELN) but i am not getting the correct PO number because of the BUZEI field.

I am not getting the correct linkage between the two tables.

Please help me out.

Regards,

Sharadendu

1 REPLY 1

Former Member
0 Kudos

Hi

there is field EBELN and EBELP which is nothing but PO documnet no and item in RSEG table

use them in REGUP

Regards

Anji