Menu

SAP Function Module KE_PROFIT_CENTER_CHECK

Check profit center against table CEPC/Return of information

The Function Module KE_PROFIT_CENTER_CHECK (Check profit center against table CEPC/Return of information) is a standard Function Module in SAP ERP and is part of the function group PC00 within the package KE1.

Technical Information

Function Module KE_PROFIT_CENTER_CHECK
Short Text Check profit center against table CEPC/Return of information
Function Group PC00
Package KE1
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BUKRS LIKE T001-BUKRS SPACE Company code (or conrolling area)
DATUM LIKE CEPC-DATBI '00000000' (Starting) date for time-related check
DATUM_BIS LIKE CEPC-DATBI '00000000' End of the period to be tested
PRCTR LIKE CEPC-PRCTR Profit center
READ_TEXT LIKE 'X' Flag whether text table should be read (- 'X')
TEST_KOKRS LIKE CEPC-KOKRS SPACE Controlling area (or CoCde)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BUKRS_JV LIKE CEPC-BUKRS Company code of the joint venture
DATBI LIKE CEPC-DATBI Return value of the missing key part
ETYPE LIKE CEPC-ETYPE Investment class (joint venture)
KOKRS LIKE CEPC-KOKRS Controlling area of the profit center found
KTEXT LIKE CEPCT-KTEXT Short text of the profit center found
LTEXT LIKE CEPCT-LTEXT
RECID LIKE CEPC-RECID Recovery indicator (joint venture)
REGIO LIKE CEPC-REGIO Region (joint venture)
RETURN_CODE LIKE SY-SUBRC
TXJCD LIKE CEPC-TXJCD Tax jurisdiction code (joint venture)
VNAME LIKE CEPC-VNAME Joint venture name

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NOT_FOUND No profit center exists (for the specified date)
NO_KOKRS_FOR_BUKRS Company code is not assigned to a controlling area
PARAMETER_MISMATCH Set either the company code or the controlling area only