Queries in Background

Hello BW Experts
Using rscrm_bapi to schedule a query in background. It is working writing to a table. When we are trying to write to a directory in the application server. Monitor shows green but it is not actually writing to the application directory. Is there any settings to be done on the unix side or bw side to let it write to the application server directory. Should the monitor show Red if the file is not created. Let me know if I am missing something.
Thanks,
BWer

Hi,
I think you should maintain a logical file(name) in transaction FILE. Use this to write to it and make sure the directory is available by AL11.
Siggi

Similar Messages

  • Scheduling queries in background

    How do I schedule Queries in background?
    Thanks

    Shika
    other option is You could do this using RSCRM_BAPI.
    See this weblogs
    https://websmp103.sap-ag.de/~sapdownload/011000358700004400232004E/HowToRSCRM_BAPI.pdf
    /people/durairaj.athavanraja/blog
    One more option is using Reporting Agent
    Hope this helps
    Thnaks
    Sat

  • How to schedule BW Statistical queries in background

    Hi,
    My requirement is to schedule the BW Statistics queries in the background and send the report as an email to a group of persons.BW version is used is 3.5
    Could you please tell me how this could be achieved.
    Thanks and Regards,
    Apparao
    Message was edited by:
            Apparao Nagandla

    Hi,
    Could you please send me some docs or url on how to configure information broadcasting.
    e-mail is [email protected]
    Thanks and Regards,
    Apparao

  • Reg: File Extraction from SAP Queries via background job

    Hi ,
    Is it possible to Extract a file to the presentation Server by running the ABAP Query's through SQ01 as a back ground job to generate a file automatically without running it manually.
    I have tried recording the query's thru SQ01 with the File store Option to download it to Excel on the Presentation server.I have used CAll Transaction for SQ01 in the Zprg and submitted that Query to be able to download that Query in the mentioned path .The Zprg was executed via Background job.The file is extracted to the presentation server when the Zprg was executed via Foreground,but its not getting Downloaded to Excel Via Back ground job.
    Please provide me the solution.
    Thanks in advance,
    Prem

    Hi
    u cannot get file in presentation server.. in background..
    if you are scheduling any background jobs it should be out of any gui interface.. like gui_dowload , gui_upload// ur need to replace then with cl_gui_fronend_services Class
    or u have a option of writing file to application server in background using open dataset syntax.

  • Responsive Background Images with Media Queries

    Hello,
    I'm creating a mobile website in Dreamweaver and would like to use an image which will change with different device widths.  I'm using media queries with background images.  My problem is that in order for the background images to display, I need to assign a height to the div.  When the image is scaled down the height stays static, leaving white space beneath it.  There will be content below the image so the white space will push it down and look wrong.  Is there a way to use multiple images with media queries keeping the height responsive?  Thank you!
    @media screen and (max-width: 1024px) {
    #mainImage {
              background-image: url(../images/mainImageLarge.jpg);
              background-repeat: no-repeat;
              background-position: center top;
              background-size: 100%;
              height: 272px;
              border-top-width: 3px;
              border-top-style: solid;
              border-top-color: #FFF;
    @media only screen and (max-width : 480px) {
    #mainImage {
              background-image: url(../images/mainImageMed.jpg);
              background-repeat: no-repeat;
              background-position: center top;
              background-size: 100%;
              height: 107px;
              border-top-width: 3px;
              border-top-style: solid;
              border-top-color: #FFF;
    @media only screen and (max-width : 320px) {
              #mainImage img {
              background-image: url(../images/mainImageSmall.jpg);
              background-repeat: no-repeat;
              background-position: center top;
              background-size: 100%;
              height: 150px;
              border-top-width: 3px;
              border-top-style: solid;
              border-top-color: #FFF;

    Like this example:
    http://alt-web.com/FluidGrid/Fluid-4.html
    METHOD:
    Insert 2 images -- one for desktops and one for mobile.  Assign classes to each image. 
    <img id="banner" class="desktop" src="desktop_image.jgp" />
    <img id="banner" class="mobile" src="mobile_image.jpg"/>
    In your CSS, use display:none and display:block to show/hide.
    .desktop {
        display:block;
    .mobile {
        display:none;
    /* Special Rules for mobiles */
    @media only screen and (max-width: 480px) {
        .desktop {display:none}
        .mobile {display:block}
    Feel free to set your break points however you wish.
    Nancy O.

  • Download Scheduler Reports

    Hello Experts,
                        I have been executing queries in background (Pre-calculated web templates - Reporting Agent) for the users for several months, and downloading them to the PC using Download Scheduler application.  For some testing purpose, I executed one of the queries in foreground (Ad-hoc) using BEx Analyzer to reconcile the Adhoc report with the downloaded report.  I noticed that the size of the downloaded report was drastically huge compared to the Adhoc report.  Can someone tell me what the issue is and how to minimize the size of the downloaded report?

    Hi Tobias,
       Thanks for your response.pls correct me if any thing wrong in my understanding.I feel that initiation will be taken by Reporting agent to generate appropriate web report with the help of control query and main query. Then resultant URL will be sent back to RA, where it is adding 001 to the "dataprovider name" and will push this files with 001 when the end user downloads.
    Is it possible to add result of the control query to the dataprovider name at web template level dynamically. so that RA will generate final file as "dataprovidername_uk_001". So that user can easily identify which report belongs to which company.
       If you have any specimen batch file. Can u plz send it to me.
    Regards,
    Ramesh

  • Bex Query Exception Storage

    Hi,
    we have developed a program that execute queries in background and display an alert to the user according the exception defined in the queries.
    At the moment we have replicated all information related to the exception defined in the Bex queries because we didn't find where the system stores the bex exceptions definition.
    Is there any table in SAP BW that cointain this information?
    We'd like to avoid to replicate the exception information and we want use the exception definition we set in the Bex queries.
    Thx

    Hi,
    Why cant you use standrart reporting agent(till 3.1) or information broadcasting for same..? instead of Program..?
    Srini

  • Downloading the Queries(SAP QUERY) via Background to Excel sheet

    Hi Abapers,
           Is it possible to download the Queries into an Excel Format via Background onto the Application Server / Presentation Server in the Excel format.
       If Possible, Please provide me the solution.
    Thanks in Advance.

    It is not possible to download Query results to Excel in background. (Where would you put the file name, for starters?) But you might be able to get output in a spool, which can then be saved in a plain text file and then uploaded to Excel.

  • Queries: Problem creating file in background

    Hi,
    i am trying to create txt files in background with sap queries, but it doesn't work.
    In dialog mode it works but not in background. Path is my standard application server path /home/data/..
    Any ideas?
    Thanks!

    I have the same problem.
    On another thread, it said it's not possible to do in background.
    The File Store Option is only for execution in dialog mode.
    Can somebody confirm or inform it ?
    One solution is to activate an user exit!
    Implement the user-exit to download the results of standard queries (SQ01) to application servers, while being run in a background.
    First create a project, then use the enhancement assignment to include SQUE0001 SAP Query: Private data file. Further implement the user exit EXIT_RSAQEXCE_001 in the component section. Include ZXQUEU01 can have your code.
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/what-does-it-take-to-run-a-sap-query-in-the-background-mode-1258275
    Thanks,
    David de Limelette
    Message was edited by:
            David de Limelette

  • Running queries in the background and save in a folder

    Hi,
    I have a requirement where I need to schedule a query in the background and save the output in a folder as a new excel file. How can I do that? Does any one have any ideas or thoughts? I appreciate your help with reward. Thanks,
    Regards,
    Rao.

    Hi VVR,
    Thanks, That was very useful piece of information.
    Regards,
    Rao.

  • Background job within another background job

    Hello Experts,
    I have a BDC program (for BW tcode OLI7BW) which executes by scheduling a number of background jobs. This report works fine when run manually. But doesn't work if it is scheduled as a background job through SM36. The status of the job is shown as finished, but the data is not uploaded.
    Is it not possible to execute a background job within another background job?
    If it's possible, what could be the possible cause of error?
    Thanks In Advance
    Radhika

    Hi Radhika,
    If you are trying to upload data from a file on ur desktop to Internal table, then background job doesn't work. Always remember GUI means ur front end and all background jobs are run on application server and they dont run w.r.t ur desktop.
    Kindly check it and get back to me incase of any queries.
    Dont forget to reward points, if found useful.
    Thanks and Regards,
    Satyesh

  • How to print a web template in background

    Hi experts,
    i want to print a web template which includes 4-5 Queries over a background job for different Profit Centers (for example, for all Profit Centers that are in Region Europe)?
    How can i simply achieve this ?
    Thanks.

    Hi Arun,
    web template have a variable, that is Profit Center
    Now user wants to give on web, only Region = Europe, not Profit Center. (Region is an attribute of PC)
    Then he wants to have for each Profitcenters in Europa (let say 50 PCs) a seperate printout.
    Now he should call the report 50 times for each profit center should click on Print Button...
    Cheers

  • Internal table in background job

    hi everyone
    I have to process 4 internal tables to send to spool in background
    HOw should the parameters be passed?
    I have used the 
    SUBMIT /EU000/FI_PAYMENT TO SAP-SPOOL
    SPOOL PARAMETERS mstr_print_parms
    WITHOUT SPOOL DYNPRO.
    but I dont know how I shd pass the internal tables
    Plz help

    Hi sia anjali.....
    There is one concept in Spool Request,,, You can only produce a spool of a thing which you are writing....
    for ex your report consist of 4 internal Tables,,, Then you can easily Produce a single spool request for all the 4 Internal tables with it's contents...
    I am giving you the sample code for 2 Internal Tables.......... In this case you have to use two reports....
    for ex.....
    (1)- The first Report will only consist of the submit statement.....
    REPORT  ZTEST99                                 .
    SUBMIT   ztest100           TO SAP-SPOOL
                                          DESTINATION         'LP01'
                                          IMMEDIATELY         ' '
                                          KEEP IN SPOOL     'X'
                                          WITHOUT SPOOL DYNPRO AND RETURN.
    (2)- The second Report will consist of your internal tables that you want to display.......
    *& Report  ZTEST100                                                    *
    REPORT  ZTEST100                                .
    data: begin of itab occurs 10.
          include structure mseg.
    data: end of itab.
    data: begin of itab1 occurs 10.
          include structure bseg.
    data: end of itab1.
    start-of-selection.
    select * from mseg into table itab up to 10 rows.
    select * from bseg into table itab1 up to 10 rows.
    loop at itab.
    write:/ itab-mblnr, itab-mjahr.
    endloop.
    uline.
    loop at itab1.
    write:/ itab1-bukrs, itab1-belnr.
    endloop.
    now this wil produce the spool request in SP01 T-code..........
    If have any other queries do let me know......
    Thanks
    Saurabh

  • Requirement wherein I want to call two queries in parallel using ABAP Prg

    We are using RSCRM_BAPI to run a query in background and write the results to a table. We later read this table and create a file. I have a requirement u2013 wherein I want to call two queries in parallel using an ABAP program.
    For our discussion assume:
    1) Program : ZCALL_RCRMBAPI  is a program that calls RSCRM_BAPI in background and takes the query name as input
    2) Program: ZMAIN_PROGRAM  this is the main program
    The requirement is to call the ZCALL_RCRMBAPI in a loop. Also within the loop call it in parallel. Basically we have an ODS that stores ; FISCPER. So I call the two queries for a list of FISCPER.
    ZMAIN_PROGRAM - A program that reads a table (ODS ) in our case and call the two programs in a loop and both should run in parallel .
    Now if it was sequential u2013 it was easy u2013 I would just say
    Loop at L_T_FISCPER .
    Update Z_FISCPER with L_T_FISCPER-FISCPER u201C Assume Z_FISCPER is a Z table . The VARIABLE in the query Q1 and Q2 use a customer exit to read this table.
    A)       SUBMIT ZCALL_RCRMBAPI with P_QUERy = Q1 and return .
    B)      SUBMIT ZCALL_RCRMBAPI with P_QUERy = Q2 and return .
    Endloop .
    Question: How do I make these calls in parallel u2013 yet retain control in the main program?
    A)       SUBMIT ZCALL_RCRMBAPI with P_QUERy = Q1 and return .
    B)      SUBMIT ZCALL_RCRMBAPI with P_QUERy = Q2 and return .

    Instead of RSCRM BAPI you can use the RRW3_QUERY_VIEW_DATA function module for greater control over program execution...
    /people/arun.varadarajan/blog/2009/07/29/make-the-most-out-of-query-execution--part-1
    will give you pointers as to how this can be done...

  • Word 2013 - Publish as PDF or XPS button causes excessive registry queries / high CPU when added to quick access toolbar

    After installing Office 2013 Pro Plus on our XenApp 6.5 environment we noticed a drop in performance. Using taskmanager we could see winword.exe hit 20+% CPU usage when filling just 1 line with the same letter.
    Some investigating lead us to the "Publish as PDF or XPS button", when it is added to the quick access toolbar the cpu usage doubles during keystrokes. Using procmon I noticed excessive registry reading, up to 150,000 lines in 10 seconds.
    It seems to be a constant loop of the same queries to approx. 100 components in HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\
    I reproduced this in 3 different setups:
    Win2008R2 + Office2013 Pro Plus 32-bit + Office 2013 updates until 12-nov 2014
    Win 8.1 Laptop + Office2013 Pro Plus 32-bit + Office 2013 updates until 05-jan 2015
    Win 8.1 Desktop + Office2013 Pro Plus 64-bit + Office 2013 updates until 17-dec 2014
    Can anyone verify this behaviour? For now we've removed the shortcut from the quick access toolbar in our environment.
    Here's a small portion of the queries.
    19:22:49,7117781 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7117861 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1A89310DF62F54544A1465F790A7757D SUCCESS Desired Access: Read
    19:22:49,7117969 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1A89310DF62F54544A1465F790A7757D\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 130, Data: C:\?Program Files\Common
    Files\Microsoft Shared\OFFICE15\MSO.DLL
    19:22:49,7118058 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1A89310DF62F54544A1465F790A7757D SUCCESS
    19:22:49,7118154 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7118232 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\837CF31208764B643868B58117357D20 SUCCESS Desired Access: Read
    19:22:49,7118332 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\837CF31208764B643868B58117357D20\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 112, Data: C:\Program Files\Microsoft
    Office\Office15\OUTLFLTR.DLL
    19:22:49,7118415 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\837CF31208764B643868B58117357D20 SUCCESS
    19:22:49,7118511 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7118586 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDFFB7C3B3B7DA048B21B3A72D1BF855 SUCCESS Desired Access: Read
    19:22:49,7118694 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDFFB7C3B3B7DA048B21B3A72D1BF855\00005109110000000100000000F01FEC BUFFER OVERFLOW Length: 144
    19:22:49,7118769 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDFFB7C3B3B7DA048B21B3A72D1BF855\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 134, Data: C:\Program Files\Common
    Files\Microsoft Shared\OFFICE15\FLTLDR.EXE
    19:22:49,7118849 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDFFB7C3B3B7DA048B21B3A72D1BF855 SUCCESS
    19:22:49,7118949 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7119023 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BF574A30F66E6D54186C7F15B116E7A3 SUCCESS Desired Access: Read
    19:22:49,7119123 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BF574A30F66E6D54186C7F15B116E7A3\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 100, Data: 20:\CLSID\{000C0126-0000-0000-C000-000000000046}\
    19:22:49,7119203 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BF574A30F66E6D54186C7F15B116E7A3 SUCCESS
    19:22:49,7119295 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7119369 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\017CCC9DE12773C4FAD559D2951B14C6 SUCCESS Desired Access: Read
    19:22:49,7119466 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\017CCC9DE12773C4FAD559D2951B14C6\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 128, Data: 22:\Software\Microsoft\Office\15.0\User
    Settings\Mso_Core\Count
    19:22:49,7119544 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\017CCC9DE12773C4FAD559D2951B14C6 SUCCESS

    I'll do that, I'm however still interested if somebody can confirm the excessive registry queries.
    As a brief test, I captured winword.exe (2013) registry-reads on my Win8.1 pc (64bit Windows), with ProcMon.
    this is over a capture period of less than one second
    2092 of 2352 contain "component" in the reg path
    this is when I have winword open and whilst "File, Export" is displayed (this is what offers the export-to-PDF option)
    vs.  168 registry operations in an interval of 10 seconds, by winword.exe, if word is simply "running in background with an open blank document"
    I'm not sure if that is useful, but it seems an awful lot of registry reads/writes from an application which isn't apparently doing anything at the time..
    EDIT: similar registry read/write rate, when save-as-pdf is added to QAT (again sitting idle on a blank document). the registry read/write rate drops back down to 160 if the save-as-pdf feature is then removed from QAT.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for

  • Error ( while instantiating a class)

    I encountered the following errors ...plz help..Click and Clicka are two public classes which i have written ..Both of them have actionPerformed function defined .. gui.java:14: cannot resolve symbol symbol  : class Click location: class gui ActionLi

  • Whole slew of problems with my iPod and I'm about to go nuts..

    My 1.5 year old 4th generation iPod has been having issues recently after having the same issues in the past. Freezing, sad iPod icon, etc. It was hooked up to my computer when all of a sudden it said that it was corrupted (it was fine before). So I

  • Unknown Error Occured [1418[

    When attempting to use my Ipod Nano I get a message saying the Ipod is in recovery mode and needs to be restored. Attempts to restore result in an "Unknown Error Occurred [1418]" message and goes back to the restore screen. This problem started when

  • How can you add images and text to UIScrollBar Component

    I can only add the text, can't add images. Also how can you make paragraphs out of long text in a UIScrollBar? Thanks.

  • Bought a photoshop cc, but have no serial number. emmergency!

    Help! My project deadline it tomorrow. I just bought a photoshop CC month plan. But cannot find the serial number on the page. another sentence is shown instead:"We are still processing your order. It could take up to 24 hours. Please check back late