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
⤷ 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 | GT_DPR_FORMS | 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 | BUILD_MAIL | Static method | Private | Method | Fetch the subject and body text | 20080215 |
2 | BUILD_MAIL_FOR_MANAGER | Static method | Public | Method | Build Text for Mail to be sent to Manager | 20080209 |
3 | BUILD_MAIL_FROM_PLB | Static method | Public | Method | Build Text for Mail to be sent to Manager | 20080229 |
4 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20080209 |
5 | CONV_DPR_ATTACH_TO_SO | Static method | Public | Method | Converts DPR Attachment to SAP Office Attachment | 20080215 |
6 | CONV_SM_TO_HTML | Static method | Public | Method | Convert Smartform to HTML | 20080522 |
7 | GET_EMAIL_DATA | Static method | Public | Method | 20080214 | |
8 | GET_EMAIL_RECEIPENTS | Static method | Private | Method | Get the Receipents for Email | 20080214 |
9 | GET_EMP_ATTACH_DATA | Static method | Private | Method | Retrieves Employee Attachment Data | 20080225 |
10 | GET_EMP_ATTACH_INFO | Static method | Private | Method | Fetch the attachments of candidates | 20080214 |
11 | GET_FORM | Static method | Private | Method | Fetch the Form Template | 20080209 |
12 | GET_RESOURCE_MANAGERS | Static method | Public | Method | Get resource managers of the indent | 20080617 |
13 | GET_SO_DOC_HEX_CONTENT | Static method | Private | Method | 20080225 | |
14 | SEND_MAIL_VIA_BCS | Static method | Public | Method | Send an E-Mail by BCS | 20080212 |
15 | SPLIT_STRING_TO_TABLE | Static method | Private | Method | Split String | 20080225 |
16 | SPLIT_STRING_TO_TEXT255_TAB | 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 | Exporting | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080215 | ||
2 | Exporting | EV_BODY_TEXT | Call by reference | Type reference (TYPE) | STRING | Objcont and Objhead as Table Type | 20080215 | ||
3 | Exporting | EV_SUBJECT | Call by reference | Type reference (TYPE) | SO_OBJ_DES | Short description of contents | 20080215 | ||
4 | Importing | 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 | Importing | IV_BODY_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080215 | ||
6 | Importing | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080215 | ||
7 | Importing | 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 | Exporting | ET_BODY_TEXT | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080209 | ||
2 | Exporting | ET_DOC_FILE_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080521 | ||
3 | Exporting | 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 | Exporting | ET_DOC_FILE_HTML | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080522 | ||
5 | Exporting | ET_MAIL_ADR_BCC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | ||
6 | Exporting | ET_MAIL_ADR_CC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | ||
7 | Exporting | ET_MAIL_ADR_TO | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | ||
8 | Exporting | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080209 | ||
9 | Exporting | EV_MAILTO | Call by reference | Type reference (TYPE) | STRING | 20080209 | |||
10 | Exporting | EV_MAIL_SENDER | Call by reference | Type reference (TYPE) | AD_SMTPADR | E-Mail address of sender | 20080209 | ||
11 | Exporting | EV_RC | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20080209 | ||
12 | Exporting | EV_SUBJECT | Call by reference | Type reference (TYPE) | STRING | Short description of contents | 20080209 | ||
13 | Importing | 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 | Importing | IS_PART_EXT | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_TS_PART_EXT | Role Attributes (External) | 20080212 | ||
15 | Importing | IS_PROJECT_EXT | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_TS_PROJECT_EXT | Project Definition Attributes (External) | 20080212 | ||
16 | Importing | IT_RES_GUID | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_UI_TAB | Send Mail to Resource guids | 20080212 | ||
17 | Importing | IV_BODY_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080212 | ||
18 | Importing | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | 'E' | Language Key of Current Text Environment | 20080209 | |
19 | Importing | IV_SENDER | Call by reference | Type reference (TYPE) | SY-UNAME | SY-UNAME | User Name | 20080209 | |
20 | Importing | 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 | NO_PROJECT | Project instance not available | 20080209 | |
2 | NO_RESOURCE | Resource Not Found | 20080209 | |
3 | NO_ROLE | 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 | Exporting | ET_BODY_TEXT | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080229 | ||
2 | Exporting | ET_MAIL_ADR_BCC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080229 | ||
3 | Exporting | ET_MAIL_ADR_CC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080229 | ||
4 | Exporting | ET_MAIL_ADR_TO | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080229 | ||
5 | Exporting | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080229 | ||
6 | Exporting | EV_MAILTO | Call by reference | Type reference (TYPE) | STRING | 20080229 | |||
7 | Exporting | EV_MAIL_SENDER | Call by reference | Type reference (TYPE) | AD_SMTPADR | E-Mail Address | 20080229 | ||
8 | Exporting | EV_RC | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20080229 | ||
9 | Exporting | EV_SUBJECT | Call by reference | Type reference (TYPE) | STRING | 20080229 | |||
10 | Importing | IS_CHANGED_OBJECTS | Call by reference | Type reference (TYPE) | /MRSS/T_PUSH_BACK_INFO | BAdI: Assignment action | 20080310 | ||
11 | Importing | IT_CHANGED_OBJECTS | Call by reference | Type reference (TYPE) | /MRSS/T_PUSH_BACK_INFO_TAB | Table of changed objects for reintegration | 20080314 | ||
12 | Importing | IV_BODY_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080229 | ||
13 | Importing | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Language Key of Current Text Environment | 20080229 | |
14 | Importing | IV_SENDER | Call by reference | Type reference (TYPE) | SY-UNAME | SY-UNAME | User Name | 20080229 | |
15 | Importing | 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 | Exporting | ET_DOC_FILE_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080225 | ||
2 | Exporting | 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 | Importing | 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 | Exporting | ET_DOC_FILE_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080522 | ||
2 | Exporting | ET_DOC_FILE_HTML | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080522 | ||
3 | Exporting | EV_FILE_DATA | Call by reference | Type reference (TYPE) | XSTRING | Get the File data | 20080522 | ||
4 | Importing | 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 | Exporting | ET_RECPT_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_EMAIL_RECPT_TAB | Email Receipents Table | 20080214 | ||
2 | Exporting | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080214 | ||
3 | Exporting | 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 | Exporting | EV_BODY_TEXT | Call by reference | Type reference (TYPE) | STRING | 20080215 | |||
5 | Exporting | EV_SUBJECT | Call by reference | Type reference (TYPE) | SO_OBJ_DES | Short description of contents | 20080215 | ||
6 | Importing | 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 | Exporting | ET_RECPT_TAB | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_EMAIL_RECPT_TAB | Email Receipents Table | 20080214 | ||
2 | Exporting | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20080214 | ||
3 | Importing | 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 | Changing | CS_RM_ATTACH | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_ATTACH | Attachment List table | 20080225 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ATTACHMENT_READ_ERROR | 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 | Changing | 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 | ATTACHMENT_READ_ERROR | Error reading the employee attachment data | 20080225 | |
2 | NO_MRSS_EMP_PROF | 20080214 | ||
3 | WRONG_PARAMETERS | Incorrect parameters | 20080214 |
Method GET_FORM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_FORM_KEY | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_FORM_KEY | Usage Type of Form for Communication | 20080209 | ||
2 | Importing | IV_FORM_LANGU | Call by reference | Type reference (TYPE) | SPRAS | Language Key | 20080209 | ||
3 | Returning | 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 | Importing | 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 | Returning | 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 | Exporting | ET_SO_DOC_HEX_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080225 | ||
2 | Exporting | EV_LINES | Call by reference | Type reference (TYPE) | I | 20080225 | |||
3 | Exporting | EV_SIZE | Call by reference | Type reference (TYPE) | SO_DOC_SIZ | Size of SAPoffice Document (for API1) | 20080225 | ||
4 | Importing | 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 | ATTACHMENT_READ_ERROR | 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 | Exporting | EV_RC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Instructions | 20080212 | ||
2 | Importing | IT_BODY_TEXT | Call by reference | Type reference (TYPE) | SOLI_TAB | Text Line of Mail Body | 20080212 | ||
3 | Importing | IT_DOC_FILE_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080521 | ||
4 | Importing | 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 | Importing | IT_DOC_FILE_HTML | Call by reference | Type reference (TYPE) | SOLI_TAB | Objcont and Objhead as Table Type | 20080522 | ||
6 | Importing | IT_MAIL_ADR_BCC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | ||
7 | Importing | IT_MAIL_ADR_CC | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | ||
8 | Importing | IT_MAIL_ADR_TO | Call by reference | Type reference (TYPE) | /MRSS/T_DPR_MAIL_ADDRESSES_TAB | Mail Addresses Recipients Status Report | 20080212 | ||
9 | Importing | IV_COMMIT | Value transfer | Type reference (TYPE) | BOOLEAN | 'X' | Boolean Variable (X=Commit, Space=Do not commit ) | 20080311 | |
10 | Importing | 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 | Exporting | ET_TABLE | Call by reference | Type reference (TYPE) | SOLIX_TAB | GBT: SOLIX as Table Type | 20080225 | ||
2 | Importing | IV_STRING | Call by reference | Type reference (TYPE) | ANY | 20080225 | |||
3 | Importing | IV_TABLE_LENGTH | Call by reference | Type reference (TYPE) | N | 20080225 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | WRONG_INPUT_DATA | 20080225 |
Method SPLIT_STRING_TO_TEXT255_TAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20080212 | |||
2 | Returning | 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 |