Application Development 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: 

Regarding start-of-selection

mahesh_jagnani
Participant
0 Kudos

Hi all,

i have created a program and two transaction.

in the program i have created two selection screen 120 and 130.

while craeting transaction zxx1 i put program name xxx and selection screen 120 and while craeting transaction zxx2 i put program name xxx and selection screen 130.

.Now when i am executing the transaction zxx1 / zxx2 the control does not go to start-of-selection.

can you plz provide me solution,

Thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

In PAI create a module and put your code for start of selection there.

Regards,

Manoj Kumar P

4 REPLIES 4

Former Member
0 Kudos

Hi,

In PAI create a module and put your code for start of selection there.

Regards,

Manoj Kumar P

Former Member
0 Kudos

i think u have not maintaned the next screen when u have defined the screens . maintain the screen sequence when u r creating the screen.

Regards,

Sumanjeet

Former Member
0 Kudos

Hi,

write the code as below...

start-of-selection.

If sy-tcode = 'ZREPORT1'.

call selection-screen '123'.

elseif sy-tcode = 'ZREPORT2'.

call selection-screen '99'.

endif

Refer to this link for more detail..

mahesh_jagnani
Participant
0 Kudos

Thanks