Ansicht
Dokumentation

FARR_RAI_PP_0205 - Create Work Packages

FARR_RAI_PP_0205 - Create Work Packages

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module is called within a loop in conjunction with the creation of a list of package templates. Each time the code is run, the data of the next package template is requested. Ending the generation of new package templates is the task of the application. For this to happen, this module must trigger the exception NOT_FOUND.

A package template contains the statistical data for a package. The dynamic data, such as the number of times a package was processed, or the number of objects not processed, is contained in the work packages of the worklist. These work packages are generated at runtime from the package template for a worklist.

Information on the individual parameters:

  • I_APPLCATG: application type
  • I_STR_PARAM: application parameter
  • I_STR_PACKAGE_KEY: key of package template
    If the application needs additional parameters for each package template, in addition to the global parameter I_STR_PARAM, these can be returned in the structure E_STR_PACKPARAM. The package template key must be contained in this exported structure, so that, during the later processing of the package, it is possible to access the parameters of the package using this key.
  • E_LIMIT_LOW, E_LIMIT_HIGH: limits of intervall
    A package template can be defined either by entering the interval limits, or by entering a list of the objects assigned to the package.Depending on which alternative you choose, either the parameters E_LIMIT_LOW and E_LIMIT_HIGH are returned, or the object list E_TAB_OBJKEY.
  • E_TAB_OBJKEY: list of objects
  • E_STR_PACKPARAM: application-specific parameters for package.
    The structure of this export parameter has to exactly match the line structure of the dictionary table type that is entered in Customizing for the package-related application data.
  • NOT_FOUND: no further package templates

Example

Notes

Further information





Parameters

E_CNT_PACKAGES
E_FLG_NO_PACKAGE
E_LIMIT_HIGH
E_LIMIT_LOW
E_PACKDEFCATG
E_STR_PACKPARAM
E_TAB_OBJKEY
I_APPLCATG
I_STR_PACKAGE_KEY
I_STR_PARAM

Exceptions

FAILED
NOT_FOUND

Function Group

FARR_RAI_PP

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2588 Date: 20240523 Time: 045622     sap01-206 ( 56 ms )