Menu

SAP Function Module KBPP_COPY_VERSION

Kopieren von Versionen Budgetierung / Planung

The Function Module KBPP_COPY_VERSION (Kopieren von Versionen Budgetierung / Planung) is a standard Function Module in SAP ERP and is part of the function group KBPP within the package KABP.

Technical Information

Function Module KBPP_COPY_VERSION
Short Text Kopieren von Versionen Budgetierung / Planung
Function Group KBPP
Package KABP
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IM_BPIN LIKE BPIN Further budget processor entries (application-dependent)
IM_COPY_MODE LIKE Copy Mode
IM_COSTS LIKE SPACE Copy cost element planning ON/OFF
IM_DETAIL_PLAN LIKE SPACE Copy detail planning ON/OFF
IM_FIN_CODE LIKE BPIN-GEBER SPACE Financing code
IM_FUNDS_PARAM_EX LIKE KBPP_COPY_VERSION_PARAM_EX SPACE X' - Budgettexte mitkopieren
IM_IMP01 LIKE SPACE Additional parameters (application-dependent)
IM_IMP02 LIKE SPACE Additional parameters (application-dependent)
IM_OVERWRITE_CHECK LIKE SPACE Safety popup: 'Overwrite data?'
IM_REVENUES LIKE SPACE Copy revenue element planning ON/OFF
IM_STATISTIC LIKE SPACE Copy statistical key figures ON/OFF
IM_TIME LIKE BPTIME Time information for copying
IM_VERSION_DEST LIKE BPIN-VERSN Destination version
IM_VERSION_SRC LIKE BPIN-VERSN Source version

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EX_SUBRC LIKE Result of copy process
E_COMMIT LIKE Daten wurden auf die Datenbank geschrieben
E_DATACHANGED LIKE Daten wurden verändert
E_ERROR LIKE Ein Fehler ist aufgetreten

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_COPY LIKE BPCOPY Activities and value types to be copied

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CONTROLLING_AREA_NOT_FOUND Controlling area does not exist
DEST_VERSION_NOT_FOUND Destination version does not exist
DEST_VERSION_NOT_UPDATE Destination version may not be changed
DEST_VERSION_NOT_USEABLE Destination version must not be used
FM_AREA_NOT_FOUND FM area does not exist
NO_ACTIVITIES No activities selected for copying
NO_TIME_SELECT Neither annual nor overall values chosen
PROFILE_ERROR Profile is defective (no overall, annual, period values allowed)
PROFILE_ERROR_PERIOD Profil error: period value processing not allowed
PROFILE_ERROR_TOTAL Profile error: overall value processing not allowed
PROFILE_ERROR_YEAR Profile error: annual value processing not allowed
PROFILE_NOT_FOUND Entry not found in profile table
SRC_AND_DEST_VERSION_EQUAL Source version and target version identical
SRC_VERSION_NOT_COPY Source version may not be copied
SRC_VERSION_NOT_FOUND Source version does not exist
SRC_VERSION_NOT_USEABLE Source version may not be used
TIME_SELECT_NEG_RANGE Negative year area chosne
TIME_SELECT_ONE_YEAR You may choose one year only
TIME_SELECT_SRC_DEST_START Reference and target have different start years
YEAR_RANGE Year in area not allowed