Menu

SAP Function Module K_COSTING_VARIANT_GET_INS

Ermittlung Kalkulationsvariante u. Bezugsobjekt bei Referenz oder Kopie

The Function Module K_COSTING_VARIANT_GET_INS (Ermittlung Kalkulationsvariante u. Bezugsobjekt bei Referenz oder Kopie) is a standard Function Module in SAP ERP and is part of the function group KKEA within the package KKEK.

Technical Information

Function Module K_COSTING_VARIANT_GET_INS
Short Text Ermittlung Kalkulationsvariante u. Bezugsobjekt bei Referenz oder Kopie
Function Group KKEA
Package KKEK
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
AUFRUFMODUS TYPE CHAR1 '0' Functionality of the module: 1-Ref 2-oRef 3-Kop
BZOBJ LIKE TCK12-BZOBJ Reference object (for validation of KLVAR)
EXTNR LIKE RK70_KKEA-EXTNR SPACE Bauteilnummer: Übergabe zur Vorlage
KLVAR LIKE TCK03-KLVAR SPACE Proposed costing variant
KOKRS LIKE CKBS-KOKRS SPACE KOKRS of the BZOBJ to be calculated
MATNR LIKE MARA-MATNR SPACE Materialnummer
MEEHT LIKE CKHS-MEEHT SPACE Unit of measure of the costing quantity
MENGE_IMP LIKE CKHS-MENGE 1000 Proposed quantity
POSNR LIKE RK70_KKEA-POSNR '000000' Verkaufsbelegposition: Übergabe zur Vorlage
VBELN LIKE RK70_KKEA-VBELN SPACE Verkaufsbelegnummer: Übergabe zur Vorlage
VERSN LIKE RK70K-VERSN '000' CO-OBjektversion: Übergabe zur Fortschreibung
WERKS LIKE T001W-WERKS SPACE Werk

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ALLE_POSITIONEN_KOPIEREN TYPE CHAR1 Indicator: 'X'-No sel. screen during copying
ER_REF_COST_ESTIMATE CLASS CL_COST_ESTIMATE Referenzkalkulation
KCV_KLVAR LIKE TCK03-KLVAR Costing variant
KCV_MENGE_EXP LIKE CKHS-MENGE Export quantity
KCV_REF_KHS1 LIKE KHS1 Header of the reference calculation

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
KCV_REF_KIS1_EXP LIKE KIS1 Positionen der Referenzkalk.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
MODUS_NOT_FOUND Invalid call mode (valid values: 1,2,3)
OBJECT_NOT_FOUND Reference object not found for costing
OBJECT_NO_INPUT No entry for reference object
POPUP_CANCELLED Popup was cancelled