SAP ABAP Class CL_VMS_CALCULATION_SHEET (Calculation sheet for VMS)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-A-VMS (Application Component) Vehicle Management System
     ISAUTO_VLC (Package) Vehicle Management System (VMS)
Properties
Class CL_VMS_CALCULATION_SHEET  
Short Description Calculation sheet for VMS    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package ISAUTO_VLC   Vehicle Management System (VMS) 
Created 20040217   SAP 
Last change 20050301   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 VLCH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_VMS_CALCULATION_SHEET has no interface implemented.
Friends
Class CL_VMS_CALCULATION_SHEET has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACTION_CODE_CV Instance attribute Private Type reference (TYPE) VLC_ACTION Action 20040220
2 BADI_CO Instance attribute Private Object reference (TYPE REF TO) IF_EX_VLC_USED_VEHICLES Business add-in interface IF_EX_VLC_USED_VEHICLES 20040629
3 CS_STEP_CV Instance attribute Private Type reference (TYPE) VLC_CSSTEP Step number of the VMS calculation sheet 20040220
4 CVLC00_CS Static Attribute Private Type reference (TYPE) CVLC00 Global VMS parameters 20040217
5 CVLC30_CS Instance attribute Private Type reference (TYPE) CVLC30 VMS calculation sheet profile 20040415
6 CVLC31_CT Instance attribute Private Type reference (TYPE) CVLC31_T Assignment of calculation sheet section to the VMS action 20040415
7 CVLC32_CT Instance attribute Private Type reference (TYPE) CVLC32_T Actions that can modify calc.sheet step 20040415
8 C_BBDF Constant Private Type reference (TYPE) VLC_ACTION 'BBDF' Action 20040220
9 C_LT_TDID_BBDF Constant Public Type reference (TYPE) THEAD-TDID 'BBDF' Text ID 20040602
10 FALSE Constant Private Type reference (TYPE) XFLAG ' ' New Input Values 20040217
11 HEADER_CALC_SHEET_CV Instance attribute Private Type reference (TYPE) XFLAG 'X' if for this action calc. sheet is edited on header level 20040225
12 LONG_TEXT_CO Instance attribute Private Object reference (TYPE REF TO) CL_VMS_LONG_TEXT Long Texts for Header, Version or Item 20040602
13 TRUE Constant Private Type reference (TYPE) XFLAG 'X' New Input Values 20040217
14 VEHICLE_CALCSHEET_CT Instance attribute Private Type reference (TYPE) VEHICLE_CALCSHEET_T Calc. sheet info of individual vehicles 20040225
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CALCSHEET_EXISTS Static method Public Method 20040318
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20040217
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20040220
4 COPY_KOMV_TO_ALL_VEHICLES Instance method Private Method 20040301
5 CREATE_NEW Static method Public Method Creates new calculation sheet 20040217
6 CREATE_REFERENCE_TO_VEHICLE Static method Public Method Creates reference to other vehicle without order creation 20040318
7 DETERMINE_HEADER_CALCSHEET Static method Private Method Determ. if calc. sheet for action is on the head or itm. lvl 20040225
8 DISPLAY Instance method Public Method Display calculation sheet of the vehicle 20040318
9 EDIT Instance method Public Method Calls calculation sheet editor 20040220
10 FIND_CALCSHEET_OBJECT Instance method Private Method Finds calcsheet vehicle object for provided vehicle number 20040225
11 GET_ACTION_AMOUNT Instance method Public Method Returns amount from calc. sheet mapped to the action 20040223
12 GET_BBDF_LONG_TEXTS Instance method Public Method 20040602
13 GET_CALCSHEET_PROFILE Static method Private Method Returns calculation sheet profile for the model 20040217
14 IS_CALCSHEET_ACTION Static method Public Method Check if the action is calc.sheet relevant for this model 20040220
15 PREPARE_KOMK Instance method Private Method Prepares komk structure 20040223
16 PREPARE_KOMP Instance method Private Method prepares komp structure 20040223
17 SAVE Instance method Public Method Saves modified conditions to the database 20040226
18 SWITCH_BBACK_OWNERSHIP Static method Public Method Guid of new vhcl -> to prev_guid used guid -> vguid 20040318
19 VALIDATE_LIST_FOR_CREATE Static method Public Method Check if new calc. sheets can be created for each vehicle 20040217
20 VALIDATE_MODIFIED_STEPS Instance method Private Method Check if changed steps are allowed to be changed by action 20040415
Events
Class CL_VMS_CALCULATION_SHEET has no event.
Types
Class CL_VMS_CALCULATION_SHEET has no local type.
Method Signatures

Method CHECK_CALCSHEET_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EXISTS_RV Value transfer Type reference (TYPE) XFLAG Neue Eingabewerte 20040318
2 Importing VGUID_IV Call by reference Type reference (TYPE) VLC_GUID Fahrzeug-GUID (Globally Unique Identifier) 20040318

Method CHECK_CALCSHEET_EXISTS on class CL_VMS_CALCULATION_SHEET has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_VMS_CALCULATION_SHEET has no parameter.
Method CLASS_CONSTRUCTOR on class CL_VMS_CALCULATION_SHEET has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTION_CODE_IV Call by reference Type reference (TYPE) VLC_ACTION Aktion 20040220
2 Importing VLCDIAVEHI_IT Call by reference Type reference (TYPE) VLCDIAVEHI_T VELO: Tabellentyp für VLCDIAVEHI 20040220
# Exception Resumable Description Created on
1 NOT_CREATED Object was not created due to errors 20040220

Method COPY_KOMV_TO_ALL_VEHICLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VEHICLE_CALCSHEET_SRC_IO Call by reference Object reference (TYPE REF TO) LCL_VEHICLE_CALCSHEET 20040301

Method COPY_KOMV_TO_ALL_VEHICLES on class CL_VMS_CALCULATION_SHEET has no exception.

Method CREATE_NEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CREATED_EV Call by reference Type reference (TYPE) XFLAG Neue Eingabewerte 20040217
2 Importing VLCDIAVEHI_IT Call by reference Type reference (TYPE) VLCDIAVEHI_T VELO: Tabellentyp für VLCDIAVEHI 20040217
3 Changing VLCH_MSSG_CT Call by reference Type reference (TYPE) VLCH_MSSG_PT 20040217
4 Exporting VLC_BBACK_ET Call by reference Type reference (TYPE) VLC_BBACK_T 20040318
# Exception Resumable Description Created on
1 NOT_CREATED 20040302

Method CREATE_REFERENCE_TO_VEHICLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PREV_GUID_IV Call by reference Type reference (TYPE) VLC_GUID Fahrzeug-GUID (Globally Unique Identifier) 20040318
2 Importing USED_GUID_IV Call by reference Type reference (TYPE) VLC_GUID Fahrzeug-GUID (Globally Unique Identifier) 20040318

Method CREATE_REFERENCE_TO_VEHICLE on class CL_VMS_CALCULATION_SHEET has no exception.

Method DETERMINE_HEADER_CALCSHEET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTION_CODE_IV Call by reference Type reference (TYPE) VLC_ACTION Aktion 20040225
2 Returning HEADER_CALCSHEET_RV Value transfer Type reference (TYPE) XFLAG Neue Eingabewerte 20040225

Method DETERMINE_HEADER_CALCSHEET on class CL_VMS_CALCULATION_SHEET has no exception.

Method DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VGUID_IV Call by reference Type reference (TYPE) VLC_GUID Interne Fahrzeugnummer 20040318

Method DISPLAY on class CL_VMS_CALCULATION_SHEET has no exception.

Method EDIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting AMOUNT_EV Call by reference Type reference (TYPE) VLC_AMOUNT VMS-Konditionsbetrag 20040220
2 Exporting CURR_EV Call by reference Type reference (TYPE) VLC_CONCRNCY Konditionswährung 20040220
3 Importing VGUID_IV Call by reference Type reference (TYPE) VLC_GUID Interne Fahrzeugnummer 20040318
# Exception Resumable Description Created on
1 CUSTOMIZING_ERROR Error in customizing encountered 20040223

Method FIND_CALCSHEET_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VEHICLE_CALCSHEET_RO Value transfer Object reference (TYPE REF TO) LCL_VEHICLE_CALCSHEET 20040225
2 Importing VGUID_IV Call by reference Type reference (TYPE) VLC_GUID Interne Fahrzeugnummer 20040318

Method FIND_CALCSHEET_OBJECT on class CL_VMS_CALCULATION_SHEET has no exception.

Method GET_ACTION_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting AMOUNT_EV Call by reference Type reference (TYPE) VLC_AMOUNT VMS-Konditionsbetrag 20040223
2 Exporting CURR_EV Call by reference Type reference (TYPE) VLC_CONCRNCY Konditionswährung 20040223
3 Importing VGUID_IV Call by reference Type reference (TYPE) VLC_GUID Interne Fahrzeugnummer 20040318
# Exception Resumable Description Created on
1 CUSTOMIZING_ERROR 20040223

Method GET_BBDF_LONG_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LONG_TEXT_RO Value transfer Object reference (TYPE REF TO) CL_VMS_LONG_TEXT Long Texts for Header, Version or Item 20040602

Method GET_BBDF_LONG_TEXTS on class CL_VMS_CALCULATION_SHEET has no exception.

Method GET_CALCSHEET_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CVLC30_ES Call by reference Type reference (TYPE) CVLC30 VMS: Profil für Kalkulationsblatt 20040217
2 Exporting CVLC31_ET Call by reference Type reference (TYPE) CVLC31_T Zuordnung Kalkulationsblatt-Abschnitt zu VMS-Aktion 20040217
3 Exporting CVLC32_ET Call by reference Type reference (TYPE) CVLC32_T Aktionen, die Schritt im Kalkulationsblatt verändern können 20040415
4 Importing MODEL_IV Call by reference Type reference (TYPE) VLC_MATNR Fahrzeugmodell 20040217
# Exception Resumable Description Created on
1 NOT_DETERMINED 20040302

Method IS_CALCSHEET_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTION_CODE_IV Call by reference Type reference (TYPE) VLC_ACTION Aktion 20040220
2 Exporting CALCSHEET_ACTION_EV Call by reference Type reference (TYPE) XFLAG Neue Eingabewerte 20040220
3 Importing VLCDIAVEHI_IT Call by reference Type reference (TYPE) VLCDIAVEHI_T VELO: Tabellentyp für VLCDIAVEHI 20040220

Method IS_CALCSHEET_ACTION on class CL_VMS_CALCULATION_SHEET has no exception.

Method PREPARE_KOMK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning KOMK_RS Value transfer Type reference (TYPE) KOMK Kommunikationskopf für Preisfindung 20040223
2 Importing VBAK_IS Call by reference Type reference (TYPE) VBAK Verkaufsbeleg: Kopfdaten ; 20040223

Method PREPARE_KOMK on class CL_VMS_CALCULATION_SHEET has no exception.

Method PREPARE_KOMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning KOMP_RS Value transfer Type reference (TYPE) KOMP Preisfindung Kommunikationsposition 20040223
2 Importing VBAP_IS Call by reference Type reference (TYPE) VBAP Verkaufsbeleg: Positionsdaten ; 20040223

Method PREPARE_KOMP on class CL_VMS_CALCULATION_SHEET has no exception.

Method SAVE Signature

Method SAVE on class CL_VMS_CALCULATION_SHEET has no parameter.
Method SAVE on class CL_VMS_CALCULATION_SHEET has no exception.

Method SWITCH_BBACK_OWNERSHIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NEW_VHCLE_GUID_IV Call by reference Type reference (TYPE) VLC_GUID Fahrzeug-GUID (Globally Unique Identifier) 20040318
2 Importing USED_VHCLE_GUID_IV Call by reference Type reference (TYPE) VLC_GUID Fahrzeug-GUID (Globally Unique Identifier) 20040318

Method SWITCH_BBACK_OWNERSHIP on class CL_VMS_CALCULATION_SHEET has no exception.

Method VALIDATE_LIST_FOR_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CREATION_POSSIBLE_EV Call by reference Type reference (TYPE) XFLAG Neue Eingabewerte 20040217
2 Importing VLCDIAVEHI_IT Call by reference Type reference (TYPE) VLCDIAVEHI_T VELO: Tabellentyp für VLCDIAVEHI 20040217
3 Changing VLCH_MSSG_CT Call by reference Type reference (TYPE) VLCH_MSSG_PT Nachrichten 20040217

Method VALIDATE_LIST_FOR_CREATE on class CL_VMS_CALCULATION_SHEET has no exception.

Method VALIDATE_MODIFIED_STEPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VALID_RV Value transfer Type reference (TYPE) XFLAG Neue Eingabewerte 20040415
2 Importing XKOMV_AFTER_IT Call by reference Type reference (TYPE) VA_KOMV_T 20040415
3 Importing XKOMV_BEFORE_IT Call by reference Type reference (TYPE) VA_KOMV_T 20040415

Method VALIDATE_MODIFIED_STEPS on class CL_VMS_CALCULATION_SHEET has no exception.
History
Last changed by/on SAP  20050301 
SAP Release Created in 500