SELECT B~VBELN,
A~KSCHL
FROM NAST AS a
INNER JOIN VBRK AS B ON LEFT( a~OBJKY,10 ) = B~VBELN
WHERE ( B~VKORG BETWEEN ‘A101‘ AND ‘A103‘ )
AND A~KSCHL = ‘ZGPB‘
INTO TABLE @DATA(LT_NA).
2023-09-25 08:50:28
SELECT B~VBELN,
A~KSCHL
FROM NAST AS a
INNER JOIN VBRK AS B ON LEFT( a~OBJKY,10 ) = B~VBELN
WHERE ( B~VKORG BETWEEN ‘A101‘ AND ‘A103‘ )
AND A~KSCHL = ‘ZGPB‘
INTO TABLE @DATA(LT_NA).