SAP ABAP Class /MRSS/CL_SGW_VARIANT_DB (Variant functions)
Hierarchy
☛
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
⤷
PM-WOC (Application Component) Maintenance Processing
⤷
/MRSS/SGW (Package) MRS Planning Board Web Interface
⤷
⤷
Properties
| Class | /MRSS/CL_SGW_VARIANT_DB | |
| Short Description | Variant functions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /MRSS/SGW | MRS Planning Board Web Interface |
| Created | 20100901 | SAP |
| Last change | 20141109 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /MRSS/CL_SGW_VARIANT_DB has no forward declaration.
Interfaces
Class /MRSS/CL_SGW_VARIANT_DB has no interface implemented.
Friends
Class /MRSS/CL_SGW_VARIANT_DB has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | /MRSS/T_BOOLEAN | SPACE | Boolean Variable | 20120911 | ||
| 2 | Constant | Public | Type reference (TYPE) | /MRSS/T_BOOLEAN | 'X' | Boolean Variable | 20120911 | ||
| 3 | Constant | Public | Type reference (TYPE) | ARBGB | '/MRSS/SGW' | Application Area | 20120911 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR1 | 'E' | Single-Character Flag | 20120911 | ||
| 5 | Constant | Public | Type reference (TYPE) | /MRSS/SGW_VAR_SCOPE | '2' | Scope of the Variant | 20120911 | ||
| 6 | Constant | Public | Type reference (TYPE) | /MRSS/SGW_VAR_SCOPE | '1' | Scope of the Variant | 20120911 | ||
| 7 | Constant | Public | Type reference (TYPE) | /MRSS/SGW_VAR_SCOPE | '0' | Scope of the Variant | 20120911 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checking variant availability | 20100901 | |
| 2 | Static method | Public | Method | Fetch data from DB without range table. | 20100901 | |
| 3 | Static method | Public | Method | Get default variant | 20100901 | |
| 4 | Static method | Public | Method | Get the list of variants | 20100901 | |
| 5 | Static method | Private | Method | Convert error message to table type | 20100901 | |
| 6 | Static method | Public | Method | Fetch data from DB table | 20100901 | |
| 7 | Static method | Public | Method | Reset dafault variant | 20100901 | |
| 8 | Static method | Public | Method | Set dafault variant | 20100901 | |
| 9 | Static method | Public | Method | Save data to DB | 20100901 |
Events
Class /MRSS/CL_SGW_VARIANT_DB has no event.
Types
Class /MRSS/CL_SGW_VARIANT_DB has no local type.
Method Signatures
Method CHECK_VARIANT_EXISTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100901 | |||
| 2 | EV_AUTH_FLAG | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100901 | |||
| 3 | EV_AVAILABILITY_FLAG | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100901 | |||
| 4 | IS_VARIANT_DTLS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VARIANT | Variant details | 20100901 | |||
| 5 | IV_UNAME | Call by reference | Type reference (TYPE) | SY-UNAME | SY-UNAME | User Name | 20120911 |
Method CHECK_VARIANT_EXISTANCE on class /MRSS/CL_SGW_VARIANT_DB has no exception.
Method FETCH_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_VARIANT | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VARIANT | Table of Variant Details | 20100901 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100901 | |||
| 3 | IS_VARIANT_DTLS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VARIANT | Variant details | 20100901 |
Method FETCH_DATA on class /MRSS/CL_SGW_VARIANT_DB has no exception.
Method GET_DEFAULT_VARIANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_VARIANT_DTLS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VARIANT | Variant details | 20100901 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100901 | |||
| 3 | IV_CREATED_BY | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_CREATED_BY | Created by | 20100901 | |||
| 4 | IV_PROGRAM_NAME | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_PRG_NAME | Program Name | 20100901 |
Method GET_DEFAULT_VARIANT on class /MRSS/CL_SGW_VARIANT_DB has no exception.
Method GET_VARIANT_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100901 | |||
| 2 | ET_VARIANT | Call by reference | Type reference (TYPE) | /MRSS/D_VARIANT_TAB | Table of Variant Details | 20100901 | |||
| 3 | IS_VARIANT_DTLS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VAR_DTLS | Variant search criteria | 20100901 |
Method GET_VARIANT_LIST on class /MRSS/CL_SGW_VARIANT_DB has no exception.
Method MESSAGE_INTO_BAPIRET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Value transfer | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20100901 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20100901 | |||
| 3 | IV_MSG_V1 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20100901 | |||
| 4 | IV_MSG_V2 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20100901 | |||
| 5 | IV_MSG_V3 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20100901 | |||
| 6 | IV_MSG_V4 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20100901 | |||
| 7 | IV_NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20100901 | |||
| 8 | IV_TYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | 20100901 |
Method MESSAGE_INTO_BAPIRET on class /MRSS/CL_SGW_VARIANT_DB has no exception.
Method READ_DATA_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100901 | |||
| 2 | ET_VARIANT | Call by reference | Type reference (TYPE) | /MRSS/D_VARIANT_TAB | Table of Variant Details | 20100901 | |||
| 3 | IS_VARIANT_DTLS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VAR_DTLS | Variant search criteria | 20100901 |
Method READ_DATA_FROM_DB on class /MRSS/CL_SGW_VARIANT_DB has no exception.
Method RESET_DEFAULT_VARIANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100901 | |||
| 2 | EV_FAILED | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100901 | |||
| 3 | IS_VARIANT_DTLS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VARIANT | Variant details | 20100901 | |||
| 4 | IV_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100928 |
Method RESET_DEFAULT_VARIANT on class /MRSS/CL_SGW_VARIANT_DB has no exception.
Method SET_DEFAULT_VARIANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100901 | |||
| 2 | EV_FAILED | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100901 | |||
| 3 | IS_VARIANT_DTLS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VARIANT | Variant details | 20100901 | |||
| 4 | IV_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100928 |
Method SET_DEFAULT_VARIANT on class /MRSS/CL_SGW_VARIANT_DB has no exception.
Method UPDATE_DATA_TO_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100901 | |||
| 2 | EV_FAILED | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100901 | |||
| 3 | IS_VARIANT_DTLS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_VARIANT | Variant details | 20100901 | |||
| 4 | IV_ACTION_FLAG | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20100901 |
Method UPDATE_DATA_TO_DB on class /MRSS/CL_SGW_VARIANT_DB has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 800 |