Skip to Content
avatar image
Former Member

Diplay Text in Text Box in selection Screen

Hi Experts i want to display text in text box in selection screen like

Personnal Number

Display in text box and disable................please help me

Edited by: BFawad26 on Jun 21, 2010 9:46 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Jun 21, 2010 at 07:50 AM

    Hi,

    You mean to say parameter in selection screen

    Just press F1 on parameter you will get all the option available for the parameter

    for defaulting text just give your text in DEFAULT option for the parametr

    And for disabling this checkbox you can explore the LOOP AT SCREEN concept

    In at selection screen output event you can modify the selection screen.just give one modif id for your

    paramete and use this at selection screen output event , loop at screen and modify screen with the screen input = 0

    for ur parameter.

    Thanx

    Edited by: PawanG on Jun 21, 2010 9:51 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 21, 2010 at 08:07 AM

    SELECTION-SCREEN BEGIN OF BLOCK b1.

    PARAMETERS : P_1(4) TYPE c DEFAULT 'TEST'.

    SELECTION-SCREEN END OF BLOCK b1.

    AT SELECTION-SCREEN OUTPUT .

    LOOP AT screen.

    if screen-name = 'P_1'.

    screen-input = 0.

    MODIFY SCREEN.

    endif.

    ENDLOOP.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 21, 2010 at 08:07 AM

    HI ,

    You mean screen validation.

    loop at screen

    LOOP AT SCREEN.

    IF screen-name = 'VAL'. < parameters or checkboxes >

    screen-active = '0'.

    MODIFY SCREEN.

    ENDIF.

    ENDLOOP.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 21, 2010 at 08:20 AM

    i mean i want to diplay label of the parameter........

    in the text box

    like we define the lable from

    Goto-----> Text Elements -


    > Selection Texts

    i define that label in text box...........!

    that define the i/o field........!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      SELECTION-SCREEN BEGIN OF BLOCK b1.

      PARAMETERS : P_1(4) TYPE c DEFAULT 'TEST'.

      SELECTION-SCREEN END OF BLOCK b1.

      AT SELECTION-SCREEN OUTPUT .

      LOOP AT screen.

      if screen-name = '%_P_1_%_APP_%-TEXT'.

      screen-invisible = 1.

      MODIFY SCREEN.

      elseif screen-name = 'P_1'.

      screen-input = 0.

      MODIFY SCREEN.

      endif.

      ENDLOOP.

      Edited by: cagatay ersoylu on Jun 21, 2010 10:29 AM

  • Jun 21, 2010 at 08:33 AM

    Hi,

    Please see the SCN rules before Posting.

    With Regards,

    Sumodh.P

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 21, 2010 at 08:36 AM

    Have you resolved this or you still need help?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member
      selection-screen begin of line.
        selection-screen begin of comment 1(15) t1.
        parameters: p1 type char5.
      selection-screen end of line.
      
      initialization.
      t1 = 'My Text Here'.

      try this..

  • Jun 21, 2010 at 09:23 AM

    This is very basic, please search for available information before posting, e.g. ABAP online help.

    Thread locked.

    Thomas

    Add comment
    10|10000 characters needed characters exceeded