Hi guys,
I'd like to do this operation on a select.
This is the rigth way to write a select:
SELECT SINGLE * FROM MARA WHERE ...
I'd like to have the name of the table as a parameter.
So i'd like to use this way to write my SELECT:
Form take USING tab.
SELECT SINGLE * FROM tab WHERE ...
ENDFORM.
Is it possible to do it ? If yes, could you show me how.
Best regards
Giampiero
Moderator message: please search for available information and read ABAP documentation before asking.
locked by: Thomas Zloch on Oct 12, 2010 3:20 PM
Just put the variable inside ().
select * from (tabname) where ...
Add a comment