‎2005 Aug 11 2:35 PM
I have completed a report but the problem is that in my report I have no select-options or parameters. What do I have to do to have a screen before executing the report, where to write some text? (Now, when executing the program it shows up the final list).
I tried this:
selection-screen begin of block raport with frame title text-111.
selection-screen begin of line .
selection-screen comment (20) text-222 .
selection-screen end of line .
selection-screen end of block raport .
But it's not working.
‎2005 Aug 11 2:45 PM
Looks like you need to have at least one PARAMETERS or SELECT-OPTIONS statement in order for the selection-screen to be thrown. Here is a work around. Put a display only field at the end of your text line.
selection-screen begin of block raport with frame title text-111.
selection-screen begin of line .
selection-screen comment (20) text-222 .
selection-screen position 79.
parameters: p_check.
selection-screen end of line .
selection-screen end of block raport .
at selection-screen output.
loop at screen.
screen-input = '0'.
modify screen.
endloop.
Regards,
Rich Heilman
‎2005 Aug 11 2:47 PM
Hi,
so set an dummy-parameter (without function)
'test' at your sel-screen.
Andreas
‎2005 Aug 11 2:50 PM
Hi, have you used LSMW? when launch LSMW, you can see a modal screen popup with the introduction content before entering LSMW. (using tcode LSMW)
If you can that effect, you can develop a smiliar effect in your application.
CALL SCREEN <scrn>
STARTING AT <X1> <Y1>
ENDING AT <X2> <Y2>.
<scrn> is a modal screen, and X Y is the axis position for show screen.
You can add it in the Initialize event. With no parameter or select-screen.
Hope it will be helpful
Thanks
Message was edited by: zhenglin gu
‎2005 Aug 11 2:59 PM
Hi,
If you don't have any parameters or selction options or radio buttons... etc.
One way could be, give an information message as a first statement in your start of selection. In that message you can write whatever the text you want to display.
I hope this work out.
All the best.
Bye..
Santala.
‎2005 Aug 12 9:12 AM
Hi,
If you want text area in selection screen,refer this standard SAP program.
SAPTEXTEDIT_TEST_EVENTS
‎2006 Mar 08 2:04 PM
Hi George,
Wouldnt it be a good idea to create a screen containing the required static text which you may call at the start of the START-OF-SELECTION event followed by the program logic for your report.
Cheers,
Venkat
‎2006 Mar 08 2:20 PM
Hi,
If you dont require a selection screen, why do you want it?
still if you wabt it.. you can add some parameters
and then make them invisible in the event
AT SELECTION-SCREEN OUTPUT.
Regards,
Shashank
‎2006 Mar 08 2:25 PM
Hi
Use <b>Initialization</b> event.
Hope it will useful.
Regards
vinod