on 06-28-2014 6:40 PM
I need to link three table:
VBAK (order) -> VBFA (to take delivery)->LIPS (delivery item)
Can anyone write 2 SELECT statement to link these three table. I can't figure out the keys to link them in the WHEREstatement.
Help please!
Select VBELV, POSNV, VBELN, POSNN from VBFA into it_vbfa for all entries in IT_VBAK where VBELV = IT_VBAK-VBELN.
Select VBELN, POSNR from LIPS into it_LIPS for all entries in IT_VBFA where VBELN = IT_VBFA-VBELN.
Thanks,
Lalit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
read VBFA with:
VBELV = VBAK-VBELN
POSNV = VBAP-POSNR
VBTYP_V = 'C' (--> Order)
VBTYP_N = 'J' (--> Delivery)
obtain VBELN and POSNN (delivery number and item), and read with this data table LIPS.
Best regards,
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.