Menu

SAP Function Module K_COST_OBJECT_ATTACH_ITEMS

CO-PC: Zuordnung von Einzelobjekten zu einem Kostenträger

The Function Module K_COST_OBJECT_ATTACH_ITEMS (CO-PC: Zuordnung von Einzelobjekten zu einem Kostenträger) is a standard Function Module in SAP ERP and is part of the function group KKP0 within the package KKP.

Technical Information

Function Module K_COST_OBJECT_ATTACH_ITEMS
Short Text CO-PC: Zuordnung von Einzelobjekten zu einem Kostenträger
Function Group KKP0
Package KKP
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_ACTVT LIKE TACT-ACTVT '03' Aktivität
I_CKPHS LIKE CKPHS SPACE Daten zur KTR-Art
I_COSTOBJECT_ENQUEUED TYPE C SPACE Kennz.: Daten zum Kostentr. bereits gesperrt
I_COSTOBJECT_FILLED TYPE C SPACE Kennz.: Daten zum Kostentr. bereits eingelesen
I_MSG_SEND TYPE C '0' Ausgabe der Nachrichten (F2 - Doku)
I_SCREEN TYPE C ' ' Ausgabe der Daten auf Dynpro

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_COMMIT TYPE C Kennz.: Commit des Aufrufers erforderlich

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
R_COSTOBJECT TYPE KKP0_OBJDATA Stammdaten des Kostenträgers

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_ITEM TYPE KKP0_T_ITEM Output: Einzelobjekte zum Kostenträger
T_ITEM_CAT TYPE KKP0_T_ITEM_ENTRY Input: Einzelobjekte (Typ TYP_T_ITEM_ENTRY)

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DATA_ERROR Dateninkonsistenz
ENQUEUE_FAILED Sperrfehler
INPUT_ERROR Aufrufparameter unvollständig
NOT_ALLOWED Aktivität für Kostenträger nicht erlaubt
NOT_FOUND Kostenträger nicht vorhanden
NO_AUTHORITY keine Berechtigung