Report Groups - Selection screen on receiver report

Hi there,
When dealing with sender / receiver reports, do you know if it's possible to force a selection screen prompt when calling a receiver report during execution?
A report was written in the Report Painter, and belongs to a report group called 1OAB.  This report group has three receiver reports defined, so when users double click on a value, it will forward navigate to another report (receiver report, selected after double click) using the same selection criteria of the current report (sender).
My <b>problem</b>, is that the selection criteria that is passed by the sender isn't sufficient for the receiver report, and the report ends up running with a much larger selection than required. 
My <b>question</b>, is whether or not we can either:
<b>a)</b> Interrupt during the report call and prompt with the report selection screen for the receiver report.  This would allow the user to input any missing selections.
<b>b)</b> Add in any missing selections via a user exit.  I have not had much luck in finding such an exit.  The closest I got was form 'USEREXIT1' from include LRSTIF90.  This exit appears to be called before and after the report call.  I'm not sure if it's a true exit though, as it's just a piece of code in an include and is referred to as an exit?  To implement would I just register the object and add in my code?
Any suggestions would be appreciated!
Thanks,
L

FYI the only solution I see is to put in a modification to prompt a selection screen during execution. Modification would go in include 'LRSTIF02' as follows:
PERFORM report_check_obligatory TABLES it_fieldr
                                  USING flg_obl.
** MODIFICATION **
if ld_tcode = 'FBL3N'.
    flg_obl = 'X'.
endif.
** END MODIFICATION **
  IF flg_obl IS INITIAL.
    CALL TRANSACTION ld_tcode AND SKIP FIRST SCREEN.
  ELSE.
    CALL TRANSACTION ld_tcode.
  ENDIF.
* clear parameter ids
* perform clear_pid_fieldr tables it_fieldr it_dfies.
  PERFORM reset_pid_fieldr TABLES it_fieldr it_selpid.
* if flg_return = 'X'.
*   call transaction ld_tcode and skip first screen.
* else.
*   leave to transaction ld_tcode.
* endif.
ENDFORM.
If anybody has a better idea on how to accomplish this I'd love to hear it!
Thanks,
L

Similar Messages

  • Prob in Submit Report via Selection screen.

    Hi,
    I have to submit a report via selection screen.
    The report name is detemined at run time.
    This i am able to handle easily as we can use SUBMIT (V_PROG)...
                                   WHERE V_PROG contains the name of the report that i get at runtime...
    Now the issue :::::::
    I have to also populate a select-options on the called report on submit.
    usually this is done by :
                                                SUBMIT (V_PROG)
                                                name of select-option in itab...
    However in my case the name of the <name of select-option> is also detemined at runtime say PNPPERNR.
    Now if i use any variable / field symbol for the name of the select - option (like for the called program), it does not work (the called report does not have the values i populate in ITAB for the particular select-option)
    I have also tried Macro but cant find solution...
    ANY IDEAS ??

    Hi Anuj,
    When you are getting the report name in runtime, you can also get the report selection screen information during runtime.
    Now how are you going to decide which values you will move to which selection screen variables of which report? If you have a way to determine this, then here is a program that works on that assumption.
    REPORT ztest1 .
    DATA: i_seltab          TYPE TABLE OF rsparams WITH HEADER LINE,
          i_selections_info TYPE TABLE OF selinfo WITH HEADER LINE.
    DATA: v_report LIKE sy-repid,
          v_matnr  LIKE mara-matnr.
    PARAMETERS: p_rep1 RADIOBUTTON GROUP rad DEFAULT 'X',
                p_rep2 RADIOBUTTON GROUP rad.
    SELECT-OPTIONS: s_matnr FOR v_matnr.
    START-OF-SELECTION.
      IF p_rep1 = 'X'.
    *-- some criteria to determine the name of the report
        v_report = 'ZTEST2'.
      ELSE.
        v_report = 'ZTEST4'.
      ENDIF.
    *-- get the parameters for the report
      CALL FUNCTION 'RS_SELECTIONS_DESCRIPTION'
           EXPORTING
                report              = v_report
           TABLES
                selections_info     = i_selections_info
           EXCEPTIONS
                no_selections       = 1
                report_not_existent = 2
                subroutine_pool     = 3
                OTHERS              = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT i_selections_info WHERE name = 'S_MATNR'.
    *-- some criteria based on which, move the values from this program
    *   to the called program
        CLEAR i_seltab.
        i_seltab-selname = i_selections_info-name.
        i_seltab-kind    = i_selections_info-kind.
        i_seltab-sign    = 'I'.
        i_seltab-option  = 'EQ'.
        i_seltab-low     = s_matnr-low.
        i_seltab-high    = s_matnr-high.
        APPEND i_seltab.
      ENDLOOP.
      IF NOT i_seltab[] IS INITIAL.
        SUBMIT (v_report) VIA SELECTION-SCREEN
                WITH SELECTION-TABLE i_seltab .
      ENDIF.
    If this works for you, please reward and close the post.
    Regards,
    Srinivas

  • Difficulty in adding new parameter in selection screen of GR55 report

    Hi Gurus,
    I have a requirement to add an extra field in Cost center:Act/Plan/Comm CC Cur report.This is otherwise a Z report in report painter with 0% code (T-code : GR55-> Report group->Report).But,when we go to technical information of this report,it has four standard sap programs,which contains code for this selection screen.It does not even have a modification scope.
    Selection screen of this report contains following parameters:
    Selection values:
    Controlling Ar
    Fiscal Year
    From Period
    To Period
    Plan Version
    Selection Groups:
    Cost Center Group
    Or value(s)
    Cost Element Group
    Or value(s)
    My requirement is to add one more parameter : Purchase oeder in new block:
    Is there any way to achieve it.
    Note: Copying the standard progs into custom prog is not working,i already tried that.
    Please let me know your suggestions,if any one of you came across such requirement before.it is very impoertant for me.
    Thanks in advance,
    Meenakshi

    Hi  meenakshi239,
    you can always use implicit enhancement spots.
    Regards,
    Clemens

  • Getting two selection screen in one report

    Hello Friends,
    I am Making report, In my report on first screen i have given two pushbutton, like this :
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    PARAMETERS : p1_but RADIOBUTTON GROUP g1,
                             p2_but RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b2.
    now i want when user click on any one pushbutton it shows another selection screen, whose select options are:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS: so_erdat FOR lf_date,
                    so_vbeln FOR lf_vbeln MATCHCODE OBJECT zvbeln..
    SELECTION-SCREEN END OF  BLOCK b1.
    Please guide me can i use two selection screen in one report?, If yes then how can I use? Please revert back me as soon as possible.........

    Hi,
    you can achieve it only by using two USER_DEFINE_SELECTION SCREEN.
    For detail check the link
    http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba83d35c111d1829f0000e829fbfe/content.htm
    Regards,
    anirban

  • 2 selection screen in one report.

    hi,
    i need to have 2 selection screen in one report....based on the input of 1st selection screen i need to display another selection screen. The 1st selection screen consist of three radio buttons....selecting one of them should allow me to further input data....
    i tried user command, modif id...but the problem is the 2nd selection screen is also displayed initially and den after clickin d radio button i get only the 2nd selection screen...
    i cannot use module pool programming coz of user requirement.
    could anybody help with the code??

    Hi
    Please this code ..
    SELECTION-SCREEN: BEGIN OF BLOCK c1 WITH FRAME TITLE text-001.
    Upload table
    PARAMETER: p_upload TYPE char01  RADIOBUTTON GROUP rsel
                        DEFAULT 'X'  USER-COMMAND ucomm,
    Edit Tables
               p_edt_tb TYPE  char01 RADIOBUTTON GROUP rsel.
    SELECTION-SCREEN: END OF BLOCK c1.
    Upload table
    SELECTION-SCREEN: BEGIN OF BLOCK c2 WITH FRAME TITLE text-002.
    PARAMETERS: p_tab   TYPE char16     MODIF ID m1,
                p_comp  TYPE char18     MODIF ID m1,
                p_plant TYPE werks_d    MODIF ID m1,
                p_excel TYPE localfile  MODIF ID m1.
    SELECTION-SCREEN: END OF BLOCK c2.
    Edit Table
    SELECTION-SCREEN: BEGIN OF BLOCK c3 WITH FRAME TITLE text-003.
    Replace component
    PARAMETER: p_rp_cmp TYPE char01  RADIOBUTTON GROUP edtb
                          DEFAULT 'X' USER-COMMAND ucomm MODIF ID m2,
    Edit Lines
               p_edt_ln TYPE  char01 RADIOBUTTON GROUP edtb MODIF ID m2.
    SELECTION-SCREEN: END OF BLOCK c3.
    SELECTION-SCREEN: BEGIN OF BLOCK c4 WITH FRAME TITLE text-004.
    Replace component
    PARAMETERS: p_tab_r   TYPE char16 MODIF ID m3,   "Assembly Table Name
                p_comp_r  TYPE char18 MODIF ID m3.   "Upload Table Name
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31)  FOR FIELD p_fcomp  MODIF ID m3.
    PARAMETER: p_fcomp  TYPE zpart  MODIF ID m3.
    SELECTION-SCREEN COMMENT 62(20) FOR FIELD p_tcomp  MODIF ID m3.
    PARAMETER  p_tcomp  TYPE zpart  MODIF ID m3.
    SELECTION-SCREEN END OF LINE.
    Edit Lines
    PARAMETERS: p_fexcel TYPE localfile  MODIF ID m4,
                p_texcel TYPE localfile  MODIF ID m4.
    SELECTION-SCREEN: END OF BLOCK c4.
    SELECTION-SCREEN: BEGIN OF BLOCK c5 WITH FRAME TITLE text-005.
    validate data
    PARAMETERS: p_valid AS CHECKBOX DEFAULT space
                        USER-COMMAND ucomm MODIF ID m5,
    Background Processing
                p_back  AS CHECKBOX DEFAULT space
                        USER-COMMAND ucomm.
    SELECTION-SCREEN: END OF BLOCK c5.
    AT SELECTION-SCREEN OUTPUT.
    Design selection parameters dynamically
      PERFORM sub_set_file_param.
    FORM sub_set_file_param .
      LOOP AT SCREEN.
    If Upload is check
        IF  NOT  p_upload IS INITIAL.
          IF screen-group1 = 'M2' OR
             screen-group1 = 'M3' OR
             screen-group1 = 'M4'.
            screen-active = 0.
          ENDIF.
        ELSE.
    If Edit Tables is check
          IF screen-group1 = 'M1'.
            screen-active = 0.
          ENDIF.
        ENDIF.
    If Replace Component is check
        IF p_rp_cmp IS NOT INITIAL.
          IF screen-group1 = 'M4' OR
             screen-group1 = 'M5'.
            screen-active = 0.
          ENDIF.
        ELSE.
    If Edit Lines is check
          IF screen-group1 = 'M3'.
            screen-active = 0.
          ENDIF.
        ENDIF.
    Modify the screen
        MODIFY SCREEN.
      ENDLOOP.
    ENDFORM.

  • Run alv report without selection screen in background

    Hello Every body,
    i programmed a ALV Report without selection screen, and i want to create a job for this alv report.
    Any help?
    Thank u.
    Ouail.

    Hi Steve,
    Can you tell me where i have to put your code?
    this is my abap code:
    START-OF-SELECTION.
       p_filref = '\\SAPSERVER\f\SAFT\ivat\FI_Extract_1000_20140709_102346_910.XML'.
       PERFORM copy_from_xml_to_itab TABLES it_ref_file
                                     ref_xml_data
                                     USING p_filref.
    **Begin Extraction File
       SUBMIT ZZ_FI_IVAT_EXTRACTOR
       WITH p_bukrs EQ '1000'
       WITH p_gjahr EQ '1998'
       WITH filepath EQ '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
       WITH cldata eq space
       AND RETURN.
       DATA: FILE_TABLE  TYPE TABLE OF SDOKPATH,
       DIR_TABLE  TYPE TABLE OF SDOKPATH.
       CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
         EXPORTING
           DIRECTORY  = '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
           FILTER     = '*.*'
         TABLES
           FILE_TABLE = FILE_TABLE
           DIR_TABLE  = DIR_TABLE
         EXCEPTIONS
           CNTL_ERROR = 1
           OTHERS     = 2.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       "get file name
       LOOP AT FILE_TABLE INTO p_filref.
       ENDLOOP.
       CONCATENATE '\\SAPSERVER\f\SAFT\iVAT_Extractie\' p_filref INTO path.
       PERFORM copy_from_xml_to_itab TABLES t_ext_file
                                     ext_xml_data
                                     USING path.
       PERFORM fill_xml_tab_in .
       perform build_fieldcatalog.
       PERFORM compare_data_ref_ext.
       PERFORM send_email.
       perform display_alv_report.
       PERFORM delete_extraction_file.
    in the perform copy_from_xml_to_itab TABLES it_ref_file......, i use this code:
       CREATE OBJECT gcl_xml.
    *Upload XML File
       CALL METHOD gcl_xml->import_from_file
         EXPORTING
           filename = p_filref
         RECEIVING
           retcode  = gv_subrc.
       IF gv_subrc = 0.
         CALL METHOD gcl_xml->render_2_xstring
           IMPORTING
             retcode = gv_subrc
             stream  = gv_xml_string
             size    = gv_size.
         IF gv_subrc = 0.
           REFRESH gt_xml_data[].
    * Convert XML to internal table
           CALL FUNCTION 'SMUM_XML_PARSE'
             EXPORTING
               xml_input = gv_xml_string
             TABLES
               xml_table = gt_xml_data
               return    = gt_return.
         ENDIF.
       ENDIF.

  • Call a report with selection screen as subscreen.

    Hi all,
    i need to Submit And Return a Report having some parameters and Select options, from a Function Module.
    all i want that the Selection Scrren of Report should appeared as Subscreeen, so that Calling Screen sould be visible in Background.
    Is this Possible , if yes then How ?
    thanks in advance,
    Nitin

    Running new report means opening new internal session. This can't be embeded within the current internal session where your function group (function module specifically) runs. So there is no such a way which you could run a report inside a subscreen area.
    If you however want only selection screen of the report to be embeded inside your subscreen area (not run) you can use
    "report Z_SUBSCREEN_REPORT
    SELECTION-SCREEN BEGIN OF SCREEN 0200 as SUBSCREEN.
      PARAMETERS pa type c.
    SELECTION-SCREEN end of SCREEN 0200.
    "main screen's flow logic in function group with subscreen area
    PROCESS BEFORE OUTPUT.
      call SUBSCREEN area INCLUDING 'Z_SUBSCREEN_REPORT '0200'.
    Regards
    Marcin

  • How to display the sort value in the selection screen in the report title

    Dear All,
    How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
    Good day,
    Thanks and regards
    Arun S

    Hi Arun,
    Try this.
    1, Set one dynamic parameter,
    2, Drag and drop that parameter into  your report title.
    3, Pass the value(sort value) dynamically from your application,
    4, Cheers..
    Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then  set the data source from CR designer. and darg and drop that data column into the report.
    Hope this will work,
    Regards,
    Salah
    Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM

  • Functional area(FKBER field in the selection screen of the report painter))

    Hi,
    I have a requirement to add functional area field in the selection screen for a report painter report. This report using library 1VK and table 'CCSS'. I added functional area field in the general data selection . After the execution of report with functional area field filled with value. report not giving any output. do i need to maintain any setting to achieve?
    Regards,
    Palani

    1. Call GR22 and click "Characteristics".
    2. Check FKBER and assign a position number to it.
    3. Save and close the library.
    4. Call your report in GRR2 and you should now see FKBER as an available characteristic.
    5. Use it in the General Data Selection or as a Lead Column, as per requirement.
    Or,
    1. Call GR21 and create a custom library. Provide a name and description and also provide a library you can copy from (scan for the best-fit library).
    2. Now follow the steps 2 through 5 above to achieve your result.
    Hope this helps.
    Cheers.

  • Passing values to a dynamic selection screen via a report

    Hi,
    I have the following problem and need to seek your expertise urgently.
    In my program, I need to call another report by passing in parameters to the selection screen of other report. However, I could not pass values into a dynamic selection screen. I tried to use submit (report) with free selection but do not know how it works.
    Currently, I tried calling the function RS_REFRESH_FROM_DYNAMICAL_SEL and FREE_SELECTIONS_RANGE_2_EX. Using the object the first function has returned to me, I tried to append values such as fieldname etc to it. However, I realised the field names of a dynamic selection screen keeps changing. So I would not know how to pass a particular value to a selection field.
    Appreciate any help given.
    Thanks,
    CK

    Hello CK,
    Are you using logical database in your selection screen program attributes? If it is, look at include file DBxxxSEL for parameter named xxxDYNSE where xxx = logical database. Debug the program that has that dynamic selection, and look at field xxxDYNSE. This should give you a hint on how to populate the parameter when you submit the program.

  • Selection Screen for crystal report ?

    Hi to all,
    Is it possible to create selection screen using Crystal report designer alone ?
    I came to know that we can give selection parameteres using SELECT EXPERT option in desginer.
    Can we create selection screen for user input like we have in abab (selection screen) ?.
    Is it possible to check authorization using Crystal report designer ?
    If anyone knows anything .... remotely connected with the question I asked please reply.
    Waiting for reply.
    Regards,
    Surya.

    Surya,
    To do what you are wanting, you will want to do the following:
    1) Create parameters. Open the Field Explorer > right click Parameter Fields > fill in the necessary fields o create the desired parameter.
    2) Add the parameter to the Select Expert.
    2a) If you are using a SQL Command to generate your data set you will need to add the parameter name to the Parameter List of the Command and add it the selection criteria of the SQL statement.
    Something like this:
    WHERE f.FieldName = {?ParameterName}
    HTH,
    Jason

  • RESCIS - Unable to select custom report from Selection Screen

    Hi all,
    we have developed a custom report for transaction "RESCIS-Evaluation of service charge settlement" but we have found that althought the report appears in selection screen field called "REPORT" it throws message RESCIS003 but the report is not shown.
    If we doesn't fulfill report field in selection screen, the program shows a second screen where a couple of ALVGrids are shown allowing the user to select the report that will be displayed. Here we are able to select our custom report and the data in it is displayed.
    We have analyzed the standard program that is executed via transaction RESCIS and we've found that the selection screen executes standard function RESC_GUI_ANYREPORTS_APPL that doesn't executes reports dinamically but statically. That means that SAP doesn't allows to execute custom reports directly from selection screen.
    I think this is a SAP error but afert opening an OSS message SAP sais that is not an error but a bad configuration or lack of knowledge for customizing it.
    Has anyone developed a custom report for RESCIS transaction?

    Hm what exactly did you want to change? Normally it is in REFX cases you should not copy standard REPORTS. In your case with transaction RESCIS, I myself do not see any need to add any functionality in this report because it is only a sum of all lists from your service charge settlement. What else do you want to see there?
    For displaying new fields in the separate lists maybe there is some BADI for it.
    Regards
    Michael

  • How to force selection screen in WAD Report

    Hi Gurus,
    How do we force a variable selection screen in WAD Report. We are in SP 10.
    Thanks
    Syed

    Hi Karthik,
    Iam not sure for some reason, when I select web_template and click on Web Parameters, there nothing available below Behaviour section. However when I create a new Analysis Item and see its properties, the Behaviour section shows only Allow Navigation & Only Hierarchy options.
    Should I reinstall my front end. We are in SP10.
    Appreciate your response.

  • Webi Report User selection screen

    I need to create a selection screen with check box and radio button like custom selection screen. Whenever the report run, user must fill the information in selection screen and then report should show. How can i get custom selection screen?

    Hi,
    Create a "'Input Control" for user custom selection. Below is the link on further steps
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9057beb9-2844-2e10-ff8f-c78ca3f87f7c&overridelayout=true
    Thanks,
    Jothi

  • Display F4 values as TEXT ONLY on selection screen of Bex report

    Hi,
    I have InfoObject with text(short) loaded for it. In Bex report on selection screen, I need to display ONLY TEXT values when you do F4 for values. How this can be achieved? I get key & text both now.
    Please note that I have tried all below settings -
    1. Set Text in InfoObject maintenance screen.
    This setting is over-ridden if you have multiprovider specific settings defined.
    2. Set Text in Infoprovider Specific properties.
    Here if you do KEY only, it works.. if you do KEY & TEXT, it works... but if you do TEXT only, it DOESNT work. It works for filter F4 values after report is executed but doesnt work for F4 values on Selection screen. There is no way I am able to get TEXT only on F4 values on selection screen.
    3. Set Text in Query
    These setting defines how value is displayed on report output. Nothing to do with F4 or Filter values.
    Thanks
    Abhijit

    Forgot to mention - I am on BI 7.0 & Frontend 3.5
    Thanks
    Abhijit

Maybe you are looking for