‎2007 Jan 05 7:35 PM
Hi Everyone
In my program i have a pushbutton in my selection-screen; this button call a screen with a table control, the problem is when i run my report and return to the first screen, the data in the TC is cleared.
It's possible to save the information of my TC if i run my report and return to the first screen??
Thanks & Regards
David
‎2007 Jan 05 7:38 PM
Yes. Place the logic of populating the TC in the PBO of the screen which has the TC. It looks like you have the logic in the PAI of the selection screen.
- Guru
Reward points for helpful answers
‎2007 Jan 05 7:57 PM
Hi,
Write the logic for putting data from an internal table into table control in the PBO of the called screen & not in the PAI of the calling screen. Also, when you exit that screen, retrieve data into the internal table.
For e.g. if Screen 9002 contains table control then
PBO of Screen 9002:
loop at it_itab into x_itab with control table_control_name.
module put_data.
endloop.
PAI of screen 9002:
loop at it_itab into x_itab.
module get_data.
endloop.
Reward points if the answer is helpful.
Regards,
Mukul