Execute SMW01 (or similar reporting tool) in background

Hi Folks,
My requirement is to pull out the list of bdocs in a specific state for a specified period of time but in background. I tried executing SMW01 (and corresponding report) in background but it always ends up in short dump with the error "VIEW_CREATE_ERROR".
Is there a way to execute this report in background? Or is there any other report in the system which might display the same results? Any help will be highly appreciated.
Thanks,
Munish

Hi Munish,
Unfortunately SMW01 was not designed for background mode, rather it is a dialog
transaction, and in background this kind of error may occur that does
not happen in dialog.
If you really need to execute it in background mode, you could write your own custom report that selects data from table
SMW3_BDOC. Here you find all the information which also displayed in
transaction SMW01. So you are also able to put the information into the
spool list or to print it out.
If you want information about occurred errors please use following
tables:
SMW3_BDOC4      BDoc: Validation Errors
SMW3_BDOC5      BDoc: Receivers with state
SMW3_BDOC6      BDoc: Receiver specific error segments
Hope this helps.
Regards
Gavin

Similar Messages

  • Similar report for Account Balance display which could be scheduled in the background

    Hi SAP gurus,
    As we know to display GL Account Balance Display we have std report "FAGL_ACCOUNT_BALANCE" But we can not run this in background as it is ALV report.
    So I would like to know a similar report which could be scheduled in the background.
    Thanks in advance
    Regards,
    -Chetan

    Hi,
    As division is not header field of invoice it is not available in accounting document header as well. Thus it will not be available in any standard reports showning items per account. I'm affraid you need to develop your own report or try to extend existing using user-/customer-exits.
    You can find more information in OSS note 13131.
    Regards,
    Marcin

  • 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

  • Reporting Tools

    I'm relatively new to BW...I've been supporting it internally for our company for the last year+, but I come from a .NET background.  My questions are in regards to the reporting tools that people use at different implementations.  We use the BEx Analyzer with BW 3.5, but have been relatively disappointed with the user interface and the performance of the queries.  We'll be upgrading to Netweaver BI after the first of the year.
    1.  What other reporting tools (3rd party, web tools, etc.) have people used and how have they performed with BW/BI?
    2.  How much of an improvement, either in performance or the user interface, is there with the upgrade to BI?
    I appreciate any help.
    Thanks,
    Tony

    1. There are few third party reporting tools you can integrate with BW data like Business Object, Cognos Reporting sofware, Hyperion etc. All are pretty good.
    2. If you are upgrading to BI 7.0, there are lots of new features added to BW/BI reporting tools and one new tool added is Report Designer.
    If you are really upgrading to BI 7.0, I don't think you need any third party tools but again it depends on totally what tool you are comfortable with.
    Regards,
    Ashok

  • SUBMIT REPORT AS A BACKGROUND JOB

    Hi all,
       I am executing one report in foreground in that report i want to submit one report which should be executed in background only. how it is possible to execute 2nd report in <b>background mode</b> only.
    Regards
    deepak

    This is the Basic code to Achieve that.
    Call Function 'JOB_OPEN'
    SUBMIT RSBDCBTC
    via background Job <Job info>
    With QIE = <QID Returned by BDC_OPEN_Group FM>
    AND RETURN.
    Call Function 'JOB_CLOSE'
    2) Also go through this
    DATA: lv_job_name         LIKE tbtco-jobname,
    lv_job_nr           LIKE tbtco-jobcount,
    lv_job_released     TYPE c,
    lv_job_start_sofort TYPE c,
    lv_print_parameters TYPE pri_params.
    lv_job_name = 'Z_BGPROGRAM'.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_job_name
        IMPORTING
          jobcount         = lv_job_nr
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF syst-subrc = 0.
    " submit job with all the selection screen params...
        SUBMIT (lv_job_name)
            WITH applfile = applfile " these are the parameters of the background program
            WITH p_lines = p_lines
            USER syst-uname " you must use this
           VIA JOB lv_job_name NUMBER lv_job_nr AND RETURN.
        IF sy-subrc = 0.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = lv_job_nr
              jobname              = lv_job_name
              strtimmed            = 'X'
            IMPORTING
              job_was_released     = lv_job_released
            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 syst-subrc <> 0.
            MESSAGE i162(00) WITH
            'An error occured while closing the background job.'.
            STOP.
          ENDIF.
        ENDIF.
      ENDIF.
      SKIP 1.
      WRITE: / 'Background process', lv_job_name , 'called successfully' NO-GAP.
      WRITE: / 'You can check the job in transaction SM37'.
    Thanks

  • 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

  • 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

  • SM20/SM20N audit report analysis - in background

    Hi,
    I would like to create an audit log / audit report analysis in background.
    I've found an article bu interested to understand if it is the only way to do that ?
    article: http://sap.ittoolbox.com/groups/technical-functional/sap-security/security-audit-reports-using-sm20-1019745?cv=expanded
    Any idea ?
    Dimitry Haritonov

    i have not tried it but yes thats what mentioned in the Note 838847
    Instructions for Releases 4.6C and 6.20
    Creating the RSAU_SELECT_EVENTS program:
    Title: "Selection of audit events from the audit files (background variant)"
    Type: Executable program
    Application: Basis
    Package: SECU
    Logical database:
    See the correction instructions for the source code.
    if your question is answered , mark it answered and award the points ..
    Regards
    dEE

  • GL Drilldown Reporting Tool - Summation of constants (OBDC)

    Hi,
    we are using the drilldown reporting tool (financial statement key figures) and want to incorporate constants for e.g. number of working days, number of sales orders.
    We defined the constants in the corresponding customizing transaction OBDC and maintained values per company code/year/month. So, for example, we have for the constant DAYS:
    Company Code 1000, Year 2010, Period 4, DAYS:20
    Company Code 1000, Year 2010, Period 5, DAYS:19
    Company Code 1000, Year 2010, Period 6: DAYS:21
    In the form for the drilldown report, a row is defined using the constant "DAYS". Then a "Selection with key figures" is made, where we select the constant again, as well as year (e.g. 2010) and period from (variable) to period to (variable).
    When executing the report for 2010, months April to June, we would expect the system to add up the values for DAYS, coming up with the value "60" for the column. However, the system shows the value for the last selected period (June): 21.
    Can someone tell me if we are doing something wrong in the definition of the report or if it is simply not possibe to add up constants like this. Any suggestions how to proceed to solve this?
    Thanks in advance
    Tanja

    Constants are normally treated as text strings.  So mathematical functions are not performed on them.
    Ravi.

  • Report Painter in Background??

    How do you pass parameters or a variant to this FM (crif_rw_web_call_report)?
    I want to run a nightly job that executes a custom report painter report (with a selected variant or parameters) and dumps that data to a file.
    Edited by: Daniel Simpson on Nov 24, 2008 7:39 PM

    I realized that I can run report painter in background & export to file on the app server by going to the report selection screen and selecting the "output parameters" button & configuring the report from there. 
    I would however, still like to learn how to execute the FM ( CRIF_RW_WEB_CALL_REPORT ) to bring the report painter data into internal tables.

  • 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

  • Interactive Excel reporting tool

    Hello guys,
    sorry to bother you again with my EC-CS questions but I think that all the experts have moved to the BCS & BPC forums!
    I am currently trying to choose the best reporting tool for my EC-CS solution.
    - Does any one of you know if the Interactive Excel tool is compatible with EC-CS with mySAP ERP 2005 and excel 2007?
    - Is this tool similar to the BEX used into BW?
    - Has any one of you any helpfull documentation about the implemenation of this tool?
    - Is there any inconvenient compared to Report Writter or Drill down reporting?
    Thank you in advance for your help,
    Best regards,
    Pascal.

    I am not certain as to the compatability between ERP 2005 and Excel 2007 - sorry.
    It is similar but they are completely different technologies. BEX replaces interactive excel in BCS.
    Sorry, again no documentation I am aware of.
    My preference is the drilldown reports, but many users prefer interactive excel.

  • OFM 11 Configuration Err: Creating Reports Tools + Server Components Failed

    I was encountered with this error during Configuring the OFM 11.1.1.3.0 Linux 64
    Creating Reports Tools Components Failed
    Creating Reports Server Components Failed
    Executing: opmnctl startproc ias-Components
    I restart the wls and the admin server and all managed servers in the ClassicDomian too many times and problem still persists
    I search this forum and other sites before posting this thread
    my machine specification is over VMware 7 on Windows 7 x64 as following:-
    1- Oracle Enterprise Linux 5.5 x64
    2- Database 11g 11.2.0.1.0 x64
    3- wls1033_generic x64
    4- OFM 11.1.1.3.0 x64
    I didn't install Portal neither OID
    Can I Configure these Components Manually after fininshing the Installation ?

    Hello Hans. Did you ever find a resolution to this problem? I'm encountering the same issue and cannot find much information online pertaining to this problem. Can you tell me if you found a solution or any useful posts pertaining to this problem?
    Thanks,
    Pablo

  • Generic ad-Hoc report tool like Database Browser

    1) Are there any plans for making the Database Browser functionality in the SQL Workshop reusable in HTML DB applications? I am in the very beginning stages of building a generic ad-hoc report page in HTML DB. What I mean by this is the user can select a table from a restricted list of tables, select columns from that table, and execute the query. This is all I have working at this point. I will add other features obviously like WHERE clause criteria, results ordering, column ordering, and saving query in database for future use. I was wondering if this could be accomplished by utilizing the Application Builder's Database Browser without having to give the users developer access, all but the saving the query to the database of course.
    2) Has anyone else built a generic ad-hoc query type tool in HTML DB? If so, what type of functionality did you implement or not implement? I am also interested in what measures had to be taken to prevent SQL Injection.
    3) Is there much interest out there for an HTML DB ad-hoc query report tool that could be incorporated into an HTML DB application?

    Hi Scott,
    There's definately interest. I have 30 data tables (and 17 lookups), and the users will need the ability to query any column in any (data) table, and maintain the parent-child relationships to build up all of the where clauses.
    I've downloaded you QBE and Quick QBE, and have a couple questions/comments/problems.
    With QBE, I try to add it with the Upload Script feature, and it keeps dying on me with "Error: ORA-20000: Unable to get the block of code: ORA-06502: PL/SQL: numeric or value error: character string buffer too small" message.
    With Quick QBE, in the readme.txt file, under "Definition of Each File", you refer to code.sql and quick_qbe.sql. Under "Order of Execution", you refer you code.sql and people.sql. And then in the zip file, you have ddl.sql and quick_qbe.sql. It gets a little confusing. :^)
    Anyway, thanks.
    Bill Ferguson

  • 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

Maybe you are looking for

  • TS1702 NY post AP, after update, crashes upon launch.  Tried all re-starts & re-installs, to no avail.  Any ideas?

    NY post AP, after update, crashes upon launch.  Tried all re-starts & re-installs, to no avail.  Any ideas, or is it just my punishment for reading it at all?

  • Cannot Synch iPhone on New 8-Core Mac Pro

    I have had my iPhone since the first day they went on sale in June 2007. It has performed flawlessly for me and continues to do so. I have been using the iPhone with a white iMac purchased in March 2007. I have never had the slightest problems with s

  • Unable to create xml from xml schema

    JDeveloper 10.1.3 EA1 I am unable to create a new xml file from an xml schema when the starting root element is a complex type (but it works with a simple type). It does not matter if the xml schema is registered within JDeveloper. Is this a bug or i

  • RDP file won't open on Mac with double click

    Hi We have sort of created our own RDP Gateway and this used to work fine on Mac's double click the RDP file and this automatically opened Microsoft Desktop App and you could login in once entering username and password. Since the last couple of upda

  • Online Backups

    Hi, I am working as a dba and i am not familiar with Online Backups now i want to implement it in one of my client place so please any body can help me regarding these time is less . please anybody help me. regards, srinivasr