SAP Function RK_KOSTL_CHECK - Check Cost Center

Parameter Reference Type Length Default Optional Text
BUZEI 0 SPACE X Posting Row
DATUM CSKS-DATBI D 8 Date on Which Cost Center Is Tested
GBBIL T001-XGSBE C 1 SPACE X Indicator: Business Area Balance
I_MGEFL CSKS-MGEFL C 1 'X' X Indicator: Record Quantities
I_SENDER BOOLE_D C 1 X
KOKRS CSKS-KOKRS C 4 Controlling Area
KOSTL CSKS-KOSTL C 10 Cost center
KOSTS TKA00-KOSTS C 1 'X' X Indicator: Cost Center Active
NUREX 0 SPACE X Indicator: Only Existence Validation
RKBUK TKA00-RKBUK C 1 'U' X Indicator: Company Code Check
SPRAS CSKT-SPRAS C 1 SPACE X Language Key
V_BUKRS CSKS-BUKRS C 4 X Company Code Used for Testing
V_GSBER CSKS-GSBER C 4 SPACE X Business Area Used for Testing
V_KATYP CSKB-KATYP C 2 SPACE X Cost Element Category Used for Testing
V_VRGNG COBL-VORGN C 4 SPACE X

Parameter Reference Type Length Text
BUKRS CSKS-BUKRS C 4 Document Company Code
ERROR_OCCURRED 0
GSBER CSKS-GSBER C 4 Business area
KHINR CSKS-KHINR C 12 Cost Center Hierarchy Area
KTEXT CSKT-KTEXT C 20 Cost Center: Short Text
MGEFL CSKS-MGEFL C 1 Indicator: Record Cost Center Quantities (* I_MGEFL)
OBJNR CSKS-OBJNR C 22 Cost Center CO Object Number
OWAER CSKS-WAERS C 5 Cost Center Currency
STAKZ CSKS-STAKZ C 1 Indicator: Statistical Cost Center
XCSKSV CSKSV u 246 View of Cost Center Master

Exception Text
CCA_NOT_ACTIVE
INPUT_ERROR
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

314349Cost element category 90: Raise "MESSAGE_TYPE_NOT_VALID"