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

Reg : Selection screen

Former Member
0 Likes
698

Hi all,

I created a custom button on the tool bar of my standard selection screen (1000).

On the click event of that button i want to call another screen say 1200.

the user will provide inputs in the screen 1200 and on the click even of execute button on screen 1200 the report should be generated.

the problem is when I click execute button on screen 1200 the control does not go the start of selection event, it again comes back to the standard selection screen 1000.

Please suggest me an approch.

Thanks & regards.

vijay

6 REPLIES 6
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
682

Hi,

Check in debug mode if it is going to any other evet that is

AT SELECTION-SCREEN. or AT USER-COMMAND.

I think you might have to use the SY-DYNNR to find out the screen number and then process in these event blocks.

<b>Is 1200 a SELECTION-SCREEN or NORMAL screen?</b>

Regards,

Sesh

Read only

0 Likes
682

hi .

It is a selection screen and I have done coding for that...

the problem is, the control is not even going at start of selection event..

Read only

0 Likes
682

Hi,

The control will not gotoSTART-OF-SELECTION when you do a event on the screen, it will go to either AT SELECTIOn-SCREEN or AT USER-COMMNAD.

Do you have these event blocks in your program.

Regards,

Sesh

Read only

Former Member
0 Likes
682

hi,

first use call screen 1200.

and give inputvalues.

then for execute fctcode

generate report.

when 'exe'.

write ur logic

Read only

Former Member
0 Likes
682

Hi..

I think u r not written code for that . u should write the code under user case statement.

like this .

case sy

when 'BACK'.

leave screen .

endcase.

just post u r code .

Read only

former_member188827
Active Contributor
0 Likes
682

carry out selections at pai of screen 1200.

plz reward points if dis helps