Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table Control not retrieving values to ztable

former_member184112
Active Contributor
0 Likes
596

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
561

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

4 REPLIES 4
Read only

amit_khare
Active Contributor
0 Likes
561

Refer the link might be helpful -

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
561

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.

Read only

Former Member
Read only

Former Member
0 Likes
562

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