SAP ABAP Class /MRSS/CL_RM_UTIL_ATTACH (RM Attachments)
Hierarchy
☛
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
⤷
PM-WOC-CP (Application Component) Capacity and Resource Planning
⤷
/MRSS/RMS (Package) Resource Management Service Layer
⤷
⤷
Properties
| Class | /MRSS/CL_RM_UTIL_ATTACH | |
| Short Description | RM Attachments | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /MRSS/RMS | Resource Management Service Layer |
| Created | 20081229 | SAP |
| Last change | 20141109 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /MRSS/CL_RM_UTIL_ATTACH has no interface implemented.
Friends
Class /MRSS/CL_RM_UTIL_ATTACH has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | BAPIBDS01-CLASSNAME | 'BUS2002' | Business Document Service: Class name | 20081229 | ||
| 2 | Constant | Public | Type reference (TYPE) | BAPIBDS01-CLASSTYPE | 'BO' | Business Document Service: Class type | 20081229 | ||
| 3 | Constant | Private | Type reference (TYPE) | SDOK_CMMIT | '01' | Indicator for controlling the commit logic | 20081229 | ||
| 4 | Constant | Private | Type reference (TYPE) | SDOK_CMMIT | '02' | Indicator for controlling the commit logic | 20081229 | ||
| 5 | Constant | Public | Type reference (TYPE) | BAPIBDS01-CLASSNAME | '/MRSS/ATCH' | Business Document Service: Class name | 20081229 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Creates Attachments to Request | 20081229 | |
| 2 | Static method | Public | Method | Convert body to attachment(PDF) | 20090119 | |
| 3 | Static method | Public | Method | Converts RM Attachment to SAP Office Attachment | 20081229 | |
| 4 | Static method | Public | Method | Creates RM BO attachments for new Request | 20081229 | |
| 5 | Static method | Public | Method | Delets all RM BO Attachments | 20081229 | |
| 6 | Static method | Public | Method | Delete Request Attachment | 20081229 | |
| 7 | Static method | Public | Method | Retrieves Employee Attachment Data | 20081229 | |
| 8 | Static method | Public | Method | Gets Employee Attachment Information | 20081229 | |
| 9 | Static method | Public | Method | Get Employee Profile Attachments | 20090604 | |
| 10 | Static method | Public | Method | Get OBJID GUID for RM BO Attachments | 20081229 | |
| 11 | Static method | Public | Method | Get Request Attachments | 20081229 | |
| 12 | Static method | Public | Method | Get Attachment Data using Request ID and Document ID | 20081229 | |
| 13 | Static method | Public | Method | Get Attachment Information for a Request, without File Data | 20081229 | |
| 14 | Static method | Public | Method | Retrieves SO Document Data from SO document interface | 20090119 | |
| 15 | Static method | Private | Method | Retrieves Attachment Commit Mode | 20081229 | |
| 16 | Static method | Public | Method | Updates RM BO Attachments | 20081229 |
Events
Class /MRSS/CL_RM_UTIL_ATTACH has no event.
Types
Class /MRSS/CL_RM_UTIL_ATTACH has no local type.
Method Signatures
Method ATTACH_FILEDATA_TO_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ERROR_TEXT | Call by reference | Type reference (TYPE) | STRING | Error Text in case of Exception | 20081229 | |||
| 2 | IS_ATTACHMENT | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH | Data for Attaching file to Network | 20081229 | |||
| 3 | IV_CANDIDATE_ID | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_PARTNER_ID | Partner ID | 20081229 | |||
| 4 | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | BAPIBDS01-CLASSNAME | 'BUS2002' | Business Document Service: Class name | 20081229 | ||
| 5 | IV_COMMIT | Value transfer | Type reference (TYPE) | /MRSS/T_RM_FLAG | 'X' | Commit Flag | 20081229 | ||
| 6 | IV_DEMAND_GUID | Call by reference | Type reference (TYPE) | /MRSS/T_GUID_32 | GUID | 20081229 | |||
| 7 | IV_IS_EXTERNAL | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | Indicator | 20081229 | |||
| 8 | IV_REQ_ID | Value transfer | Type reference (TYPE) | /MRSS/T_RM_REQ_ID | Request Number | 20081229 | |||
| 9 | IV_ROLE_NO | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ROLE_ID | Role Number | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 | |||
| 3 | 20081229 | |||
| 4 | 20081229 | |||
| 5 | 20081229 | |||
| 6 | 20081229 | |||
| 7 | 20081229 | |||
| 8 | 20081229 | |||
| 9 | 20081229 |
Method CONVT_OTF_TO_PDF_ATTACHMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RM_SO_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_RM_SO_ATTACH_TAB | Sap Office Attachment Table | 20090119 | |||
| 2 | IV_OTF | Call by reference | Type reference (TYPE) | TLINE_TAB | List of SAPscript Lines | 20090119 | |||
| 3 | IV_SUBJECT | Call by reference | Type reference (TYPE) | STRING | 20090119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090120 | |||
| 2 | 20090120 |
Method CONV_RM_ATTACH_TO_SO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SO_MAIL_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_RM_SO_ATTACH_TAB | Sap Office Attachment Table | 20081229 | |||
| 2 | IT_RM_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH_TAB | Table type of attachments | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 |
Method CREATE_RM_BO_ATTACHMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ERROR_TEXT | Call by reference | Type reference (TYPE) | STRING | 20081229 | ||||
| 2 | IS_REQUEST | Call by reference | Type reference (TYPE) | /MRSS/T_RM_REQUEST | Request Header | 20081229 | |||
| 3 | IV_COMMIT | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | Indicator | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 |
Method DELETE_ALL_RM_BO_ATTACH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ERROR_TEXT | Call by reference | Type reference (TYPE) | STRING | 20081229 | ||||
| 2 | IT_ATTACH_KEY_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH_KEY_TAB | Input Key table for RM Attachments | 20081229 | |||
| 3 | IV_COMMIT | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | Indicator | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 | |||
| 3 | 20081229 |
Method DELETE_REQ_ATTACHMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ERROR_TEXT | Call by reference | Type reference (TYPE) | STRING | 20081229 | ||||
| 2 | IV_CANDIDATE_ID | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_PARTNER_ID | Partner ID | 20081229 | |||
| 3 | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | BAPIBDS01-CLASSNAME | 'BUS2002' | Business Document Service: Class name | 20081229 | ||
| 4 | IV_COMMIT | Value transfer | Type reference (TYPE) | /MRSS/T_RM_FLAG | 'X' | Indicator | 20081229 | ||
| 5 | IV_DEMAND_GUID | Call by reference | Type reference (TYPE) | /MRSS/T_GUID_32 | GUID | 20081229 | |||
| 6 | IV_DOC_ID | Value transfer | Type reference (TYPE) | BDS_DOCID | Business Document Service: Document ID | 20081229 | |||
| 7 | IV_IS_EXTERNAL | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | Indicator | 20081229 | |||
| 8 | IV_REQ_ID | Value transfer | Type reference (TYPE) | /MRSS/T_RM_REQ_ID | Request Number | 20081229 | |||
| 9 | IV_ROLE_NO | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ROLE_ID | Role Number | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 | |||
| 3 | 20081229 |
Method GET_EMP_ATTACH_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RM_ATTACH | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH | Table type of attachments | 20081229 | |||
| 2 | IS_PARTNER_ATTACH_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH_KEY | Input Key for RM Attachments | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 |
Method GET_EMP_ATTACH_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_SO_USER_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_RM_USER_SO_ATTACH_TAB | Table type of SO attachments to User | 20081229 | |||
| 2 | IV_FETCH_CAND_REQ_ATTACH | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | 'X' | Indicator | 20090604 | ||
| 3 | IV_FETCH_EMP_PROF_ATTACH | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | 'X' | Indicator | 20090604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 | |||
| 3 | 20081229 |
Method GET_EMP_PROF_ATTACH_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ATTACH_INFO | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH_TAB | Table type of attachments | 20090604 | |||
| 2 | IV_PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20090604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090605 | |||
| 2 | 20090605 |
Method GET_GUID_4_RMBO_ATTACH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_GUID32 | Call by reference | Type reference (TYPE) | /MRSS/T_GUID_32 | Char32 GUID | 20081229 | |||
| 2 | IS_CANDIDATE | Call by reference | Type reference (TYPE) | /MRSS/T_RM_CANDIDATE | Candidates for Role | 20081229 | |||
| 3 | IS_ROLE | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ROLE | Role Details | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 |
Method GET_REQUEST_ATTACHMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH_TAB | Attachments to Request | 20081229 | |||
| 2 | IV_REQ_ID | Value transfer | Type reference (TYPE) | /MRSS/T_RM_REQ_ID | Request Number | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 | |||
| 3 | 20081229 | |||
| 4 | 20081229 | |||
| 5 | 20081229 | |||
| 6 | 20081229 | |||
| 7 | 20081229 | |||
| 8 | 20081229 | |||
| 9 | 20081229 |
Method GET_REQ_ATTACHMENT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ATTACHMENT | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH | Attachment Data | 20081229 | |||
| 2 | IV_CANDIDATE_ID | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_PARTNER_ID | Parnter ID | 20081229 | |||
| 3 | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | BAPIBDS01-CLASSNAME | 'BUS2002' | Business Document Service: Class name | 20081229 | ||
| 4 | IV_DEMAND_GUID | Call by reference | Type reference (TYPE) | /MRSS/T_GUID_32 | GUID | 20081229 | |||
| 5 | IV_DOC_ID | Value transfer | Type reference (TYPE) | BDS_DOCID | Business Document Service: Document ID | 20081229 | |||
| 6 | IV_IS_EXTERNAL | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | Indicator | 20081229 | |||
| 7 | IV_REQ_ID | Value transfer | Type reference (TYPE) | /MRSS/T_RM_REQ_ID | Request Number | 20081229 | |||
| 8 | IV_ROLE_NO | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ROLE_ID | Role Number | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 | |||
| 3 | 20081229 | |||
| 4 | 20081229 |
Method GET_REQ_ATTACHMENT_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ATTACH_TAB | Attachments Information Table | 20081229 | |||
| 2 | IV_CANDIDATE_ID | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_PARTNER_ID | Partner ID | 20081229 | |||
| 3 | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | BAPIBDS01-CLASSNAME | 'BUS2002' | Business Document Service: Class name | 20081229 | ||
| 4 | IV_DEMAND_GUID | Call by reference | Type reference (TYPE) | /MRSS/T_GUID_32 | GUID | 20081229 | |||
| 5 | IV_IS_EXTERNAL | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | Indicator | 20081229 | |||
| 6 | IV_REQ_ID | Value transfer | Type reference (TYPE) | /MRSS/T_RM_REQ_ID | Request Number | 20081229 | |||
| 7 | IV_ROLE_NO | Call by reference | Type reference (TYPE) | /MRSS/T_RM_ROLE_ID | Role Number | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 | |||
| 3 | 20081229 | |||
| 4 | 20081229 | |||
| 5 | 20081229 | |||
| 6 | 20081229 | |||
| 7 | 20081229 | |||
| 8 | 20081229 |
Method GET_SO_MAIL_ATTACH_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SO_MAIL_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_RM_SO_ATTACH_TAB | Table Type for SOOD5 (Attachment) | 20090119 | |||
| 2 | IT_SO_DOC_INFO_TAB | Call by reference | Type reference (TYPE) | SOOD5TAB | SO Attach Info Table | 20090119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090119 | |||
| 2 | 20090119 |
Method SET_ATTACHMENTS_COMMIT_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMMIT | Value transfer | Type reference (TYPE) | /MRSS/T_RM_FLAG | 'X' | Commit Flag | 20081229 |
Method SET_ATTACHMENTS_COMMIT_MODE on class /MRSS/CL_RM_UTIL_ATTACH has no exception.
Method UPDATE_RM_BO_ATTACHMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ERROR_TEXT | Call by reference | Type reference (TYPE) | STRING | 20081229 | ||||
| 2 | IS_REQUEST | Call by reference | Type reference (TYPE) | /MRSS/T_RM_REQUEST | Request Header | 20081229 | |||
| 3 | IV_COMMIT | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FLAG | Indicator | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081229 | |||
| 2 | 20081229 |
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 610 |