Error in Selection Screen

Hi guys,
today i am facing a really weird problem. We've written a simple report with a selection-screen. At first everything looks fine. We've transported the request to all other systems (Quality Assurance & Production), where it looked fine too.
After that we've included some more code (text-symbols, frames) and transported it to the other systems. But now our problems occurs: In Development system everything is okay. In Quality Assurance and Production systems the selection-screen doesn't show all frames and text-symbols. The weird thing is that the source code is identical in all systems and that even the debugger shows the right values of the text-symbols.
Is there any buffer or system parameter which can course such wrong behavior?
Regards
Mark-André

Hi,
the selection screen is coded without a number. Here's the code:
SELECTION-SCREEN BEGIN OF BLOCK selection WITH FRAME TITLE text-t11.
SELECTION-SCREEN BEGIN OF BLOCK persdata WITH FRAME TITLE text-t01.
SELECT-OPTIONS so_pernr FOR ls_pa0017-pernr.
SELECTION-SCREEN END OF BLOCK persdata.
SELECTION-SCREEN END OF BLOCK selection.
SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-t12.
SELECTION-SCREEN BEGIN OF BLOCK zeitraum WITH FRAME TITLE text-t02.
PARAMETERS pa_begda TYPE p0017-begda DEFAULT sy-datum OBLIGATORY.
PARAMETERS pa_endda TYPE p0017-endda DEFAULT '99991231' OBLIGATORY.
SELECTION-SCREEN END OF BLOCK zeitraum.
SELECTION-SCREEN BEGIN OF BLOCK gruppierungen WITH FRAME TITLE text-t03.
PARAMETERS pa_spebe TYPE p0017-spebe OBLIGATORY DEFAULT '1'.
SELECTION-SCREEN END OF BLOCK gruppierungen.
SELECTION-SCREEN BEGIN OF BLOCK zuordnungen WITH FRAME TITLE text-t05.
PARAMETERS pa_bukrs TYPE p0017-bukrs MATCHCODE OBJECT c_t001 DEFAULT '2000'.
PARAMETERS pa_gsber TYPE p0017-gsber MATCHCODE OBJECT h_tgsb DEFAULT '0001'.
SELECTION-SCREEN END OF BLOCK zuordnungen.
SELECTION-SCREEN END OF BLOCK input.
SELECTION-SCREEN BEGIN OF BLOCK attributes WITH FRAME TITLE text-t13.
PARAMETERS pa_test AS CHECKBOX DEFAULT 'x'.
SELECTION-SCREEN END OF BLOCK attributes.
Regards
Mark-André

Similar Messages

  • Error in selection screen variant saving .

    Hi All ,
    I have a selection screen with 4 radio buttons and some parameters , based on selection of the radio buttons the parameters change for input , now by default one radio button is selected and now if i try to save it and then when i try to hide any one of the radio button and some parameters the system throws an error saying that all radio buttons of the groub ' rb1' are not hidden , now can you tell me how to achieve functionality .

    Hi,
    According to me your all Radiobutton comes under a single Group ' rb1' ,
    Try Your code with different radiobutton Groups, It will Work.
    Do let me know the outcome.
    Thanks
    Saurabh

  • Error for Selection screen

    Hi Experts,
    I am getting a selection screen  error while activating my program in se38. When i am doing syntax check there is no error(s) at all.
    It says " Error when generating the selection screen "1000" of report "<prg name>
    -  line 0'.
    can some one please suggest what might had happened?
    Thanks
    Dan

    Hi Alvaro,
    Its here :
    Selection Screen Definitions                                         *
    SELECTION-SCREEN:BEGIN OF BLOCK h1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS s_kunnr FOR kna1-kunnr  DEFAULT '100000'.
    "Customer number
    PARAMETERS: p_apfile TYPE rlgrap-filename NO-DISPLAY.
    SELECTION-SCREEN: BEGIN OF BLOCK files WITH FRAME TITLE text-t02.
    SELECTION-SCREEN: SKIP 1,
                      BEGIN OF LINE.
    PARAMETERS: r_local RADIOBUTTON GROUP fil ."workstation
    SELECTION-SCREEN: COMMENT 4(10) text-p03,
                      POSITION 15.
    PARAMETERS: P_LOCFIL TYPE rlgrap-filename. "local file
    *SELECTION-SCREEN: skip 1.
    PARAMETERS: r_appsrv RADIOBUTTON GROUP fil DEFAULT 'X'."app-server
    SELECTION-SCREEN: COMMENT 4(15) text-p04.
    SELECTION-SCREEN: COMMENT 4(17) Z_P1,
                      POSITION 23.
    PARAMETERS: P_XLOG TYPE FC_LOGFILE DEFAULT 'ZMWVLOGICALFILE'.
         SELECTION-SCREEN END OF LINE.
          " Contains the required Selection Screen parameters.
    *INCLUDE zfileselectblock.
    SELECTION-SCREEN: BEGIN OF BLOCK XFILE WITH FRAME TITLE z_T1.
    *SELECTION-SCREEN: BEGIN OF LINE.
    **PARAMETERS: R_XLOG RADIOBUTTON GROUP XRD DEFAULT 'X'.
    **SELECTION-SCREEN: COMMENT 4(17) Z_P1,
                     POSITION 23.
    **PARAMETERS: P_XLOG TYPE FC_LOGFILE DEFAULT 'ZMWVLOGICALFILE'.
    *SELECTION-SCREEN: END OF LINE.
    *SELECTION-SCREEN: BEGIN OF LINE.
    *PARAMETERS: R_XCNV RADIOBUTTON GROUP XRD.
    *SELECTION-SCREEN: COMMENT 4(17) Z_P2,
                     POSITION 23.
    *PARAMETERS: P_XCNV(20) TYPE C.
    *SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: SKIP 1,
                      BEGIN OF LINE,
                      COMMENT 1(13) Z_P3,
                      POSITION 15.
    PARAMETERS: P_XPATH TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE,
                      COMMENT 1(13) Z_P4,
                      POSITION 15.
    PARAMETERS: P_XFILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: END OF BLOCK XFILE.
    *end of include ZFILESELECTBLOCK.
    SELECTION-SCREEN: END OF BLOCK files.
    SELECTION-SCREEN: END OF BLOCK h1.

  • Enchancement Implementation Error At selection screen

    Hi, can implicit enhancement be done on selection screen? When I tried to add a parameter after first selection-screen block or inside the block, always get error message during activation. The standard program i try to enhance is report LSO_RHXBUCH0 (Bookings per Participant). I am sure there is no syntax error on the codes I wrote. The error message is "Between "DATA BEGIN OF' name" and "DATA END OF name" only data statements are allowed.
    Here the code, see enhancement: ZIMP_BOOKING_PARTICIPANT
    -v-Block 1-----v-
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETERS pchplvar LIKE pchdy-plvar NO-DISPLAY.         "Planvariante
    PARAMETERS pchotype LIKE pchdy-otype NO-DISPLAY.         "Objekttyp
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS ptyp1 LIKE hrvpv-ptyp1 RADIOBUTTON GROUP xxx. "Objekttyp1
    SELECTION-SCREEN COMMENT 4(22) ptxt1 FOR FIELD ptyp1.
    SELECTION-SCREEN POSITION 27.
    PARAMETERS ptyp2 LIKE hrvpv-ptyp2 RADIOBUTTON GROUP xxx. "Objekttyp2
    SELECTION-SCREEN COMMENT 30(22) ptxt2 FOR FIELD ptyp2.
    SELECTION-SCREEN POSITION 53.
    PARAMETERS ptyp3 LIKE hrvpv-ptyp3 RADIOBUTTON GROUP xxx. "Objekttyp3
    SELECTION-SCREEN COMMENT 56(22) ptxt3 FOR FIELD ptyp3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS ptyp4 LIKE hrvpv-ptyp4 RADIOBUTTON GROUP xxx. "Objekttyp4
    SELECTION-SCREEN COMMENT 4(22) ptxt4 FOR FIELD ptyp4.
    SELECTION-SCREEN POSITION 27.
    PARAMETERS ptyp5 LIKE hrvpv-ptyp5 RADIOBUTTON GROUP xxx. "Objekttyp5
    SELECTION-SCREEN COMMENT 30(22) ptxt5 FOR FIELD ptyp5.
    SELECTION-SCREEN POSITION 53.
    PARAMETERS ptyp6 LIKE hrvpv-ptyp6 RADIOBUTTON GROUP xxx. "Objekttyp6
    SELECTION-SCREEN COMMENT 56(20) ptxt6 FOR FIELD ptyp6.
    SELECTION-SCREEN PUSHBUTTON 76(4) morepart USER-COMMAND more.
    SELECTION-SCREEN END OF LINE.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3 ) Struct. %F4_MACO_TAB, End                                                                                S
    rhx-f4-objid-data.
    SELECT-OPTIONS pchobjid FOR objec-realo NO INTERVALS.      "Teilnehmer
    PARAMETERS pchseark LIKE pchdy-seark.  "Suchbegriff
    PARAMETERS pchostat LIKE pchdy-ostat NO-DISPLAY.         "Objektstatus
    PARAMETERS pchistat LIKE pchdy-istat NO-DISPLAY.          "Datenstatus
    Strukturparameter
    PARAMETERS pchwegid LIKE pchdy-wegid NO-DISPLAY.
    PARAMETERS pchsvect LIKE pchdy-svect NO-DISPLAY.
    PARAMETERS pchactiv LIKE pchdy-activ NO-DISPLAY.
    PARAMETERS pchdepth LIKE pchdy-depth NO-DISPLAY.
    PARAMETERS pchdymod LIKE t77s3-dymod NO-DISPLAY.       "Dynp.variation
    SELECTION-SCREEN END OF BLOCK b1.
    --Block 1------
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct. $PCH_TEXTPOOL_KEY, End                                                                                S
    $$-Start: (1 )----
    $$
    ENHANCEMENT 1  ZIMP_BOOKING_PARTICIPANT.    "active version
    *SELECTION-SCREEN BEGIN OF BLOCK bb2.
    PARAMETERS tpchdepth LIKE pchdy-depth NO-DISPLAY.
    *SELECTION-SCREEN END OF BLOCK bb2.
    ENDENHANCEMENT.
    $$-End:   (1 )----
    $$
    rhx-obeg-radios-define.
    -Block 2 (Aufbereitungsoption)-----
    *SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-RB3.
    PARAMETER : tc LIKE pp0j-tc_disp NO-DISPLAY.
    *SELECTION-SCREEN END OF BLOCK B3.

    Hi Byju,
    There are quite a number of standard include programs which have "begin of" data declaration. They are all SAP standard include programs and shouldn't have syntax errors. At the enhancement option that I added the enchancement codes, it shows "Struct. $PCH_TEXTPOOL_KEY, End". The declaration of $PCH_TEXTPOOL_KEY found in include RHXMACRO. If you see the code below, the statement rhx-obeg-radios-define which refer to a definition in RHXMACRO is right after the enhancement I added..
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct. $PCH_TEXTPOOL_KEY, End                                                                                S
    $$-Start: (1 )----
    $$
    ENHANCEMENT 1  ZIMP_BOOKING_PARTICIPANT.    "active version
    *SELECTION-SCREEN BEGIN OF BLOCK bb2.
    *PARAMETERS tpchdepth LIKE pchdy-depth NO-DISPLAY.
    *SELECTION-SCREEN END OF BLOCK bb2.
    ENDENHANCEMENT.
    $$-End:   (1 )----
    $$
    rhx-obeg-radios-define.
    =================================================================
    //codes extracted from RHXMACRO
    DEFINE RHX-OBEG-RADIOS-DEFINE.
      RHX-INT-RADIOS-DEFINE.
    Datatime
      PARAMETERS:
        PCHBEGDA LIKE PCHDY-BEGDA NO-DISPLAY.
      PARAMETERS:
        PCHENDDA LIKE PCHDY-ENDDA NO-DISPLAY.
      SELECTION-SCREEN END   OF BLOCK FRAME2.
      RHX-INT-RADIO-DATA.
    END-OF-DEFINITION.
    $$**RHX-INT-RADIOS-DEFINE*******************************************
    DEFINE RHX-INT-RADIOS-DEFINE.
      SELECTION-SCREEN BEGIN OF BLOCK FRAME2 WITH FRAME TITLE $TX$ZTST.
      SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS : PCHZTR_D LIKE PCHDY-ZTR_D
                            RADIOBUTTON GROUP $ZTR.
    SELECTION-SCREEN COMMENT 4(17) $TX$ZTRD             FOR FIELD PCHZTR_D
                                                          MODIF ID $ZT.
      SELECTION-SCREEN POSITION 23.
      PARAMETERS : PCHZTR_A LIKE PCHDY-ZTR_A
                            RADIOBUTTON GROUP $ZTR.
    SELECTION-SCREEN COMMENT 26(17) $TX$ZTRA            FOR FIELD PCHZTR_A
                                                          MODIF ID $ZT.
      SELECTION-SCREEN POSITION 49.
      PARAMETERS : PCHZTR_Z LIKE PCHDY-ZTR_Z
                            RADIOBUTTON GROUP $ZTR MODIF ID $Z1.
    SELECTION-SCREEN COMMENT 52(17) $TX$ZTRZ            FOR FIELD PCHZTR_Z
                                                             MODIF ID $Z1.
      SELECTION-SCREEN END   OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS : PCHZTR_M LIKE PCHDY-ZTR_M
                            RADIOBUTTON GROUP $ZTR.
    SELECTION-SCREEN COMMENT 4(17) $TX$ZTRM             FOR FIELD PCHZTR_M
                                                          MODIF ID $ZT.
      SELECTION-SCREEN POSITION 23.
      PARAMETERS : PCHZTR_P LIKE PCHDY-ZTR_P
                            RADIOBUTTON GROUP $ZTR.
    SELECTION-SCREEN COMMENT 26(17) $TX$ZTRP            FOR FIELD PCHZTR_P
                                                          MODIF ID $ZT.
      SELECTION-SCREEN PUSHBUTTON 49(30) $PS$ZTST
                       USER-COMMAND $STT MODIF ID $Z3.
      SELECTION-SCREEN END   OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS : PCHZTR_Y LIKE PCHDY-ZTR_Y
                            RADIOBUTTON GROUP $ZTR.
    SELECTION-SCREEN COMMENT 4(17) $TX$ZTRY             FOR FIELD PCHZTR_Y
                                                          MODIF ID $ZT.
      SELECTION-SCREEN POSITION 23.
      PARAMETERS : PCHZTR_F LIKE PCHDY-ZTR_F
                            RADIOBUTTON GROUP $ZTR.
    SELECTION-SCREEN COMMENT 26(17) $TX$ZTRF            FOR FIELD PCHZTR_F
                                                          MODIF ID $ZT.
      SELECTION-SCREEN PUSHBUTTON 49(30) $PS$ZTRZ
                       USER-COMMAND $ZTZ MODIF ID $Z2.
      SELECTION-SCREEN END   OF LINE.
    Objecttime
      SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 1(30) $PA$OBEG             FOR FIELD PCHOBEG
                                                             MODIF ID  $ZO.
      SELECTION-SCREEN POSITION POS_LOW.
      PARAMETERS:
        PCHOBEG  LIKE PCHDY-OBEG MODIF ID  $ZO.
      SELECTION-SCREEN COMMENT 45(5) $PA$OEND             FOR FIELD PCHOEND
                                                             MODIF ID  $ZE.
      PARAMETERS:
        PCHOEND  LIKE PCHDY-OEND MODIF ID  $ZE.
      SELECTION-SCREEN PUSHBUTTON 63(16) $PS$PZTR
                       USER-COMMAND $ZTR MODIF ID $ZR.
      SELECTION-SCREEN END   OF LINE.
    pchtimed
      PARAMETERS :
        PCHTIMED LIKE PCHDY-TIMED NO-DISPLAY.
    END-OF-DEFINITION.
    DEFINE RHX-INT-RADIO-DATA.
      DATA : $TIMED_FIRST_PBO VALUE '1'.
      TABLES : SSCRFIELDS, T77MT.
      DATA : BEGIN OF $PCH_TEXTPOOL OCCURS 1.
              INCLUDE STRUCTURE TEXTPOOL.
      DATA : END   OF $PCH_TEXTPOOL.
      DATA : $PCH_TEXTPOOL_LINES TYPE I.
      DATA : BEGIN OF $PCH_TEXTPOOL_KEY,
               ID  LIKE TEXTPOOL-ID,
               KEY LIKE TEXTPOOL-KEY,
             END   OF $PCH_TEXTPOOL_KEY.
      DATA : $KEYDATE$(1) TYPE N.
      DATA : $DAYNUM$ LIKE SCAL-INDICATOR.
      DATA : $TXTID$ LIKE T77MT-TXTID.
    END-OF-DEFINITION.

  • Enhancement Error at Selection Screen of standard program

    Hi, can implicit enhancement be added to selection screen? When I tried to add a parameter after first selection-screen block or inside the block, always get error message during activation. The standard program i try to enhance is report LSO_RHXBUCH0 (Bookings per Participant). I am sure there is no syntax error on the codes I wrote. The error message is "Between "DATA BEGIN OF' name" and "DATA END OF name" only data statements are allowed.
    Here the code, see enhancement: ZIMP_BOOKING_PARTICIPANT
    -v-Block 1-----v-
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETERS pchplvar LIKE pchdy-plvar NO-DISPLAY.         "Planvariante
    PARAMETERS pchotype LIKE pchdy-otype NO-DISPLAY.         "Objekttyp
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS ptyp1 LIKE hrvpv-ptyp1 RADIOBUTTON GROUP xxx. "Objekttyp1
    SELECTION-SCREEN COMMENT 4(22) ptxt1 FOR FIELD ptyp1.
    SELECTION-SCREEN POSITION 27.
    PARAMETERS ptyp2 LIKE hrvpv-ptyp2 RADIOBUTTON GROUP xxx. "Objekttyp2
    SELECTION-SCREEN COMMENT 30(22) ptxt2 FOR FIELD ptyp2.
    SELECTION-SCREEN POSITION 53.
    PARAMETERS ptyp3 LIKE hrvpv-ptyp3 RADIOBUTTON GROUP xxx. "Objekttyp3
    SELECTION-SCREEN COMMENT 56(22) ptxt3 FOR FIELD ptyp3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS ptyp4 LIKE hrvpv-ptyp4 RADIOBUTTON GROUP xxx. "Objekttyp4
    SELECTION-SCREEN COMMENT 4(22) ptxt4 FOR FIELD ptyp4.
    SELECTION-SCREEN POSITION 27.
    PARAMETERS ptyp5 LIKE hrvpv-ptyp5 RADIOBUTTON GROUP xxx. "Objekttyp5
    SELECTION-SCREEN COMMENT 30(22) ptxt5 FOR FIELD ptyp5.
    SELECTION-SCREEN POSITION 53.
    PARAMETERS ptyp6 LIKE hrvpv-ptyp6 RADIOBUTTON GROUP xxx. "Objekttyp6
    SELECTION-SCREEN COMMENT 56(20) ptxt6 FOR FIELD ptyp6.
    SELECTION-SCREEN PUSHBUTTON 76(4) morepart USER-COMMAND more.
    SELECTION-SCREEN END OF LINE.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3 ) Struct. %F4_MACO_TAB, End                                                                                S
    rhx-f4-objid-data.
    SELECT-OPTIONS pchobjid FOR objec-realo NO INTERVALS.      "Teilnehmer
    PARAMETERS pchseark LIKE pchdy-seark.  "Suchbegriff
    PARAMETERS pchostat LIKE pchdy-ostat NO-DISPLAY.         "Objektstatus
    PARAMETERS pchistat LIKE pchdy-istat NO-DISPLAY.          "Datenstatus
    Strukturparameter
    PARAMETERS pchwegid LIKE pchdy-wegid NO-DISPLAY.
    PARAMETERS pchsvect LIKE pchdy-svect NO-DISPLAY.
    PARAMETERS pchactiv LIKE pchdy-activ NO-DISPLAY.
    PARAMETERS pchdepth LIKE pchdy-depth NO-DISPLAY.
    PARAMETERS pchdymod LIKE t77s3-dymod NO-DISPLAY.       "Dynp.variation
    SELECTION-SCREEN END OF BLOCK b1.
    --Block 1------
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct. $PCH_TEXTPOOL_KEY, End                                                                                S
    $$-Start: (1 )----
    $$
    ENHANCEMENT 1  ZIMP_BOOKING_PARTICIPANT.    "active version
    *SELECTION-SCREEN BEGIN OF BLOCK bb2.
    PARAMETERS tpchdepth LIKE pchdy-depth NO-DISPLAY.
    *SELECTION-SCREEN END OF BLOCK bb2.
    ENDENHANCEMENT.
    $$-End:   (1 )----
    $$
    rhx-obeg-radios-define.
    -Block 2 (Aufbereitungsoption)-----
    *SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-RB3.
    PARAMETER : tc LIKE pp0j-tc_disp NO-DISPLAY.
    *SELECTION-SCREEN END OF BLOCK B3.

    Hi, can implicit enhancement be added to selection screen? When I tried to add a parameter after first selection-screen block or inside the block, always get error message during activation. The standard program i try to enhance is report LSO_RHXBUCH0 (Bookings per Participant). I am sure there is no syntax error on the codes I wrote. The error message is "Between "DATA BEGIN OF' name" and "DATA END OF name" only data statements are allowed.
    Here the code, see enhancement: ZIMP_BOOKING_PARTICIPANT
    -v-Block 1-----v-
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETERS pchplvar LIKE pchdy-plvar NO-DISPLAY.         "Planvariante
    PARAMETERS pchotype LIKE pchdy-otype NO-DISPLAY.         "Objekttyp
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS ptyp1 LIKE hrvpv-ptyp1 RADIOBUTTON GROUP xxx. "Objekttyp1
    SELECTION-SCREEN COMMENT 4(22) ptxt1 FOR FIELD ptyp1.
    SELECTION-SCREEN POSITION 27.
    PARAMETERS ptyp2 LIKE hrvpv-ptyp2 RADIOBUTTON GROUP xxx. "Objekttyp2
    SELECTION-SCREEN COMMENT 30(22) ptxt2 FOR FIELD ptyp2.
    SELECTION-SCREEN POSITION 53.
    PARAMETERS ptyp3 LIKE hrvpv-ptyp3 RADIOBUTTON GROUP xxx. "Objekttyp3
    SELECTION-SCREEN COMMENT 56(22) ptxt3 FOR FIELD ptyp3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS ptyp4 LIKE hrvpv-ptyp4 RADIOBUTTON GROUP xxx. "Objekttyp4
    SELECTION-SCREEN COMMENT 4(22) ptxt4 FOR FIELD ptyp4.
    SELECTION-SCREEN POSITION 27.
    PARAMETERS ptyp5 LIKE hrvpv-ptyp5 RADIOBUTTON GROUP xxx. "Objekttyp5
    SELECTION-SCREEN COMMENT 30(22) ptxt5 FOR FIELD ptyp5.
    SELECTION-SCREEN POSITION 53.
    PARAMETERS ptyp6 LIKE hrvpv-ptyp6 RADIOBUTTON GROUP xxx. "Objekttyp6
    SELECTION-SCREEN COMMENT 56(20) ptxt6 FOR FIELD ptyp6.
    SELECTION-SCREEN PUSHBUTTON 76(4) morepart USER-COMMAND more.
    SELECTION-SCREEN END OF LINE.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3 ) Struct. %F4_MACO_TAB, End                                                                                S
    rhx-f4-objid-data.
    SELECT-OPTIONS pchobjid FOR objec-realo NO INTERVALS.      "Teilnehmer
    PARAMETERS pchseark LIKE pchdy-seark.  "Suchbegriff
    PARAMETERS pchostat LIKE pchdy-ostat NO-DISPLAY.         "Objektstatus
    PARAMETERS pchistat LIKE pchdy-istat NO-DISPLAY.          "Datenstatus
    Strukturparameter
    PARAMETERS pchwegid LIKE pchdy-wegid NO-DISPLAY.
    PARAMETERS pchsvect LIKE pchdy-svect NO-DISPLAY.
    PARAMETERS pchactiv LIKE pchdy-activ NO-DISPLAY.
    PARAMETERS pchdepth LIKE pchdy-depth NO-DISPLAY.
    PARAMETERS pchdymod LIKE t77s3-dymod NO-DISPLAY.       "Dynp.variation
    SELECTION-SCREEN END OF BLOCK b1.
    --Block 1------
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct. $PCH_TEXTPOOL_KEY, End                                                                                S
    $$-Start: (1 )----
    $$
    ENHANCEMENT 1  ZIMP_BOOKING_PARTICIPANT.    "active version
    *SELECTION-SCREEN BEGIN OF BLOCK bb2.
    PARAMETERS tpchdepth LIKE pchdy-depth NO-DISPLAY.
    *SELECTION-SCREEN END OF BLOCK bb2.
    ENDENHANCEMENT.
    $$-End:   (1 )----
    $$
    rhx-obeg-radios-define.
    -Block 2 (Aufbereitungsoption)-----
    *SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-RB3.
    PARAMETER : tc LIKE pp0j-tc_disp NO-DISPLAY.
    *SELECTION-SCREEN END OF BLOCK B3.

  • Invalid Material Error in Selection Screen of Report

    Expert,
    Infact, I have material value sitting in master data and cube itself. Though, running report on the same cube with mendatory entry of material does not work because when I entered material value it says invalid entry.
    Any clue on this issue? I need immediate help on this, please. Thanks.
    Regards,
    Nimesh

    Hi ,
    Run a check of sanity of transaction data (cube ) , and master data ( 0Material) through transaction code RSRV. And something should come out in the check.
    Another option is to select material from list , one more option is select variable of type selection-option and put pattern instead of putting a single variable name .
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • Selection Screen Disappearing on error

    Hi
    I am new to ABAP.
    Below is the driver program for Smartform,
    after:
    Step-1 Entering data at selection screen
    Step-2 Pressing Execution Button
    An error is displaying 'Document no. not found' but the problem is, as soon as the error appears, selection screen goes blank, its not staying.
    Please suggest correction.
    With warm regards.
    Yogesh.
    *& Report  Z_MM_GPASS
    REPORT  Z_MM_GPASS.
    tables: MSEG,ADRC,T001W,MAKT .
    data: FM_NAME TYPE RS38L_FNAM.
    *& Selection Screen
    Selection-screen: begin of block b1 with frame title t1.
    Parameter:   Docno   like      MSEG-MBLNR ,
                 YEAR    like      MSEG-MJAHR .
    selection-screen: end of block b1.
    *& Comment on selection screen
    At selection-screen output .
    t1 = 'Selection-Screen' .
    *& Data validation at selection screen
    At selection-screen .
    select single * from MSEG where MBLNR = docno and MJAHR = YEAR .
    if sy-subrc <> 0.
    message 'Document no. not found' type 'E'.
    endif.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 = 'Z_MM_PASS'
    *   VARIANT                  = ' '
    *   DIRECT_CALL              = ' '
    IMPORTING
       FM_NAME                  = FM_NAME
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3
    IF SY-SUBRC <> 0.
    *  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION FM_NAME
      EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
    *   CONTROL_PARAMETERS         =
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
    *   OUTPUT_OPTIONS             =
    *   USER_SETTINGS              = 'X'
        DOCNO                      = DOCNO
        YEAR                       = YEAR
    * IMPORTING
    *   DOCUMENT_OUTPUT_INFO       =
    *   JOB_OUTPUT_INFO            =
    *   JOB_OUTPUT_OPTIONS         =
    * EXCEPTIONS
    *   FORMATTING_ERROR           = 1
    *   INTERNAL_ERROR             = 2
    *   SEND_ERROR                 = 3
    *   USER_CANCELED              = 4
    *   OTHERS                     = 5
    IF SY-SUBRC <> 0.
    *MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Code Formattted by: Alvaro Tejada Galindo on Jan 7, 2009 2:30 PM

    *I have replaced
    if sy-subrc <> 0.
    message 'Document no. not found' type 'E'.
    endif.
    with
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    INTO mtext
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    write:/1 mtext.
    ENDIF.
    *Program sintactically correct.
    *but still I'm facing the same problem, for your kind knowledge I don't know what is return code
    Edited by: Yogesh Pathak on Jan 7, 2009 9:45 AM
    Messege posted more than one time due to "SERVER ERROR" while posting., sorry for inconvenience.
    Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 2:34 PM

  • How to disable fields on selection screen?

    hi,
    i have two fields f1 and f2 on selection screen and two radio buttons r1 and r2.
    if i select r1, f1 should be input enable and f2 shuld be disabled.
    and if i select r2, f2 should be input enable and f1 shuld be disabled.
    i hav code like this
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    PARAMETERS: p_Pfile TYPE rlgrap-filename,      "presentation server input file
                p_afile TYPE rlgrap-filename.      "application server input file
               p_efile TYPE rlgrap-filename.                "error file
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
    PARAMETERS: R_ps TYPE c RADIOBUTTON GROUP rd default 'X', "radio button for presentation server
                R_as TYPE c RADIOBUTTON GROUP rd .            "radio button for application server
    SELECTION-SCREEN END OF BLOCK blk2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF R_PS = C_X.
      IF SCREEN-NAME = P_PFILE.
       SCREEN-ACTIVE = 0.
       MODIFY SCREEN.
      ELSE.                           "IF SCREEN-NAME = P_AFILE.
       SCREEN-ACTIVE = 1.
       SCREEN-INPUT = 1.
        MODIFY SCREEN.
        ENDIF.
    ELSEIF R_AS = C_X.
      IF SCREEN-NAME = P_PFILE.
       SCREEN-ACTIVE = 0.
       MODIFY SCREEN.
      ELSE.                           "IF SCREEN-NAME = P_AFILE.
       SCREEN-ACTIVE = 1.
       SCREEN-INPUT = 1.
        MODIFY SCREEN.
        ENDIF.
    ENDIF.
    ENDLOOP.
    but i could not get that .
    plz help me

    Hi ,
    This is my test code look at "at selection screen output" part you will get it.
    data: g_user_has_auth(1) TYPE c,
           v_key LIKE sy-pfkey,
           it_ucomm TYPE TABLE OF sy-ucomm.
    CONSTANTS : c_yes TYPE c VALUE '1' ,
                c_no TYPE c VALUE '0' .
    INITIALIZATION.
    Code to remove standard execute button from selection screen.
      v_key = sy-pfkey.
      APPEND : 'ONLI' TO it_ucomm.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          p_status  = v_key
          p_program = ' '
        TABLES
          p_exclude = it_ucomm.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS:      r_iobj  RADIOBUTTON GROUP rb1 USER-COMMAND OP1.
    PARAMETERS:      r_ods  RADIOBUTTON GROUP rb1.
    PARAMETERS:      r_cubes  RADIOBUTTON GROUP rb1.
      SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02 .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) text-t02 FOR FIELD p_info MODIF ID OP1.
    PARAMETERS: p_info TYPE string MODIF ID OP1.
    SELECTION-SCREEN: PUSHBUTTON 68(10) but1 USER-COMMAND cli1 MODIF ID OP1.
    SELECTION-SCREEN : END OF LINE.
      SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t04.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) text-t02 FOR FIELD p_ods MODIF ID OP2.
    PARAMETERS: p_ods TYPE string MODIF ID OP2.
    SELECTION-SCREEN: PUSHBUTTON 68(10) ods1 USER-COMMAND cli3 MODIF ID OP2.
    SELECTION-SCREEN : END OF LINE.
    *SELECTION-SCREEN SKIP 1.
    *PARAMETERS:      r_exe  RADIOBUTTON GROUP rb2.
    *PARAMETERS:      r_st1  RADIOBUTTON GROUP rb2.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN: PUSHBUTTON /1(20) ods_cr USER-COMMAND cli4 MODIF ID OP2.
    SELECTION-SCREEN END OF BLOCK b3.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'OP1'.
          IF R_IOBJ = 'X'.
            SCREEN-INVISIBLE = C_NO.
            SCREEN-ACTIVE = C_YES.
            ELSE.
              SCREEN-INVISIBLE = C_YES.
              SCREEN-ACTIVE = C_NO.
              ENDIF.
              MODIFY SCREEN.
              ENDIF.
              IF SCREEN-GROUP1 = 'OP2'.
                IF R_ODS = 'X'.
                  SCREEN-INVISIBLE = C_NO.
                  SCREEN-ACTIVE = C_YES.
                  ELSE.
                    SCREEN-INVISIBLE = C_YES.
                    SCREEN-ACTIVE = C_NO.
                    ENDIF.
                    MODIFY SCREEN.
                    ENDIF.
                    ENDLOOP.

  • Selection-screen in subroutine

    Hi,
    I would like to know if I can create my selection-screen using a subroutine.
    Here is my selection-screen.
    SELECTION-SCREEN : BEGIN OF LINE, COMMENT 1(45) text-aaa, POSITION 50.
    PARAMETERS : p_aaa  TYPE rcgfiletr-ftappl OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE, COMMENT 1(45) text-bbb, POSITION 50.
    PARAMETERS : p_bbb  TYPE rcgfiletr-ftappl OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE, COMMENT 1(45) text-ccc, POSITION 50.
    PARAMETERS : p_ccc  TYPE rcgfiletr-ftappl OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    I tried this but it doesn't work.
    PERFORM test : USING text-aaa p_aaa,
                              USING text-bbb p_bbb,
                              USING text-ccc p_ccc.
    FORM test USING text parameter.
    SELECTION-SCREEN : BEGIN OF LINE, COMMENT 1(45) text, POSITION 50.
    PARAMETERS : parameter  TYPE rcgfiletr-ftappl OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    ENDFORM.
    Error message : SELECTION-SCREEN statement is not allowed in FORM
    Has anyone got an idea ?
    Regards

    First, you can not use selection-screen in FORM and PERFORM somewhere.
    Second, you can use subscreen or include it is up to your screen design.
    reward points if it helps.
    michael

  • Selection screen dialog programming

    I have used a selection screen in the dialog programming.
    I have written some code in the at selection screen to display the output on a table control in another screen 1001.
    my problem is that when i try to enter the multiple values for material ,
    it goes to the at selection screen and displays the output again.
    if i write the code in start of selection instead of at selection screen
    it doesnt give any output at all.
    how do i correct this error?
    SELECTION-SCREEN BEGIN OF SCREEN 2000 .
    SELECT-OPTIONS : s_ersda FOR MCHB-ERSDA OBLIGATORY.
    SELECT-OPTIONS : s_matnr FOR MCHB-MATNR.
    SELECT-OPTIONS : s_matkl FOR MARA-MATKL.
    SELECT-OPTIONS : s_ferth FOR MARA-FERTH.
    SELECTION-SCREEN END OF SCREEN 2000.
    at selection-screen.
    statements to fill the output table
    screen containing table control
    call screen 1001

    Friends,
    Req for ABAP HR
    ROLE: SAP HR ABAP DEVELOPER
    Location: TULSA, OK
    Duration: 3 + MONTHS
    REQUIRED SKILLS: SAP ABAP / Dialog and regular / R/3 and HR / Workflow / smartforms
    / ALV / LSMW for HR and R/3 / Modules - MM , SD , HR, PD , PS
    Start Date: 11-12-07
    If interested Please send the cvs to [email protected]

  • Place two selection screen BLOCKS  beside each other

    I want to place 2 selectio-screen blocks side by side instead of 1 below other.
    How to do that .?
    Please help.

    Just copy and paste and give the text elements with some texts.
    selection-screen begin of line.
      parameters session radiobutton group ctu.  "create session
      selection-screen comment 3(20) text-s07 for field session.
      selection-screen position 45.
      parameters ctu radiobutton group  ctu.     "call transaction
      selection-screen comment 48(20) text-s08 for field ctu.
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 3(20) text-s01 for field group.
      selection-screen position 25.
      parameters group(12).                      "group name of session
      selection-screen comment 48(20) text-s05 for field ctumode.
      selection-screen position 70.
      parameters ctumode like ctu_params-dismode default 'N'.
                                          "A: show all dynpros
                                          "E: show dynpro on error only
                                          "N: do not display dynpro
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 3(20) text-s02 for field user.
      selection-screen position 25.
      parameters: user(12) default sy-uname.     "user for session in batch
      selection-screen comment 48(20) text-s06 for field cupdate.
      selection-screen position 70.
      parameters cupdate like ctu_params-updmode default 'L'.
                                          "S: synchronously
                                          "A: asynchronously
                                          "L: local
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 3(20) text-s03 for field keep.
      selection-screen position 25.
      parameters: keep as checkbox.       "' ' = delete session if finished
                                          "'X' = keep   session if finished
      selection-screen comment 48(20) text-s09 for field e_group.
      selection-screen position 70.
      parameters e_group(12).             "group name of error-session
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 3(20) text-s04 for field holddate.
      selection-screen position 25.
      parameters: holddate like sy-datum.
      selection-screen comment 51(17) text-s02 for field e_user.
      selection-screen position 70.
      parameters: e_user(12) default sy-uname.    "user for error-session
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 51(17) text-s03 for field e_keep.
      selection-screen position 70.
      parameters: e_keep as checkbox.     "' ' = delete session if finished
                                          "'X' = keep   session if finished
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 51(17) text-s04 for field e_hdate.
      selection-screen position 70.
      parameters: e_hdate like sy-datum.
    selection-screen end of line.
    selection-screen skip.
    selection-screen begin of line.
      selection-screen comment 1(33) text-s10 for field nodata.
      parameters: nodata default '/' lower case.          "nodata
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 1(33) for field smalllog.
      parameters: smalllog as checkbox.  "' ' = log all transactions
                                         "'X' = no transaction logging
    selection-screen end of line.
    Regards
    Gopi

  • Custom error messages in selection-screen

    Hello All,
    I have one query. I have developed a vendor aging report. In the SELECT-OPTIONS, there are 5 fields namely company code, business area, vendor group, vendor code and cash management group. What the user wants is if he enters any invalid value in any of the 5 fields, custom error message should be displayed like 'invalid company code' etc. I think we have to write these messages in 'at-selection-screen' event. Can u help me out with a sample code snippet w.r.t the above program? I have written the code as:
    AT SELECTION-SCREEN.
      IF S_BUKRS ne BSIK-BUKRS.
      MESSAGE e000. 'invalid company code' TYPE 'E'.
      ENDIF.
    But not giving the correct output.i.e. even if I enter a valid company code, the error message is displayed. Can u help me in solving this problem?
    Thanks and Regards,
    Satvik
    Edited by: Satvikpanchal on Jul 22, 2011 9:42 AM

    Hi,
      use AT SELECTION-SCREEN on S_BUKRS-low.
    Use select query for checking the Company code in T001 table check the
    Company code already exist or not? If it is not there show the message.
    Code like
    AT SELECTION-SCREEN on S_BUKRS-low.
    select single bukrs into lv_bukrs
          from T001 where bukrs = s_bukrs-low.
    if sy-subrc NE 0.
    MESSAGE e000. 'invalid company code' TYPE 'E'.
    ENDIF.
    i think you company code is select option so you have to check S_BUKRS-high also.
    using the event AT SELECTION-SCREEN on S_BUKRS-high.
    Regards,
    DHina..

  • Error Message in selection screen Status bar is getting truncated

    Hi Guys,
    Error Message in selection screen Staus bar is getting truncated (full message is not getting displayed).... can anybody tell me how to reslove this

    Hi
    Maimum we can give the error message length is 50 char. If you give more than that it will get truncated.
    What you can do this split 50 and 50 like that you can give 200 chnars.
    Data : Text1 type char50
              Text2 type char50
    If sy-surc ne 0.
    Message Text1 Text2  TYPE "E'' or 'S'
    endif.

  • Error in calling a selection-screen...

    Hello experts,
    Please look at my code below:
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_upld RADIOBUTTON GROUP grp2.
    SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme.
    PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:'.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: pr_list1 RADIOBUTTON GROUP grp2.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list1.
    SELECTION-SCREEN END OF SCREEN 500.
    SELECTION-SCREEN BEGIN OF SCREEN 1500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode.
    PARAMETERS: p_dcode LIKE vbak-kunnr,
                p_name1 LIKE kna1-name1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_list2 RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_add  RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_edit RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(20) text-a12 FOR FIELD p_code.
    PARAMETERS: p_code LIKE zts0001-cdseq.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 1500.
    IF v_compflag EQ space.
      CALL SELECTION-SCREEN 500.
    ELSE.
      CALL SELECTION-SCREEN 1500.
    ENDIF.
    Now, what I want to do is that the program will call a selection-screen based on a given variable(v_compflag). But its generating an error saying that 'error generating the selection-screen'. Why is this so?
    Again, thank you guys and take care!

    Corrected code.
    REPORT  ztest_errror                            .
    data: v_compflag.
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_upld RADIOBUTTON GROUP grp2.
    SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme.
    PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_list1 RADIOBUTTON GROUP grp2.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 500.
    *************SELECTION-SCREEN BEGIN OF SCREEN 1500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode.
    PARAMETERS: p_dcode LIKE vbak-kunnr,
              p_name1 LIKE kna1-name1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_list2 RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_add  RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_edit RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit.
    SELECTION-SCREEN END OF LINE.
    *************SELECTION-SCREEN END OF SCREEN 1500.
    IF v_compflag EQ space.
      CALL SELECTION-SCREEN 500.
    ELSE.
      CALL SELECTION-SCREEN 1500.
    ENDIF.
    Regards
    vijay

  • Error while using selection option variable in the selection screen

    Hi All,
    I am facing an issue while using selection option variable in the selection screen for one of my reports.
    Scenario: For the field "Region From" we need to have wild card logic () in tes selection screen, for example if we put "BE" in the selection screen for the field Region From then the query should be executed only for those "Region From" values which begin from "BE".
    Approach: For the above requirement I have made a selection option variable for "Region From". This allows use wild card
    But when the report is executed we get the following error:
    "System error in program CL_RSR_REQUEST. Invalid filter on ETVRGNFR".
    (ETVRGNFR is technical name of the info object Region From)
    Though the report is executed it displays all the values for the field "Region From" irrespective of the selection given in the selection screen.
    Please give suggestions / alternate solutions to crack this issue.
    Thanks in advance
    Regards
    Priyanka.

    Hi,
    Try to use a variable of type Customer Exit and do the validation inside the exit to display according to your request.
    This is just my view, i am not sure if u are already using this or Char. Variable.
    Cheers.
    Ranga.

Maybe you are looking for

  • Installing Windows 8 Along With Mac OSX and Win7

    Ok I want to install winows 8 on my macbook pro alongside mac os x and windows 7 but I already have the maximum primary partitions. Can I delete the 620MB Primary Partition?

  • Strange problem with portable iPod dock

    I recently bought an iLive portable dock so that I could listen to my iPod at work. It worked just fine the first few weeks and then I took my iPod on a car trip and used one of those adapters that finds an available radio frequency to play your iPod

  • Oracle Personal Edition 10G

    Hi, I need to download Oracle Personal Edition 10g (for Windows 20030). Where can I find it? I've searched OTN and Edelivery but couldn't find it. regards, Ivan

  • Selection screen descriptions

    Hi all help me in the issue .                    I am having Selection screen with the field sales order type when the user enter particular sales order type the description of the sales order type should come correspondig to the order type how to ac

  • Not Getting Currect data.

    hi all, here i have one form for print of CASH JOURNAL . And for this print i entered data from Transaction FBCJ. i can done every thing. and i put short text and long text in accounting document.  then entry was done. Now i want to print this docume