SAP ABAP Class CL_VERSION_SERVICE_TEM (Services for Version)
Hierarchy
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
   FIN-FSCM-TRM-TM (Application Component) Transaction Manager
     FTEM_EXPOSURE_MGT_AL (Package) Treasury: Exposure Management - Applic. Service Layer
Properties
Class CL_VERSION_SERVICE_TEM  
Short Description Services for Version    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FTEM_EXPOSURE_MGT_AL   Treasury: Exposure Management - Applic. Service Layer 
Created 20050401   SAP 
Last change 20050615   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 TEMCO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 TPMCO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_VERSION_SERVICE_TEM has no interface implemented.
Friends
Class CL_VERSION_SERVICE_TEM has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CLS_VERSION_SERVICE Static Attribute Private Object reference (TYPE REF TO) CL_VERSION_SERVICE_TEM Services for Version 20050401
2 PROTOCOL_HANDLER Instance attribute Private Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protocol Manager 20050401
3 TAB_VERSION Instance attribute Private Type reference (TYPE) TYP_TAB_VERSION_MAPPING Versions Table 20050401
4 VERSION_DB_MANAGER Instance attribute Private Object reference (TYPE REF TO) CL_VERSION_DB_TEM Manager for Database Access to Versions 20050401
5 VERSION_IN_WORK Instance attribute Private Type reference (TYPE) TYP_VERSION_MAPPING Processed Version 20050401
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Private Method Inserts a Message in the Protocol Manager 20050401
2 ANALYZE_VERSION Instance method Public Method Analyzes a Version 20050401
3 CHECK_EXPOSURES_FOR_RESET Instance method Public Method Checks Exposures for Transfer to Hedge Management 20050503
4 CHECK_EXPOSURES_FOR_UPDATE Instance method Public Method Checks Exposures for Transfer to Hedge Management 20050405
5 CHECK_FOR_DELETE Instance method Public Method Checks if Version Can Be Deleted 20050523
6 CHECK_NEW_EXPOSURE Instance method Public Method Checks Input Fields of Exposure Transferred for First Time 20050503
7 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20050401
8 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20050401
9 COPY_MESSAGES Instance method Private Method Copies Messages from Global Log 20050404
10 CREATE_VERSION Instance method Public Method Generates a New Version for a Profile 20050421
11 DELETE_VERSION Instance method Public Method Deletes a Version 20050524
12 GET_ATTRIBUTES Instance method Public Method Gets Essential Attributes 20050401
13 GET_EXPOSURES_DISPLAY Instance method Private Method Gets Exposures for Display 20050523
14 GET_EXPOSURE_MESSAGES Instance method Public Method Gets Messages for an Exposure 20050406
15 GET_VERSIONS_BY_RANGE Instance method Public Method Gets Exposures for Multiple Versions 20050520
16 GET_VERSION_BY_HEDGE_KEY Instance method Public Method Gets a Version that Is Restricted to HM Key 20050523
17 GET_VERSION_SERVICE Static method Public Method Gets Service Manager 20050401
18 RESET_HEDGE_MGT Instance method Public Method Resets Transfer to Hedge Management 20050504
19 RESET_VERSION_BUFFER Instance method Public Method Resets Version Buffer 20080430
20 SET_VERSION_IN_WORK Instance method Private Method Sets Versions To Be Processed 20050401
21 UNLOCK_VERSION Instance method Public Method Unlocks a Version 20050407
22 UPDATE_HEDGE_MGT Instance method Public Method Executes Update in Hedge Management 20050401
Events
Class CL_VERSION_SERVICE_TEM has no event.
Types
Class CL_VERSION_SERVICE_TEM has no local type.
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050404

Method ADD_MESSAGE on class CL_VERSION_SERVICE_TEM has no exception.

Method ANALYZE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050401
2 Exporting EX_REF_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050401
3 Exporting EX_TAB_EXPOSURE Call by reference Type reference (TYPE) TEMY_ANALYZED_EXPOSURE Tabelle von Analyseergebnissen 20050401
4 Importing IM_FLG_READ_HDGMGT Call by reference Type reference (TYPE) TEM_READ_HEDGEMGT TEMCO_XTRUE Daten aus Hedgemanagement lesen 20080430
5 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050401
6 Importing IM_REF_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Nummer der Referenzversion 20050401
7 Importing IM_RNG_PLANNING_PERIOD Call by reference Type reference (TYPE) TEMR_PLANNING_PERIOD Range für Planungsperiode 20080430
8 Importing IM_RNG_PLANNING_YEAR Call by reference Type reference (TYPE) TRGR_POSTING_YEAR Range Buchungsjahr (Geschäftsjahr) 20080430
9 Importing IM_VALUATION_AREA Call by reference Type reference (TYPE) TPM_VAL_AREA Bewertungsbereich 20050401
10 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050401
# Exception Resumable Description Created on
1 ANALYSIS_FAILED 20050401
2 FOREIGN_LOCK Version gesperrt 20050407
3 INPUT_INCONSISTENT Eingabe inkonsistent 20050401

Method CHECK_EXPOSURES_FOR_RESET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050503
2 Exporting EX_TAB_EXPOSURE_DEL Call by reference Type reference (TYPE) TEMY_VERSEXPOS zu löschende Exposures 20050504
3 Exporting EX_TAB_EXPOSURE_UPD Call by reference Type reference (TYPE) TEMY_VERSEXPOS zu ändernde Exposures 20050504
4 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050503
5 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050503
# Exception Resumable Description Created on
1 FAILED Prüfung fehlgeschlagen 20050503

Method CHECK_EXPOSURES_FOR_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050405
2 Exporting EX_TAB_EXPOSURE_NEW Call by reference Type reference (TYPE) TEMY_ANALYZED_EXPOSURE neu anzulegende Exposures 20050405
3 Exporting EX_TAB_EXPOSURE_UPD Call by reference Type reference (TYPE) TEMY_ANALYZED_EXPOSURE vorhandene Exposures 20050405
4 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050405
5 Importing IM_TAB_EXPOSURE Call by reference Type reference (TYPE) TEMY_ANALYZED_EXPOSURE überzuleitende Exposures 20050405
6 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050405
# Exception Resumable Description Created on
1 FAILED Prüfung fehlgeschlagen 20050405

Method CHECK_FOR_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050523
2 Exporting EX_TAB_EXPOSURE Call by reference Type reference (TYPE) TEMY_VERSEXPOS_AL Tabelle von Exposures mehrerer Versionen 20050523
3 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050523
# Exception Resumable Description Created on
1 DELETE_IMPOSSIBLE Löschen nicht möglich 20050523

Method CHECK_NEW_EXPOSURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050503
2 Importing IM_STR_EXPOSURE Call by reference Type reference (TYPE) TEMS_ANALYZED_EXPOSURE Analyseergebnis 20050503
# Exception Resumable Description Created on
1 FAILED 20050503

Method CLASS_CONSTRUCTOR Signature

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

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_VERSION_SERVICE_TEM has no parameter.
Method CONSTRUCTOR on class CL_VERSION_SERVICE_TEM has no exception.

Method COPY_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050404

Method COPY_MESSAGES on class CL_VERSION_SERVICE_TEM has no exception.

Method CREATE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050421
2 Importing IM_FLG_TESTRUN Call by reference Type reference (TYPE) FLAG TEMCO_XFALSE Testlauf 20050421
3 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050421
4 Importing IM_VERSION_DATE Call by reference Type reference (TYPE) TEM_VERSION_DATE Versionsdatum 20050421
# Exception Resumable Description Created on
1 FAILED fehlgeschlagen 20050421

Method DELETE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050524
2 Importing IM_FLG_TESTRUN Call by reference Type reference (TYPE) FLAG TEMCO_XFALSE Testlauf 20050531
3 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050524
# Exception Resumable Description Created on
1 DELETE_FAILED Löschen fehlgeschlagen 20050524

Method GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050401
2 Exporting EX_STR_VERSION_HEADER Call by reference Type reference (TYPE) TEMT_VERSION Versionskopf 20050509
3 Exporting EX_VERSION_DATE Call by reference Type reference (TYPE) TEM_VERSION_DATE Versionsdatum 20050401
4 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050401
5 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050401
# Exception Resumable Description Created on
1 FAILED fehlgeschlagen 20050401

Method GET_EXPOSURES_DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_TAB_EXPOSURE Call by reference Type reference (TYPE) TEMY_VERSEXPOS_AL Tabelle von Exposures mehrerer Versionen 20050523
2 Importing IM_P_VERSION Call by reference Object reference (TYPE REF TO) CL_VERSION_TEM Version für Exposure Management 20050523
# Exception Resumable Description Created on
1 FAILED fehlgeschlagen 20050523

Method GET_EXPOSURE_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_MESSAGES Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Meldungen zum Exposure 20050406
2 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050406
3 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050406
4 Importing IM_STR_EXPOSURE Call by reference Type reference (TYPE) TEMS_ANALYZED_EXPOSURE Analyseergebnis 20050406
5 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050406
# Exception Resumable Description Created on
1 EXPOSURE_NOT_FOUND Exposure nicht gefunden 20050406
2 NO_MESSAGES_FOUND keine Meldungen gefunden 20050406

Method GET_VERSIONS_BY_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050520
2 Exporting EX_TAB_EXPOSURE Call by reference Type reference (TYPE) TEMY_VERSEXPOS_AL Tabelle von Exposures mehrerer Versionen 20050520
3 Importing IM_RNG_PROFILE_ID Call by reference Type reference (TYPE) TEMR_PROFILE_ID Rangetabelle for Profil 20050520
4 Importing IM_RNG_VERSION_DATE Call by reference Type reference (TYPE) TEMR_VERSION_DATE Range für Versionsdatum 20050520
5 Importing IM_RNG_VERSION_NO Call by reference Type reference (TYPE) TEMR_VERSION_NO Rangetabelle für Version 20050520
# Exception Resumable Description Created on
1 FAILED fehlgeschlagen 20050520

Method GET_VERSION_BY_HEDGE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050523
2 Exporting EX_TAB_EXPOSURE Call by reference Type reference (TYPE) TEMY_VERSEXPOS_AL Tabelle von Exposures 20050523
3 Importing IM_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Buchungskreis 20050523
4 Importing IM_HEDGE_PLAN_ID Call by reference Type reference (TYPE) THM_PLANNERID Hedgemanagement: Sicherungsplan-ID 20050523
5 Importing IM_HED_EXPOSURE_ID Call by reference Type reference (TYPE) THM_EXPOSUREID Hedgemanagement: Exposure-ID 20050523
6 Importing IM_TRANSACTION_ID Call by reference Type reference (TYPE) THM_TRANSACTION Sicherungsverwaltung: Transaktion 20050523
# Exception Resumable Description Created on
1 NO_VERSION_FOUND keine Version gefunden 20050523

Method GET_VERSION_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050401
2 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Version 20050401
3 Returning RE_P_VERSION_SERVICE Value transfer Object reference (TYPE REF TO) CL_VERSION_SERVICE_TEM Dienste der Version 20050401
# Exception Resumable Description Created on
1 FAILED falsche Eingabeparameter 20050401

Method RESET_HEDGE_MGT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050504
2 Exporting EX_TAB_EXPOSURE_CHANGED Call by reference Type reference (TYPE) TEMY_ANALYZED_EXPOSURE geänderte Exposures 20050504
3 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050504
4 Importing IM_TAB_EXPOSURE_DEL Call by reference Type reference (TYPE) TEMY_VERSEXPOS zu löschende Exposures 20050504
5 Importing IM_TAB_EXPOSURE_UPD Call by reference Type reference (TYPE) TEMY_VERSEXPOS zu ändernde Exposures 20050504
6 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050504
# Exception Resumable Description Created on
1 FAILED fehlgeschlagen 20050504

Method RESET_VERSION_BUFFER Signature

Method RESET_VERSION_BUFFER on class CL_VERSION_SERVICE_TEM has no parameter.
Method RESET_VERSION_BUFFER on class CL_VERSION_SERVICE_TEM has no exception.

Method SET_VERSION_IN_WORK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FLG_LOCK Call by reference Type reference (TYPE) FLAG TEMCO_XFALSE Version sperren 20050407
2 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050401
3 Importing IM_RNG_PLANNING_PERIOD Call by reference Type reference (TYPE) TEMR_PLANNING_PERIOD Range für Planungsperiode 20080430
4 Importing IM_RNG_PLANNING_YEAR Call by reference Type reference (TYPE) TRGR_POSTING_YEAR Range Buchungsjahr (Geschäftsjahr) 20080430
5 Importing IM_SCOPE Call by reference Type reference (TYPE) CHAR1 TEMCO_CHAR_2 2 = Sperre geht an Verbucher über, 3 = Sperre bleibt 20050420
6 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Version 20050401
# Exception Resumable Description Created on
1 FAILED fehlgeschlagen 20050401
2 FOREIGN_LOCK Gesperrt 20050407
3 INPUT_INCONSISTENT Eingabe fehlerhaft 20050401

Method UNLOCK_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050407
2 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050407

Method UNLOCK_VERSION on class CL_VERSION_SERVICE_TEM has no exception.

Method UPDATE_HEDGE_MGT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_P_PROTOCOL_HANDLER Call by reference Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_TRP Protokollverwalter 20050401
2 Exporting EX_TAB_CHANGED_EXPOSURE Call by reference Type reference (TYPE) TEMY_ANALYZED_EXPOSURE geänderte Exposures 20050406
3 Importing IM_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Buchungskreis 20050404
4 Importing IM_HEDGE_PLAN_ID Call by reference Type reference (TYPE) THM_PLANNERID Hedgemanagement: Sicherungsplan-ID 20050404
5 Importing IM_PROFILE_ID Call by reference Type reference (TYPE) TEM_PLANNING_PROFILE Planungsprofil 20050401
6 Importing IM_TAB_EXPOSURE_NEW Call by reference Type reference (TYPE) TEMY_ANALYZED_EXPOSURE neu anzulegende Exposures 20050405
7 Importing IM_TAB_EXPOSURE_UPD Call by reference Type reference (TYPE) TEMY_ANALYZED_EXPOSURE vorhandene Exposure 20050405
8 Importing IM_VERSION_NO Call by reference Type reference (TYPE) TEM_VERSION Versionsnummer 20050401
# Exception Resumable Description Created on
1 FAILED fehlgeschlagen 20050401
2 INPUT_MISSING Eingabeparameter unzureichend 20050404
History
Last changed by/on SAP  20050615 
SAP Release Created in 600