Hi i want to execute 3 reports  at one click without user interaction

hi Friends,
Hi i want to execute 3 reports with one click ie  by putting radio button when we click on this this wants to execute all 3 reports with out user interaction pls try to understand and provide the solution pls
Thanks & Regards
Mohan  Reddy

Hello,
To achieve this you can use the SUBMIT command after an user action.
Example
The program report1 has a stand-alone selection screen with the screen number 1100. In the program report2, an internal table with row type RSPARAMS and a ranges table are filled for this selection screen. These are transferred at SUBMIT together with a single condition.
Program accessed
REPORT report1.
DATA text TYPE c LENGTH 10.
SELECTION-SCREEN BEGIN OF SCREEN 1100.
  SELECT-OPTIONS: selcrit1 FOR text,
                  selcrit2 FOR text.
SELECTION-SCREEN END OF SCREEN 1100.
Calling program
REPORT report2.
DATA: text       TYPE c LENGTH 10,
      rspar_tab  TYPE TABLE OF rsparams,
      rspar_line LIKE LINE OF rspar_tab,
      range_tab  LIKE RANGE OF text,
      range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind    = 'S'.
rspar_line-sign    = 'I'.
rspar_line-option  = 'EQ'.
rspar_line-low     = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign   = 'E'.
range_line-option = 'EQ'.
range_line-low    = 'H'.
APPEND range_line TO range_tab.
range_line-sign   = 'E'.
range_line-option = 'EQ'.
range_line-low    = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
               WITH SELECTION-TABLE rspar_tab
               WITH selcrit2 BETWEEN 'H' AND 'K'
               WITH selcrit2 IN range_tab
               AND RETURN.
Regards.

Similar Messages

  • Transfer executable report from one server to another

    hi all,
           How to transfer executable report from one server to another?
    please reply fast
    its urgent
    thnx in advance

    Kush,
    To transfer a object from one server to another server it should be assigned to a package ie Dev Class so that a transport request can be created.Once the request is created we will release it using SE09 and then ask the basis consultant to move the request from Dev to Quality and then Dev to Production.
    $TMP objects are called as local objects and can't  be transported.
    K.Kiran.

  • Run Multiple report with one click

    hi
    I have 60 reports with me and i want to run all 60 reports with one click. Is it possible to fire next report at the end of previous using code?????
    Any help would be appreciated

    Hi Swapnil,
    Yes it can be done in many ways. But you will need to analyze what exactally is required and what kind of reports are to be executed in sequence. WHats the report supposed to do, do they need to send some file or some data to external world, does it need to display any output?
    From within the program you can use the SUBMIT command to call each report program one after the other. Or schedule all the 60 reports in a background job such that each report is executed in each step.
    There are many other ways but i am really not sure why there is such a request? This is something really out of the odd :-).
    Hope this helps
    Cheers
    VJ

  • Pls provide coding for executing 3 reports at one click

    Hi Friends,
        Iam getting one issue ie...  iam having 3 reports so now i want to run all the 3 reports i want to execute one ie.. by clicking Run i want to execute all the three reports at a time and i want to print the o/p in one file on desktop
    So pls provide the coding for this
    Thanks & Regards
    Mohan Reddy

    Hi,
    Run those three reports one by one just for determining time delay between those execution starts.
    Consider delays are 2 Sec and 3 Sec
    i.e 1. between report A and report B,
         2. between report B and report C.
    Now delay execution start of the report A by
    3 Sec using 'WAIT' statement and report B by
    1 Sec using the same statement.
    Try this.
    Regards,
    R.Nagarajan.

  • Execute Action in One Click

    I am using Adobe Acrobat XI Pro for Windows. I have created an action. When I want to execute the action, I must click on the action, then click start to execute the action. Is there a way to bypass having to click start and simply execute the action when I click on it. I want to run the action on a single file at a time, so I don't need to select multiple files before doing so. Any advice would be appreciated. Thank you.

    No, you can't do that. But if you're running it on a single file at a time
    then you could possibly use a script to do it with a single click,
    depending on what the Action does.

  • HT1146 I want to send mail automatically (Without user interaction) in iOS6, Is it possible?

    Hi All,
    I want to send a photo through mail in iPhone5, But it is telling that it is not possible to do like this .
    Please guide me , how to handle this issue.
    -Thanks.

    Hi,
    Thanks for your replay.
    Here i need to send a photo with out tap on the "send" button . (So i dont want to see the "Cancel" and "Send" Buttons)
    PLease guide me.
    -Thanks.

  • Execute more than one thing at the same time.

    Hey why every time i want to execute more than one thing(create tables) at the same time
    it say "ORA-00911: invalid character" , i dont wanna execute one thing at a time. check the pic please
    http://img370.imageshack.us/img370/5120/oraclesw5.jpg
    but in my school i use something called isqlplus and i can execute all the things i want at the same time with-out any error.
    im using right-know
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    1) Unless you are using something like DBMS_JOB, SQL*Plus, iSQL*Plus, the Oracle XE web-based front-end, or any other application is going to execute one SQL statement at a time.
    2) There is a dedicated XE forum-- the folks over there might know how to run a script using this particular front-end.
    3) Assuming the XE database is on your local system, you should be able to log in via SQL*Plus and use that utility to run your scripts.
    Justin

  • Want to execute SQL Queries from Textfile

    I have a text file full of a bunch of sql queries, of the format:
    select something1, something2
    from someplace
    select something3, something4
    from someplace2
    select something5, something6
    from someplace3
    I want to execute these queries one at a time and then after each one executes, I will do something with the resultset. Question is, how do I pull each query from the text file one at a time and execute? I was doing this by using java.util.Scanner and java.lang.StringBuilder where I would scan one line at a time and then check to see if the line is empty, otherwise I append the line to the StringBuilder. If the line is empty, I process whatever is stored in the StringBuilder. The problem with doing this is that it does not preserve the newline from the text file, so I get queries that look like:
    "select something5, something6from someplace3"
    which of course are invalid. Does anyone know a better way to build SQL queries / statements from a text file? How do I get the newline or carriage return character?

    Just replace newline by space?

  • How to migrate report from one datasource to another?

    Hi,
    can anyone help me, I want to migrate report from one datasource to another.
    Also what are the prerequisites for this?
    any help help will be deeply appreciated.
    Thanks,
    Saurabh.

    Hello,
    To copy queries you can use TA RSZC.
    http://wiki.sdn.sap.com/wiki/display/BI/CopyingQuerysfromOneTargettoAnother
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/204111a9-0fca-2d10-219c-be20e686cdb5?QuickLink=index&overridelayout=true
    http://help.sap.com/saphelp_sm32/helpdata/en/9f/f57539d6d1c93be10000000a114084/content.htm
    https://cw.sdn.sap.com/cw/docs/DOC-34603
    Thanks.
    With regards,
    Anand Kumar

  • REP - 300 Error while executing report from Application

    Hi,
    I have report in Report Builder & for the same report form is there in Form Builder in which parameter page is designed. From application where I am calling report is internally calling form & in form Procedure Run Report is there which is calling report from Report Builder. Both report from builder & form form Builder are compiled . Also query is executing fine in Toad without error. Also all query fields are present in database.
    But when I am trying to excute report from Application it is giving error as "REP - 300 Invalid Identifier " & it displays whole query.
    Note - Report & it's Form are in ORACLE - 10g. Also the user through which I am executing report from application is ADMIN user , so it has executing permission.

    looks like error in parameters. check out the value of variable that you are passing through to report from form. Put a messages to see variable values before execute report.

  • I Want to Execute Code When a session Expires

    hi friends,
    I want to execute some code when ever a user ends his session. I came to know this can be accomplished by using HttpListener. But if any body give a example it will be lot more clear.
    Thank Q
    Srinivas

    Or SessionListener. - MOD

  • Generate a Report Dynamically without User Intervention and Output to XML

    Here's the scenario for which I am trying to find a solution. Any help would be greatly appreciated.
    I have a series of reports that the users generate from a UI by selecting the report, setting the values for a list of parameters, and then click a submit button. The report is generated in the UI for them to view. They can print it from here or export it to Excel.
    They would like to be able to schedule a report to run daily without user intervention using a saved set of parameters. The system would run the report automatically and email it to a defined set of email addresses.
    To do this, we need to have the report generated in a string or xml so a Java process can read it and email it.
    I see that I can change a report's template to export:xml so I feel that it is possible. How can I export a report to XML without user intervention? Can the report template be changd dynamically at runtime? Ideally, I need some way to call this same report and have it output as a string data or xml to be used by a Java process that would store and generate the report for email.

    Hi Kumar,
    From Program1 you are calling Program2, using submit syntax (inside Program1).
    While using submit, if you have correctly filled up the selection screen of program2, then it will AUTOMATICALLY get executed, WITHOUT F8.
    If there is any compulsary field in program 2, which does not get populated, then it will not run automatically, or unless some special code is written in program2.
    If you do not want the output of Program2 on screen, then u can use
    SUBMIT Program2 AND RETURN.
    In that case, no selection screen (of program2) will appear and neither the output of program 2.
    Regards,
    Amit Mittal.
    Edited by: Amit Mittal on Dec 23, 2009 4:10 PM

  • Print report from client machine without showing in screen

    Hi guys!!
    I m using (forms10g+ 10gAS). I want to Print report from client machine without showing in the screen/monitor.
    Currently I m generating report in pdf format. From the pdf I m printing the document.
    But my requirements is to print directly to the printer without showing preview
    Thanks in advance
    Mokarem

    Maybe this will help:
    http://forums.oracle.com/forums/thread.jspa?messageID=1209371&#1209371
    Gary

  • Calling 3 different movies by one click, One after another.

    Hi,
    I have 9 small movies. I want to make a combo box and,
    provide 3 options to choose from. But each option should call 3
    movies ONE AFTER ANOTHER WITHOUT USER INTERFERENCE. I want movies
    to stream one by one to save bandwidth and delay. Following is the
    option for calling one movie by choosing one option but I want to
    start 2nd and 3rd movie without user interference. How do I do
    that?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable] private var swfDP:ArrayCollection = new
    ArrayCollection([
    {label:"Choose a Movie", data:""},
    {label:"Movie1", data:"myMovie.swf"},
    {label:"Movie2", data:"myMovie2.swf"},
    {label:"Movie3", data:"myMovie3.swf"}]);
    private function onComboChange(event:Event):void {
    // => Check to see if swf location exists, if it does then
    load the new swf.
    (event.currentTarget.selectedItem.data != "") ?
    loader.load(event.currentTarget.selectedItem.data) : "";
    ]]>
    </mx:Script>
    <mx:ComboBox dataProvider="{swfDP}"
    change="onComboChange(event)" />
    <mx:SWFLoader id="loader" width="800" height="600" x="200"
    y="50" />
    </mx:Application>

    Hi,
    I have 9 small movies. I want to make a combo box and,
    provide 3 options to choose from. But each option should call 3
    movies ONE AFTER ANOTHER WITHOUT USER INTERFERENCE. I want movies
    to stream one by one to save bandwidth and delay. Following is the
    option for calling one movie by choosing one option but I want to
    start 2nd and 3rd movie without user interference. How do I do
    that?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable] private var swfDP:ArrayCollection = new
    ArrayCollection([
    {label:"Choose a Movie", data:""},
    {label:"Movie1", data:"myMovie.swf"},
    {label:"Movie2", data:"myMovie2.swf"},
    {label:"Movie3", data:"myMovie3.swf"}]);
    private function onComboChange(event:Event):void {
    // => Check to see if swf location exists, if it does then
    load the new swf.
    (event.currentTarget.selectedItem.data != "") ?
    loader.load(event.currentTarget.selectedItem.data) : "";
    ]]>
    </mx:Script>
    <mx:ComboBox dataProvider="{swfDP}"
    change="onComboChange(event)" />
    <mx:SWFLoader id="loader" width="800" height="600" x="200"
    y="50" />
    </mx:Application>

  • I am in report 1 i want to execute report2 in background .

    Hi,
    I am in report program 1 i want to execute the report program2 in backgound and iam passing some selection screen parameters .
    user should not know about the running of this program2.
    i tried using submiit but iam seeing the result of report 2 in report 1.I dont want any output from report2.
    thanks in advance.
    regards,
    Karthik.

    Hi Karthik
    Implement this code in Report1. To create a background Job to execute Report2.
    This is the Pseudocode:
    <b>call function 'JOB_OPEN' ...
    Submit Report2 Via background Job .........
    Call Function 'JOB_CLOSE' .
    </b>
    Sample code here:
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    <b>Reward if Helpful</b>

Maybe you are looking for

  • How can servlet return data as download file from browser ? !!! URGENT !!!

    My servlet query data from database and would like to return the data as text file. How can I return data to the browser as user click a file to download ? How can I set the file name ? (default name is the servlet name that I don't want it to be) Wh

  • Mini to DVI Input on DLP TV

    I've read this entire forum and had to try this myself. I went to Tweeter with Mini in hand and plugged it into a WD 62327 Mitsubishi 61" DLP TV (direct DVI input). The picture was excellent except for the top & bottom of the screen were cutoff. I co

  • Time machine backup fail repeatedly

    It keeps telling me its 'already in use'. What the heck does this mean. I don't want to keep unplugging to resolve this problem. Why can't APPLE come up with permanent solution? It didn't happen for the first year or two of ownership and is now a gre

  • DNG in Smart Object RAW workflow?

    I'm totally immersed in the Smart Object RAW workflow. I've been on the fence about using DNG as SO layers, but it suddenly dawned on me that, since you're building in raw layers, rather than having access to your original RAW files easily, that DNG

  • Information to Access-Log on WSA

    Hi, I have a question about the WSA access-log. There are a lot of "skipped" markings in the log. What does that mean? 1295865776.044 118 10.100.1.221 TCP_MISS/200 21615 GET http://eicar.org/image/about_us/hgk_about_us.jpg - DIRECT/eicar.org image/jp