07-14-2009 11:44 AM
07-14-2009 11:47 AM
Hi
Yes definitely you can use the Write statement in AT SELECTION-SCREEN. But it is of no use as your list processing will only be triggered once START-OF-SELECTION event is triggered. Hence you will not have any output if you use Write statement in AT SELECTION-SCREEN event.
Regards
Ranganath
Edited by: Ranganath K Ramesh on Jul 14, 2009 12:47 PM
07-14-2009 11:47 AM
Hi,
At selection screen is used to validate the input.
You can validate given input on selection screen.
Regards,
vijay
07-14-2009 11:50 AM
yes. it wont give you any error.
but you cant see the output of write statement written in at-selection screen.
rather.. if u want to show some message. you can use:
message 'hello' type 'I'.
or any other message type
Edited by: soumya prakash mishra on Jul 14, 2009 12:51 PM
07-14-2009 11:48 AM
Hi,
You can, but it won't do anything. Instead use SELECTION-SCREEN COMMENT or MESSAGE.
Regards,
Nick
07-14-2009 11:48 AM
Hi
Yes u can, but the system won't create an abap list for it, so it's useless
Max
07-14-2009 11:49 AM
Hi,
Yes, you can write this statement.
But what is the requirement? can you please write your requirement in detail?
Regards,
Deepa Kulkarni
07-14-2009 11:49 AM
07-14-2009 11:54 AM
You can use but it is not required anywhere. It wont be trigger prior to START-OF-SELECTION or END-OF-SELECTION and wont give output.
This is mainly using to do some manipulations after user inputs in selection screen.
Regards,
Sekhar
07-14-2009 11:59 AM
Hi,
why you want to write statement in at slection-screen ?????
if you want to give some message while validating the screen inputs then you need to messages not the write statenment..
Thanks & Regards
Ashu Singh
07-14-2009 12:02 PM
Hi,
If u want show something on the selection screen then u can write the logic like this instead of write statement
selection-screen begin of block b3 with frame title text-057.
selection-screen comment /1(66) text-056.
selection-screen comment /1(12) txtgl1.
selection-screen comment 14(3) splgl1.
selection-screen comment /1(8) txtgl2.
selection-screen comment 14(3) splgl2.
selection-screen comment /1(6) txtgl3.
selection-screen comment 14(3) splgl3.
selection-screen end of block b3.
For Display of the 'SPLGL Indicator Help'
initialization.
txtgl1 = 'Chq Dishonor'.
splgl1 = '- D'.
txtgl2 = 'WCT TDS'.
splgl2 = '- L'.
txtgl3 = 'IT TDS'.
splgl3 = '- I'.