The Function Module K_UNITCOSTING_KEY_TO_OBJ_GET (Ermitteln des Schlüssels einer Einzelkalkulation zu einem Bezugsobjekt) is a standard Function Module in SAP ERP and is part of the function group KKEA within the package KKEK.
Function Module | K_UNITCOSTING_KEY_TO_OBJ_GET |
Short Text | Ermitteln des Schlüssels einer Einzelkalkulation zu einem Bezugsobjekt |
Function Group | KKEA |
Package | KKEK |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
KUK_AUFNR | LIKE | AUFK-AUFNR | SPACE | Auftragsnummer |
KUK_EXTNR | LIKE | CKBS-EXTNR | SPACE | Bauteilnummer |
KUK_GJAHR | LIKE | BPJA-GJAHR | 0 | Geschäftsjahr ( für Auftrag und PSP ) |
KUK_KOKRS | LIKE | CKHS-KOKRS | Kostenrechnungskreis | |
KUK_KSTRG | LIKE | CKPH-KSTRG | SPACE | Kostenträgernummer |
KUK_LEDNR_IMP | LIKE | CKHS-LEDNR | '00' | Ledgernummer |
KUK_POSNR | LIKE | VBAP-POSNR | '000000' | Position im Vertriebsbeleg |
KUK_PRONR | LIKE | PRPS-PSPNR | SPACE | PSP-Elementnummer |
KUK_SPRAS | LIKE | SY-LANGU | Sprache | |
KUK_VBELN | LIKE | VBAP-VBELN | SPACE | Vertriebsbeleg |
KUK_VORNR | LIKE | AFVC-VORNR | SPACE | Vorgangsnummer (Projektsystem) |
KUK_VSNMR | LIKE | VSKOPF-VSNMR | SPACE | Versionsnummer (Projektsystem) |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
KUK_BWVAR | LIKE | CKHS-BWVAR | Bewertungsvariante | |
KUK_BZOBJ | LIKE | CKHS-BZOBJ | Bezugsobjekt | |
KUK_KADKY | LIKE | CKHS-KADKY | Kalkulationsdatum(Key) | |
KUK_KALKA | LIKE | CKHS-KALKA | Kalkulationsart | |
KUK_KALNR | LIKE | CKHS-KALNR | Kalkulationsnummer | |
KUK_KKZMA | LIKE | CKHS-KKZMA | Kennzeichen manuell erfasst | |
KUK_LEDNR | LIKE | CKHS-LEDNR | Ledgernummer | |
KUK_TVERS | LIKE | CKHS-TVERS | Technische Version |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
ASSEMBLY_NOT_FOUND | Bauteil im Kostenrechnungskreis nicht vorhanden |
BZOBJ_NOT_FOUND | Bezugsobjekt nicht in Steuertabelle |
COST_NEEDS_DATE | Kalkulationsdatum für Keybestimmung notwendig |
COST_NOT_FOUND | Kalkulation nicht vorhanden |
COST_OBJECT_NOT_FOUND | Kostenträger existiert nicht |
KLVAR_NOT_FOUND | Kalkulationsvariante nicht vorhanden |
ORDER_NOT_FOUND | Auftrag ist im Kostenrechnungsk.nicht vorhanden |
PSP_NOT_FOUND | PSP-Element ist im Kostenrechnungsk. nicht vorh. |
TYPE_NOT_FOUND | Kalkulationsart nicht vorhanden |
VERS_NOT_FOUND | Kalkulationsversion nicht vorhanden |
WRONG_COST_OBJECT_KOKRS | Kostenträger ist einem anderen KOKRS zugeordnet |
WRONG_ORDER_KOKRS | Auftrag ist vorgegeben Kokrs. nicht zugeordnet |
WRONG_PSP_KOKRS | PSP ist vorgegeben Kokrs. nicht zugeordnet |