SAP ABAP Class CL_RMPS_DOD_DOCTYPE (Dod: Document type handling)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
CA-GTF-RCM (Application Component) Records and Case Management
⤷
RMPS_DOD_PROPERTIES (Package) DoD: Attribute Handling
⤷
⤷
Properties
| Class | CL_RMPS_DOD_DOCTYPE | |
| Short Description | Dod: Document type handling | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RMPS_DOD_PROPERTIES | DoD: Attribute Handling |
| Created | 20090925 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RMPS_DOD_DOCTYPE has no interface implemented.
Friends
Class CL_RMPS_DOD_DOCTYPE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'RMPSD_DOCTYPE_ENABLE_ADD_ATTRIS' | Connection parameter ID | 20090925 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'DOC_TYPE' | Name of the DOC_TYPE property in DMWB | 20090929 | ||
| 3 | Constant | Protected | Type reference (TYPE) | SRMBOOLEAN | '?' | Unknown or not initialized boolean value | 20090928 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'RMPS_UOBJ_DOD_DOCTYPE' | User object ID in property context | 20090929 | ||
| 5 | Instance attribute | Protected | Type reference (TYPE) | SRMBOOLEAN | C_UNKNOWN | Is doctype handling active? | 20090928 | ||
| 6 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SRM_POID | POID of the document/post item to handle | 20090925 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Show/hide a single attribute | 20090929 | |
| 2 | Instance method | Public | Method | Prüfe Wert des Attributs RMPSP_DOCTYPE | 20100127 | |
| 3 | Static method | Public | Method | Add connection parameter to switch doctype function on/off | 20090925 | |
| 4 | Instance method | Protected | Constructor | Constructor | 20090925 | |
| 5 | Instance method | Public | Method | Get doctype specific attributes from attr types | 20090929 | |
| 6 | Instance method | Public | Method | Show/hide attributes depending from doctype | 20090929 | |
| 7 | Instance method | Protected | Method | 20100128 | ||
| 8 | Static method | Public | Method | Get doctypes corresponding with given value of RMPSP_FORMAT | 20090930 | |
| 9 | Static method | Public | Method | Get file extension from given value of RMPSP_FORMAT | 20090928 | |
| 10 | Static method | Public | Method | Get instance | 20090925 | |
| 11 | Static method | Public | Method | Get instance from property context (or create one) | 20090929 | |
| 12 | Instance method | Public | Method | Get the doctype from the file extension (if unique) | 20090928 | |
| 13 | Instance method | Public | Method | Inititialize the document type for a document | 20090928 | |
| 14 | Instance method | Public | Method | Check whether Dod document type handling is active for POID | 20090925 | |
| 15 | Instance method | Public | Method | Get attributes which must be hidden as search criteria | 20091002 | |
| 16 | Static method | Public | Method | Show search help for document types | 20090930 | |
| 17 | Instance method | Public | Method | After doctype change: show add. attr. directly after doctype | 20090930 |
Events
Class CL_RMPS_DOD_DOCTYPE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ATTRNAME_DOCTYPE_TAB_TYPE | Public | See coding | Table: attribute name - doctype | 20090929 | ATTRNAME_DOCTYPE_TAB_TYPE TYPE STANDARD TABLE OF ATTRNAME_DOCTYPE_TYPE
|
|
| 2 | ATTRNAME_DOCTYPE_TYPE | Public | See coding | Structure: attribute name - doctype | 20090929 | BEGIN OF ATTRNAME_DOCTYPE_TYPE,
NAME TYPE SRMGS_PROP_NAME,
DOCTYPE TYPE RMPSP_DOCTYPE,
END OF ATTRNAME_DOCTYPE_TYPE
|
|
| 3 | DOCTYPE_TAB_TYPE | Public | See coding | 20090930 | DOCTYPE_TAB_TYPE TYPE STANDARD TABLE OF RMPSP_DOCTYPE WITH DEFAULT KEY
|
Method Signatures
Method ATTRIBUTE_SHOW_HIDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ATTRIBUTE | Call by reference | Object reference (TYPE REF TO) | IF_SRM_ATTRIBUTE_VALUE | Attribute to show/hide | 20090929 | |||
| 2 | IM_SHOW | Call by reference | Type reference (TYPE) | SRMBOOLEAN | Show the attribute? True->show; False->hide | 20090929 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error in Attribute (Abstract) | 20090929 |
Method CHECK_MANDT_ATTR_4_DOCTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_SRM_PROP_CONTEXT | IF_SRM_PROP_CONTEXT | 20100127 | |||
| 2 | VAL_HDL_PROPERTY_TAB | Call by reference | Type reference (TYPE) | SRM_LIST_ATTR_VAL_HDL | List: Attribute Value and Selection Field | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value Not Set | 20100128 |
Method CONNECTION_PARAMETER_ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_CONNECTION_PARAMS | Value transfer | Type reference (TYPE) | SRM_LIST_EDIT_ATTRIBUTE_DESC | Description of connection parameter | 20090925 | |||
| 2 | IM_IF_SRM | Call by reference | Object reference (TYPE REF TO) | IF_SRM | General SRM Methods | 20090925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Attribute Description (abstract) | 20090925 | ||
| 2 | Initialization Error (abstract) | 20090925 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_POID | Call by reference | Object reference (TYPE REF TO) | IF_SRM_POID | POID of the document/post item to handle | 20090925 |
Method CONSTRUCTOR on class CL_RMPS_DOD_DOCTYPE has no exception.
Method DOCTYPE_SPEC_ATTRS_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ATTRIBUTES | Call by reference | Type reference (TYPE) | SRMGS_PROPERTY_TYPE_TAB | List of doctype specific attributes (1 line per attr.) | 20090929 | |||
| 2 | EX_ATTRIBUTES_DOCTYPES | Call by reference | Type reference (TYPE) | ATTRNAME_DOCTYPE_TAB_TYPE | List of doctypes per attribute (n doctypes per attr.) | 20090929 | |||
| 3 | IM_ATTR_TYPES | Call by reference | Type reference (TYPE) | SRMGS_PROPERTY_TYPE_TAB | Attribute types | 20090929 |
Method DOCTYPE_SPEC_ATTRS_GET on class CL_RMPS_DOD_DOCTYPE has no exception.
Method DOCTYPE_SPEC_ATTRS_SHOW_HIDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_VAL_HDL_TAB | Call by reference | Type reference (TYPE) | SRM_LIST_ATTR_VAL_HDL | Alternatively: value handling table (called from PROP_VALUE) | 20090929 | |||
| 2 | IM_ATTR_TAB | Call by reference | Type reference (TYPE) | SRM_LIST_ATTRIBUTE_VALUE | Attribute table (called from PROP_REPOSITORY) | 20090929 | |||
| 3 | IM_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_SRM_PROP_CONTEXT | Property context | 20090929 | |||
| 4 | IM_DOCTYPE | Call by reference | Type reference (TYPE) | RMPSP_DOCTYPE | Document Type (may be omitted, if value contained in table) | 20090929 | |||
| 5 | IM_EMAIL_TYPE | Call by reference | Type reference (TYPE) | STRING | Email type (body or attachment) | 20091001 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Framework (abstract) | 20090929 |
Method GET_ATTR_VALUE_AS_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ATTR_DESC | Call by reference | Type reference (TYPE) | STRING | 20100128 | ||||
| 2 | EX_ATTR_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100128 | ||||
| 3 | IM_ATTR_ID | Call by reference | Type reference (TYPE) | SRMGS_PROP_NAME | 20100128 | ||||
| 4 | IM_LIST | Call by reference | Type reference (TYPE) | SRM_LIST_ATTR_VAL_HDL | List: Attribute Value and Selection Field | 20100128 |
Method GET_ATTR_VALUE_AS_STRING on class CL_RMPS_DOD_DOCTYPE has no exception.
Method GET_DOCTYPES_4_RMPSP_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RMPSP_FORMAT | Call by reference | Type reference (TYPE) | STRING | Value of RMPSP_FORMAT | 20090930 | |||
| 2 | RE_DOCTYPES | Value transfer | Type reference (TYPE) | DOCTYPE_TAB_TYPE | Possible document types for the given value of RMPSP_FORMAT | 20090930 |
Method GET_DOCTYPES_4_RMPSP_FORMAT on class CL_RMPS_DOD_DOCTYPE has no exception.
Method GET_EXTENSION_4_RMPSP_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RMPSP_FORMAT | Call by reference | Type reference (TYPE) | STRING | Value of RMPSP_FORMAT | 20090928 | |||
| 2 | RE_EXTENSION | Value transfer | Type reference (TYPE) | STRING | File extension | 20090928 |
Method GET_EXTENSION_4_RMPSP_FORMAT on class CL_RMPS_DOD_DOCTYPE has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CLASS_NAME | Call by reference | Type reference (TYPE) | STRING | 'CL_RMPS_DOD_DOCTYPE' | Class name | 20090925 | ||
| 2 | IM_POID | Call by reference | Object reference (TYPE REF TO) | IF_SRM_POID | POID of the document/post item to handle | 20090925 | |||
| 3 | RE_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_RMPS_DOD_DOCTYPE | The instance | 20090925 |
Method GET_INSTANCE on class CL_RMPS_DOD_DOCTYPE has no exception.
Method GET_INSTANCE_FROM_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_SRM_PROP_CONTEXT | Property context | 20090929 | |||
| 2 | RE_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_RMPS_DOD_DOCTYPE | The instance | 20090929 |
Method GET_INSTANCE_FROM_CONTEXT on class CL_RMPS_DOD_DOCTYPE has no exception.
Method GET_UNIQUE_DOCTYPE_4_FILE_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_FILE_EXTENSION | Call by reference | Type reference (TYPE) | STRING | File-Extension | 20090928 | |||
| 2 | RE_DOC_TYPE | Value transfer | Type reference (TYPE) | RMPSP_DOCTYPE | Document Type | 20090928 |
Method GET_UNIQUE_DOCTYPE_4_FILE_EXT on class CL_RMPS_DOD_DOCTYPE has no exception.
Method INITIALIZE_DOCTYPE_4_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_INITIALIZED_PROPERTIES | Call by reference | Type reference (TYPE) | SRMGS_PROPERTY_TAB | Initialized properties | 20090928 | |||
| 2 | IM_VAR_PROPERTY_TYPES | Call by reference | Type reference (TYPE) | SRMGS_PROPERTY_TYPE_TAB | Property definitions (variant) | 20090928 |
Method INITIALIZE_DOCTYPE_4_DOCUMENT on class CL_RMPS_DOD_DOCTYPE has no exception.
Method IS_DOCTYPE_HANDLING_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_IS_ACTIVE | Value transfer | Type reference (TYPE) | SRMBOOLEAN | True, if Dod document type handling is active | 20090925 |
Method IS_DOCTYPE_HANDLING_ACTIVE on class CL_RMPS_DOD_DOCTYPE has no exception.
Method QUERY_GET_ATTRS_TO_HIDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ATTR_TYPES | Call by reference | Type reference (TYPE) | SRMGS_PROPERTY_TYPE_TAB | Attribute definitions | 20091002 | |||
| 2 | RE_ATTRS_TO_HIDE | Value transfer | Type reference (TYPE) | SRMGS_PROPERTY_TYPE_TAB | Attributes to hide | 20091002 |
Method QUERY_GET_ATTRS_TO_HIDE on class CL_RMPS_DOD_DOCTYPE has no exception.
Method SEARCH_HELP_SHOW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DOCTYPE | Call by reference | Type reference (TYPE) | RMPSP_DOCTYPE | Selected document type | 20090930 | |||
| 2 | EX_DOCTYPE_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | Description for the document type | 20090930 | |||
| 3 | EX_USER_CANCEL | Call by reference | Type reference (TYPE) | SRMBOOLEAN | Dialog cancelled by the user? | 20090930 | |||
| 4 | IM_DISPLAY_ONLY | Call by reference | Type reference (TYPE) | SRMBOOLEAN | IF_SRM=>FALSE | Only display? | 20090930 | ||
| 5 | IM_RMPSP_FORMAT | Call by reference | Type reference (TYPE) | STRING | File format (value of attr. RMPSP_FORMAT or only extension) | 20090930 |
Method SEARCH_HELP_SHOW on class CL_RMPS_DOD_DOCTYPE has no exception.
Method SORT_OUTPUT_TABLE_AFTER_UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_OUTPUT_TAB | Call by reference | Type reference (TYPE) | SRM_PROP_ALV_2COL_OUT_T | ALV output table of attribute dialog | 20090930 | |||
| 2 | IM_ATTR_VAL_HDL_TAB | Call by reference | Type reference (TYPE) | SRM_LIST_ATTR_VAL_HDL | Value handling table | 20090930 | |||
| 3 | IM_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_SRM_PROP_CONTEXT | Property context | 20090930 |
Method SORT_OUTPUT_TABLE_AFTER_UPDATE on class CL_RMPS_DOD_DOCTYPE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |