SAP ABAP Class CL_SRM_VERSION (Version of a Document)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-RM (Application Component) SAP Records Management
     SRM_GENERIC_SP (Package) Records Management Generic Service Provider
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SRM_PHYS_INFOOBJECT Physical Information Object 20000608
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SRM_VERSION GSP 2: Interface Version 20030708
Properties
Class CL_SRM_VERSION  
Short Description Version of a Document    
Super Class CL_SRM_PHYS_INFOOBJECT Physical Information Object 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package SRM_GENERIC_SP   Records Management Generic Service Provider 
Created 20000502   SAP 
Last change 20090618   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_SRM_VARIANT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 SRMGS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SRM_VERSION GSP 2: Interface Version 20030708
Friends
# Friend Modeled only Created on Description
1 CL_SRM_DOCUMENT 20001024 Represents a Document
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MY_LOIO_ID Instance attribute Private Type reference (TYPE) SRMGS_DOC_ID LOIO on Which the Version Depends 20000614
2 MY_VARIANT_ID Instance attribute Private Type reference (TYPE) SRMGS_DOC_VAR_ID Required Variant for Context Solution 20000614
3 MY_VERSION_ID Instance attribute Private Type reference (TYPE) SRMGS_DOC_VER_ID Current version number 20000619
4 NO_VARIANT Constant Public Type reference (TYPE) SRMGS_DOC_VAR_ID 0 No Variant 20011026
5 NO_VERSION Constant Public Type reference (TYPE) SRMGS_DOC_VER_ID 0 No Version 20011026
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20000505
2 CREATE_VARIANT Instance method Public Method Create a Variant 20000614
3 GET_VARIANT Instance method Public Method Get variant 20000502
4 GET_VARIANTS_INFO Instance method Public Method Get Information on All Variants 20000609
5 P_CREATE_VARIANT Instance method Protected Method Create Variant Object 20001011
6 P_GET_PREVIOUS_VERSION Instance method Private Method Get the Previous Version Number 20010312
Events
Class CL_SRM_VERSION has no event.
Types
Class CL_SRM_VERSION has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DOCUMENT Call by reference Object reference (TYPE REF TO) CL_SRM_DOCUMENT Umschliessendes Dokumenten-Objekt 20001011
2 Importing DOC_ID Call by reference Type reference (TYPE) SRMGS_DOC_ID Dokumenten-ID der Version 20000505
3 Importing OWN_VARIANT_ID Call by reference Type reference (TYPE) I 20020716
4 Importing OWN_VERSION_ID Call by reference Type reference (TYPE) I 20020716
5 Importing VARIANT_ID Call by reference Type reference (TYPE) SRMGS_DOC_VAR_ID Gewünschte Variante 20001011

Method CONSTRUCTOR on class CL_SRM_VERSION has no exception.

Method CREATE_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting NEW_VARIANT Call by reference Object reference (TYPE REF TO) CL_SRM_VARIANT Referenz auf neue Variante 20000614
2 Importing NEW_VARIANT_TAG Value transfer Type reference (TYPE) SRMGS_DOC_VAR_TG VARIANT_TAG_ORIGINAL Tag der neuen Variante 20000614
3 Importing OLD_VARIANT_ID Value transfer Type reference (TYPE) SRMGS_DOC_VAR_ID NO_VARIANT DUMMY: Variante, von der diese abgezweigt werden soll 20000614
4 Importing OLD_VERSION_ID Value transfer Type reference (TYPE) SRMGS_DOC_VER_ID NO_VERSION DUMMY: Version, von der diese abgezweigt werden soll 20000704
5 Importing PROPERTIES Call by reference Type reference (TYPE) SRMGS_PROPERTY_TAB Eigenschaften der neuen Variante 20000614
# Exception Resumable Description Created on
1 INTERNAL_ERROR internal error 20000614
2 NOT_AUTHORIZED authorization failure -- check user authorizations 20000614
3 NOT_POSSIBLE Action not allowed -- eg: when content type is 2 20001117
4 PARAMETER_ERROR input parameters are wrong 20000614

Method GET_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VARIANT Value transfer Object reference (TYPE REF TO) CL_SRM_VARIANT Variante 20000502
2 Importing VARIANT_ID Call by reference Type reference (TYPE) SRMGS_DOC_VAR_ID PRESET_VALUE Variante 20000502
# Exception Resumable Description Created on
1 INTERNAL_ERROR Interner Fehler 20000502
2 NOT_FOUND Gewünschte Variante wurde nicht gefunden 20000614
3 PARAMETER_ERROR Falsche Eingabeparameter 20000502

Method GET_VARIANTS_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROPERTIES Call by reference Type reference (TYPE) SRMGS_PROPERTY_TAB Gewünschte Properties 20000609
2 Exporting VARIANTS Call by reference Type reference (TYPE) SRMGS_OBJECT_TAB Liste der Objekt-Properties 20000609
# Exception Resumable Description Created on
1 INTERNAL_ERROR Interner Fehler 20000609
2 NOT_AUTHORIZED Nicht authorisiert 20000609
3 PARAMETER_ERROR Eingabeparameter falsch 20000609

Method P_CREATE_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DOC_ID Call by reference Type reference (TYPE) SRMGS_DOC_ID Doku-ID der Variante 20001011
2 Returning OBJECT Value transfer Object reference (TYPE REF TO) CL_SRM_VARIANT Erzeugte Variante 20001011
3 Importing VARIANT_ID Call by reference Type reference (TYPE) I 20020719
4 Importing VERSION_ID Call by reference Type reference (TYPE) I 20020719

Method P_CREATE_VARIANT on class CL_SRM_VERSION has no exception.

Method P_GET_PREVIOUS_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PREVIOUS_VERSION Value transfer Type reference (TYPE) I 20010312

Method P_GET_PREVIOUS_VERSION on class CL_SRM_VERSION has no exception.
History
Last changed by/on SAP  20090618 
SAP Release Created in 46D