Skip to Content
avatar image
Former Member

can i write write statement at AT SELECTION-SCREEN

Hi all,

can i write write statement at AT SELECTION-SCREEN

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

9 Answers

  • avatar image
    Former Member
    Jul 14, 2009 at 11:02 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 10: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 10:47 AM

    Hi,

    At selection screen is used to validate the input.

    You can validate given input on selection screen.

    Regards,

    vijay

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Jul 14, 2009 at 10:48 AM

    Hi

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

    Max

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 10:48 AM

    Hi,

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

    Regards,

    Nick

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 10: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 10:49 AM

    no. u cant write.

    even if u write it wont have any impact.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 10: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 10: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

    Add comment
    10|10000 characters needed characters exceeded