Fonction SAP BAPI_INVPROGRAM_SELRE_ENTITIES - Select Assigned Entities and Replicate Them in Summarization DB

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
APPROVALYEAR BAPI1057ID-APPR_YEAR N 4 Approval Year of the Investment Program
CAPINVPROGRAM BAPI1057ID-INV_PROG C 8 Name of Investment Program
LANGU BAPI1057C0-LANGU C 1 SY-LANGU X Language for Texts
LANGU_ISO BAPI1057C0-LANGU_ISO C 2 SPACE X Language for Texts per ISO 639
LOGSYSTEM_CALLING BAPI1057CD-LOGSYSTEM C 10 SPACE X Calling Logical System
SELECT_COSTCENTERS BAPI1057C0-SEL_COCTR C 1 ' ' X Ind: Select Cost Centers
SELECT_FUNCTLOCS BAPI1057C0-SEL_FUNCL C 1 ' ' X Ind: Select Functional Locations
SELECT_MEASURES BAPI1057C0-SEL_MEAS C 1 'X' X Ind: Select Measures
SELECT_PLANTS BAPI1057C0-SEL_PLANT C 1 ' ' X Ind: Select Plants
SELECT_PROFIT_CTR BAPI1057C0-SEL_PRCTR C 1 ' ' X Ind: Select Profit Centers
SELECT_REQUESTS BAPI1057C0-SEL_REQ C 1 ' ' X Ind: Select Appropriation Requests

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Information about Errors that Occurred

Paramètre Reférence Long. Facultatif Description
SCALES_TO_IGNORE BAPI1057CS 2 X Scales to Ignore

Functionality
The function module has two main functions:
In step one, it selects the identifiers and texts of the appropriationrequests and measures assigned to an investment program. In addition,it can select the identifiers and texts of the profit centers, costcenters, plants and functional locations of the investment program orthe appropriation requests and measures assigned to it.
In step two, the selected identifiers and texts are replicated in thesummarization database of Investment Management.
If no logical system is transferred to the function module, or thecalling system and logical system are the same, then the replicationtakes place immediately, by calling the appropriate BAPI forreplication of the assigned entities. Otherwise, the data is brokendown into small data packages and transferred to the calling system bymeans of ALE. There the appropriate BAPI can be called for replicatingthe summarized data. The modalities of the calls have to be specifiedin Customizing.

Notes
The replication of entities is (at least up until the possibletriggering of the BAPI for replication in the calling system)integrated in this function module and is not permmitted to be adoptedby the user of the function module (nor is this possible)!