How to call a report  thru an RFC w/o displaying the Report UI

Hi ,
I have to pass the parameter to a report thru an RFC.
I am using submit command , but I do not want SAP gui to appear..
This is the report UI code .
PARAMETERS     : werks LIKE mseg-werks OBLIGATORY.
SELECT-OPTIONS : budat FOR mkpf-budat OBLIGATORY,
                 material FOR mseg-matnr.
I have to pass the value to the report from my RFC by assiging values to these control in my RFC . and also I do not want display the SAP GUI for the Screen.
I have used this code to achive this.
SUBMIT ZRPT_MM_045 EXPORTING LIST TO MEMORY AND RETURN
               USING SELECTION-SET 'ZZZ'.
where 'ZZZ' is my variant .
the problem here is I can not change the values dynamically in my RFC. All the values in 'zzz' variant are predefined.
HOw to achive this ...
A sample piece of code  greatly appreciated
thanks
pkiran

If you want to pass parameters dynamically without using a static variant, you can do the following.
In this example,  P_1, P_2, P_3, S_1, S_2, S_3 are the names of the parameters/select-options in the submitted program.   PA_1, PA_2, PA_3, SO_1, SO_2, SO_3  are fields in your RFC that can be built dynamically.
* Lets say that S_1 in the submitted program is a date
* range.  We want to pass a seven day range starting
* today.
<b>ranges: SO_1 for sy-datum.
SO_1-sign = 'I'.
sO_1-option = 'BT'.
SO_1-low   = sy-datum.
SO_1-high  = sy-datum + 7.
append SO_1.</b>
SUBMIT ZRPT_MM_045 EXPORTING LIST TO MEMORY
     WITH P_1 = PA_1
     with p_2 = PA_2
     with p_3 = pa_3
<b>     with s_1 in so_1</b>
     with s_2 in so_2
     with s_3 in so_3
     AND RETURN.
Regards,
Rich Heilman

Similar Messages

  • Report 6i/Webdb -Not able to display the report in the browser - rep- 3002 error.

    Would someone tell what I missed, I have set up the following:
    1) a report using report builder on NT
    2) my database is in Unix
    3) my report server is started in NT
    4) I run webdb listener for the following code: http://myweb.com/cgi/rwcgi60.exe?server=repserver+report=myreport+userid=usid/pw/connect_string+destype=cache+desformat=html. Then, I receive this message:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-3002: Error initializing printer. Please make sure a printer is installed.
    Why is it thinking I want to use the printer whereas I want to display the report in the browser?. Any help would be appreciated.
    null

    It sounds like that your Web CGI did not configure right. To test if your CGI configuration is correct, type:
    http://hostname:port/cgi-bin/rwcgi60exe?
    If you get a help screen, then you should be able to bring up your report.
    Regards,
    Xiaoling

  • How do I create a button in a selction screen of the report ??

    how do I create a button in a selction screen of the report ??

    See sample Program :
    REPORT ZLPRWINSPC_TMP .
    tables : mara,
             sscrfields.
    select-options s_matnr for mara-matnr.
    initialization.
    sscrfields-functxt_01 = 'Clear Selection'.
    selection-screen function key 1.
    AT SELECTION-SCREEN.
    case sscrfields-ucomm.
    when 'Clear Selection' or 'FC01'.
    clear s_matnr.
    refresh s_matnr.
    endcase.
    Reward Points if it is helpful
    Thanks
    Seshu

  • Regarding displaying the report information in Geographical map

    Hi All,.
    I have a specific requirement where I have to display the number of Telephone connections activated in a geographical area (GEO map) . How to do it.
    Can any body provide the step by step process to display the reporting information in maps.

    Hi,
    To do this you have to have the settings done in Info object maintenance where in the Map should have been integrated already.
    Once that is done, in BEx designer you can have the setting by cloicking the icon.
    Hope this helps to start with.
    Assign points if useful.
    Regards,
    Venkat

  • Display the report between two dates

    Hi,
    I'm new to this application.i have created two date fields item.i want to display the report between two date fields.please help me.how to do?.
    By,
    Prem.

    Prem,
    See this example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:99
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Display the reports under all subfolders at a time in the content area?

    Hi All,
    In SAP EP portal,We have a requirement to display few reports wherein we have 7 roles with the same names but different ID's and they are merged together so that even if the users have 7 roles assigned he will see only 1 tab in the first level navigation and uder that there will  be one folder at the second level.Now the requirement is like this
    1st level navigation : Role Name
    2nd level navigation :Folder Name
    Detailed Navigation : Folder Name
                                     Sub Folder Name
                                     Sub -sub folder1 Name
                                     Reports   --(one or many)
                                     Sub -sub folder2 Name
                                     Reports   --(one or many)
                                     Sub -sub folder3 Name
                                     Reports   --(one or many)
    Under al the sub-sub folders a workset map iview is added to display the reports with a pictogram in the content area.In the detailed navigation, as soon as the user clicks on the Sub folder the user should be able to see the reports under all the Sub-sub folders( Sub-sub folder1,Sub-sub folder2,Sub-sub folder3) .But currently the user has to explicitly click on each of the Sub-sub folders to view the reports(thrice in this case).Plz give a solution in which all the reports under the 3 Sub-sub folders should appear simultaneouly in the content area at a single click on Sub Folder
    Thanks & Regards,
    Sowmya
    Edited by: Sowmya B on Jan 4, 2010 2:14 PM

    Resolved

  • Display the reports in web browser?

    I need advise.. Here is my requirements.
    we are using Oracle9i database. We have data warehouse Schema. We wanted to display some of the reports in the browser. What are the possible solutions to display the reports in web browser with out using any reporting tools(cognos, business objects etc).
    Thanks

    Well your requirement is a little bit odd, displaying data in database without using tools or application. What's form of these reports you are talking about? Are they just bunch of queries?
    If you don't want to use heavy duty software like cognos or business objects, then consider use Oracle Application Express APEX
    http://www.oracle.com/technology/products/database/application_express/index.html
    by the way cognos and business objects are OLAP tools, does that mean your reports are OLAP report?

  • The report server cannot open a connection to the report server database

    I have SQL server installed to I can connect to RS using my domain/user account. However, when I try to go to http://<machine_name>/Reports/Pages/ReportViewer.aspx, I get error as
        * The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help
              o Login failed for user '<machine name>\ASPNET'
        * I also noticed that after I installed RS,I do not see reports folder under C:\Inetpub. This folder does not exist, I manually created reports virtual folder in IIS and liked it to  C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
        * Thsi is obviously permissions issue and I missing something so your help will be really appreciated.
    During installation, I always specified user as domain\user.
    Thanks

    Hi NewToReporting,
    From you descriptions, I know you have tow questions: 1.Why the SQL Server Reporting Services does not create virtual directories in the wwwroot? 2. Why the error "A connection to the database is required for all requests and processing" happen? If I have misunderstood, please do not hesitate to let me know.
    One of the changes in SQL Server Reporting Services 2008 is the removal of the Internet Information Services (IIS) dependency. So, we won't see report server virtual directories in the wwwroot folder.
    The second problem is caused by the user '<machine name>\ASPNET' does not have permission to login the SQL Server database "Reports".
    To solve the issue, please follow these steps:
    1.Open SQL Server Reporting Services Configuration Manager(Start - All Programs - Microsoft SQL Server 2008 - Configuration Tools)
    2.Go to "Database" tab.
    3.Click "Change Credential"
    4.In the coming dialog, fill the textboxes with this information(some textboxes are not modifiable )
    Server: <the server name of the report server catalog database>
    Authentication Type: Current User - Integrated Security (This will use the user we are login to connect to the database server.)
    UserName:(If selecting "Current User - Integrated Security", this textbox is not modifiable. )
    Password:(If selecting "Current User - Integrated Security", this textbox is not modifiable. )
    5. Click Next
    6.In the coming dialog, configure the following information:
    Authentication Type: Service Credential(This will use the user the reporting services running under to connect to the report server catalog database. The user is the one we configured in "Service Account" tab)
    UserName:(If selecting "Service Credential", this textbox is not modifiable. )
    Password:(If selecting "Service Credential", this textbox is not modifiable. )
    7.Click Next to confirm the information.
    8.Click Next to apply.
    This will auto add the user  '<machine name>\ASPNET'  to login group, set this user to be the owner of report server catalog database, and also give this user "RSExce" role.
    Now, we are able to connect to the report server.
    For more information, please see:
    Why Leave IIS: http://blogs.msdn.com/bwelcker/archive/2007/12/04/everybody-why-leave-iis.aspx
    Configuring a Report Server Database Connection: http://msdn.microsoft.com/en-us/library/ms159133.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin ChenJin Chen - MSFT

  • How to call eCATT scripts thru QTP

    Hi friends,
    I am trying to call eCATT scripts thru QTP.
    Tell me the minimum requirements to communicate QTP to ECA system.
    <b>Note:</b> I installed SAP Addins.
    Thanks,
    Nagaraju

    Hi Nagaraju,
    First and foremost, You should have a QTP installed in your system.
    You should have a licence to use QTP in ECA.
    Then, You should create a script for every QTP script you have and refext them in one of your master scripts or where ever you want to refer them.
    While create an eCATT for a QTP Script, give a name, version(optional) and the QTP option in the external Tool field. Enter your script and give the mandatory fields like title, Component and then press on button "Script" and brouse to the QTP script location.,
    Save your ecatt and use it anywhere as you use your general scripts, but remember to use REFEXT instead of REF to call your QTP encbled eCATT scripts.
    Hope this answers your queries.
    -Harsha
    PS: reward points, if this answers your queries and also reward for everyone participated.

  • How to call a screen /t-code by double clicking on the output of an alv?

    Hi,
    I want to call a screen /  t-code on double clicking on the output of an alv report.
    Suppose we click on a value in the "Pur Req" feild of the ALV output  it should  open the the transaction code and give us  the  details of that particular value. How can I do that?
    Thanx in advance..

    If you displaying ALV using Classes..( CL_GUI_ALV_GRID)... You need to create event receiver and register the double click event handler method dynamically.... Here's the sample code...
    *                            C L A S S E S                             *
    class lcl_event_receiver definition.
      public section.
        methods:  handle_double_click
                  for event double_click
                  of cl_gui_alv_grid
                  importing e_row e_column.
    endclass.
    *       CLASS lcl_event_receiver IMPLEMENTATION
    class lcl_event_receiver implementation.
      method handle_double_click.
        data: l_cc like line of gt_cc.
        data:
        g_row type i,
          g_value(10),
          g_col type i,
          g_row_id type lvc_s_row,
          g_col_id type lvc_s_col,
          g_row_no type lvc_s_roid.
    *  Read the double click cell
        call method gr_grid->get_current_cell
               importing
                 e_row     = g_row
                 e_value   = g_value
                 e_col     = g_col
                 es_row_id = g_row_id
                 es_col_id = g_col_id
                 es_row_no = g_row_no.
        clear wa_itab
        read table gt_itab index g_row_id into wa_itab.
        case g_col_id.
          when 'EBELN'.                   "Show Process Order
            if not wa_itab-ebeln is initial.
              set parameter id 'BES' field wa_cc-ebeln.
              call transaction 'ME22N'  and skip first screen.
            endif.
        call method gr_grid->set_table_for_first_display
            exporting
            i_consistency_check   =  g_consistency_check
            it_toolbar_excluding  =  gt_exclude
            is_variant            =  gs_variant
            i_save                =  g_save
            i_default             =  'X'
            is_layout             =  g_layout
        changing it_outtab        =  gt_cc[]
                 it_fieldcatalog  =  gt_fieldcat[]
                 it_sort          =  gt_sortcat[].
        create object event_receiver.
    *   Register the 'Double Click' event handler method dynamically.
        set handler event_receiver->handle_double_click for gr_grid.

  • How to display the report output from a standard Oracle Form

    Dear Members,
    I am calling a concurrent program (XML Report) from a standard form using form's personalization (special menu entry).
    I am able to successfully submit the concurrent program. Once it is submitted successfully user need to navigate to the Requests window to see the output.
    Instead of user navigating to the requests window to see the output, can we display it directly on the standard form itself after the completion of the report?
    Many thanks in advance.
    Best Regards,
    Arun Reddy.

    R4S,
    You might be able to Zoom to the view requests form to save your users a step.
    HTH,
    --Johnnie                                                                                                                                                                                                               

  • How to change report displayname at runtime when run from the report server?

    hi all,
    with the reportviewer widget in a winforms app, i'm able to change report displayname at runtime by handling thesubmittingparametervalues event like so:
            private void reportViewer1_SubmittingParameterValues(object sender, ReportParametersEventArgs e)
                string po = e.Parameters["Order"].Values[0];
                this.reportViewer1.ServerReport.DisplayName = "Load Out - " + po + " - " + DateTime.Now.ToShortDateString();
    question: how do i achieve the same thing when the report is run via the ssrs reportserver website?
    thanks for any tips,
    sff

    Hi sherifffruitfly2,
    According to your description, you want to change the display name of report in Report Manager. Right?
    In Reporting Services, we can't make the report file name dynamically. But we have Build-in Fields to show report name and execution time in a report. We can add a textbox and put in the expression below:
    ="Load on- "+Globals!ReportName+" "+Globals!ExecutionTime
    It will show the report name with execution time when we run the report:
    Reference:
    Built-in Collections in Expressions (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to automatically save a report locally after a user has ran the report

    Hi All,
    I am currently working on a report where part of the the requirement is as follows:
    --> report is to output into t CSV file that will be used later on.
    --> report will need to write the CSV file into a defaulted location eg "C:\mydirectory\my_reports"
    Therefore, the the user runs the report, it will automatically save into this directory instead of have to select the Export option on the report and save it to the required directory.
    I am aware that bursting enables this feature and will save the file into a directory, however, I cannot find a solution that allows this automatic saving of reports to a specified directory.
    Has anyone done this before or is it even possible?
    Cheers,
    Jonas

    For that use iqy queries ...
    here you will able to see more information on how to create iqy http://oraclebizint.wordpress.com/2007/10/31/oracle-bi-ee-101332-iqy-and-auto-generation-of-go-url/

  • How to Display the Report Based on The Page Number

    Hi All,
    I just have a requirement like this
    The User wants to see only the odd numbers of Report pages in the Total Report
    For Ex. If the Report consist of 10 Pages the user wanna see Pages 1,3,5,7,9...........
    is it attainable in WebI..............
    Please help on this
    Thanks in advance.............

    I wonder...how do you think user should navigate through document.... ? If I want to see only odd pages - I will either create separate report or I am ok with setting the correct number to actual displayed page.You may also consider using links - it depends how is report structure created...

  • Call CR XI from C++ routine, need to run the report without display and send the resulting report to the printer

    <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"></tr><tr><td height="1" style="font-size: 1pt"></td></tr></tbody></table><blockquote><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"><td id="HB_Focus_Element" width="100%" height="250" valign="top"><p>I initiate a CR XI from a C++ routine using  ShellExecute command, the report file is opened and the C++ program continues to execute, this is working fine, now I need the following two things:</p><p>1. When the report is invoked I would like it to run and print the result either to a printer or to a file.</p><p>2. I need to send the report parameters since it will not prompt for it if it runs automatically.</p><p>Thanks in advance for your help.</p></td></tr><tr></tr></tbody></table><blockquote><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"><td id="HB_Focus_Element" width="100%" height="250" valign="top"><p>&#160;</p></td></tr></tbody></table></blockquote></blockquote>

    Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly

Maybe you are looking for

  • Windows Vista Closing iTunes Program

    I was listening to a podcast and the iTunes progam shut down. I was tinkering with options or something regarding the podcast at the time the shut down occurred. It asked if I wanted iTunes as my default media player and I said no. When the program s

  • ATV gone from devices in iTunes

    Okay, when the thing works I love it so let me put that out there. I spent the afternoon listening to music streaming from my iMac and everything was fine until I stopped to watch television. While I was doing that the screensaver activated and when

  • Roles for Admin Approvers

    (1) I'd like to give a user an admin role that'll allow him to see all work items that are in approval waiting status so that he can forward or complete the work items on behalf of the true approvers when they are out of office. (2) Or that when no a

  • 115.10.2 AppsLocalLogin - Personalization

    Hello. We have successfully personalized many self-service web pages. However, there is no link on the AppsLocalLogin page to personalize it. We have turned on the ability to personalize at the site level, but no personalization link is shown on the

  • Yosemite Patchless TRIM Support

      https://github.com/Temptin/Documents/blob/master/Yosemite_Patchless_TRIM.md Apple started laying the groundwork for official 3rd party TRIM support as early as OS X 10.10.3, when they changed their IOAHCIBlockStorage.kext to understand a new Info.p