SAP ABAP Function Module K_COSTING_VARIANT_GET_INS (Ermittlung Kalkulationsvariante u. Bezugsobjekt bei Referenz oder Kopie)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-CIC (Application Component) Interaction Center WinClient
     KKEK (Package) Cost accounting unit costing
Basic Data
Function Module K_COSTING_VARIANT_GET_INS Ermittlung Kalkulationsvariante u. Bezugsobjekt bei Referenz oder Kopie  
Function Group KKEA   Determine Costing Variant and Reference  
Program Name SAPLKKEA   Function Group KKEA 
INCLUDE Name LKKEAU03    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting ALLE_POSITIONEN_KOPIEREN TYPE CHAR1 Indicator: 'X'=No sel. screen during copying
Exporting KCV_KLVAR TYPE TCK03-KLVAR Costing variant
Exporting KCV_MENGE_EXP TYPE CKHS-MENGE Export quantity
Exporting KCV_REF_KHS1 TYPE KHS1 Header of the reference calculation
Exporting ER_REF_COST_ESTIMATE TYPE REF TO CL_COST_ESTIMATE Referenzkalkulation
Importing AUFRUFMODUS TYPE CHAR1 '0' Functionality of the module: 1=Ref 2=oRef 3=Kop
Importing BZOBJ TYPE TCK12-BZOBJ Reference object (for validation of KLVAR)
Importing KLVAR TYPE TCK03-KLVAR SPACE Proposed costing variant
Importing KOKRS TYPE CKBS-KOKRS SPACE KOKRS of the BZOBJ to be calculated
Importing MATNR TYPE MARA-MATNR SPACE Materialnummer
Importing MEEHT TYPE CKHS-MEEHT SPACE Unit of measure of the costing quantity
Importing MENGE_IMP TYPE CKHS-MENGE 1000 Proposed quantity
Importing WERKS TYPE T001W-WERKS SPACE Werk
Importing VERSN TYPE RK70K-VERSN '000' CO-OBjektversion: Übergabe zur Fortschreibung
Importing VBELN TYPE RK70_KKEA-VBELN SPACE Verkaufsbelegnummer: Übergabe zur Vorlage
Importing POSNR TYPE RK70_KKEA-POSNR '000000' Verkaufsbelegposition: Übergabe zur Vorlage
Importing EXTNR TYPE RK70_KKEA-EXTNR SPACE Bauteilnummer: Übergabe zur Vorlage
Tables KCV_REF_KIS1_EXP TYPE KIS1 Positionen der Referenzkalk.
Exception MODUS_NOT_FOUND TYPE Invalid call mode (valid values: 1,2,3)
Exception OBJECT_NOT_FOUND TYPE Reference object not found for costing
Exception OBJECT_NO_INPUT TYPE No entry for reference object
Exception POPUP_CANCELLED TYPE Popup was cancelled
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19931201 
SAP Release Created in