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 ABAP 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 GC_ATTACH_CLASSNAME Constant Public Type reference (TYPE) BAPIBDS01-CLASSNAME 'BUS2002' Business Document Service: Class name 20081229
2 GC_ATTACH_CLASSTYPE Constant Public Type reference (TYPE) BAPIBDS01-CLASSTYPE 'BO' Business Document Service: Class type 20081229
3 GC_ATTACH_COMMIT_MODE_EXECUTE Constant Private Type reference (TYPE) SDOK_CMMIT '01' Indicator for controlling the commit logic 20081229
4 GC_ATTACH_COMMIT_MODE_SUPPRESS Constant Private Type reference (TYPE) SDOK_CMMIT '02' Indicator for controlling the commit logic 20081229
5 GC_BO_ATTACH_CLASSNAME 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 ATTACH_FILEDATA_TO_REQUEST Static method Public Method Creates Attachments to Request 20081229
2 CONVT_OTF_TO_PDF_ATTACHMENT Static method Public Method Convert body to attachment(PDF) 20090119
3 CONV_RM_ATTACH_TO_SO Static method Public Method Converts RM Attachment to SAP Office Attachment 20081229
4 CREATE_RM_BO_ATTACHMENTS Static method Public Method Creates RM BO attachments for new Request 20081229
5 DELETE_ALL_RM_BO_ATTACH Static method Public Method Delets all RM BO Attachments 20081229
6 DELETE_REQ_ATTACHMENT Static method Public Method Delete Request Attachment 20081229
7 GET_EMP_ATTACH_DATA Static method Public Method Retrieves Employee Attachment Data 20081229
8 GET_EMP_ATTACH_INFO Static method Public Method Gets Employee Attachment Information 20081229
9 GET_EMP_PROF_ATTACH_INFO Static method Public Method Get Employee Profile Attachments 20090604
10 GET_GUID_4_RMBO_ATTACH Static method Public Method Get OBJID GUID for RM BO Attachments 20081229
11 GET_REQUEST_ATTACHMENTS Static method Public Method Get Request Attachments 20081229
12 GET_REQ_ATTACHMENT_DATA Static method Public Method Get Attachment Data using Request ID and Document ID 20081229
13 GET_REQ_ATTACHMENT_INFO Static method Public Method Get Attachment Information for a Request, without File Data 20081229
14 GET_SO_MAIL_ATTACH_DATA Static method Public Method Retrieves SO Document Data from SO document interface 20090119
15 SET_ATTACHMENTS_COMMIT_MODE Static method Private Method Retrieves Attachment Commit Mode 20081229
16 UPDATE_RM_BO_ATTACHMENTS 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 Exporting EV_ERROR_TEXT Call by reference Type reference (TYPE) STRING Error Text in case of Exception 20081229
2 Importing IS_ATTACHMENT Call by reference Type reference (TYPE) /MRSS/T_RM_ATTACH Data for Attaching file to Network 20081229
3 Importing IV_CANDIDATE_ID Call by reference Type reference (TYPE) /MRSS/T_SGE_PARTNER_ID Partner ID 20081229
4 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) BAPIBDS01-CLASSNAME 'BUS2002' Business Document Service: Class name 20081229
5 Importing IV_COMMIT Value transfer Type reference (TYPE) /MRSS/T_RM_FLAG 'X' Commit Flag 20081229
6 Importing IV_DEMAND_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID_32 GUID 20081229
7 Importing IV_IS_EXTERNAL Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG Indicator 20081229
8 Importing IV_REQ_ID Value transfer Type reference (TYPE) /MRSS/T_RM_REQ_ID Request Number 20081229
9 Importing IV_ROLE_NO Call by reference Type reference (TYPE) /MRSS/T_RM_ROLE_ID Role Number 20081229
# Exception Resumable Description Created on
1 EMPTY_FILE 20081229
2 ERROR_KPRO 20081229
3 INTERNAL_ERROR 20081229
4 NOTHING_FOUND 20081229
5 NOT_ALLOWED 20081229
6 NOT_AUTHORIZED 20081229
7 OTHER_ERROR 20081229
8 OWN_LOGICAL_SYSTEM_NOT_DEFINED 20081229
9 PARAMETER_ERROR 20081229

Method CONVT_OTF_TO_PDF_ATTACHMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RM_SO_ATTACH_TAB Call by reference Type reference (TYPE) /MRSS/T_RM_SO_ATTACH_TAB Sap Office Attachment Table 20090119
2 Importing IV_OTF Call by reference Type reference (TYPE) TLINE_TAB List of SAPscript Lines 20090119
3 Importing IV_SUBJECT Call by reference Type reference (TYPE) STRING 20090119
# Exception Resumable Description Created on
1 OTHER_ERROR 20090120
2 WRONG_PARAMETER 20090120

Method CONV_RM_ATTACH_TO_SO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SO_MAIL_ATTACH_TAB Call by reference Type reference (TYPE) /MRSS/T_RM_SO_ATTACH_TAB Sap Office Attachment Table 20081229
2 Importing 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 WRONG_PARAMETERS 20081229

Method CREATE_RM_BO_ATTACHMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_TEXT Call by reference Type reference (TYPE) STRING 20081229
2 Importing IS_REQUEST Call by reference Type reference (TYPE) /MRSS/T_RM_REQUEST Request Header 20081229
3 Importing IV_COMMIT Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG Indicator 20081229
# Exception Resumable Description Created on
1 ATTACH_ERROR 20081229
2 DATA_ERROR 20081229

Method DELETE_ALL_RM_BO_ATTACH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_TEXT Call by reference Type reference (TYPE) STRING 20081229
2 Importing IT_ATTACH_KEY_TAB Call by reference Type reference (TYPE) /MRSS/T_RM_ATTACH_KEY_TAB Input Key table for RM Attachments 20081229
3 Importing IV_COMMIT Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG Indicator 20081229
# Exception Resumable Description Created on
1 ATTACH_READ_ERROR 20081229
2 DELETE_ERROR 20081229
3 PARAMETER_ERROR 20081229

Method DELETE_REQ_ATTACHMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_TEXT Call by reference Type reference (TYPE) STRING 20081229
2 Importing IV_CANDIDATE_ID Call by reference Type reference (TYPE) /MRSS/T_SGE_PARTNER_ID Partner ID 20081229
3 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) BAPIBDS01-CLASSNAME 'BUS2002' Business Document Service: Class name 20081229
4 Importing IV_COMMIT Value transfer Type reference (TYPE) /MRSS/T_RM_FLAG 'X' Indicator 20081229
5 Importing IV_DEMAND_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID_32 GUID 20081229
6 Importing IV_DOC_ID Value transfer Type reference (TYPE) BDS_DOCID Business Document Service: Document ID 20081229
7 Importing IV_IS_EXTERNAL Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG Indicator 20081229
8 Importing IV_REQ_ID Value transfer Type reference (TYPE) /MRSS/T_RM_REQ_ID Request Number 20081229
9 Importing IV_ROLE_NO Call by reference Type reference (TYPE) /MRSS/T_RM_ROLE_ID Role Number 20081229
# Exception Resumable Description Created on
1 DELETE_ERROR 20081229
2 OWN_LOGICAL_SYSTEM_NOT_DEFINED 20081229
3 PARAMETER_ERROR 20081229

Method GET_EMP_ATTACH_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_RM_ATTACH Call by reference Type reference (TYPE) /MRSS/T_RM_ATTACH Table type of attachments 20081229
2 Importing 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 ATTACHMENT_READ_ERROR 20081229

Method GET_EMP_ATTACH_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing 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 Importing IV_FETCH_CAND_REQ_ATTACH Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG 'X' Indicator 20090604
3 Importing IV_FETCH_EMP_PROF_ATTACH Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG 'X' Indicator 20090604
# Exception Resumable Description Created on
1 ATTACHMENT_ERROR 20081229
2 NO_MRSS_EMP_PROF 20081229
3 WRONG_PARAMETERS 20081229

Method GET_EMP_PROF_ATTACH_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ATTACH_INFO Call by reference Type reference (TYPE) /MRSS/T_RM_ATTACH_TAB Table type of attachments 20090604
2 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20090604
# Exception Resumable Description Created on
1 NO_EMP_PROF 20090605
2 WRONG_PARAMETERS 20090605

Method GET_GUID_4_RMBO_ATTACH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GUID32 Call by reference Type reference (TYPE) /MRSS/T_GUID_32 Char32 GUID 20081229
2 Importing IS_CANDIDATE Call by reference Type reference (TYPE) /MRSS/T_RM_CANDIDATE Candidates for Role 20081229
3 Importing IS_ROLE Call by reference Type reference (TYPE) /MRSS/T_RM_ROLE Role Details 20081229
# Exception Resumable Description Created on
1 DATA_ERROR 20081229

Method GET_REQUEST_ATTACHMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ATTACH_TAB Call by reference Type reference (TYPE) /MRSS/T_RM_ATTACH_TAB Attachments to Request 20081229
2 Importing IV_REQ_ID Value transfer Type reference (TYPE) /MRSS/T_RM_REQ_ID Request Number 20081229
# Exception Resumable Description Created on
1 ERROR_KPRO 20081229
2 INTERNAL_ERROR 20081229
3 NOTHING_FOUND 20081229
4 NOT_ALLOWED 20081229
5 NOT_AUTHORIZED 20081229
6 NO_CONTENT 20081229
7 OTHER_ERROR 20081229
8 OWN_LOGICAL_SYSTEM_NOT_DEFINED 20081229
9 PARAMETER_ERROR 20081229

Method GET_REQ_ATTACHMENT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ATTACHMENT Call by reference Type reference (TYPE) /MRSS/T_RM_ATTACH Attachment Data 20081229
2 Importing IV_CANDIDATE_ID Call by reference Type reference (TYPE) /MRSS/T_SGE_PARTNER_ID Parnter ID 20081229
3 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) BAPIBDS01-CLASSNAME 'BUS2002' Business Document Service: Class name 20081229
4 Importing IV_DEMAND_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID_32 GUID 20081229
5 Importing IV_DOC_ID Value transfer Type reference (TYPE) BDS_DOCID Business Document Service: Document ID 20081229
6 Importing IV_IS_EXTERNAL Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG Indicator 20081229
7 Importing IV_REQ_ID Value transfer Type reference (TYPE) /MRSS/T_RM_REQ_ID Request Number 20081229
8 Importing IV_ROLE_NO Call by reference Type reference (TYPE) /MRSS/T_RM_ROLE_ID Role Number 20081229
# Exception Resumable Description Created on
1 ERROR_MULTIPLE_VERSIONS 20081229
2 ERROR_RETRIEVING_DATA 20081229
3 OWN_LOGICAL_SYSTEM_NOT_DEFINED 20081229
4 PARAMETER_ERROR 20081229

Method GET_REQ_ATTACHMENT_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ATTACH_TAB Call by reference Type reference (TYPE) /MRSS/T_RM_ATTACH_TAB Attachments Information Table 20081229
2 Importing IV_CANDIDATE_ID Call by reference Type reference (TYPE) /MRSS/T_SGE_PARTNER_ID Partner ID 20081229
3 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) BAPIBDS01-CLASSNAME 'BUS2002' Business Document Service: Class name 20081229
4 Importing IV_DEMAND_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID_32 GUID 20081229
5 Importing IV_IS_EXTERNAL Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG Indicator 20081229
6 Importing IV_REQ_ID Value transfer Type reference (TYPE) /MRSS/T_RM_REQ_ID Request Number 20081229
7 Importing IV_ROLE_NO Call by reference Type reference (TYPE) /MRSS/T_RM_ROLE_ID Role Number 20081229
# Exception Resumable Description Created on
1 ERROR_KPRO 20081229
2 INTERNAL_ERROR 20081229
3 NOTHING_FOUND 20081229
4 NOT_ALLOWED 20081229
5 NOT_AUTHORIZED 20081229
6 OTHER_ERROR 20081229
7 OWN_LOGICAL_SYSTEM_NOT_DEFINED 20081229
8 PARAMETER_ERROR 20081229

Method GET_SO_MAIL_ATTACH_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SO_MAIL_ATTACH_TAB Call by reference Type reference (TYPE) /MRSS/T_RM_SO_ATTACH_TAB Table Type for SOOD5 (Attachment) 20090119
2 Importing IT_SO_DOC_INFO_TAB Call by reference Type reference (TYPE) SOOD5TAB SO Attach Info Table 20090119
# Exception Resumable Description Created on
1 ATTACHMENT_READ_ERROR 20090119
2 WRONG_PARAMETERS 20090119

Method SET_ATTACHMENTS_COMMIT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Exporting EV_ERROR_TEXT Call by reference Type reference (TYPE) STRING 20081229
2 Importing IS_REQUEST Call by reference Type reference (TYPE) /MRSS/T_RM_REQUEST Request Header 20081229
3 Importing IV_COMMIT Call by reference Type reference (TYPE) /MRSS/T_RM_FLAG Indicator 20081229
# Exception Resumable Description Created on
1 ATTACH_ERROR 20081229
2 DELETE_ERROR 20081229
History
Last changed by/on SAP  20141109 
SAP Release Created in 610