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: 

can i write write statement at AT SELECTION-SCREEN

Former Member
0 Kudos

Hi all,

can i write write statement at AT SELECTION-SCREEN

Thanks

10 REPLIES 10

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

At selection screen is used to validate the input.

You can validate given input on selection screen.

Regards,

vijay

0 Kudos

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

Former Member
0 Kudos

Hi,

You can, but it won't do anything. Instead use SELECTION-SCREEN COMMENT or MESSAGE.

Regards,

Nick

Former Member
0 Kudos

Hi

Yes u can, but the system won't create an abap list for it, so it's useless

Max

Former Member
0 Kudos

Hi,

Yes, you can write this statement.

But what is the requirement? can you please write your requirement in detail?

Regards,

Deepa Kulkarni

Former Member
0 Kudos

no. u cant write.

even if u write it wont have any impact.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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'.