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

Selection-screen pushbutton & Table Control

Former Member
0 Likes
332

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

2 REPLIES 2
Read only

Former Member
0 Likes
302

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

Read only

Former Member
0 Likes
302

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