‎2007 Sep 04 7:24 AM
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
‎2007 Sep 04 7:29 AM
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
‎2007 Sep 04 8:18 AM
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..
‎2007 Sep 04 8:50 AM
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
‎2007 Sep 04 7:32 AM
hi,
first use call screen 1200.
and give inputvalues.
then for execute fctcode
generate report.
when 'exe'.
write ur logic
‎2007 Sep 04 7:33 AM
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 .
‎2007 Sep 04 7:34 AM
carry out selections at pai of screen 1200.
plz reward points if dis helps