Reports Select Option

Hi all,
     I have a task - i have to  use "SELECT-OPTIONS of one program into select statements of another program, Please solve my problem.
Thanks in advance
                                             Ranjith

Hi Ranjit,
Try using SUBMIT option with the addition SELTAB.
You can also pass the select options along with the SUBMIT statement. Take a look at the help.
Code used to populate 'select-options' & execute report 
DATA: seltab type table of rsparams,
      seltab_wa like line of seltab.
  seltab_wa-selname = 'PNPPERNR'.
  seltab_wa-sign    = 'I'.
  seltab_wa-option  = 'EQ'.
* load each personnel number accessed from the structure into
* parameters to be used in the report
  loop at pnppernr.
    seltab_wa-low = pnppernr-low.
    append seltab_wa to seltab.
  endloop.
  SUBMIT zreport with selection-table seltab
                                via selection-screen.
Cheers
VJ
Message was edited by: Vijayendra  Rao

Similar Messages

  • Report select options similar to Query output options : Urgent !!!!!

    Hi All,
    I have developed a custom report . The output options of this report needs to be included in Selection screen like in SQ01 queries, there should be option to output the report results in different formats like List Viewer, ABAP List, Spread Sheet etc.,. 
    If some variant is selected then user will select whatever the format he want .
    the output should display in that format .
    How I can acomodate all these options to output a report .
    How can I do this ..Pls help me its Urgent !!!!
    Points for Sure !!!
    Regards,
    Varma

    Hi,
       Try this code,
       at user-command.
       case sy-ucomm.
       when 'disp'.
       write:.......   "abap list
       when 'buton1'
        call function 'reuse_alv_list_display'.
         endcase.
    i hope it gives ur answer
    Reward if it helps.

  • Excel is not showing multiple Drill thru report selection option

    We have created 3 drill thru reports in EIS, excel is not showing Select Drill-Through Report Dialog Box when tying to acess drill thru reports. It defaultly executes the first drill thru report, we want it to list the available reports so that we can select accordingly after view/launch is selected.
    essbase 7.1.6 version SQl server 2000

    Hi,
    This Prompt message would have been set in WAD(XHTML Coding section) in your old project. Now , you cross check your Web template for the same. Your issue will be resolved.
    Regards,
    Suman

  • Help on the selection screen.....Select-options default values

    Dear Friends,
    We have one requirement,i.e. In Report program i am using select-option once will execute the program ALV report will be generated.In ALV Report we have one button like 'WM DATA'.Once click the WMDATA one pop-up is displaying...In that pop-up also same select-options are there upto here it's working fine...Now my problem is on pop-up select-options i have to display by default..... which i am using on report select-options values.
    Please help on the same
    Thank You.

    Do like this. Before calling your next screen assign the select option value or just assign the value in start of selection only.
    tables
    :lqua.
    SELECT-OPTIONS:
    s_lgnum FOR lqua-lgnum MODIF ID sc1 OBLIGATORY,
    s_lgtyp FOR lqua-lgtyp MODIF ID sc1.
    SELECTION-SCREEN BEGIN OF SCREEN 300 .
    SELECT-OPTIONS : s_lgnum1 FOR lqua-lgnum OBLIGATORY,
    s_lgtyp1 FOR lqua-lgtyp OBLIGATORY.
    SELECTION-SCREEN END OF SCREEN 300.
    START-OF-SELECTION.
    s_lgnum1[] = s_lgnum[].
    s_lgtyp1[] = s_lgtyp[].
    call SELECTION-SCREEN 300.

  • Changing field label for standard select option

    Hi All,
    I need to change the label for one of the standard select option for the custom report category.
    the field is PNPSTAT1 - original label is - Customer-Specific Status - which i need to change as per customer requirement.
    Can anyone tell me the way i can do it so that it can be viewed with correct label not only on the selection screen but in further selections mode as well.
    Regards,
    Raunak

    Dear Raunak,
    If you have standard select option for standard selection screen:
    create a implicit enhancement for any standard program and wrote the below code at the end of the program and it is working..
    INITIALIZATION.
    %_s_PNPSTAT1%_app_%-text = 'ANY LABEL'.
    If you have custom report select option, go to above Ravikiran's procedure.
    Best of luck.
    Regards,
    Abbas.

  • Report help for multiple Date Select options

    Hi Friends,
    For a particular year wise report, the client wants 12 date select-options which are changeable and informal every year .The report will also be displayed as per the given date selection period wise. Please help me how to fetch the datas from the table as per the given selection period. Currently the report have one date select-option where the user gives selection range as 1.04 to 31.03. It's related to EB power consumption report and hence the new requirement on date selection which are informal and not a fixed date of every year.
    Ex:Selection-Screen
    Period 1 : 08.04.2008 to 12.05.2008
    Period 2: 12.05.2008 to 20.06.2008
    Period 3: 21.06.2008 to 28.07.2008
    Period 4: 29.07.2008 to 15.08.2008
    Period 5: 15.08.2008 to 21.09.2008
    Period 6 : 21.09.2008 to 14.10.2008
    The data will derive as per the above selection ranges.......
    Please advise with example.
    thanks & regards
    Sankar.

    >
    sankar babu wrote:
    > Ex:Selection-Screen
    > Period 1 : 08.04.2008 to 12.05.2008
    > Period 2: 12.05.2008 to 20.06.2008
    > Period 3: 21.06.2008 to 28.07.2008
    > Period 4: 29.07.2008 to 15.08.2008
    > Period 5: 15.08.2008 to 21.09.2008
    > Period 6 : 21.09.2008 to 14.10.2008
    Hi,
    In this case just derive all records matching dates between 08.04.2008 (low in first select-options) and 14.10.2008(high in last select-options.
    Also my advice is to use a single select-options and prompt the user to give the dates as ranges in the multiple entries dialog which can be opened by clicking the button on the right side of the select-options.
    Regards
    Karthik D

  • How to hide some select-option of Logical Database in report?

    How to hide select-option of  Logical Database in report?eg . In Logical Database 'PNP' , my code is 'GET  PERNR' , excute the report , select-screen is displayed . I want to hide some select-options , such as PNPPERNR-LOW .
    Edited by: rongrong wang  on Mar 26, 2008 9:31 AM

    U need to write code in initialization as
    initialization.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW'.
    screen-active = '0'.
    modify screen.
    endif.
    if screen-name = 'PNPPERNR-HIGH'.
    screen-active = '0'.
    modify screen.
    endif.
    endloop.

  • Report text element as selection option

    Hi,
      I encounter a performance problem in a report program that include a self define fields in the selection option.  I use the FM READ_TEXT to read those fields and compare with the user input.Then, eliminates those unmatched records with if else statement.
    Here is my code:
    SELECT-OPTIONS: S_WADAT FOR LIKP-WADAT_IST.
      PARAMETERS: P_MAWB LIKE WA_REPORT-KZABE.
      PARAMETERS: P_HAWB LIKE LIKP-BOLNR.
      PARAMETERS: P_MATNR LIKE LIPS-MATNR.
      PARAMETERS: P_LOT(20) TYPE C.
      CLEAR: I_REPORT,I_DELIVERY,I_DELIVERY_INFO.
      REFRESH: I_REPORT,I_DELIVERY,I_DELIVERY_INFO.
      DATA WHERE_TAB(80) OCCURS 10 WITH HEADER LINE.
      DATA: BEGIN OF LTEXT OCCURS 50.
              INCLUDE STRUCTURE TLINE.
      DATA: END OF LTEXT.
      IF NOT P_HAWB IS INITIAL.
        CONCATENATE ' BOLNR = ' WHERE_TAB INTO WHERE_TAB.
        CONCATENATE WHERE_TAB '''' INTO WHERE_TAB.
        CONCATENATE WHERE_TAB P_HAWB INTO WHERE_TAB.
        CONCATENATE  WHERE_TAB '''' INTO WHERE_TAB.
        APPEND WHERE_TAB.
      ENDIF.
      IF NOT P_MATNR IS INITIAL.
        IF NOT WHERE_TAB IS INITIAL.
          CONCATENATE ' AND MATNR = ' WHERE_TAB INTO WHERE_TAB.
        ELSE.
          CONCATENATE ' MATNR = ' WHERE_TAB INTO WHERE_TAB.
        ENDIF.
        CONCATENATE WHERE_TAB '''' INTO WHERE_TAB.
        CONCATENATE WHERE_TAB P_MATNR INTO WHERE_TAB.
        CONCATENATE  WHERE_TAB '''' INTO WHERE_TAB.
        APPEND WHERE_TAB.
      ENDIF.
      SELECT A1~VBELN
             WADAT_IST
             BOLNR
             C1~LIFNR
             B1~MATNR
             LFIMG
             BTGEW
             B1~CHARG
        INTO CORRESPONDING FIELDS OF TABLE TMP_REPORT
        FROM LIKP AS A1 JOIN LIPS AS B1 ON A1~VBELN = B1~VBELN
            JOIN MCHA AS C1 ON B1~MATNR = C1~MATNR
                               AND
                               B1~WERKS = C1~WERKS
                               AND
                               B1~CHARG = C1~CHARG
         WHERE LFART = 'EL'
               AND
               WADAT_IST IN S_WADAT
               AND
               B1~CHARG NE ''
               AND
               B1~WERKS = 'ABC'
               AND
               (WHERE_TAB)
      SORT TMP_REPORT BY VBELN.
      DATA: V_FLAG TYPE I,
            V_EXCLUDE TYPE I,
            V_LOT_EXCLUDE TYPE I.
      V_FLAG = 0.
      V_EXCLUDE = 0.
      V_LOT_EXCLUDE = 0.
      IF SY-SUBRC = 0.
    * trim the parameter space
        SHIFT P_MAWB RIGHT DELETING TRAILING SPACE.
        SHIFT P_MAWB LEFT DELETING LEADING SPACE.
        SHIFT P_LOT RIGHT DELETING TRAILING SPACE.
        SHIFT P_LOT LEFT DELETING LEADING SPACE.
        LOOP AT TMP_REPORT.
          AT NEW VBELN.
            V_FLAG = 1.
            V_EXCLUDE = 0.
          ENDAT.
          IF V_FLAG = 1.
            PERFORM GET_HEADER_TEXT
                  TABLES
                       LTEXT
                  USING
                       'Z3IH'
                        TMP_REPORT-VBELN
            READ TABLE LTEXT INDEX 1.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-VERUR TMP_REPORT-VERUR.
            READ TABLE LTEXT INDEX 2.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-KZGBE TMP_REPORT-KZGBE.
            READ TABLE LTEXT INDEX 3.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-KZABE TMP_REPORT-KZABE.
            READ TABLE LTEXT INDEX 4.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-STABE TMP_REPORT-STABE.
            READ TABLE LTEXT INDEX 5.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-PRONU TMP_REPORT-PRONU.
            READ TABLE LTEXT INDEX 6.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-LADEL TMP_REPORT-LADEL.
            SHIFT TMP_REPORT-KZABE RIGHT DELETING TRAILING SPACE.
            SHIFT TMP_REPORT-KZABE LEFT DELETING LEADING SPACE.
            MOVE-CORRESPONDING TMP_REPORT TO WA_REPORT.
            MOVE-CORRESPONDING TMP_REPORT TO WA_TMPREPORT.
            V_FLAG = 0.
          ELSE.
            MOVE TMP_REPORT-VBELN TO WA_REPORT-VBELN.
            MOVE TMP_REPORT-LIFNR TO WA_REPORT-LIFNR.
            MOVE TMP_REPORT-MATNR TO WA_REPORT-MATNR.
            MOVE TMP_REPORT-LFIMG TO WA_REPORT-LFIMG.
          ENDIF.
          PERFORM GET_LOT_CODE USING
                                     WA_REPORT-MATNR
                                     '3LTU'
                                     WA_TMPREPORT-CHARG
                                     WA_REPORT-LOT.
          IF V_EXCLUDE  1 AND P_MAWB NE ''
            AND WA_TMPREPORT-KZABE NE P_MAWB .
            V_EXCLUDE = 1.
          ENDIF.
          SHIFT WA_REPORT-LOT RIGHT DELETING TRAILING SPACE.
          SHIFT WA_REPORT-LOT LEFT DELETING LEADING SPACE.
          IF P_LOT NE '' AND P_LOT NE WA_REPORT-LOT.
            V_LOT_EXCLUDE = 1.
          ELSE.
            V_LOT_EXCLUDE = 0.
          ENDIF.
          IF V_EXCLUDE  1 AND V_LOT_EXCLUDE  1.
            APPEND WA_REPORT TO I_REPORT.
            CLEAR WA_REPORT.
            CLEAR TMP_REPORT.
          ENDIF.
        ENDLOOP.

    Hi,
    i found one perfromance issue, try to remove the "INTO CORRESPONDING FIELDS OF TABLE " in your select statement, the order of the fields that you are fetching and the oreder for the fields in your internal table structure should be same, then you can remove "INTO CORRESPONDING FIELDS OF TABLE " and while fetching the fields reffer the table and fields you need to fetch here also you need to main the same order...like you have to do the same in where condition.
    Reward if needful.
    Thanks,
    Sreeram.

  • Select Options, Report Painter

    How can I create "Select Options" for a variable in the "General Data Selection" of the report painter screen.
    Thank You.

    If you specify selection parameters for several years and periods in a
        Report Writer or Report Painter report, the characteristics year and
        period are taken into account independent of each other.
        A report with the selections:
               From-year   :    1997
               To-year     :    1999
               From-period :     003
               To-period   :     008
        will hence select all the following data:
                003/1997 .. 008/1997, 003/1998 .. 008/1998, 003/1999 .. 008/1999
         This is the standard behavior of Report Writer and Report Painter
         reports.
         However, reports which directly display the data for the period
                003/1997 .............................................  008/1999
         are required in some cases.
         You can achieve this in the report definition using the following
         procedure.
         Additional key words
         several years several periods GS274
         rolling periods, rolling
               SUPPORTGUIDE 20010330131459
         REPORTWRITER, SGRW_DOCU_CONS_NOTE,
         SGRW_OM SGRW_PS SGRW_PC SGRW_SL SGRW_PCA SGRW_EC SGRW_LIS
         Cause and prerequisites
         This is a standard behavior of the Report Writer.
         Solution
         A procedure is described below to implement the selection over a period
         of several years and periods. This is merely an example which should
         serve as a support for experienced users of the Report Painter and
         Report Writer when defining their own reports.
         1.  Definition of auxiliary column 1: 'All-periods'
             Period:   0  ...  17
             Year:      From-year .. To-year
             000/1997.....................................................017/1999
             Definition of auxiliary column 2: 'Periods before'
             Period:   0 ... From-period - 1
             Year:      From-year
             000/1997..002/1997
             Definition of auxiliary column 3: 'Periods after'
             Period:    To-period + 1 .. 17
             Year:      To-year
             009/1999..017/1999
             Definition of the formula column:
             Formula = 'All-periods' - 'Periods before' - 'Periods after'
             000/1997.....................................................017/199
             9
             000/1997..002/1997
             009/1999..017/1999
                                003/1997............... 008/1999
             Hide the three auxiliary columns. The formula column now correctly
             shows the required period
                                003/1997............... 008/1999
      Note:The new reporting table RWCOOM is also available as of Release 4.0
      for reports which were, up to now, defined in table CCSS. RWCOOM
      contains the characteristic FISCPER which represents a combination of
      year and period. You can directly define reports over several years and
      periods using characteristic FISCPER without having to follow the
      procedure described above.
      Please take into account that you cannot call reports via report
      Interfaces in the formula columns (see Note 98187).
      If you have any query, you may reach me
    Dr. Ravi Surya Subrahmanyam, PhD Finance,
    SAP FICO Consultant,
    Answerthink (India) Limited,
    Hyderabad. AP. India
    Phone : +91 9848550024
    Email : [email protected]

  • ABAP list report, multiple selections - select-options

    I have written a very simple ABAP list report, that contains a single select-option.  On the selection screen, I have the option of entering multiple values, with each new value being displayed directly underneath the old, but I am only getting the first value entered on the screen displayed.  Does anyone have any sample code for me?

    Hi Daniel,
    Select_Options consists of 4 parameters, in with the range consists in eg...
    Select-options s_vbeln for vbak-vbeln.
    then s_vbeln-low, s_vbeln-high are the range values...
    So whne you write select query.
    write vbeln in s_vbeln
    instead of vbeln eq s_vbeln
    Hope this solves your problem.
    Thanks & Regards,
    Dileep .C

  • Select-option in interactive report

    Hello , this is urgent requirement.
    I have one report in which in the basic report i need to display the table name like mara, mard, marc etc etc 100 table is there.
    when i click on the particular table , in the secondary list the key field of the select option should display with select option.
    please let me know if you have soultion.
    Thanks and regards,
    zubera

    hi,
    try this code
    TABLES : dd02t,databrowse.
    DATA : it_dd02t TYPE TABLE OF dd02t WITH HEADER LINE.
    PARAMETERS : table LIKE dd02l-tabname default 'M%'.
    SELECT *
           INTO TABLE
           it_dd02t
           FROM dd02t
           WHERE tabname LIKE table AND ddlanguage = 'E'.
    LOOP AT it_dd02t.
      WRITE / it_dd02t-tabname HOTSPOT.
      HIDE  it_dd02t-tabname.
    ENDLOOP.
    AT LINE-SELECTION.
      CASE sy-lsind.
        WHEN '01'.
          databrowse-tablename = it_dd02t-tabname.
          SET PARAMETER ID 'DTB' FIELD databrowse-tablename.
          CALL TRANSACTION 'SE16'.
      ENDCASE.
    reward if helpful.
    prasanth

  • Select Options use in ALV Report in ABAP Webdynpro

    Hello Experts,
    I Already Done ALV Report In webdynpro with use of view Container UI element.But i do not know ALV  report with help of select option.so
    Kindly Give Me simple Example of Use in select Option In ALV.
    Reply ASAP.
    Regards,
    Ameya Karadkhedkar

    First you need to add the component WDR_SELECT_OPTIONS to the tab "Used components" of your Web Dynpro component and then also in the properties tab of your view. In the layout you need to create another view container and embed the view WND_SELECTION_SCREEN of the new used component to it.
    Then in the WDDOINIT method of your view you can write this code (where SEL_OPT is the given name for the used component) in order to set the select option (This example is a select option for a date):
    DATA: lo_cmp_usage           TYPE REF TO if_wd_component_usage,
          lo_interfacecontroller TYPE REF TO iwci_wdr_select_options,
          lo_r_helper_class      TYPE REF TO if_wd_select_options,
          rt_range_date          TYPE REF TO data.
    * Instantiate used component WDR_SELECT_OPTIONS (SEL_OPT)
    lo_cmp_usage = wd_this->wd_cpuse_sel_opt( ).
    IF lo_cmp_usage->has_active_component( ) IS INITIAL.
      lo_cmp_usage->create_component( ).
    ENDIF.
    * Call method in used controller
    lo_interfacecontroller = wd_this->wd_cpifc_sel_opt( ).
    lo_r_helper_class = lo_interfacecontroller->init_selection_screen( ).
    * Create select option for the date
    CALL METHOD lo_r_helper_class->create_range_table
      EXPORTING
        i_typename    = 'DATS'
      RECEIVING
        rt_range_table = rt_range_date.
    CALL METHOD lo_r_helper_class->add_selection_field
      EXPORTING
        i_id          = 'DATS'
        it_result     = rt_range_date
        i_read_only   = ABAP_FALSE.
    * Hide unnecessary buttons
    CALL METHOD lo_r_helper_class->set_global_options
      EXPORTING
        i_display_btn_cancel  = abap_false
        i_display_btn_check   = abap_false
        i_display_btn_reset   = abap_false
        i_display_btn_execute = abap_false.
    Finally you need to write the following code in the action of the button in order to fetch the range table selected by the user.
    DATA: lo_cmp_usage            TYPE REF TO if_wd_component_usage,
          lo_interfacecontroller  TYPE REF TO iwci_wdr_select_options,
          lo_r_helper_class       TYPE REF TO if_wd_select_options,
          rt_date                 TYPE REF TO data.
    FIELD-SYMBOLS: <fs_date> TYPE table.
    * Instantiate used component WDR_SELECT_OPTIONS (SEL_OPT)
    lo_cmp_usage = wd_this->wd_cpuse_sel_opt( ).
    IF lo_cmp_usage->has_active_component( ) IS INITIAL.
      lo_cmp_usage->create_component( ).
    ENDIF.
    * Call method in used controller
    lo_interfacecontroller = wd_this->wd_cpifc_sel_opt( ).
    lo_r_helper_class = lo_interfacecontroller->init_selection_screen( ).
    * get selected range of inspections date
    CALL METHOD lo_r_helper_class->get_range_table_of_sel_field
      EXPORTING
        i_id          = 'DATS'
      RECEIVING
        rt_range_table = rt_date.
    ASSIGN rt_date->* TO <fs_date>.
    Then you can use the value that is assigned to the field symbol <fs_date> to continue with your ALV.

  • Check box before select option in a report program.

    Hi All..
    I have a report program with select options..I want to put a checkbox before the select option, aligned with it...Is it possible..
    Regards
    Rudra

    Hi Rudra,
    Take the below help program. In the below program I am disabling the text fields....
    Take the refrence and do it will fix the problem
    &***************************Reward Point if helpful***************************&
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-003.
    PARAMETERS: P1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND Z1.
    SELECT-OPTIONS: S_PMNUX FOR S076-PMNUX MODIF ID MI1.
    PARAMETERS:     P_WENUX LIKE S076-WENUX MODIF ID MI1.
    PARAMETERS: P5 TYPE CHAR15 AS LISTBOX  VISIBLE  LENGTH 15 MODIF ID MI1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 7.
    PARAMETERS: P3 RADIOBUTTON GROUP G2 MODIF ID MI1.
    SELECTION-SCREEN COMMENT 10(10) TEXT-001 MODIF ID MI1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 7.
    PARAMETERS: P4 RADIOBUTTON GROUP G2 MODIF ID MI1.
    SELECTION-SCREEN COMMENT 10(10) TEXT-002 MODIF ID MI1.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: P_FILE TYPE RLGRAP-FILENAME MODIF ID MI1.
    PARAMETERS: P2 RADIOBUTTON GROUP G1.
    SELECT-OPTIONS: S_PMNUX1 FOR S076-PMNUX MODIF ID MI2.        " Product Group
    PARAMETERS:     P_WENUX1 LIKE S076-WENUX MODIF ID MI2.       " Plant
    PARAMETERS: P6(15) TYPE C AS LISTBOX VISIBLE LENGTH 10 MODIF ID MI2.
    *PARAMETERS: P_EMAIL(255) TYPE C MODIF ID MI2.
    PARAMETERS: P_EMAIL TYPE SOMLRECI1-RECEIVER.    " Email Address
    SELECTION-SCREEN END OF BLOCK B1.
    *      AT SELECTION-SCREEN OUTPUT                        *
    AT SELECTION-SCREEN OUTPUT.
      IF P1 = 'X'.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'MI2'.
            SCREEN-INVISIBLE = 0.
            SCREEN-INPUT = 0.
            SCREEN-ACTIVE = 1.
            SCREEN-OUTPUT = 1.
            MODIFY SCREEN.
          ENDIF.
          IF SCREEN-GROUP1 = 'MI2'.
            SCREEN-INVISIBLE = 0.
            SCREEN-INPUT = 0.
            SCREEN-ACTIVE = 1.
            SCREEN-OUTPUT = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF P2 = 'X'.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'MI1'.
            SCREEN-INVISIBLE = 0.
            SCREEN-INPUT = 0.
            SCREEN-ACTIVE = 1.
            SCREEN-OUTPUT = 1.
            MODIFY SCREEN.
          ENDIF.
          IF SCREEN-GROUP1 = 'MI1'.
            SCREEN-INVISIBLE = 0.
            SCREEN-INPUT = 0.
            SCREEN-ACTIVE = 1.
            SCREEN-OUTPUT = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'MI2'.
            SCREEN-INVISIBLE = 0.
            SCREEN-INPUT = 0.
            SCREEN-ACTIVE = 1.
            SCREEN-OUTPUT = 1.
            MODIFY SCREEN.
          ENDIF.
          IF SCREEN-GROUP1 = 'MI1'.
            SCREEN-INVISIBLE = 0.
            SCREEN-INPUT = 0.
            SCREEN-ACTIVE = 1.
            SCREEN-OUTPUT = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.

  • Select Option with masked entry in GRR3 report

    Hi,
    I am trying to find out if it is possible in standard to call a grr3 report like s_alr_87013611 (cost center report) and be able to enter the cost element like 4* to get all values for cost elements starting with 4.
    When trying this I get an error message and the only select option that appears is "=".
    In a KE80 report like S_ALR_87013326 on profit centers I can select the account and here it works fine with 4*.
    What is responsible for this and where can I do the settings? Any help is greatly appreciated.
    Thomas

    Follow-up:
    I noted in another post, that you can set the default value in the entity object, and this can carry through to the List-based object and retain that as the "selected" option.
    How do you set the selected option programmatically/via properties or tag attributes, without doing something like this:
    <select name="Cardtype1">
    <c:forEach var="listEntry" items="${bindings.Cardtype1.displayData}">
    <c:choose>
    <c:when test="${listEntry.prompt=='VISA'}">
    <option value="<c:out value='${listEntry.index}'/>" selected="true">
    </c:when>
    <c:otherwise>
    <option value="<c:out value='${listEntry.index}'/>" >
    </c:otherwise>
    </c:choose>
    <c:out value="${listEntry.prompt}"/>
    </option>
    </c:forEach>
    </select>

  • Adding Selection Options Fields in Report(Using Query)

    Hi,
    how can we add Selection Fields Options in Query Reports Which we create using SQ01. I need a default option by which we can add all the selection option given by user.
    Anybody can help me..?
    Regards
    lijo Joseph

    Do you have anything defined in the 'Calcs' section?
    If so, any fields returned by the query that are not included in the calculation will be automatically added to the Group fields (using the same logic as required with calculations/group by in any SQL query). The fields won't be able to be removed from the Group list unless the Calc is also removed.

Maybe you are looking for