SAP ABAP Class CL_VMP_UTILS (Utilities for VMP)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
CA-VE-VEP-INT (Application Component) Visual Enterprise Planner integration with ERP
⤷
VMP (Package) Visual Enterprise Planning
⤷
⤷
Properties
| Class | CL_VMP_UTILS | |
| Short Description | Utilities for VMP | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | VMP | Visual Enterprise Planning |
| Created | 20120517 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_VMP_UTILS has no forward declaration.
Interfaces
Class CL_VMP_UTILS has no interface implemented.
Friends
Class CL_VMP_UTILS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | DMS_T_FILE | original to be displayed as thumbnail or within viewer | 20120724 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | STRING | 20120517 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Convert Planning Scope document ID to key | 20120626 | |
| 2 | Static method | Public | Method | Convert Planning Scope document key To ID | 20120626 | |
| 3 | Static method | Public | Method | Convert Planning Scope ID to key | 20120626 | |
| 4 | Static method | Public | Method | Convert Planning Scope key To ID | 20120626 | |
| 5 | Static method | Public | Method | Check/Create the working directory | 20120517 | |
| 6 | Static method | Public | Method | Download the monolithic RH to be loaded in VMP to workspace | 20120517 | |
| 7 | Static method | Public | Method | Download the XML to be loaded in VMP to working directory | 20120517 | |
| 8 | Static method | Public | Method | Get Monolithic files | 20120724 | |
| 9 | Static method | Private | Method | Get system number | 20120817 | |
| 10 | Static method | Public | Method | Get URL for Thumbnail | 20120727 | |
| 11 | Static method | Public | Method | Get Thumbnail name | 20120822 | |
| 12 | Static method | Public | Method | Get URL for Viewer | 20120727 | |
| 13 | Static method | Public | Method | Get the working directory of workspace | 20120622 | |
| 14 | Static method | Public | Method | Refresh Buffer | 20130827 | |
| 15 | Static method | Public | Method | Upload the XML from working directory | 20120517 |
Events
Class CL_VMP_UTILS has no event.
Types
Class CL_VMP_UTILS has no local type.
Method Signatures
Method CNV_PLNSCP_DOC_ID_TO_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PLNSCP_DOC_ID | Call by reference | Type reference (TYPE) | VMP_PLNSCP_DOC_ID | Planning Scope Document Id | 20120626 | |||
| 2 | RS_DOCUMENT_KEY | Value transfer | Type reference (TYPE) | DMS_DOCUMENT_KEY | Document key with / as seperator | 20120626 |
Method CNV_PLNSCP_DOC_ID_TO_KEY on class CL_VMP_UTILS has no exception.
Method CNV_PLNSCP_DOC_KEY_TO_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DOCUMENT_KEY | Call by reference | Type reference (TYPE) | DMS_DOCUMENT_KEY | Document key with / as seperator | 20120626 | |||
| 2 | RV_PLNSCP_DOC_ID | Value transfer | Type reference (TYPE) | VMP_PLNSCP_DOC_ID | Planning Scope Document Id | 20120626 |
Method CNV_PLNSCP_DOC_KEY_TO_ID on class CL_VMP_UTILS has no exception.
Method CNV_PLNSCP_ID_TO_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PLNSCP_ID | Call by reference | Type reference (TYPE) | VMP_PLNSCP_ID | Planning Scope Id | 20120626 | |||
| 2 | RS_PLNSCP_KEY | Value transfer | Type reference (TYPE) | VMP_S_PLNSCP_ID | Planning Scope Id | 20120626 |
Method CNV_PLNSCP_ID_TO_KEY on class CL_VMP_UTILS has no exception.
Method CNV_PLNSCP_KEY_TO_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PLNSCP_KEY | Call by reference | Type reference (TYPE) | VMP_S_PLNSCP_ID | Planning Scope Id | 20120626 | |||
| 2 | RV_PLNSCP_ID | Value transfer | Type reference (TYPE) | VMP_PLNSCP_ID | Planning Scope Id | 20120626 |
Method CNV_PLNSCP_KEY_TO_ID on class CL_VMP_UTILS has no exception.
Method CREATE_CHECK_WORKDIR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120525 |
Method CREATE_CHECK_WORKDIR on class CL_VMP_UTILS has no exception.
Method DOWNLOAD_MONOLITHIC_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120525 | |||
| 2 | IV_FILE_NAME | Call by reference | Type reference (TYPE) | DMS_FILEP | Original of Document | 20120621 | |||
| 3 | IV_FILE_URL | Call by reference | Type reference (TYPE) | SAEURI | SAP ArchiveLink: Data Element for Absolute URI | 20120517 |
Method DOWNLOAD_MONOLITHIC_FILE on class CL_VMP_UTILS has no exception.
Method DOWNLOAD_XML_TO_WORKDIR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120525 | |||
| 2 | IT_BIN_DATA | Call by reference | Type reference (TYPE) | VMP_T_RAW | Raw table | 20120609 | |||
| 3 | IV_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | File name | 20120609 | |||
| 4 | IV_XSTR_LEN | Call by reference | Type reference (TYPE) | INT4 | Natural Number | 20120904 |
Method DOWNLOAD_XML_TO_WORKDIR on class CL_VMP_UTILS has no exception.
Method GET_MONOLITHIC_FILES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120724 | |||
| 2 | IS_DOCUMENT_KEY | Call by reference | Type reference (TYPE) | DMS_DOCUMENT_KEY | Planning Scope Document ID | 20120724 |
Method GET_MONOLITHIC_FILES on class CL_VMP_UTILS has no exception.
Method GET_SYSNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SYSNR | Value transfer | Type reference (TYPE) | RFCSERVICE | Service used (TCP service, SAP System number) | 20120817 |
Method GET_SYSNR on class CL_VMP_UTILS has no exception.
Method GET_THUMBNAIL_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_URL | Value transfer | Type reference (TYPE) | SAEURI | SAP ArchiveLink: Data Element for Absolute URI | 20120727 |
Method GET_THUMBNAIL_FILE on class CL_VMP_UTILS has no exception.
Method GET_THUMBNAIL_FILE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_NAME | Value transfer | Type reference (TYPE) | CHAR40 | Character field of length 40 | 20120822 |
Method GET_THUMBNAIL_FILE_NAME on class CL_VMP_UTILS has no exception.
Method GET_VIEWER_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_URL | Value transfer | Type reference (TYPE) | SAEURI | SAP ArchiveLink: Data Element for Absolute URI | 20120727 |
Method GET_VIEWER_FILE on class CL_VMP_UTILS has no exception.
Method GET_WORKING_DIR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_WORKDIR | Value transfer | Type reference (TYPE) | STRING | 20120622 |
Method GET_WORKING_DIR on class CL_VMP_UTILS has no exception.
Method REFRESH_BUFFER Signature
Method REFRESH_BUFFER on class CL_VMP_UTILS has no parameter.
Method REFRESH_BUFFER on class CL_VMP_UTILS has no exception.
Method UPLOAD_XML_FROM_WORKDIR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120525 | |||
| 2 | ET_BIN_DATA | Call by reference | Type reference (TYPE) | VMP_T_RAW | Raw table | 20120525 | |||
| 3 | IV_FILE_PATH | Call by reference | Type reference (TYPE) | VMP_FILEPATH | Original of document | 20120517 |
Method UPLOAD_XML_FROM_WORKDIR on class CL_VMP_UTILS has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 607 |