11-14-2005 12:42 PM
Hi all,
I want to create screen fields and table controls dynamically.
My requirement: I will get the any function module interface at run time. I want to display the interface in edit mode.
Is it possible to create screen fields and table controls at run time?
If yes please let me know how to create screen fields at run time.
11-14-2005 1:08 PM
Hello Parasuram,
I don't think you can dynamically create a table control on a dynamically created screen.
Using an ALV Grid might be a good option.
Regards,
Anand Mandalika.
11-14-2005 1:07 PM
11-14-2005 1:08 PM
Hello Parasuram,
I don't think you can dynamically create a table control on a dynamically created screen.
Using an ALV Grid might be a good option.
Regards,
Anand Mandalika.
11-14-2005 2:26 PM
Hi Parasuram,
You have to create your report in dynamic, that's to create the code, and call it in run time.
Look the command : "load report" ....
You can use the ALV Grid to call a dynamic table, but you have to play with fields symbols, it's not an easy way.
Rgd
Frédéric
11-14-2005 4:17 PM
Hello Jonnala,
as far as I know this is not possible with the current releases. In order to satisfy your request I would go for selection screens includings tabs. If you have a 6.x installation you may check cl_CI_Query_Attributes=>Generic() to get an impression whats necessary.
True dynamic screen creation with dynpros is not possible. But with Web Dynpro (release 7.00) thinks will improve significantely.
Regards
Klaus
11-14-2005 5:25 PM
Hi Parasuram,
As evrybody said it is not possible to create table
control dynamically. But you can do this using ALV
grid all the options you have in Table control all are
avialable here.check the program BCALV_EDIT_01.
Using field symbols we can dynamicaly create output
table and use it for Grid.
I have done this kind of scenario in my program.
Thanks & Regards,
Siri.
11-14-2005 5:33 PM
If your requirement is specific to testing function modules from your program, look at function module RS_FUNCTION_TEST.
Srinivas
11-16-2005 7:13 AM
Thanks to all,
Srinivas
RS_FUNCTION_TEST function module will work for my requirment. When i call this FM it is calling the given function modules interface in edit mode.
We are reading faild queue data we want to pass that data to function module interface .user will edit that data and hewill execute.
Is there any way to do this?
11-16-2005 1:16 PM
Not with this one, I don't think so, but I will see if there is one like that.