Modifying selection-screen

hi friends,
I am trying to modify selection-screen.
I want select-option to get disabled when i check one checkbox.I am using SCREEN table for this purpose.
But on selection-screen when i check checkbox select-option is not getting disabled at that time . it happens only when i press ENTER.
Plz anybody tell me how can i disable SO only by checking the checkbox.
<REMOVED BY MODERATOR>
SM.
Edited by: Alvaro Tejada Galindo on Mar 18, 2008 6:47 PM

Try This,
TABLES:
vbak.
SELECT-OPTIONS:
so_vbeln FOR vbak-vbeln  MODIF ID a.
PARAMETERS: p_acta TYPE checkbox USER-COMMAND act DEFAULT 'X'.
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF p_acta = ' '.
      IF screen-group1 = 'A'.
        screen-active = 0.
      ENDIF.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.
Edited by: Rengith Skariah on Mar 18, 2008 1:44 PM
Edited by: Rengith Skariah on Mar 18, 2008 1:46 PM

Similar Messages

  • Modifying Selection screen dynamically

    Hi guyz
    herez another question
    Can we modify selection-screen dynamically  as we do in case of screen
    What i want to do is
    I want to display one parameter as  checkbox and when user ticks this box I want to display another one
    If we are defining two checkboxes earlier and making one invisible than can we modify selection screen to display another check box
    Thanks in advance

    Take a look at this example.
    REPORT EVENT_DEMO.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
      PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',
                  R2 RADIOBUTTON GROUP RAD1,
                  R3 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.
      PARAMETERS: R4 RADIOBUTTON GROUP RAD2 DEFAULT 'X',
                  R5 RADIOBUTTON GROUP RAD2,
                  R6 RADIOBUTTON GROUP RAD2.
    SELECTION-SCREEN END OF BLOCK B2.
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
      IF R1 = 'X'.
        MESSAGE W040(HB).
      ENDIF.
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD2.
      IF R4 = 'X'.
        MESSAGE W040(HB).
      ENDIF.

  • Modify selection screen for Logical Database 'SDF'

    Hi
    I need to make a section of the standard selection screen for logical database 'SDF' invisible. I have tried the differet selection screen options of the report attributes, but none of the provided ones give me what I want.
    How can I find the name of the screen group for the "Line Item Selection" block of the selection screen so that I can make it invisible when the selection screen is displayed?
    Thanks,
    Thomas

    I tried to do this:
    Loop at screen.
             if   screen-group4 = '026'
               or screen-group4 = '027'
               or screen-group4 = '028'.
                 screen-invisible = 1.
                 modify screen.
             endif.
    endloop.
    This removed the selection text for these fields, but the Line Item Selection block is still visible, and the actual input fields are also visible. They now look like password input fields with all ***** in them.
    What am I doing wrong?
    Thanks for your help!
    Thomas

  • Modifying selection screen with help of radio buttons

    Hi,
      In my program am using three parameters to download a three different files and I have to use radiobuttons for that.
    I want to download only one file at a time.
    I have used MODIF ID but it is not working for 3 Parameters but it is working for only two parameters.
    Please help me out!!!!!!!!!

    Hi,
    check with the following code
    * Parameters and Selection Options
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_lifnr FOR  lfm1-lifnr .
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS:
       r_asn RADIOBUTTON GROUP rad1 USER-COMMAND uc1 DEFAULT 'X',
       r_ers RADIOBUTTON GROUP rad1  ,
       r_830 RADIOBUTTON GROUP rad1,
       r_850 RADIOBUTTON GROUP rad1,
       r_862 RADIOBUTTON GROUP rad1,
       r_810 RADIOBUTTON GROUP rad1,
       r_820 RADIOBUTTON GROUP rad1,
       r_824 RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECT-OPTIONS: s_bstae   FOR lfm1-bstae MODIF ID sd1.
    PARAMETERS:
       p_ekorg   TYPE lfm1-ekorg   MODIF ID md1,
       p_evcode  TYPE edp21-evcode MODIF ID md2,
       p_kappl   TYPE nach-kappl   MODIF ID md3,
       p_parvw   TYPE nach-parvw   MODIF ID md4,
       p_kschl   TYPE nach-kschl   MODIF ID md5,
       p_vakey   TYPE nach-vakey   MODIF ID md6,
       p_werks   TYPE werks_d      MODIF ID md7,
       p_bukrs   TYPE lfb1-bukrs   MODIF ID md8.
    SELECTION-SCREEN END OF BLOCK b3.
    *eject
    * Initialization
    INITIALIZATION.
    *  PERFORM check_authorization.
    *eject
    * at selection screen
    *AT SELECTION-SCREEN.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF r_asn EQ 'X'
          AND ( screen-group1 = 'MD3' or screen-group1 = 'MD4'
             or screen-group1 = 'MD5' or screen-group1 = 'MD6'
             or screen-group1 = 'MD7' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_ers EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD3'
             or screen-group1 = 'MD4' or screen-group1 = 'MD5'
             or screen-group1 = 'MD6' or screen-group1 = 'MD7'
             or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_830 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD6'
             or screen-group1 = 'MD7' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_850 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD6'
             or screen-group1 = 'MD7' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_862 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_810 EQ 'X'
          AND ( screen-group1 = 'MD3' or screen-group1 = 'MD4'
             or screen-group1 = 'MD5' or screen-group1 = 'MD6'
             or screen-group1 = 'MD7' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_820 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD3'
             or screen-group1 = 'MD4' or screen-group1 = 'MD5'
             or screen-group1 = 'MD6' or screen-group1 = 'MD7' ).
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_824 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD3'
             or screen-group1 = 'MD4' or screen-group1 = 'MD5'
             or screen-group1 = 'MD6' or screen-group1 = 'MD7'
             or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    *eject
    * Event top of page
    TOP-OF-PAGE.
    *eject
    * event Start of Selection
    START-OF-SELECTION.
    *eject
    *EVENT End-of selection
    END-OF-SELECTION.
    *eject
    *EVENT  End-of page
    END-OF-PAGE.
    Regards,
    Vikas.
    plz reward if helpful..

  • Regarding modify  selection-screen

    sorry but this funda has never been clear to me
    can you please help me out
    on my selection screen i have 3 fields
    1 employee
    2. start date
    3. end date
    and two radio buttons
    1. employee wise report
    2.detailed report
    now when i select the employee wise report then it should display the employee field on the selection screen
    and if i select the detailed report radio button then the selection screen should have only two fields that is start and end date
    tere should be no employee field on the selection screen then
    i have given a screen modif id sc1 to to the employee
    and tried  one or two ways but no use
    can anyone please help me out.

    hi check this code
    this code actually removes the block data when check box is checked and shows the block on deselecting it.U can change the chk box condition according to ur requirement.
    SELECTION-SCREEN BEGIN OF BLOCK FPATH .
    SELECTION-SCREEN : BEGIN OF LINE .
    PARAMETERS : p_EU AS CHECKBOX USER-COMMAND CHK MODIF ID BL1.
    SELECTION-SCREEN : COMMENT 4(15) TEXT-106 FOR FIELD P_EU.
    SELECTION-SCREEN : END OF LINE .
    SELECTION-SCREEN : BEGIN OF LINE.
    PARAMETERS : P_LOCL AS CHECKBOX MODIF ID BL1.
    SELECTION-SCREEN : COMMENT 4(15) TEXT-002 FOR FIELD P_LOCL.
    SELECTION-SCREEN POSITION 33.
    PARAMETER: P_FILE1 LIKE RLGRAP-FILENAME MODIF ID BL1.
    SELECTION-SCREEN : END OF LINE .
    SELECTION-SCREEN : BEGIN OF LINE .
    PARAMETERS: P_APPL AS CHECKBOX DEFAULT 'X' MODIF ID BL1.
    SELECTION-SCREEN : COMMENT 4(13) TEXT-003 FOR FIELD P_APPL.
    SELECTION-SCREEN POSITION 33.
    PARAMETER: FNAM2 LIKE RLGRAP-FILENAME MODIF ID BL1.
    SELECTION-SCREEN : END OF LINE .
    SELECTION-SCREEN END OF BLOCK FPATH.
    SELECTION-SCREEN BEGIN OF BLOCK FPATH1 .
    SELECTION-SCREEN : BEGIN OF LINE .
    PARAMETERS : p_APAC AS CHECKBOX MODIF ID BL2 USER-COMMAND CH.
    SELECTION-SCREEN : COMMENT 4(15) TEXT-105 FOR FIELD P_APAC.
    SELECTION-SCREEN : END OF LINE .
    SELECTION-SCREEN : BEGIN OF LINE.
    PARAMETERS : P_LOCL1 AS CHECKBOX MODIF ID BL2.
    SELECTION-SCREEN : COMMENT 4(15) TEXT-102 FOR FIELD P_LOCL1.
    SELECTION-SCREEN POSITION 33.
    PARAMETER: P_FILE11 LIKE RLGRAP-FILENAME MODIF ID BL2.
    SELECTION-SCREEN : END OF LINE .
    SELECTION-SCREEN : BEGIN OF LINE .
    PARAMETERS: P_APPL1 AS CHECKBOX DEFAULT 'X' MODIF ID BL2.
    SELECTION-SCREEN : COMMENT 4(13) TEXT-103 FOR FIELD P_APPL1.
    SELECTION-SCREEN POSITION 33.
    PARAMETER: FNAM21 LIKE RLGRAP-FILENAME MODIF ID BL2.
    SELECTION-SCREEN : END OF LINE .
    SELECTION-SCREEN END OF BLOCK FPATH1.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF P_EU = 'X' AND SCREEN-GROUP1 = 'BL2'.
    SCREEN-ACTIVE = 0.
    ENDIF.
    IF P_APAC = 'X' AND SCREEN-GROUP1 = 'BL1'.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.

  • Modify Selection screen

    HI,
    On my selection screen.
    I have two parameters
    Param1 , Obligatory
    Param2
    and then two radio buttons
    rad1
    rad2
    My requirement is if i select one radio button param 1 is mandatory
    and if i select radiobutton 2 then param1 is not required.it should be grayed out.
    When i tried to modify the screen in at selection-screen output
    when ever i am selecting second radio button on the selection sreen i am getting a message asking for input for param 1..
    How to avoid automatic checks on selection screen.
    Thanks
    Kiran

    Remo obligatory for parm 1 ...(If its obligatory you should give some input to that and click on secon radio button ...)
    I am giving one same code....
    *& Report  ZSELECTION_SCREEN_MADHU
    REPORT  ZSELECTION_SCREEN_MADHU NO STANDARD PAGE HEADING MESSAGE-ID ZTREE..
    **& Report  ZMADDY
    REPORT ZMADDY NO STANDARD PAGE HEADING MESSAGE-ID ZTREE.
      TABLES: MARA,MARC,VBAK ,MAKT,SSCRFIELDS.
    DATA: BEGIN OF ITAB OCCURS 0 ,
           SSCRFIELDS-FUNCTXT_01,
           END OF ITAB.
      SELECTION-SCREEN: FUNCTION  KEY 1.
      SELECTION-SCREEN: FUNCTION  KEY 2.
    SELECTION
      SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
      SELECTION-SCREEN:  SKIP 1.
      SELECT-OPTIONS: S_MATNR FOR MARA-MATNR DEFAULT 'siva' NO-EXTENSION MODIF ID S2.
    "MATCHCODE OBJECT Zmobj.
      SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN DEFAULT 'maddy' MODIF ID S1.
      PARAMETER: P_WERKS LIKE MARC-WERKS  MODIF ID S2.
      PARAMETER: P_MAKTX LIKE MAKT-MAKTX  MODIF ID S1.
      SELECTION-SCREEN:  SKIP 1.
      SELECTION-SCREEN: END OF BLOCK  B1.
    *********radio buttons************
    SELECTION-SCREEN COMMENT /1(50) comm1 MODIF ID mg1.
    SELECTION-SCREEN ULINE /1(25).
    *SELECTION-SCREEN SKIP.
      SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
      SELECTION-SCREEN: BEGIN OF LINE.
      PARAMETER: R1 RADIOBUTTON GROUP G2 DEFAULT 'X' USER-COMMAND UC1.
      SELECTION-SCREEN : COMMENT 2(20) TEXT-021 FOR FIELD R1.
      SELECTION-SCREEN: END OF LINE.
      SELECTION-SCREEN: BEGIN OF LINE.
      PARAMETER: R2 RADIOBUTTON GROUP G2.
      SELECTION-SCREEN : COMMENT 2(10) TEXT-050 FOR FIELD R2 .
    SELECTION-SCREEN   :ULINE /1(10).
      SELECTION-SCREEN: END OF LINE.
      SELECTION-SCREEN: END OF BLOCK B2 .
      INITIALIZATION.
       MOVE 'HELP' TO SSCRFIELDS-FUNCTXT_01.
       move 'Maddy' to sscrfields-functxt_02.
       comm1 ='Select one Radio button'.
    FUNCTXT_01 = 'HELP'.
      AT SELECTION-SCREEN.
      CASE SSCRFIELDS-UCOMM.
        WHEN 'FC01'.
          CALL SCREEN '101' STARTING AT 20 1
                            ENDING AT 90 25.
       WHEN 'FC02'.
          call SCREEN '102' starting at 20 1
                            ENDING AT 90 25.
      WHEN OTHERS .
      ENDCASE.
      AT SELECTION-SCREEN OUTPUT.
        LOOP AT SCREEN.
          IF R1 = 'X' AND SCREEN-GROUP1 = 'S2'.
            SCREEN-INPUT  = 0.
            MODIFY SCREEN.
          ENDIF.
          IF R2 = 'X' AND SCREEN-GROUP1 = 'S1'.
            SCREEN-INPUT  = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
    *&      Module  STATUS_0101  OUTPUT
          text
    MODULE STATUS_0101 OUTPUT.
      SET PF-STATUS 'STAT'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0101  OUTPUT
    *&      Module  USER_COMMAND_0101  INPUT
          text
    MODULE USER_COMMAND_0101 INPUT.
    CASE SY-UCOMM.
    WHEN 'CONTINUE'.
         SET SCREEN 0.
         LEAVE TO SCREEN 0.
    WHEN 'CANCEL'.
        SET SCREEN 0.
        LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0101  INPUT
    *&      Module  back  INPUT
          text
    MODULE back INPUT.
    SUBMIT ZSELECTION_SCREEN_MADHU via SELECTION-SCREEN.
    ENDMODULE.                 " back  INPUT
    PLz give rewards

  • Modifying selection screen of LDB

    Hi,
         I copied a standard report (RFCLLIB04) in a Z Report. This Report uses a logical database BRF. I have to put a check box on the selection screen in between the fields provided by Logical Database BRF i.e i have to put a check box after the field 'Ledger'.
    How can i achieve this ?
    Thanks,
    Ibrahim

    Hi,
    You can not add a chec box in between the selection screen of a LDB but you can add as an extra field at the bottom. If the user dont want to add in this way you can also look for the other selection screen whic may have the fields like you wanted.
    To achieve this goto --> attributes >  Report category> search for the required category here. It will change the selection screen. Other wise you need to create one customisex report category.
    thanks,
    Preetham

  • Modifying selection screen for  adding  material type in report ME2L / ME2N

    Dear Friends ,
                        I want to add Material type as another selection criteria for the report ME2L.
    How can i manage it using customising or ABAP enhancements ?
    I do fine various enhancement point in its coding but not getting exact clue for managing this .
    Thanks in advance.

    Hello....
    The program for the t-code ME2L is RM06EL00
    In this we have the following portion
    Parameter und Select-Options                        *
    After this we have a couple of Select-options and parameters
    followed by includes
    INCLUDE fm06lcs1.
    INCLUDE fm06lcs3.
    INCLUDE fm06lcs4.
    INCLUDE fm06lcs2.
    You can write the select-options/parameters in any of these includes
    Fot this..click on the spiral icon-> go to any include
    click on "EDIT"(from the top menu) -> "Enhancement operations" -> "show implicit Ehhancement options" -> click on "RM06EL00"(report name)
    A different coloured line appears at the bottom of the include.
    Place your cursor on this line ..Right click -> "Ehhancement Implementation" -> Create ...give names according to customer name space and write your code here ...then activate it.....
    Please also note that this selection must be filtered somewhere..so search the code for the tables that may contain this field and see if an "ENHANCEMENT-SECTION" or point/spot is available
    Pls check , revert and reward if helpful
    Regards
    Byju

  • Creating a transaction variant doesn't catch the selection screen

    Hi,
    I am trying to create a transaction variant for RERAPP transaction, which calls the report RFRERAPP on selection screen 1000.
    I have used SHD0, specifying the t. code and a name for a transaction variant, then pressed the "Create" button. the selection screen is displayed, I enter the relevant values for the transaction, and press enter. the system prompts me to create some screen variants, but none of them have fields listed, and none of them is for the screen 1000.
    SAP Release 600.
    Any hint on the reason behind this behavior?
    I found another related, unanswered [topic|Transaction Variant for a standard report without transaction code;

    Hi,
    I have faced similar problem..
    Here is the work around.. Might be useful for you..
    1. Create Selection screen variant for report (Modify selection screen 1000 for display/hide in variant maintaince)
    2. Then create "parameter Transaction" with report on Transaction START_REPORT
    D_SREPOVARI-REPORT = <Your Report Name>
    D_SREPOVARI-VARIANT = <Newly created variant>
    Nag
    Edited by: Naga Mohan Kummara on Dec 31, 2009 10:46 AM
    Edited by: Naga Mohan Kummara on Dec 31, 2009 10:49 AM

  • How to generate dynamic selection-screen?

    Hi all,
    I have two radio buttons on selection-screen.
    If user-selects the one, Then under the radio button another parameter should be displayed
    if he selects another radio button, the previous parameter should not  be displayed and another parameter should appear in the selection screen under the second radio button.
    Please help by giving the code to solve this problem?
    Thanks,
    Vamshi.

    Hi Vamsi,
    By using AT SELECTION-SCREEN OUTPUT and creating the MOdif id for the selection screen parameter you can achieve the dynamic selection scree..
    AT SELECTION-SCREEN OUTPUT.
    * Modify selection screen as per the radio buttons selected.
      PERFORM modify_sel-screen.
    FORM modify_sel-screen .
    * If radio button - process in range of STR's selected, display STR
    * range and Date range as input
      IF p_rb1 EQ c_x.
        LOOP AT SCREEN.
          IF screen-group1 = c_ir2.
            screen-active  = c_0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
    * If radio button - process from excel is selected, give option for
    * user to upload file
      ELSEIF p_rb2 EQ c_x.
        LOOP AT SCREEN.
          IF screen-group1 = c_ir1.
            screen-active  = c_0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " MODIFY_SEL-SCREEN
    see the below example....
    copy the below code you can come to know how the dynamic selection screen happens..
    *                   S E L E C T I O N  S C R E E N                     *
    * Selection criteria
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_rb1  RADIOBUTTON GROUP gr1 USER-COMMAND com1 DEFAULT 'X',
                                             "Process STR's in date range
               p_rb2  RADIOBUTTON GROUP gr1. "Process STR's from Excel
    SELECTION-SCREEN BEGIN OF BLOCK c1 WITH FRAME .
    PARAMETERS : p_apover TYPE zcpeg_fg_related-pl_version OBLIGATORY.
                                                                "PJ1031008
    SELECTION-SCREEN END OF BLOCK c1.
    SELECTION-SCREEN END OF BLOCK b1.
    * Display date range to process STR's
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    SELECT-OPTIONS: s_banfn FOR w_preq MODIF ID ir1,
                                        "Purchase requisition number
                    s_lfdat FOR w_lfdat MODIF ID ir1.
    "Date range
    SELECTION-SCREEN END OF BLOCK b2.
    * Option for uploading file to process STR's
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    PARAMETERS: p_file TYPE rlgrap-filename MODIF ID ir2. "File name
    SELECTION-SCREEN END OF BLOCK b3.
    AT SELECTION-SCREEN OUTPUT.
    * Modify selection screen as per the radio buttons selected.
      PERFORM modify_sel-screen.
    FORM modify_sel-screen .
    * If radio button - process in range of STR's selected, display STR
    * range and Date range as input
      IF p_rb1 EQ c_x.
        LOOP AT SCREEN.
          IF screen-group1 = c_ir2.
            screen-active  = c_0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
    * If radio button - process from excel is selected, give option for
    * user to upload file
      ELSEIF p_rb2 EQ c_x.
        LOOP AT SCREEN.
          IF screen-group1 = c_ir1.
            screen-active  = c_0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " MODIFY_SEL-SCREEN
    Regards,
    Prabhudas

  • User exit for selection screen of Tcode VL31N, VL32N

    Dear Experts,
    I want to modify selection screen of tcode VL31N, VL32N. Please help me to send user exit Tcode VL31N, VL32N.
    Thanks and regards,
    DucTV1.

    Hi Patrik,
    The ALV report is generating from  a query AQZZ/SAPQUERY/MEMEVL31========, in which the field catalogue of the ALV is coming from normal list dispaly structure only, structure of which is coming from %goo structure.
    Either try to find out an enhancement here , so that you can add fields over there.
    Thanks and Regards,
    Antony Thomas

  • Possible to modify Logical Database Selection Screen?

    We have added a custom field to an HR database and need for it to appear in the selection screen for logical database PNP. The program DBPNPSEL is this selection screen -- has anyone modified this or is there a better way to get this result?

    Hi,
    Check this link.It contains code sample.
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9c2e35c111d1829f0000e829fbfe/content.htm
    Regards,
    J.Jayanthi

  • How to modify Logical database Selection screen

    I am using PNP logical database , it is giving one selection screen ,
    after executioni can able to change the selection screen but i want to change default selection screen so that when i execute i want specific fields in selection.
    How to modify it?

    Hi,
    You need to use report category.In the attributes,click HR report category and select or create the selection screen you need.
    Check this link.
    http://www.sapdevelopment.co.uk/hr/hr_repcat.htm
    Kindly reward points by clicking the star on the left of reply,if it helps.

  • Can we modify the pnp selection screen and get only month and year?

    Dear Freinds,
                  I have requirement where i have to modify the PNP selection screen. So with the help of report category and coding in AT SELECTION-SCREEN OUTPUT  , i have modified all the fields relating to dates . i.e i have removed all the radio buttons (i.e Today, Current month,current year etc) and finally
    i have landed with only Period ( PNPBEGDA & PNPENDDA range) . But i dont want the PNPBEGDA & PNPENDDA range , but i want only is the month and year ( i.e just like the PNPPABRP & PNPPABRJ)
    on my selection screen along with the pernr .
    i have used the below code to close all the fields except pnpbegda and pnpendda.
    AT Selection-Screen output.
    loop at screen.
      IF screen-group4 = '098' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '092' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '094' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '100' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '104' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        MODIFY SCREEN.
    endloop.
    i.e on my selection screen i want only  month & year combination and pernr -
    when iam using the logical database PNP . Could any one please let me know how can i get only mon & year only on my selection screen .
    If it is possible please let me know .
    Thanks & regards
    divya.

    Hi ,
       The requirement is that the user doesnt want to enter the date range i.e for ex:  01012008 to 31012008.
    As per the requirement the user will enter only the month and year only . so i on the selection screen
    i want only the month and year only . Is there any means i can modify the date period which is there by
    default (PNPbegda and PNPendda) on PNP selection screen. Instead of we givign to the user the
    PNPBEGDA and PNPPENDA i want is only month and year .
    AS already the code has already been written and now they have asked that they want only the month and year on the selection screen.
    Please suggest me in this regard.If iam hiding all the buttons relating the dates fields, and now if iam adding the parameters for the month and year  it is coming below below the fields pernr , personnel ara and subara , company code , payroll area, employee group of the standard fields of PNP selection screen , there by any body could please suggest me how to change.
    regards
    divya.

  • Modifying the selection screen dynamically

    Hey folks,
    I have posted this question previously but no one understood the real problem.
    I have 4 fields
    Company Code
    material Number
    plant
    storage Location
    Unit
    when I select the company code AA01 from the F4 help I want to disable material number and Plant ..Like this i have 4 scenarios where based upon the input given in the selection screen other fields have to be enabled or disabled.
    I have already used at selection screen on output but that doesn't help me as its a PBO event I tried to search for a proper event but cudn't find it. Is there any way i can achieve this. A sample code wud be easy for me to understand .
    Thanks in advance
    Rock

    Set different groups in your fieds on the screen.
    Set the screen group for the Material and Plant as the GR1
    Set the screen gorup for the Storage location as the GR2.
    You need to modify your screen fields on the PBO event.
    Like:
    IF P_BUKRS = 'AA01'.
    loop at screen.
       if screen-group1 = 'GP1'.
         screen-input = 0.
         modify screen.
       elseif screen-group2 = 'GP2'. 
         screen-input = 1.
         modify screen.
       endif.
    endloop. 
    else.
    loop at screen.
       if screen-group1 = 'GP2'.
         screen-active = 0.
         modify screen.
       elseif screen-group2 = 'GP1'. 
         screen-input = 1.
         modify screen.
       endif.
    endloop. 
    endif.
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Error while importing a PKCS12 file to keystore

    When i try to load a PKCS12 file in keystore , i get the following error: java.io.IOException: Error in loading the keystore: Private key decryption error: (java.lang.SecurityException: Unsupported keysize or algorithm parameters). Can anyone tell me

  • Why won't my Mac work with a Canon i860 Printer?

    I think it used to work, but I haven't used this printer in a while. I remember buying a cord from the Apple store for it, but I just keep getting a #306 message to check connections and make sure everything is powered on. Everything seems to be set

  • Simple (first attempt) mxi

    ok guys decided to look into extension writing have hacked away at the config dir and files within to produce what im after. a simple button which launches the browser and directs to a url. This bit is fine and have it working and it packages up fine

  • Flash Pro 8: Masking

    I've been working on this for hours. I know how to mask, but for some reason when I create 3 circles on a mask layer, only one circle is masked when I turn masking on or lock the layer. Any suggestions or comments are greatly appreciated! Grrrrrrrrr!

  • Print option for PDF only...

    Hi all, Any suggestions on how we can delete the Print option for HTML format while having it for PDF format? Thanks.