2007 Jul 01 9:33 AM
Hi All,
I created a Table control in Dialog Program. And i try to store all screen values in to Ztable from table control screen fields.
But i am not capturing screen values in to my Ztable.
What is the Procedure to get from screen values to ztable and to be called for workflow?
Thanks and Regards,
Prabhakar Dharmala
2007 Aug 17 5:39 AM
Hi,
The concept is:
In Dialog programming, first we take all the screen data into internal table and then we store it in z-table.
Check the User command first, if it is SAVE, then enter the data in z-table using insert of modify commands.
Hope this help you out.
Regards,
Navin
2007 Jul 01 9:35 AM
2007 Aug 17 4:57 AM
Hi,
see the examples related to Table Control in SE38
demo_dynpro_tabcont_loop
demo_dynpro_tabcont_loop_at
or look in transaction DWDM
RSDEMO_TABLE_CONTROL
LOOP AT <internal table> CURSOR <scroll-var>
[WITH CONTROL <table-control> ]
[FROM <line1> ] [TO <line2> ].
...<actions>...
ENDLOOP.
This form of LOOP loops through the internal table, performing <actions> for each row. For each internal table row, the system transfers the relevant program fields to or from the corresponding screen table row.
Have a look at below links. It will help you.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm
go through this link which ll give you complete idea about the table control
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
http://answers.yahoo.com/question/index?qid=20061119065350AA3mZZl
Check this sample programs
http://www.planetsap.com/online_pgm_main_page.htm
http://sap.niraj.tripod.com/id29.html
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
Regards,
Priyanka.
2007 Aug 17 5:07 AM
HI,
see this SAP help example
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
rgds,
bharat.
2007 Aug 17 5:39 AM
Hi,
The concept is:
In Dialog programming, first we take all the screen data into internal table and then we store it in z-table.
Check the User command first, if it is SAVE, then enter the data in z-table using insert of modify commands.
Hope this help you out.
Regards,
Navin