Posted by [IP Address: 195.95.30.140] 'Aldo De Ceulaerde' on March 07, 2001 at 12:56:16 EST:
In Reply to: Can the tables be defined dynamically ? posted by [IP Address: 195.95.30.140] 'Padmakar Khandekar' on February 28, 2001 at 11:22:51 EST:
: Hi All,
: Many a times, I've sensed this need of defining the tables dynamically. Supposing I want to write a Utility ABAP which would allow the user to choose the fields she wants to be displayed when she gives Table name as the input.
: This means, I would not know which table the user is interested in and hence I can't define it before I take the input from the user.
: Tables from DLIB would be needed to be read, of course for validation of user input. But what after that ?
: Could anybody be of help ?
: Thanks a lot in advance.
: Cheers,
: Padmakar
There are a few solutions to your problem :
- Take a look at the "field-symbols" and the "assign" instructions (help assign in abap-editor)
- You could write an abap which generates the necessary coding and call this newly created abap.
Greetings,
Aldo