Code: Alles auswählen.
DATA: tabname type dboject_d.
oder
DATA: tabname type string value `/SPDGS/DP_LTPO`
EXEC SQL.
SELECT LTRNR
FROM tabname
into :ltrnr
where exidv = : code
ENDEXEC.
Code: Alles auswählen.
EXEC SQL.
SELECT LTRNR
FROM `/SPDGS/DP_LTPO`
into :ltrnr
where exidv = :code
ENDEXEC.
Code: Alles auswählen.
DATA: tabname type string value `/SPDGS/DP_LTPO`.
EXEC SQL.
SELECT LTRNR
FROM :tabname
into :ltrnr
where exidv = :code
ENDEXEC.