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

Using multiple screens in report

Former Member
0 Likes
1,579

Hi,

I am working on a report that must contains multiple screens. On the selection screen, i.e screen 1000, there must be two button calling one screen each for some process. This part is ok. I've created the pushbuttons and liked them to the two screens by using sy-ucomm. Now from here I'm stuck.

Can any1 please help on how I can do some select and display the result on the screen. And also how can I set pushbutton to navigate between each screen i.e between the other screens back to the selection screen.

If you have sample code plz do post. Points will be awarded as usual.

Thx

2 REPLIES 2
Read only

Former Member
0 Likes
841

HI,

you have two push buttons on the selection screen.

obviously there will be two function codes attached to each button...

for ex

button1 and button 2.

case sy-ucomm.

when button1.

submit zprog 1 via-selection screen and return

( in this zprog you creat the selection options for condition 1.)

when button2.

submit zprog2 via-selection screen and return.

( inthis zprog2 you creat the selection option for condition 2)

endcase.

reward points if helpful.

regards,

venkatesh

Read only

0 Likes
841

Hi Venkat,

thks for responding. The selection screen has normal select options plus the two pushbutton. from here, when the user clicks on the first button, the screen called does one process. The second button calls another screen for another process.

On the called screens there must be buttons also on top of the processing. The button will either serve to navigate back to the selection screen or further other processes.

Here's a sample of what I did to call the screens:

AT SELECTION-SCREEN.

CASE sy-ucomm.

WHEN 'CLI1'.

CALL SCREEN 3000.

WHEN 'CLI2'.

CALL SCREEN 2000.

ENDCASE.

Please guide me as to how I should proceed now.

Thanks