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

Data is lost after press enter button on table control

Former Member
0 Likes
361

hello all,

i have created a ztable and created a screen with table control for the same table.

i want to fill the table in the screen ... but when i fill the first row and press enter key... the data is vanashing means the screen becomes empty.

can anyone suggest me how to hold the data even after pressing the enter key?

Also I have search threads which is given in sdn and i have applied also but i don't know what is happening.I have tried both table control with wizard and without wizard.

Please guide me step by step.

Regards,

Shivam.

Moderator Message: This is a frequently asked question in the forums. Why dont you search for earlier provided solutions? If you need a step-by-step solution please take a classroom course.

Edited by: kishan P on Mar 29, 2011 10:58 AM

hello all,

i have created a ztable and created a screen with table control for the same table.

i want to fill the table in the screen ... but when i fill the first row and press enter key... the data is vanashing means the screen becomes empty.

can anyone suggest me how to hold the data even after pressing the enter key?

Also I have search threads which is given in sdn and i have applied also but i don't know what is happening.I have tried both table control with wizard and without wizard.

Please guide me step by step.

Regards,

Shivam.

Moderator Message: This is a frequently asked question in the forums. Why dont you search for earlier provided solutions? If you need a step-by-step solution please take a classroom course.

Edited by: kishan P on Mar 29, 2011 10:58 AM

1 REPLY 1
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
326

Declare a module on chain-request in the PAI like module fname on chain-request

Module definition should contain:

modify itab INDEX tc-current_line transporting (itab-fields in the table control).

THIS SAVES THE DATA YOU FILLED IN THE TABLE CONTROL AND ALSO IN THE ITAB.