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 doubt

Former Member
0 Likes
318

hi,

i have created two pushbuttons namely view and exit.

while i am press the view button it display the records of internal table. by using these statements

AT SELECTION-SCREEN.

CASE SYST-UCOMM.

WHEN 'VIEW'.

LEAVE TO LIST-PROCESSING.

SELECT * FROM YSUSTAB1 INTO TABLE IT1.

LOOP AT IT1 INTO YSUSTAB1.

WRITE:/ YSUSTAB1-NAME, YSUSTAB1-ROLLNO.

ENDLOOP.

WHEN 'EXIT'.

LEAVE TO SCREEN 0.

ENDCASE.

after i saw the records of the internal table. i have to return back to previous screen. how it is possible. i dont know.

please resolve my probs.

regards

surender

1 REPLY 1
Read only

Former Member
0 Likes
304

Hi,

try this

WHEN 'EXIT'.

LEAVE TO SELECTION-SCREEN 1000