Menu

SAP Function Module RK_KOSTL_CHECK

Check Cost Center

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

The Function Module RK_KOSTL_CHECK (Check Cost Center) is a standard Function Module in SAP ERP and is part of the function group RKSI within the package KIST.

Technical Information

Function Module RK_KOSTL_CHECK
Short Text Check Cost Center
Function Group RKSI
Package KIST
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BUZEI LIKE SPACE Posting Row
DATUM LIKE CSKS-DATBI Date on Which Cost Center Is Tested
GBBIL LIKE T001-XGSBE SPACE Indicator: Business Area Balance
I_MGEFL LIKE CSKS-MGEFL 'X' Indicator: Record Quantities
I_SENDER TYPE BOOLE_D Kennzeichen: Sender einer Verrechnung
KOKRS LIKE CSKS-KOKRS Controlling Area
KOSTL LIKE CSKS-KOSTL Cost center
KOSTS LIKE TKA00-KOSTS 'X' Indicator: Cost Center Active
NUREX LIKE SPACE Indicator: Only Existence Validation
RKBUK LIKE TKA00-RKBUK 'U' Indicator: Company Code Check
SPRAS LIKE CSKT-SPRAS SPACE Language Key
V_BUKRS LIKE CSKS-BUKRS Company Code Used for Testing
V_GSBER LIKE CSKS-GSBER SPACE Business Area Used for Testing
V_KATYP LIKE CSKB-KATYP SPACE Cost Element Category Used for Testing
V_VRGNG LIKE COBL-VORGN SPACE

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BUKRS LIKE CSKS-BUKRS Document Company Code
ERROR_OCCURRED LIKE
GSBER LIKE CSKS-GSBER Business area
KHINR LIKE CSKS-KHINR Cost Center Hierarchy Area
KTEXT LIKE CSKT-KTEXT Cost Center: Short Text
MGEFL LIKE CSKS-MGEFL Indicator: Record Cost Center Quantities (* I_MGEFL)
OBJNR LIKE CSKS-OBJNR Cost Center CO Object Number
OWAER LIKE CSKS-WAERS Cost Center Currency
STAKZ LIKE CSKS-STAKZ Indicator: Statistical Cost Center
XCSKSV LIKE CSKSV View of Cost Center Master

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
CCA_NOT_ACTIVE Kostenstellenrechnung nicht aktiv in KoReKreis/Geschäftsjahr
INPUT_ERROR Fehlerhafter Funktionsaufruf (Programmfehler)
KOSTL_NOT_COMPLETE Cost Center Incompletely Maintained
KOSTL_NOT_FOUND No Cost Center Exists on Given Date
NO_GSBER Cost Center Not Assigned to Any Business Area
NO_PRIMARY_POSTING Cost Center Accepts no Primary Postings
NO_REVENUES_POSTING No Revenue Postings to Cost Center Allowed
NO_SECUNDARY_POSTING No Secondary Postings to Cost Center Allowed
TEXT_NOT_FOUND No Cost Center Text Exists
WRONG_BUKRS Cost Center Assigned to Other Company Code
WRONG_GSBER Cost Center Indicates Other Business Area
WRONG_KATYP Cost Center Category Not for Postings to Cost Center