a month ago - last edited a month ago
hi,
I have to do a Select with an internal table in Inner Join, but I get this error:
This is how I build the internal table:
Hi,
The following coding should work. However, if you are in S/4HANA, then CDS views are recommended.
SELECT vbeln
INTO TABLE @DATA(lt_odv)
FROM vbak .
"Important to check, otherwise everything will be read.
IF lt_odv IS NOT INITIAL.
SELECT kunnr, land1
INTO TABLE @DATA(lt_vbpa)
FROM vbpa
FOR ALL ENTRIES IN @LT_odv
WHERE vbeln = @LT_odv-vbeln.
ENDIF.
lt_odv is not a database table but an internal table. Hence the error message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.