Show TOC

Running Scheduled ReportsLocate this document in the navigation structure

Use

To send notifications tasks between the ECC SAP system and consumer applications, the following 2 reports must be scheduled in the ECC SAP system:

  • RSWNSEL

  • /IWWRK/R_WF_ITEM_SELECTION_GW

The logon user used to schedule the reports should be a valid administrator user. Schedule the reports as per the following sequence:

  1. Schedule the NetWeaver report RSWNSEL (or run the report when required). The necessary variant of the report is Scenario OSP, filter OSP_DELTA.

    We recommend that you run the reports at a frequency of 15 minutes. This report retrieves the workflow items created in the ECC SAP ERP system and sends it for processing by Workflow SAP Gateway. Refer to the next section Procedure to Schedule Running of Reports to run the reports.

  2. Schedule the Workflow SAP Gateway pattern report /IWWRK/R_WF_ITEM_SELECTION_GW (or run the report when required). This report should run after the successful execution of the NetWeaver report RSWNSEL. This report processes the workflow items retrieved by the report RSWNSEL and sends task notifications. The necessary variant of the report is a Default variant.

    We recommend that you run this report at a frequency of 15 minutes. Refer to the next section Procedure to Schedule Running of Reports to run the reports.

Procedure to Schedule Running of Reports

You can schedule the running of reports using your administrator user.

To schedule running of various reports, you need to know the following parameters:

  • Program field – Name of the report you want to run

  • Variant field – Name of the variant you want to create

  • Meaning field – Description of the variant you want to create

Scheduling running of reports involves:

  • Creating variants

  • Scheduling background job for the variant

Creating Variants for Report RSWNSEL

To create variants for the RSWNSEL report:

  1. On the SAP system, open transaction SE38 The ABAP Editor: Initial Screen page is displayed.

  2. In the Program field, enter RSWNSEL.

  3. Select the Variants radio button.

  4. Choose Display. The ABAP: Variants – Initial Screen page is displayed.

  5. In the Variant field, enter the name of the variant. For example, GW_VAR1

  6. Choose Create. The Maintain Variant: Report page is displayed.

  7. In the Scenario field, enter OSP.

  8. In the Filter field, enter OSP_DELTA.

  9. Choose Attributes. The Variant Attributes page is displayed.

  10. In the Description field, enter the variant’s description.

  11. Choose Save. The Maintain Variant: Report page is displayed.

  12. Choose Save to save the value of the variants.

Creating Variants for Report /IWWRK/R_WF_ITEM_SELECTION_GW

To create variants for the /IWWRK/R_WF_ITEM_SELECTION_GW report:

  1. On the SAP system, open transaction SE38 The ABAP Editor: Initial Screen page is displayed.

  2. In the Program field, enter /IWWRK/R_WF_ITEM_SELECTION_GW.

  3. Select the Variants radio button.

  4. Choose Display. The ABAP: Variants – Initial Screen page is displayed.

  5. In the Variant field, enter the name of the variant. For example, GW_VAR1

  6. Choose Create. The Maintain Variant: Report page is displayed.

  7. Choose Attributes. The Variant Attributes page is displayed.

  8. In the Description field, enter the variant’s description.

  9. Choose Save. The Maintain Variant: Report page is displayed.

  10. Choose Save to save the value of the variants.

Scheduling Background Jobs

To schedule background jobs:

  1. On to the SAP system, open transaction SM36. The Define Background Job page is displayed.

  2. Choose Job wizard to create a new job.

  3. In the wizard’s opening page, choose Continue.

  4. In the Job Name field enter a name and choose Continue.

  5. Select the ABAP program step radio button and choose Continue.

  6. In the ABAP Program Name field enter the report name (RSWNSEL).

  7. In the Variant field, enter the variant name, for example GW_VAR1 and choose Continue.

  8. Check the Add additional steps (optional) checkbox, and choose Continue.

  9. Select the ABAP program step radio button and choose Continue.

  10. In the ABAP Program Name field enter the report name (/IWWRK/R_WF_ITEM_SELECTION_GW)

  11. In the Variant field, enter the variant name, for example GW_VAR1 and choose Continue twice.

  12. Select the Immediately radio button and choose Continue.

  13. In the Periodic jobs section, select the Period checkbox and choose Continue.

  14. Select None of the above and choose Other periods.

  15. In the Minute(s) field, enter 15.

  16. Choose Create.

  17. Choose Continue.

  18. Choose Complete.

Updating Background Jobs

To update background jobs:

For help on updating a job, refer to the following topics in the SAP NetWeaver documentation:

  • Background Job Monitoring Monitor

  • Managing Jobs from the Job Overview
Use

This is the last step in the configuration flow, go to Subscribing to Notification Types to subscribe to the relevant Workflow service.