Running abap reports in the background when clicked on Webdynpro Button

Hi Experts,
I have requirement where when clicked on a Button in a Webdynpro application, it needs to run an abap reports in the background and I need to pass some parameters to the report.
Is it possible to do that? if yes, please guide me though.
Reward points for useful tips.
Sabbir
Edited by: Sabbir Ahmed on Oct 17, 2008 8:05 AM
Edited by: Armin Reichert on Oct 24, 2008 10:05 AM

you can use rfc's model  for this na?
pass the parameters to the RFC and through that RFC run the report,
with regards
shanto aloor.

Similar Messages

  • Schedule measurement in SE30 - running a report in the background

    Dear experts,
    I have a long running ABAP report and I will need to analyze its runtime for performance improvements.
    How may I correctly run this ABAP report in the background from SE30 (runtime analysis tool)? The report has to be run using a specific variant for its selection screen inputs as well.
    This is what I have done:
    1. Go to SE30
    2. Click on "For User/Service" button under "Schedule"
    3. Create new Schedule Measurement with the following details:-
      - User (<my user name>),
      - Client (<properly specified>),
      - External Session (Any),
      - Processing Category (Background Processing),
      - Object Type (Report),
      - Object Name (<ABAP report program name>),
      - Max. No. of Scheduled Measurements (1),
      - Expiration Date & Time (<properly specified>)
    5. In the screen "Overview of Scheduled Measurements", I have the following displayed as well:-
      - Scheduled = 1
      - Started = 0
      - Errors = 0
      - Status = Being processed
    Am I still on the right track here? (Started = 0 and there was no way I could specify the variant for the selection screen input values too)
    Please help. Appreciate any inputs at all.
    Thanks.

    Hi,
    you can try it with ST12 and the <ALL Servers> Option for tasktype B.
    see this blog:
    /people/hermann.gahm/blog/2010/03/22/st12-150-tracing-user-requests-tasks-http
    ST12 uses SE30 / ST05 behind the covers. But here you can switch on
    the trace for all servers and therefore don't have to take care for that yourself.
    Kind regards,
    Hermann

  • I run DeviceDemo sample to send email, when click send email button after f

    I run DeviceDemo sample to send email, when click send email button after filling all fields, it took me to EverNote application, can not send email. does anyone has this kind experience? how to fix it?

    Hi,
    ADF Mobile cannot directly send emails as this is a security precaution of your mobile phone (imagine all applications could send mails without you confirming). Instead the send mail functionality launches the mail client you have configured and fill in the information you provided in the application. The mail function by the way is implemented through Cordova.
    Frank

  • Why do I get a status of 'waiting' when I run a report in the background

    Happy new Year Experts!!
    I am working with Ad-hoc query and I run reports in the background.  When I go to System > Own Spool Requests the status is always waiting.  When I go to SM37 the status is complete.  I can open the report from my own spools requests and it is completed.
    Thanks.
    Regards,
    Jeanette

    Go to SM36-> Own jobs - double click the job - Select Edit-Steps - DOuble click the step and check print specifications.
    Moreover, if you wanna make the job printed on finish, make sure that there is a default printer defined in SU3 - Defaults - Output device field.
    Regards,
    Dilek

  • How to run an application in the background when iMac starts up?

    Hi,
    I installed TextExpander a couple of months back. It normally runs in the background and doesn't appear in my list of running applications when I cycle through them with Cmd+Tab. This is how I like it.
    Of late though, TextExpander starts up when I switch on my machine, but it now appears as an application running in the foreground; if I Cmd+Tab through my running applications, TextExpander is listed among them.
    I'd prefer if I did not see it when switching between applications.
    I've tried restarting the machine, but to no avail. Also, there is nothing in the preferences to run in the background.
    (Possibly unrelated: I don't recall doing anything in particular that might have caused this change in behaviour, but I have noticed recently that TextExpander has found an 'older version' and is asking me if I want to remove it. I don't remember updating it to a newer version, and I don't believe I have it set to auto-update.)
    Can anyone explain how I can make it run in the background? I'd be very grateful.
    Thanks and best regards,
    Ken.

    Mc128k wrote:
    To run your app as a daemon (if you are really sure it can) check the app's preferences panel, there should be sometthing like "show in dock".
    A little embarrassing, but +there is+ an option within TextExpander's preferences to "Hide TextExpander icon in Dock". Don't know how I missed it. I checked the preferences on two separate occasions! Feeling a little morto'ed.
    In any case, to confirm what I've done:
    -Within System Preferences > Accounts > Login items tab, I have selected the "hide" checkbox for TextExpander.
    -Within TextExpander's preferences, I selected the "Hide TextExpander icon in Dock" checkbox.
    TextExpander still runs, but doesn't appear in the Dock or in the list of running applications (that I can switch between with Cmd+Tab).
    Result!
    Tx for your help.

  • Crystal Report/STRUTS: Error (404) when clicking on Control Buttons (Print, Export, Next, Previous, etc...) on report viewer

    Post Author: jwenny
    CA Forum: Deployment
    Need help badly!!!
    We are using the crystal reports plugin for STRUTS.
    We are able to display the report in the crystal report viewer.  However, when we click any control buttons (print, export, etc...), then we get:
    JSPG0036E:  Failed to find resource /Report-viewer.jsp
    We then moved Report-viewer.jsp to the WebContents folder (root directory) and got a different error when we clicked any control button:
    Error:  400 page not found
    Does anyone know how to solve this problem?  For instance, is there a setting or parameter that needs to be set?
    Greatly appreciate any help!

    HI,
    Whenever we print the viewer does an auto postback, I believe due to this some of the values are getting missed. Moreover we are referring to the viewer and reportdocument object, it seems. So can you try this simple code in an application to see if it helps:
    ReportDocument rdoc = new ReportDocument();
    rdoc.Load("C:\TASKECrystalReports\Intraday.rpt");
    rdoc.SetDatabaseLogon("uid","pwd");
    rdoc.SetParameterValues("parameter name","value");
    CrystalReportViewer.ReportSource = rdoc;
    Helps?
    Thanks.

  • Choosing layout when running a report in the background

    Hi Experts,
    I have the following question: when executing a report in background that doesn't have the layout variant as selection criteria, how can I choose which fields are displayed in the spool?
    I am particularly interested in the logistic reports: ME2N, ME2L, ....
    I am using SAP ECC 6.0.
    Kind regards,
    Francisco Melo

    I believe the process to do this is to:
    1)  Go to transaction SM36 to create a batch job. 
    2)  Enter a job name
    3)  Select "Step", specify the ABAP program name (for ME2M, this is RM06EM00), then type in the variant you wish to use
    4)  Save, then go to Start Condition and specify when you want this batch job to run, along with the frequency
    Edit - nevermind, I misunderstood the issue.  I am unsure of how to have the layout automatically populated.
    Edited by: Andy Slania on Jan 26, 2011 10:28 PM

  • Running HR ABAP report in the background

    ..

    Enter all required info at the report selection screen and click save button to save the variant by giving a variant name and description.
    Then go to tcode Sm36 to schedule background job. <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/ed/a9bb3f8e236d3fe10000000a114084/content.htm">see helpfile</a>
    pls reward points 
    Message was edited by: SG Duxton
    Message was edited by: SG Duxton

  • Avisports_store does not appear in the tree when clicked Refresh tree button in eclipse

    I have connected my eclipse to Jump start kit remotely and  facing the issue. I have attached screen shot here.

    I just read your comment - "connected my eclipse to Jump start kit remotely". Does that mean that you have installed eclipse and JSK in different location/server/machine? or they are installed in same machine?
    If installed in same machine, can you the do the following?
    1. Remove the CSDT plugin from eclipse. Open eclipse with CMD - Open command line and type "eclipse - clean" and press enter.
    2. Add the CSDT plugin as described in the guide - http://docs.oracle.com/cd/E29542_01/doc.1111/e29634/dt_quickstart.htm#WBCSD941
    Note: you need to have correct plugin as mentioned in guide.
    3. When you try to connect, do you see green icon after the connection details are entered as shown here - http://docs.oracle.com/cd/E29542_01/doc.1111/e29634/dt_quickstart.htm#BEHBAIAC? If not, then you are not connected. Check user's permission. If you are using fwadmin, this user must be a part of the RestAdmin group. Once added to RestAdmin group, try to connect and see if GREEN icon is shown.
    Regards,
    Guddu

  • How to run long running report in the background

    Oracle Application server 10g
    I need to run the long running reports in the background because while the report is running the cursor is loading and the control doesn't return to the user
    this feature exist in oracle 6i by set the following parameter
    RUN_PRODUCT( REPORTS, 'r_1', ASYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    How can I accomplish the same in OAS 10g?

    Hi,
    I've done this in 11g. I think it will be the same in 10g as well
    Following are the steps in 11g using run_report_object.
    1. Read metalink note: Using the Reports Server Queue PL/SQL Table and API - RW_SERVER_JOB_QUEUE [ID 72531.1]
    2. Implement RW_SERVER_JOB_QUEUE table as per above notes.
    3. When submitting report run it as background
    a. SET_REPORT_OBJECT_PROPERTY(lo_report_object, REPORT_EXECUTION_MODE, ASYNCHRONOUS); -
    SET_REPORT_OBJECT_PROPERTY(lo_report_object, REPORT_COMM_MODE , BATCH);
    4. Display the job_id to user (notification).
    5. Create a new form to view reports base on on RW_SERVER_JOB_QUEUE which provides you the status, etc.... (you may have to create a way to identify the username who submitted the job. This way not all users will see the jobs in RW_SERVER_JOB_QUEUE )
    6. Optionally you can use NOTIFYSUCCESS=email to notify user when the report is finished.
    Cheers
    LS

  • How to Run a Report automatically in Background for every night

    Hi,
    How to run a report program in Background automatically for every nigh.
    Thanks
    Ramesh

    Hi Ramesh,
    You can use SM36 and use the "Job Wizard" to define a background job in simple step by step procedure
    Or
    Goto SM37 and specify a job name.
    Next specify the ABAP Program Name of the report you want to execute under Job Step.
    Then click on "Extended Job Selection" and goto the Period Tab.
    There select "Only Periodic Jobs" and then specify the frequency of execution based on Months, Weeks, Days, Hours or Minutes.
    Hope this helps,
    Regards,
    Madhur
    Message was edited by: Madhur Chopra

  • Using a photo as the background when creating a book.

    In the 08 version, the photo background could be used no matter which page layout was selected. For some unknown reason with 09, you can only use a photo as the background when you select "two" and click on the choice that has one picture frame as the page layout. When other layouts are selected, to include "two" with the two pictures frames, when you try to drag a photo into the background it will take that picture and add a photo to the page, but not as the background. Instead of having a photo in the background you went from two frames to three, or three to four, etc., with a blank background.

    I got it to work. I went to another theme, added the photo to the background and then went back to the Travel theme. I got it to stick. I also could change the layout to more or fewer photos per page and keep the background photo. Not the best solution but at least it worked. Be sure to post a bug report at http://www.apple.com/feedback/iphoto.html
    OT

  • How will schedule the BW report in the Background ?

    Hi
    Small query, i have one management report in the BI, which should be run early morning and send mail to the GM,
    We can schedule the ABAP report but no the BW !!!!
    How will schedule the BW report in the Background ?
    How the mail send to the GM ?
    Please advise us
    REgards
    Anwer Waseem
    SAP BASIS

    Reporting Agent will be only supported in the 3.X runtime in 2004s,start using Bex Broadcaster.Reporting agent is going to be obsolete or is would say.
    All the new functionalities will be implemented in Broadcaster only.
    Advantage -The old Reporting Agent in BW 3.x could pre-calculate the data of a template and access it through the URL . It could not broadcast queries, workbooks or web templates by email or to KM folders.
    https://websmp203.sap-ag.de/~sapdownload/011000358700004219392005E/ERQA_INFOBROADCASTING.PDF
    http://csc-studentweb.lrc.edu/swp/Berg/articles/Reporting_Analytics_2006_Broadcasting_v10.ppt
    Note 760775 - Settings for Information Broadcasting
    Hope it Helps
    Chetan
    @CP..

  • SAP ERP 2005 SR 2 IDES installation error in step "Run ABAP Reports"

    Hello,
    I'm installing SAP ERP 2005 SR 2 IDES on Win2003 R2 SP2 and Oracle 10.2 to create a test-system for my diploma thesis.
    During the step "Import ABAP" I got the following message:
    object_checker.log
    ERROR: 2008-05-21 20:50:38
    1 objects have error/ignore/execute or unknown status in the task lines.
    Invalid objects are saved in 'invalid_objects.txt' file.
    invalid_objects.txt
    package   object  type  action  status
    SAPDFACT  ?N      pkey  create
    but the installation went on until "Run ABAP Reports".
    Warnings and Errors in sapinst.log are:
    WARNING 2008-05-27 15:09:36
    Execution of the command "C:\usr\sap\IMP\SYS\exe\uc\NTI386\stopsap.exe name=IMP nr=00 SAPDIAHOST=imperia-sap" finished with return code -1. Output:
    STOPSAP: execution of C:\usr\sap\IMP\SYS\exe\uc\NTI386\sapntwaitforhalt.exe name=IMP nr=00 SAPDIAHOST=imperia-sap 3600 failed
    Details are written to C:\Programme\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\stopsap.log
    WARNING 2008-05-27 15:09:36
    Could not stop instance 'DVEBMGS00' of SAP system IMP.
    WARNING 2008-05-27 15:09:38
    Connect to message server (imperia-sap/3900) failed: NIECONN_REFUSED.
    WARNING[E] 2008-05-27 15:12:05
    FSL-06002  Error 1060 (Der angegebene Dienst ist kein installierter Dienst.) in execution of a 'OpenService' function, line (266), with parameter (sapccmsr.00).
    WARNING[E] 2008-05-27 15:21:42
    FRF-00007  Unable to open RFC connection.
    ERROR 2008-05-27 16:30:15
    FRF-00025  Unable to call function. Error message: connection closed without message (CM_NO_DATA_RECEIVED) .
    INFO 2008-05-27 16:30:19
    RFC connection closed.
    ERROR 2008-05-27 16:30:45
    MUT-03025  Caught ERfcExcept in Modulecall: connection closed without message (CM_NO_DATA_RECEIVED).
    ERROR 2008-05-27 16:30:47
    FCO-00011  The step runRADDBDIF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_ABAP_Reports|ind|ind|ind|ind|2|0|runRADDBDIF was executed with status ERROR .
    Full log of today is available at [http://pastebin.com/f43531f97]
    Has anyone an idea how I can finish this installation?
    Thx
    Daniele

    It seems that the system did not come up and thus the RFC call fails.
    What´s the output of
    dev_w0
    dev_disp
    (in the ...work directory)?
    Markus

  • Error in Phase Run ABAP report

    Hi All,
    We are running an installation on I5/OS for ERP 6.0 EHP5. Installation is stucked at phase Run ABAP reports where it is trying to run RSWBOINS report and giving an error SQL error -7008. Log says ddic user is not able to login in the system and RFC all fails. However system is up and running fine.
    I checked number of notes 116192 but it did not help. One note says to upgrade the database library and we did the same but issue still remains. Anyone phase similar errors, Please suggest.
    Thanks
    Sunny

    Hi Sunny,
    it sounds like some tables are not journaled. You may want to try to run AS4FIXFILE DBLIB(R3<sid>DATA) STRJRN(*YES).
    If that does not help, I suggest to check SAP note 1387754, and to try the workaround described there, or to get the newest version of AS4FXIFILE and to try to run it again.
    Best regards,
    Dorothea Stein

Maybe you are looking for

  • After upgrading to Mavericks my Gmail account is slow to sync with my iPhone

    I'm able to read my GMail message on my iPhone way before I see them on my Mac running the Mail app. It takes a long time sometimes never, for the messages to show up. I updated to the latest version of Mavericks that was suppose to fix this but it d

  • Ipod and itunes woes

    "Attempting to copy to the disk 'ipod' failed. The disk could not be read from or written to." iTunes 7 on my G5 keeps giving me this error message when I transfer music to my ipod. However, if I remain persistent and continually drag and drop the pe

  • In a fillable PDF form, can I have choose to have NO default choice in a drop down list?

    In a fillable PDF form, can I have choose to have NO default choice in a drop down list... so that a user is REQUIRED to make selection instead? I've set the question as "required", but the default answer makes this useless. I want to make sure peopl

  • Can't Scrub QT Movies in Cover Flow/Preview?

    Anyone know how to scrub a QT movie in Cover Flow and the preview in Column View? I see a play button that turns into a stop button. Is this 1980? BTW, I don't have a clue why Apple doesn't put the QT controls under each QT movie in Icon View. This w

  • Sto stock to Quality Inspection stock

    Hi, I want Sto stock to Quality Inspection stock.Then i want Quality Inspection stock to production purpes I want return stock to Quality Inspection stock.then Quality Inspection stock to normal stock