Skip to Content
author's profile photo Former Member
Former Member

issue in selection screen and at selection-seen output command

Hi All,

I habe one parameter called payroll area in selection screen when i enter US01 and i press enter it has to show one more selection block in this block i need one filed called absence types it should be select option not parameter.

based on payroll area absence type should be changes.

absence type is selecoption not parameter.

i know how to write for parameter i am not sure abt select options.

anybody can help me how to approach.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2008 at 12:34 PM

    Hi,

    Use this :

    Select options: S_matnr for mara-matnr no intervals no-extentions.

    Regards,

    Amit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 17, 2008 at 01:58 PM

    Check out this code...

    *&---------------------------------------------------------------------*
    *& Report  ZTEST_SDN
    *&
    *&---------------------------------------------------------------------*
    *&
    *&
    *&---------------------------------------------------------------------*
    
    REPORT  ztest_sdn.
    
    DATA:wa_sbook TYPE sbook.
    
    
    PARAMETERS: p_hide TYPE c AS CHECKBOX USER-COMMAND hide.
    
    SELECT-OPTIONS: s_carrid FOR wa_sbook-carrid.
    
    
    AT SELECTION-SCREEN OUTPUT.
    *  IF sy-ucomm = 'HIDE'.
    
      LOOP AT SCREEN.
        IF p_hide = 'X'.
          IF screen-name = '%_S_CARRID_%_APP_%-TEXT' OR
             screen-name = '%_S_CARRID_%_APP_%-OPTI_PUSH' OR
             screen-name = 'S_CARRID-LOW' OR
             screen-name = '%_S_CARRID_%_APP_%-TO_TEXT' OR
             screen-name = 'S_CARRID-HIGH' OR
             screen-name = '%_S_CARRID_%_APP_%-VALU_PUSH'.
            screen-active = '0'.
          ENDIF.
        ELSE.
          IF screen-name = '%_S_CARRID_%_APP_%-TEXT' OR
             screen-name = '%_S_CARRID_%_APP_%-OPTI_PUSH' OR
             screen-name = 'S_CARRID-LOW' OR
             screen-name = '%_S_CARRID_%_APP_%-TO_TEXT' OR
             screen-name = 'S_CARRID-HIGH' OR
             screen-name = '%_S_CARRID_%_APP_%-VALU_PUSH'.
            screen-active = '1'.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    
    
    *  ENDIF.
    
    

    you have to go to the selection screen and get each element that has been generated by SAP.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2010 at 01:30 PM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.