Creating a Program with Variant as Task

Use

Standard programs are generally available for processing activities in the background. If these programs are included in the task list template with corresponding parameters (that is, with a variant), you can later start batch processing directly from the Closing Cockpit .

Procedure

Subsequently, you can check the start, end, log, and spool list for background processing directly in the Detailed Information as well as in the List Display in the Closing Cockpit (transaction CLOCO) application. From the Detailed Information , you can analyze and repair background jobs containing errors.

You start from the dialog box Closing Cockpit: Display/Create/Change Tasks (see Creating Tasks ).

  1. To store a program in the task list template within a task folder for periodic processing, choose Program .

    Enter the program that you want to make available in the task list for background processing, changing the program description if required. When editing tasks, you can create a variant for the selected program or assign an existing variant.

  2. To create a variant for the program, choose Create .

  3. You can store the parameters Period from , Period to , and Fiscal Year as variables in the attributes of the variant so that, in cases where changes are made during processing, adjustments do not need to be made in all program variants used in the Closing Cockpit .

    To enter parameters as variables, choose Attributes . Lock the parameters against changes.

  4. To ensure that the valid values for the variables can later be determined automatically from the header information of the derived task list and updated in table TVARV, you should assign for the program variants those variables in table TVARV that are used in the header information of the task list template or the organizational levels.

    Example Example

    Period : SAP_FAST_CLOSE_PERIOD_P

    Fiscal year : SAP_FAST_CLOSE_GJAHR_P

    End of the example.
  5. Save your entries .