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 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
2 | ![]() |
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 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SRMGS_DOC_ID | LOIO on Which the Version Depends | 20000614 | ||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SRMGS_DOC_VAR_ID | Required Variant for Context Solution | 20000614 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SRMGS_DOC_VER_ID | Current version number | 20000619 | ||
4 | ![]() |
Constant | Public | Type reference (TYPE) | SRMGS_DOC_VAR_ID | 0 | No Variant | 20011026 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | SRMGS_DOC_VER_ID | 0 | No Version | 20011026 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Constructor | Constructor | 20000505 |
2 | ![]() |
Instance method | Public | Method | Create a Variant | 20000614 |
3 | ![]() |
Instance method | Public | Method | Get variant | 20000502 |
4 | ![]() |
Instance method | Public | Method | Get Information on All Variants | 20000609 |
5 | ![]() |
Instance method | Protected | Method | Create Variant Object | 20001011 |
6 | ![]() |
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 | ![]() |
DOCUMENT | Call by reference | Object reference (TYPE REF TO) | CL_SRM_DOCUMENT | Umschliessendes Dokumenten-Objekt | 20001011 | ||
2 | ![]() |
DOC_ID | Call by reference | Type reference (TYPE) | SRMGS_DOC_ID | Dokumenten-ID der Version | 20000505 | ||
3 | ![]() |
OWN_VARIANT_ID | Call by reference | Type reference (TYPE) | I | 20020716 | |||
4 | ![]() |
OWN_VERSION_ID | Call by reference | Type reference (TYPE) | I | 20020716 | |||
5 | ![]() |
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 | ![]() |
NEW_VARIANT | Call by reference | Object reference (TYPE REF TO) | CL_SRM_VARIANT | Referenz auf neue Variante | 20000614 | ||
2 | ![]() |
NEW_VARIANT_TAG | Value transfer | Type reference (TYPE) | SRMGS_DOC_VAR_TG | VARIANT_TAG_ORIGINAL | Tag der neuen Variante | 20000614 | |
3 | ![]() |
OLD_VARIANT_ID | Value transfer | Type reference (TYPE) | SRMGS_DOC_VAR_ID | NO_VARIANT | DUMMY: Variante, von der diese abgezweigt werden soll | 20000614 | |
4 | ![]() |
OLD_VERSION_ID | Value transfer | Type reference (TYPE) | SRMGS_DOC_VER_ID | NO_VERSION | DUMMY: Version, von der diese abgezweigt werden soll | 20000704 | |
5 | ![]() |
PROPERTIES | Call by reference | Type reference (TYPE) | SRMGS_PROPERTY_TAB | Eigenschaften der neuen Variante | 20000614 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
internal error | 20000614 | |
2 | ![]() |
authorization failure -- check user authorizations | 20000614 | |
3 | ![]() |
Action not allowed -- eg: when content type is 2 | 20001117 | |
4 | ![]() |
input parameters are wrong | 20000614 |
Method GET_VARIANT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
VARIANT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_VARIANT | Variante | 20000502 | ||
2 | ![]() |
VARIANT_ID | Call by reference | Type reference (TYPE) | SRMGS_DOC_VAR_ID | PRESET_VALUE | Variante | 20000502 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Interner Fehler | 20000502 | |
2 | ![]() |
Gewünschte Variante wurde nicht gefunden | 20000614 | |
3 | ![]() |
Falsche Eingabeparameter | 20000502 |
Method GET_VARIANTS_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PROPERTIES | Call by reference | Type reference (TYPE) | SRMGS_PROPERTY_TAB | Gewünschte Properties | 20000609 | ||
2 | ![]() |
VARIANTS | Call by reference | Type reference (TYPE) | SRMGS_OBJECT_TAB | Liste der Objekt-Properties | 20000609 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Interner Fehler | 20000609 | |
2 | ![]() |
Nicht authorisiert | 20000609 | |
3 | ![]() |
Eingabeparameter falsch | 20000609 |
Method P_CREATE_VARIANT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DOC_ID | Call by reference | Type reference (TYPE) | SRMGS_DOC_ID | Doku-ID der Variante | 20001011 | ||
2 | ![]() |
OBJECT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_VARIANT | Erzeugte Variante | 20001011 | ||
3 | ![]() |
VARIANT_ID | Call by reference | Type reference (TYPE) | I | 20020719 | |||
4 | ![]() |
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 | ![]() |
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 |