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.

Similar Messages

  • Creating Selection screen in Report Painter

    Good day everyone,
      Does anyone know how I could create a selection screen in Report Writer? Thanks!
    >Christian<

    Hi,
    Simple Parameters  or Selec-options statements will suffice.
    Eg : Parameters : p_matnr type mara-matnr.
           select-options : s_matnr for mara-matnr.
    In selection screen, you may have selec-options, parameters, check boxes, radio buttons etc.
    Regards,
    Sujatha.

  • Adding gsber in selection screen of report painter

    To gurus,
    I have a small requirement, I have to get business area  (GSBER) in  selection screen of report.
    I have developed the report using report painter  FGI1 --FAGLFLEXT which is having gsber field.
    In selection screen it self i want this GSBER FIELD .How to achieve it.
    kindly guide me.
    regards,
    padmaja.

    Hi
    What I understand from your question is you want bussiness area value on selection screen you can achive this by just using the by export/import parameter or by get/set  parameter id.
    Please elaborate what exactly you want.
    Regards
    Sagar.

  • Modification on selection screen of report

    Hello guys,
    I have a requirement where in i need to modify the initial selection screen as per clients requirement. The scenario is as follows:
    Suppose 'EMPLOYEE' and 'PORTFOLIO' are two of the fields of a cube on which the report will be run. Now suppose there are three employees as A, B and C and A handles portfolios X & Y, B handles portfolios W & Y while C handles portfolios X & Z.
    The initial selection screen of report will have two selection fields first as the employee and second as the portfolio.
    When we do F4 at employee it will display A, B and C. Now the requirement is if we F4 at portfolio it should display only the relevant one for that employee.
    For example: if i give employee as A and when i do F4 at portfolio screen it should give me only X and Y and not all the portfolios viz. W, X, Y & Z
    Is there a way to achieve the above scenario????

    Hi Chakradhar,
                             Refer this code :
    SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME TITLE TEXT-456.
    PARAMETERS PO RADIOBUTTON GROUP RADI USER-COMMAND R.
    SELECTION-SCREEN END OF BLOCK BL2.
    AT SELECTION-SCREEN OUTPUT.
    CALL SCREEN 100.
    when user will click on this radio button , a pop up screen will appear dynamically.
    Reward points if helpful.
    Regards,
    Hemant

  • AT SELECTION-SCREEN stops report

    Hello,
    I run a report using the AT SELECTION-SCREEN stmt.
    Below AT SELECTION-SCREEN is an IF ... ELSE block. Within that block the report checks, whether the user input (made in a SELECT-OPTIONS) complies some requirements.
    I check for example, if that what the user types in matches a defined string...
    But if i use an AT SELECTION-SCREEN, the report does not continue after execution after that!
    It returns to the selction screen...
    How can I achieve, that the report continues with execution...?
    Thx,
    holger

    Hi Holger,
    1. This is the default behaviour.
    2. For report purpose execution,
       the event is
       START-OF-SELECTION ( and not at selection-screen)
    3. However u CAN ACHIEVE this by :
       after all validations , use the syntax
       LEAVE TO LIST-PROCESSING.
    4.  I tried the same at my end,
       its working fine.
    5. However, if u use step 3,
       there will be a problem :
       after the execution of report,
      it wil get HANG. ie. it won't then
      get back using the toolbar buttons.
      U may try it for yourself.
    6. Bottom line is:
       use
      START-OF-SELECTION (FOR FINAL EXECUTION OF THE REPORT)
    Regards,
    Amit M.
    Message was edited by: Amit Mittal

  • How to create multiple selection screens in reports

    How to create multiple selection screens in reports
    Thanks,
    Sridhar

    Ex: hope you will find an idea from the below example :
    SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TIT1.
    PARAMETERS: CITYFR LIKE SPFLI-CITYFORM,
                CITYTO LIKE SPFLI-CITYFORM.
    SELECTION-SCREEN end OF BLOCK SEL1
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN INCLUDE BLOCKS SEL1.
    SELECTION-SCREEN BEGIN OF BLOCK SEL2 WITH FRAME TITLE TIT2 .
    PARAMETERS: AIRPFFR LIKE SPFLI-AIRPFROM,
                AIRPTO LIKE SPFLI-AIRPTO.
    SELECTION-SCREEN END OF BLOCK SEL2
    SELECTION-SCREEN END OF SCREEN 5000.
    INITIALIZATION.
    TIT1 = 'ITIES'.
    aT SELECTION-SCREEN.
    CASE SY-DYNNR.
    WHEN '0500'.
       MESSAGE W159(at) WITH 'SCREEN 500'.
    WHEN '1000'.
       MESSAGE W159(at) WITH 'SCREEN 1000'.
    ENDCASE.
    START-OF-SELECTION.
    TIT1 = 'CITIES FOR AIRPORTS'.
    TIT2 = 'AIRPORTS'.
    CALL SELECTION-SCREEN 500 STARTING AT 10 10.
    TIT1 = 'CITIES AGAIN'.
    CALL SELECTION-SCREEN 1000 STARTING AT 10 10.

  • FM to display Selection screen on report output??

    Hi Experts,
    Is there an FM to display Selection screen on report output.
    Thanks In Advance.

    Hi Ashwin,
    Refer to below link
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/755b94ca5911d299af5c9604c10e27/content.htm
    or
    The easiest way is to define your selection screen in the TOP include of your module pool.
    Then call the selection screen.
    Selection Screen
    selection-screen begin of screen 1010 as window title text-001.
    selection-screen begin of block b1 with frame title text-002.
    parameters: p_vornr type resb-vornr,
    p_refno(20) type c,
    p_plnid type zplcfg-plnid as listbox visible length 20,
    p_sorts type c as listbox visible length 20.
    selection-screen begin of line.
    selection-screen comment (20) text-004.
    selection-screen position 33.
    parameters: p_order as checkbox default 'X'.
    selection-screen end of line.
    selection-screen end of block b1.
    selection-screen end of screen 1010.
    Now call the selection screen.
    call selection-screen 1010.
    if sy-subrc = 0.
    perform get_production_orders.
    perform process_orders.
    endif.
    Thanks!!

  • How we can assign the customised selection screen to report category

    hai
    gurus
    how we can assign the customised selection screen to report category

    Hi Naresh,
    You can do like this.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN BEGIN OF BLOCK SELECTION WITH FRAME.
    SELECT-OPTIONS: S_FKART FOR VBRK-FKART.
    SELECT-OPTIONS: S_FKDAT FOR VBRK-FKDAT OBLIGATORY.
    SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
    SELECT-OPTIONS: S_AUART FOR VBAK-AUART.
    SELECTION-SCREEN END OF BLOCK SELECTION.
    SELECTION-SCREEN END OF BLOCK B1.
    if you give me brief i can help you out more.
    Thank you .
    Regards
    Ram

  • User must fill at list one field in a selection screen in report

    Hi experts,
    i have a report that the user should choose between 2 fields or he can fill them both. but he must to fill at list one of them- at the selection screen.
    how do i check that the user filled at list one of them.
    any help will be appreciate it.
    dana.

    Hi ,
    You can check that in AT SELECTION-SCREEN event.
    To validate that in the IF condition check whether any one of the parameters
    filled or not.If both the fields are initial then give a error message to proceed further.
    Check the code -
    PARAMETERS : p_name(20) TYPE c,
                 p_id(10) TYPE c.
    AT SELECTION-SCREEN.
      IF p_name IS INITIAL AND p_id IS INITIAL .
        MESSAGE 'Enter at least one field' TYPE 'E'.
      ENDIF.
    START-OF-SELECTION.
      WRITE 'Test'.
    Regards
    Pinaki

  • Common SELECTION-SCREEN in reports for reuse

    Dear ABAPERS,
    I have a number of ABAP reports with similar but complicated customized selection screen (i.e. implemented using SELECTION-SCREEN statement). I would like to "package" the codes for SELECTION-SCREEN in a common routine in an include program, so that all my reports can just use it (instead of all reports duplicating the same selection screen codes). Any changes to the selection screen can be made through the single source.
    However, an error :
    Within FORM routines and function modules, the SELECTION-SCREEN statement is not allowed.
    Is there any other way to accomplish this goal ? Thank you.
    Regards
    KC

    Hello Kir,
    The only way to be able to re-use a screen, selection-screen or otherwise, is when the screen is a subscreen.
    Have one report program where you have got the selection screen defined as follows -
    report  ztest.
    selection-screen begin of screen 1010 as subscreen.
      parameters : test like t001-mandt.
    selection-screen end of screen 1010.
    Have a second program with normal screen, which has a subscreen area.
    report ztest1.
    data : repid type syrepid,
           dynnr type sydynnr.
    repid = 'ZTEST'.
    dynnr = '1010'.
    call screen 100.
    Screen 100 has a subscreen area and its flow logic will be something like this -
    PROCESS BEFORE OUTPUT.
      call subscreen subscreen_area_name including repid
                                                   dynnr.
    PROCESS AFTER INPUT.
      call subscreen sub1.
    Now, each time you make a change to the selection-screen's definition in program ZTEST, the change will always be reflected in all the other programs which are using it as their subscreen.
    Regards,
    Anand Mandalika.

  • Multiple selection screens for report

    I need to display 2 separate selection screens prior to executing the report.
    1. A selection screen to enter the material & plant
    2. Based on the material and plan another selection screen to display the inspection characteristics associated with the material and be able to select (as checkbox) the inspection characteristic that needs to be used as filtering criteria.
    The first selection screen I can do. But how do I invoke the second selection screen that displays the insp. char. Also how do I design such a selection screen and populate the contents
    I would like something like
    [CheckBox] Inspection Plan Inspection Characteristic [Editable upper limit] [Ediatable Lower Limit]
    But other ideas to implement this are welcome as well.

    Megan,
    Say thanks to SDN.No need to give points to this.
    TABLES:EBAN.
    SELECTION-SCREEN BEGIN OF SCREEN 100 TITLE title.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETER:rad1 RADIOBUTTON GROUP rad USER-COMMAND frad1 DEFAULT 'X',
              rad2 RADIOBUTTON GROUP rad .
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETER: mtr AS CHECKBOX MODIF ID g3 USER-COMMAND chk1,
               p_matnr TYPE eban-matnr MODIF ID g1,
               sloc AS CHECKBOX MODIF ID g3 USER-COMMAND chk2,
               str_loc TYPE eban-lgort MODIF ID g4.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
    SELECT-OPTIONS: matnr1 FOR eban-matnr MODIF ID g2.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN PUSHBUTTON /20(10) name USER-COMMAND UCOM.
    SELECTION-SCREEN END OF SCREEN 100.
    *name = 'FETCH'.
    title = 'Test Report'.
    CALL SELECTION-SCREEN '100'.
    TYPE-POOLS slis.
    AT SELECTION-SCREEN OUTPUT.
      IF rad1 = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'G1' OR screen-group1 = 'G4'.
            screen-active = '1'.
            screen-input = 0.
          ELSEIF screen-group1 = 'G2'.
            screen-active = '0'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF rad2 = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'G1'  OR screen-group1 = 'G4' OR screen-group1 = 'G3' OR screen-group1 = 'G5'.
            screen-active = '0'.
          ELSEIF screen-group1 = 'G2'.
            screen-active = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF mtr = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'G1'.
            screen-input = 1 .
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF sloc = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'G4'.
            screen-input = 1 .
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    clear sy-ucomm.
      iflag = 1.
    K.Kiran.

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

  • Selection Screen in Report Painter

    Dear Experts,
    I have an issue in the report painter. While executing the report from GRR2, selection screen is not displayed but report is coming as I expected.
    I want to create the selection screen for this report. I have created this report without copying from the standard report.
    Thanks in Advance.
    Regards,
    Aswimn

    Hi,
    Please refer following links.
    <Link farm removed by moderator>
    Regards,
    Renuka S.
    Edited by: Vinod Kumar on May 25, 2011 10:12 AM

Maybe you are looking for

  • 'ANALYZE_ACT_FIELDCAT'  error coming while changing the layout in FBL1N

    Hi Friends, Through Enhancement we added some piece of code which just adds all lines from the BSEG Table of the given document number. Means FBL1N only displays vendor line items, after adding the above code now it could be able to display all the G

  • How to extract the date value of IBOR date="12/12/2009"

    I have the following query, but do not get the date value out: WITH ibors AS ( SELECT xmltype('<?xml version="1.0" encoding="utf-8"?> <IBOR date="12/12/2009"> <LIBOR currency="USD"> <OneYear>1.38875</OneYear> </LIBOR> </IBOR> ') ibor_xml FROM dual SE

  • What does this excpetion mean and how do I fix it?

    Exception in thread "main" java.lang.NoClassDefFoundError: script I copied and pasted it from the java tutorials into my own class...i hope that's not illegal but maybe that's why it's apparently having classpath problems? Edited by: cubswar on Mar 2

  • Get data from external system

    hi everybody for a report i have to retrieve the data from infotype 0016 from the HR system which is separate from the SAP database. Is there any BAPI which does that or what is the way to proceed never done that before thanks a lot for your help

  • Wrong Entries in Out-Queues

    Dear All, we've got a very big problem in oure CRM Mobiles Sales 3.0. In the Out-Queues we've got wrong entries, which have other Queue-ID's than they expecet to have but they've got the same transaction-ID. When the clients now try to make conntrans