SAP ABAP Class /MRSS/CL_DPR_MAIL (Utility class for sending mails)
Hierarchy
☛
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
⤷
PM-WOC (Application Component) Maintenance Processing
⤷
/MRSS/DPR (Package) MRS Interface for Cprojects
⤷
⤷
Properties
| Class | /MRSS/CL_DPR_MAIL | |
| Short Description | Utility class for sending mails | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /MRSS/DPR | MRS Interface for Cprojects |
| Created | 20080209 | SAP |
| Last change | 20141109 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /MRSS/CL_DPR_MAIL has no forward declaration.
Interfaces
Class /MRSS/CL_DPR_MAIL has no interface implemented.
Friends
Class /MRSS/CL_DPR_MAIL 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) | /MRSS/C_DPR_FORM_TAB | Forms for Communication via E-Mail and Groupware | 20080209 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Fetch the subject and body text | 20080215 | |
| 2 | Static method | Public | Method | Build Text for Mail to be sent to Manager | 20080209 | |
| 3 | Static method | Public | Method | Build Text for Mail to be sent to Manager | 20080229 | |
| 4 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20080209 | |
| 5 | Static method | Public | Method | Converts DPR Attachment to SAP Office Attachment | 20080215 | |
| 6 | Static method | Public | Method | Convert Smartform to HTML | 20080522 | |
| 7 | Static method | Public | Method | 20080214 | ||
| 8 | Static method | Private | Method | Get the Receipents for Email | 20080214 | |
| 9 | Static method | Private | Method | Retrieves Employee Attachment Data | 20080225 | |
| 10 | Static method | Private | Method | Fetch the attachments of candidates | 20080214 | |
| 11 | Static method | Private | Method | Fetch the Form Template | 20080209 | |
| 12 | Static method | Public | Method | Get resource managers of the indent | 20080617 | |
| 13 | Static method | Private | Method | 20080225 | ||
| 14 | Static method | Public | Method | Send an E-Mail by BCS | 20080212 | |
| 15 | Static method | Private | Method | Split String | 20080225 | |
| 16 | Static method | Public | Method | Decomposes a String in a Table with Row Length 255 | 20080212 |
Events
Class /MRSS/CL_DPR_MAIL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_CL_MAX_LEN | Public | See coding | 20080225 | T_CL_MAX_LEN(25) type n
|
Method Signatures
Method BUILD_MAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080215 | |||
| 2 | EV_BODY_TEXT | Call by reference | Type reference (TYPE) | STRING | Objcont and Objhead as Table Type | 20080215 | |||
| 3 | EV_SUBJECT | Call by reference | Type reference (TYPE) | SO_OBJ_DES | Short description of contents | 20080215 | |||
| 4 | IS_INDENT_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_UI_DATA | Structure to hold the UI data in the custom MRS tab | 20080215 | |||
| 5 | IV_BODY_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080215 | |||
| 6 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080215 | |||
| 7 | IV_SUB_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080215 |
Method BUILD_MAIL on class /MRSS/CL_DPR_MAIL has no exception.
Method BUILD_MAIL_FOR_MANAGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BODY_TEXT | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080209 | |||
| 2 | ET_DOC_FILE_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080521 | |||
| 3 | ET_DOC_FILE_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_DOC_FILE_DATA_TAB | EDMS Table: Document or File Data | 20080521 | |||
| 4 | ET_DOC_FILE_HTML | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080522 | |||
| 5 | ET_MAIL_ADR_BCC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | |||
| 6 | ET_MAIL_ADR_CC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | |||
| 7 | ET_MAIL_ADR_TO | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | |||
| 8 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080209 | |||
| 9 | EV_MAILTO | Call by reference | Type reference (TYPE) | STRING | 20080209 | ||||
| 10 | EV_MAIL_SENDER | Call by reference | Type reference (TYPE) | AD_SMTPADR | E-Mail address of sender | 20080209 | |||
| 11 | EV_RC | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20080209 | |||
| 12 | EV_SUBJECT | Call by reference | Type reference (TYPE) | STRING | Short description of contents | 20080209 | |||
| 13 | IS_INDENT_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_UI_DATA | Structure to hold the UI data in the custom MRS tab | 20080229 | |||
| 14 | IS_PART_EXT | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_TS_PART_EXT | Role Attributes (External) | 20080212 | |||
| 15 | IS_PROJECT_EXT | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_TS_PROJECT_EXT | Project Definition Attributes (External) | 20080212 | |||
| 16 | IT_RES_GUID | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_UI_TAB | Send Mail to Resource guids | 20080212 | |||
| 17 | IV_BODY_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080212 | |||
| 18 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | 'E' | Language Key of Current Text Environment | 20080209 | ||
| 19 | IV_SENDER | Call by reference | Type reference (TYPE) | SY-UNAME | SY-UNAME | User Name | 20080209 | ||
| 20 | IV_SUB_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Project instance not available | 20080209 | ||
| 2 | Resource Not Found | 20080209 | ||
| 3 | Participant instance not available | 20080209 |
Method BUILD_MAIL_FROM_PLB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BODY_TEXT | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080229 | |||
| 2 | ET_MAIL_ADR_BCC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080229 | |||
| 3 | ET_MAIL_ADR_CC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080229 | |||
| 4 | ET_MAIL_ADR_TO | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080229 | |||
| 5 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080229 | |||
| 6 | EV_MAILTO | Call by reference | Type reference (TYPE) | STRING | 20080229 | ||||
| 7 | EV_MAIL_SENDER | Call by reference | Type reference (TYPE) | AD_SMTPADR | E-Mail Address | 20080229 | |||
| 8 | EV_RC | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20080229 | |||
| 9 | EV_SUBJECT | Call by reference | Type reference (TYPE) | STRING | 20080229 | ||||
| 10 | IS_CHANGED_OBJECTS | Call by reference | Type reference (TYPE) | /MRSS/T_PUSH_BACK_INFO | BAdI: Assignment action | 20080310 | |||
| 11 | IT_CHANGED_OBJECTS | Call by reference | Type reference (TYPE) | /MRSS/T_PUSH_BACK_INFO_TAB | Table of changed objects for reintegration | 20080314 | |||
| 12 | IV_BODY_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080229 | |||
| 13 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Language Key of Current Text Environment | 20080229 | ||
| 14 | IV_SENDER | Call by reference | Type reference (TYPE) | SY-UNAME | SY-UNAME | User Name | 20080229 | ||
| 15 | IV_SUB_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080229 |
Method BUILD_MAIL_FROM_PLB on class /MRSS/CL_DPR_MAIL has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /MRSS/CL_DPR_MAIL has no parameter.
Method CLASS_CONSTRUCTOR on class /MRSS/CL_DPR_MAIL has no exception.
Method CONV_DPR_ATTACH_TO_SO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DOC_FILE_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080225 | |||
| 2 | ET_DOC_FILE_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_DOC_FILE_DATA_TAB | EDMS Table: Document or File Data | 20080225 | |||
| 3 | IT_DPR_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_ATTACH_TAB | Table type of attachments | 20080215 |
Method CONV_DPR_ATTACH_TO_SO on class /MRSS/CL_DPR_MAIL has no exception.
Method CONV_SM_TO_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DOC_FILE_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080522 | |||
| 2 | ET_DOC_FILE_HTML | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080522 | |||
| 3 | EV_FILE_DATA | Call by reference | Type reference (TYPE) | XSTRING | Get the File data | 20080522 | |||
| 4 | IV_FORM_NAME | Call by reference | Type reference (TYPE) | TDSFNAME | Smart Forms: Form Name | 20080522 |
Method CONV_SM_TO_HTML on class /MRSS/CL_DPR_MAIL has no exception.
Method GET_EMAIL_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RECPT_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_EMAIL_RECPT_TAB | Email Receipents Table | 20080214 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080214 | |||
| 3 | ET_SO_USER_ATTACH_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_USER_SO_ATTACH_TAB | SAP Office Users Attachments Table | 20080214 | |||
| 4 | EV_BODY_TEXT | Call by reference | Type reference (TYPE) | STRING | 20080215 | ||||
| 5 | EV_SUBJECT | Call by reference | Type reference (TYPE) | SO_OBJ_DES | Short description of contents | 20080215 | |||
| 6 | IS_INDENT_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_UI_DATA | Structure to hold the UI data in the custom MRS tab | 20080214 |
Method GET_EMAIL_DATA on class /MRSS/CL_DPR_MAIL has no exception.
Method GET_EMAIL_RECEIPENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RECPT_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_EMAIL_RECPT_TAB | Email Receipents Table | 20080214 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080214 | |||
| 3 | IS_INDENT_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_UI_DATA | Structure to hold the UI data in the custom MRS tab | 20080214 |
Method GET_EMAIL_RECEIPENTS on class /MRSS/CL_DPR_MAIL has no exception.
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_DPR_ATTACH | Attachment List table | 20080225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while reading attachment data | 20080225 |
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_DPR_USER_SO_ATTACH_TAB | SAP Office Users Attachments Table | 20080214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error reading the employee attachment data | 20080225 | ||
| 2 | 20080214 | |||
| 3 | Incorrect parameters | 20080214 |
Method GET_FORM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FORM_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080209 | |||
| 2 | IV_FORM_LANGU | Call by reference | Type reference (TYPE) | SPRAS | Language Key | 20080209 | |||
| 3 | RS_FORM | Value transfer | Type reference (TYPE) | /MRSS/C_DPR_FORM | Forms for Communication via E-Mail and Groupware | 20080209 |
Method GET_FORM on class /MRSS/CL_DPR_MAIL has no exception.
Method GET_RESOURCE_MANAGERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_INDENT_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_UI_DATA | Structure to hold the UI data in the custom MRS tab | 20080617 | |||
| 2 | RT_RM | Value transfer | Type reference (TYPE) | /MRSS/T_DPR_EMAIL_RECPT_TAB | Email Receipents Table | 20080617 |
Method GET_RESOURCE_MANAGERS on class /MRSS/CL_DPR_MAIL has no exception.
Method GET_SO_DOC_HEX_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SO_DOC_HEX_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080225 | |||
| 2 | EV_LINES | Call by reference | Type reference (TYPE) | I | 20080225 | ||||
| 3 | EV_SIZE | Call by reference | Type reference (TYPE) | SO_DOC_SIZ | Size of SAPoffice Document (for API1) | 20080225 | |||
| 4 | IV_SO_DOC_ID | Call by reference | Type reference (TYPE) | SO_ENTRYID | Folder Entry ID (Obj+Fol+Forwarder Name) | 20080225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while reading the attachment data | 20080225 |
Method SEND_MAIL_VIA_BCS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Instructions | 20080212 | |||
| 2 | IT_BODY_TEXT | Call by reference | Type reference (TYPE) | SOLI_TAB | Text Line of Mail Body | 20080212 | |||
| 3 | IT_DOC_FILE_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080521 | |||
| 4 | IT_DOC_FILE_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_DOC_FILE_DATA_TAB | EDMS Table: Document or File Data | 20080521 | |||
| 5 | IT_DOC_FILE_HTML | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080522 | |||
| 6 | IT_MAIL_ADR_BCC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | |||
| 7 | IT_MAIL_ADR_CC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | |||
| 8 | IT_MAIL_ADR_TO | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | |||
| 9 | IV_COMMIT | Value transfer | Type reference (TYPE) | BOOLEAN | 'X' | Boolean Variable (X=Commit, Space=Do not commit ) | 20080311 | ||
| 10 | IV_SUBJECT | Call by reference | Type reference (TYPE) | STRING | Subject of Mail | 20080212 |
Method SEND_MAIL_VIA_BCS on class /MRSS/CL_DPR_MAIL has no exception.
Method SPLIT_STRING_TO_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TABLE | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080225 | |||
| 2 | IV_STRING | Call by reference | Type reference (TYPE) | ANY | 20080225 | ||||
| 3 | IV_TABLE_LENGTH | Call by reference | Type reference (TYPE) | N | 20080225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080225 |
Method SPLIT_STRING_TO_TEXT255_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20080212 | ||||
| 2 | RT_TABLE | Value transfer | Type reference (TYPE) | BCSY_TEXT | Text Table | 20080212 |
Method SPLIT_STRING_TO_TEXT255_TAB on class /MRSS/CL_DPR_MAIL has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 610 |