Execution in background of a workbook.

Hi guru,
can i schedule in background a workbook execution and set the result in csv format?
I'm using information broadcasting, but the csv format is not supported.
We need to have the execution of the workbook in a csv file because the number of the records are too much.
We need csv format because the file will be loaded in Access tables
Thanks in advance

Hello,
you can use the precalculation service to calculate a workbook in background.
[http://help.sap.com/saphelp_nw70/helpdata/en/9c/2415407e145c0ce10000000a1550b0/frameset.htm]
The basic requirements for using the service (for example on a client or better a windows server) are
- Microsoft .Net Framework
- SAPGUI >= 6.40
- SAP Netweaver BI Frontend 2004s (BI Add-On)
- Microsoft Excel >= 2000
The precalculations service itself is a component of the BI-Add-On of the SAPGUI.
As soon as you start the (windows) service you can configurate the connection between the service and your BI via transaction RSPRECADMIN (call it on ther gui on the server the precalc service runs on!)
Bye
Frank

Similar Messages

  • COPA Report - Execution in Background

    Friends,
    We have a COPA report that takes very long time to execute. For this reason the user wants to schedule the report such that it executes in the background at month-end.
    In order to test the scheduling of the report execution in background in Development system, I followed the following steps:
    1) Selected the report to be executed using the t-code KE30.
    2) Clicked on Report - Execute in background.
    3) Filled in the execution parameters and since I did not want the print of the report, I ticked the checkbox 'Rebuild frozen report data' (I was getting the error message "Select either 'Print' or 'Save'".
    4) Executed the report by pressing F8. I got the message 'Report data for the report saved'.
    My question is how to view the report on screen when the report is executed in background?
    Please advise at the earliest.
    Thanks & Regards,
    Sameer S. Gupte
    Office: +91 22 66452730
    Cell: +91 93232747801

    Sameer
    You cannot see this data as it is.
    When you see the message 'Report data for the report saved'. It means that the system has performed a kind of summarization for the selection criteria you have entered. This is performance enhancement tool.
    So you have to run the report again to view this report; but  this time choose the option Read saved Data for the Read Mode under Status of Data. You can get to the see report output fairly quick.
    SAP documnetation reads thus " <b>You create report-specific frozen report data by executing the report in the background and by choosing the Rebuild frozen report data option in the selection.  When you call up the report again using the same selection, you have the option of displaying this frozen report data. If you would like more up-to-date frozen report data, you need to create this data again."</b>
    Good luck.
    Sridhar

  • Scheduling function module execution in background jobs

    Hi,
    I have requirement where in after obtaining all the required inputs from the user we will call an function module to execute it.
    The requirement is that the execution of fm shld happen in background and a log must be created showing the user whther it was successful or if it failed with the list of errors.
    Can you kindly give some input on how to schedule the execution of function module in background job and if scheduled how to create the logs to display the success or error message.
    Warm Regards,
    Naveen M

    Hi,
    Just create a simple program where you have to call this FM.
    Pass the values to FM either by declaring some internal table of selection screen and execute the program in background.
    For Message Log, you can use structurre BDCMSGCOLL
    DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    After Call to FM, read from this internal table as follows
    READ TABLE MESSTAB WITH KEY MSGTYP = <Message Type>
                                            MSGNR  = <Message Number>.
    regds,
    Anil

  • Error while execution of Background step

    HI all,
    I have created a smart form attachment step.The step to be executed in Background.
    According step is set syncronous  with background execution.
    However i am getting folllowing error-
    The information displayed is -Execution will continue in backgroun with Status-Error
    Error details are as follows-
    Message Text         Error handling for work item 000000389208
    Exception            630
    Error Type           0
    Area                 SWF_RUN
    Message              630
    Variable 1           000000389208
    Please guide to resolve issue.

    Hi Sanjay,
      As Rick Suggested check the log, if still problem persists & if possible try making the step to dialog execution and check?
    Regards,
    Narin.

  • Foreground Execution Vs. Background Execution

    Hi all,
    I've a program, when executed in the foreground, it's taking few seconds for the output to be displayed. But, when i execute in the background, it's taking longer time.
    My question is what might be the reason for such difference in execution times?
    Regards,
    Pavan

    Hi pavan,
    1. JOB Class
    2. By default the Job class =  C
    3. So, put this as A
    <b>A - High priority</b>
    B-  Middle priority
    C - Low priority
    regards,
    amit m.

  • Error while execution in background

    Hi all
    when iam using file download function , it is working fine in foreground but giving
    error dump while executing in background
    plz reply , its urgent

    Hi Check this link it will solves ur problem...
    http://www.sap-img.com/ab004.htm
    <b>i am pasting the same information below......</b>
    GUI_* WS_* Function In Background, CSV Upload
    GUI_* and WS_* function modules do not work in background
    When scheduling a job in the background the appropriate statement to read in your file is OPEN DATASET, and the file must be on the file system that the SAP server can see.
    At anytime, a user can switch of the Personal Computers even though the job is still running in the background.  Therefore GUI_* and WS_* function modules are not designed to work in that way, as they need to access your personal computer  file.
    To choose the correct download method to used, you can check the value of SY-BATCH in your code,
    if it is 'X' use OPEN DATASET and if it is ' ' use WS_UPLOAD.
    *-- Open dataset for reading
    DATA:
      dsn(20) VALUE '/usr/test.dat',
      rec(80).
    OPEN DATASET dsn FOR INPUT IN TEXT MODE.
    IF sy-subrc = 0.
      DO.
        READ DATASET dsn INTO rec.
        IF sy-subrc <> 0.
          EXIT.
        ELSE.
          WRITE / rec.
        ENDIF.
      ENDDO.
    ENDIF.
    CLOSE DATASET dsn.
    *-- Open dataset for writing
    DATA rec(80).
    OPEN DATASET dsn FOR OUTPUT IN TEXT MODE.
      TRANSFER rec TO '/usr/test.dat'.
    CLOSE DATASET dsn.
    What is the difference when we use upload, ws_upload, gui_upload function modules?
    UPLOAD, WS_UPLOAD, GUI_UPLOAD, are used in BDC concepts.  ie., Batch Data Communication.
    Batch Data Conversion is a concept where user can transfer the Data from non SAP to SAP R/3.  So , in these various Function Modules are used.
    UPLOAD---  upload a file to the presentation server (PC)
    WS_UPLOAD----    Load Files from the Presentation Server to Internal ABAP Tables.
    WS means Work Station.
    This is used upto SAP 4.6 version.
    GUI_UPLOAD-------    Replaces WS_UPLOAD. Upoad file from presentation server to the app server.  From 4.7 SAP version it is replaced.
    How to Upload csv file to SAP?
    Common File Download Upload Questions:
    How  you upload the data from text file to sap internal table?  From my knowledge its by upload or gui_upload. 
    How you download the data from sap internal table to text file?
    How  you upload the data from xls (excel) file to sap internal table how you download the data from sap internal table to xls(excel) file.
    You can upload data from presentation server to an internal table using gui_upload. Use gui_download to download from internal table to flat file.
    Use fm ALSM_EXCEL_TO_INTERNAL_TABLE to upload data frm excel.
    Use function module GUI_UPLOAD
    The FILETYPE refer to the type of file format you need: For e.g 'WK1' - Excel format , 'ASC' - Text Format etc.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\test.csv'
       FILETYPE                      = 'ASC'
      TABLES
        DATA_TAB                      = itab
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17.
    Ramesh

  • Regarding program execution in background

    Hi ALL,
    I have a report with more than 255 columns if i execute in foreground no problem but if i execute in background  it is displaying upto 255 columns only it is not displaying completely. (My report has 340 columns) . So please anyone tell me how could i display more than 255 columns in background .
    Thanks & Regards
    K. Naveen Kumar

    search for the OSS Note.
    In 4.6C you need to create a Z program ( code given in OSS Note ), it will take the spool number as parameter.
    Further you also need to crate a new page format ( Xn SPAD) by copying a standard one ...like Z_65_340
    That also need to be attached with the printer device type ..for local SAPWIN.
    While specifying the job in SM36, in print specification , specify the new wider page format.
    Further , aftre the job is run , check our the spool number created and then see the spool using the OSS - Z program.
    No guarantee though
    Cheers,
    Ram
    cheers,
    Ram
    Message was edited by: Ram Manohar Tiwari

  • Report Execution in background at user command.

    Hi,
    I want my program to run in background when the user selects a checkbox to run the program in background. can you please tell how to execute the program in background?
    regards,
    ravi.

    Hi Ravi,
    Follow below logic.
    If check box is selected
    AND sy-batch IS INITIAL.   "Means currently u r running report in foreground
    CALL FUNCTION JOB_OPEN.
    SUBMIT ur program using SUBMIT statement.
    CALL FUNCTION JOB_CLOSE.
    ELSE.
    Normal processing.
    ENDIF.
    Thanks,
    Vinod.

  • Report Execution in Background

    Hi
    Our clients wants to know if this can be done in BI
    Can we execute reports automatically in background at every morning 8:30am and then automatically email then to the users?
    We are on BI 7.0 version.
    I think in earlier version we had something called "Reporting Agent" but now we dont have that option...So how to achieve this functionality?
    Regards
    Annie

    Hi......
    check this link :
    Executing queries automatically
    Regards,
    Debjani..........
    Edited by: Debjani  Mukherjee on Sep 30, 2008 5:37 AM
    Edited by: Debjani  Mukherjee on Sep 30, 2008 5:38 AM

  • Regarding Session execution in Background

    Hi Gurus
        While I am uploading the flat file using vb01 tc in Back ground using submit rsbdcsub, I am facing the following problems:
    By execute the program,The session is creating with no "new" or "error" status.
    This is Happening because when I tried in foreground the records are processing after I pressed the "save" button only.This is happening for all records.even though the records are mapping absolutely properly I need to press save button each time to process that record. By the "enter" key it is not processing.
    Beacuse my requirement is to process the records in Background I required no user interaction while processing.
    How can I resolve this.
    Your suggestions and views are highly encouragable.
    Please respond quickily.
    Regards,
    Kumar

    Are you doing LSMW or BDC? if you are using recording then you must have missed the saving of it.
    let me know more details.

  • Program execution in background

    Hi,
    I have a program my requirement is If I press execute button in the selection screen I need to display the report output in background. Please tell me what logic additionally I need to add in my program. Is there any need to create job in sm36 or system will automatically create it by using function module job open?
    Please tell me the steps to do this.
    Thanks a lot in advance.

    Yes.. system can create a job with the OPEN_JOB ..SUBMIT... CLOSE_JOB.
    Say, you want to run the program Ztest1 into background, than make Ztest2 and use like:
    ZTEST2 should contains all the fields which you want to pass to ztest1.
    In Ztest2's start-of-selection.
    1. open group
    2. submit ztest1 with all selections and jobname/jobnumber
    3. close group
    Regards,
    Naimesh Patel

  • Execution in Background

    hi...i want to use broadcasting for execute a query in background i know the configuraton but i want to know how the users can access the information of the executed query....how the information is stored?...users can navigate in the information or its something like a bookmark?....i hope sombody could give me some approach about this....

    Hi,
    Check these thread:
    Information Broadcasting (Query Distribution)
    Regards
    Pcrao

  • LSMW  execution in Background

    Hi!
    I have created LSMW with recording for Tcode IMA1N, its working in forground, but its not getting executed in background, can any one suggest me the reason for it.
    Regards
    Rajesh

    Can you please explain what you meant by "not executing in background"? Is it throwing an error or is it just not doing what it is supposed to do?
    I have not used this transaction, but the 'N' suffix indicates to me that it is one of the enjoy transactions. If that is true, yes, you will have problems with doing a call transaction for such transactions in the bacground. The reason is that all the enjoy transactions use controls and for the controls to work the program needs access to the desktop/GUI. Controls are created locally in the user's desktop. That is why the call transaction works in the foreground, but when you do it in the background, the program cannot create those controls as it no longer has access to the GUI.
    Isn't there any alternative to this transaction like an Idoc or BAPI or something? Even if there is a older version of the transaction, that may work.
    Srinivas

  • Datasource execution in background

    Hi
    i want to execute the datasource in the background.
    how can i achieve this

    Hi,
    DataSource: It is Program/Object an dit is used to bring the data from Base Tables (Eg from ECC) to BW system.
    If you want to automate this process, then you can do it by using InfoPackages, keep this InfoPackage in Process Chains and then execute Process Chain, it will run Daily.
    Is there any doubt?.Pls let us know.
    Thanks
    Reddy

  • Error during execution in background: No Test Package Selected

    We have created a test package and tried to run both in foreground (Goto -> Automatic Test -> Execute) and background (Goto -> Automatic Test -> Execute in background). We are pretty confident that the test case included in the package works well.
    Foreground run is successful. However, when we try to run using background mode, we get the error "No Test Package Selected." What could be the possible issue for this?

    Unsigned applets are not allowed to access the file system...
    http://java.sun.com/developer/technicalArticles/Security/Signed/

Maybe you are looking for

  • Problem with installing BPEL 10.1.3.1.0

    I downloaded BPEL process manager 10.1.3.1.0 from OTN website, the installation process went fine, I got message saying installation completed successfully. However, after exiting the installer, when I try to go to Programs->Oracle BPEL Process Manag

  • How to make variableExpresion to be executed only once

    Hi Sir/Friend i have required to generate jasper report here i want to assign value to a variable only once... and the same variable is using for further expression how it can be done plz help me i m not getting this plz.... with regards kotresh

  • Start and Stop a Windows Service From Java

    Is there any way to start and stop a Windows service from Java? The only post I found on it (http://forum.java.sun.com/thread.jspa?threadID=647509) had a link to one of the many aps that allow Java programs to be services, which is not what I am inte

  • New HDD, trying to install Lion without disk utility or a mac (HELP!!!!!!!)

    Hello everyone, Here follows my situation: my previous and precious hard drive died a few months back inside my macbook pro. I bought a brand new one and am trying very hard to find a way to install the os lion on it but I cannot seem to find any pla

  • Request: PDF Viewer plug-in for Firefox

    So, just what is wrong with Adobe? Shouldn't this be a no-brainer?