2010 Mar 25 5:51 PM
Hello Sdneros, I have a problem, well in short what I need and I'm designing is to create a program by entering the name of a table in the dictionary and running, I create another selection screen with the fields of the table, it is important which are the fields in that table introduced above, for time can be displayed on the screen to enter data into the fields to finally be able to be rescued and treated by the program.
I tried to debug the SE16 and have the following:
The first thing I encounter is that I get is a function of "RS_TABLE_LIST_CREATE" which will we put a table and we believe the selection screen with the key fields of the table. Now the problem is that I ask myself how can I rescue that screen data created by the function?.
Follow debugging function and I find that this function which basically does is create a report at runtime and then executes the function, this program is running the selection screen with the fields of the table. Then here you can not touch anything because you create and execute at runtime.
Following once executed debugging RS_TABLE_LIST_CREATE function, and painted the fields in the display screen and executed for values entered in the fields, the fuciona no longer has control of the program but does the program generated previously discussed, and what's more, to process the data of the display is going to function group includes SETB, where this group of functions including RS_TABLE_LIST_CREATE. Then I thought about copying and ZSET SETB to copy the function modules for RS_TABLE_LIST_CREATE to Z_RS_TABLE_LIST_CREATE I pull the includes Z and can modify them to finally capture the screen data created by Z_RS_TABLE_LIST_CREATE Selection.
But I do not work even though I created a new group and new function, the program produced follow the includes tiered SETB.
Any suggestion, how to create a select-option apart from the name of a table and then captuar data entered into fields generated screen ?.....
Thanks, greetings.
Moderator message - Welcome to SCN - Subject edited
Edited by: Rob Burbank on Mar 25, 2010 1:56 PM
Hello Sdneros, I have a problem, well in short what I need and I'm designing is to create a program by entering the name of a table in the dictionary and running, I create another selection screen with the fields of the table, it is important which are the fields in that table introduced above, for time can be displayed on the screen to enter data into the fields to finally be able to be rescued and treated by the program.
I tried to debug the SE16 and have the following:
The first thing I encounter is that I get is a function of "RS_TABLE_LIST_CREATE" which will we put a table and we believe the selection screen with the key fields of the table. Now the problem is that I ask myself how can I rescue that screen data created by the function?.
Follow debugging function and I find that this function which basically does is create a report at runtime and then executes the function, this program is running the selection screen with the fields of the table. Then here you can not touch anything because you create and execute at runtime.
Following once executed debugging RS_TABLE_LIST_CREATE function, and painted the fields in the display screen and executed for values entered in the fields, the fuciona no longer has control of the program but does the program generated previously discussed, and what's more, to process the data of the display is going to function group includes SETB, where this group of functions including RS_TABLE_LIST_CREATE. Then I thought about copying and ZSET SETB to copy the function modules for RS_TABLE_LIST_CREATE to Z_RS_TABLE_LIST_CREATE I pull the includes Z and can modify them to finally capture the screen data created by Z_RS_TABLE_LIST_CREATE Selection.
But I do not work even though I created a new group and new function, the program produced follow the includes tiered SETB.
Any suggestion, how to create a select-option apart from the name of a table and then captuar data entered into fields generated screen ?.....
Thanks, greetings.
Moderator message - Welcome to SCN - Subject edited
Edited by: Rob Burbank on Mar 25, 2010 1:56 PM
2010 Mar 25 7:17 PM
Have a look at this blog by Horst Keller, could be close to what you're trying to do here (in case I understand correctly).
/people/horst.keller/blog/2009/09/03/abap-geek-13--interactive-dynamic-where-clauses
Thomas
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |