SAP ABAP Class /TDAG/CPCL_MAILER (CP: Component to send mails)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷
EHS (Application Component) Environment, Health and Safety
⤷
/TDAG/CP_OF (Package) CP: Overall functions and features

⤷

⤷

Properties
Class | /TDAG/CPCL_MAILER | |
Short Description | CP: Component to send mails | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /TDAG/CP_OF | CP: Overall functions and features |
Created | 20070613 | SAP |
Last change | 20141109 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class /TDAG/CPCL_MAILER has no forward declaration.
Interfaces
Class /TDAG/CPCL_MAILER has no interface implemented.
Friends
Class /TDAG/CPCL_MAILER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /TDAG/CPY_SOTEXT | Content of the mail | 20070613 | ||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /TDAG/CPY_SOLISTI1 | Text of the mail | 20070613 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /TDAG/CPY_SOMLRECI1 | CP: Table type of SAP Office structure SOMLRECI1 | 20070613 | ||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SO_OBJ_DES | Short description of contents | 20070613 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SO_OBJ_TP | Code for document class | 20070613 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SO_OBJ_NAM | Name of document, folder or distribution list | 20070613 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SO_OBJ_NAM | File extension | 20070613 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SO_DOC_SIZ | Size of SAPoffice Document (for API1) | 20070613 | ||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ESEBOOLE | Flag if the mail contains an attachment | 20070613 | ||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SPRAS | Language Key | 20090812 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SO_OBJ_NAM | Name of document, folder or distribution list | 20070613 | ||
12 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SO_OBJ_SNS | Object: Sensitivity (private, functional, ...) | 20070613 | ||
13 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SO_OBJ_DES | Short description of contents | 20070613 | ||
14 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ESEBOOLE | Flag if the mail shall be put in outbox | 20070613 | ||
15 | ![]() |
Static Attribute | Public | Type reference (TYPE) | SO_ESCAPE | 'U' | Internet address | 20070613 | |
16 | ![]() |
Static Attribute | Public | Type reference (TYPE) | SO_ESCAPE | 'B' | SAP user | 20070613 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Constructor | Constructor | 20070613 |
2 | ![]() |
Instance method | Public | Method | Sends a mail to one or more SAP users (into SAP Office) | 20070613 |
Events
Class /TDAG/CPCL_MAILER has no event.
Types
Class /TDAG/CPCL_MAILER has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_MAIL_ATT_CONTENT | Call by reference | Type reference (TYPE) | /TDAG/CPY_SOTEXT | Binary content of the attachment in SAP Office structures | 20070613 | ||
2 | ![]() |
IT_MAIL_TEXT | Call by reference | Type reference (TYPE) | /TDAG/CPY_SOLISTI1 | Text of the mail in SAP Office structures | 20070613 | ||
3 | ![]() |
IT_RECEIVERS | Call by reference | Type reference (TYPE) | /TDAG/CPY_SOMLRECI1 | Mail receivers in SAP Office structures | 20070613 | ||
4 | ![]() |
I_ATT_DESCR | Call by reference | Type reference (TYPE) | SO_OBJ_DES | Description of the attachment | 20070613 | ||
5 | ![]() |
I_ATT_DOCTYPE | Call by reference | Type reference (TYPE) | SO_OBJ_TP | Code for document class (e.g. PDF) | 20070613 | ||
6 | ![]() |
I_ATT_FILENAME | Call by reference | Type reference (TYPE) | SO_OBJ_NAM | Filename of the attachment (without extension) | 20070613 | ||
7 | ![]() |
I_ATT_FILE_EXT | Call by reference | Type reference (TYPE) | SO_OBJ_NAM | Extension of the attachment filename with dot (e.g. .pdf) | 20070613 | ||
8 | ![]() |
I_ATT_SIZE | Call by reference | Type reference (TYPE) | SO_DOC_SIZ | Filesize of the attachment | 20070613 | ||
9 | ![]() |
I_FLG_CONTAINS_ATT | Call by reference | Type reference (TYPE) | ESEBOOLE | '' | The mail contains an attachment | 20070613 | |
10 | ![]() |
I_MAIL_LANGU | Call by reference | Type reference (TYPE) | SPRAS | SY-LANGU | Language Key | 20090812 | |
11 | ![]() |
I_MAIL_NAME | Call by reference | Type reference (TYPE) | SO_OBJ_NAM | 'URGENT' | Name of the mail | 20070613 | |
12 | ![]() |
I_MAIL_SENSIVITY | Call by reference | Type reference (TYPE) | SO_OBJ_SNS | 'O' | Object: Sensitivity (private, functional, ...) | 20070613 | |
13 | ![]() |
I_MAIL_SUBJECT | Call by reference | Type reference (TYPE) | SO_OBJ_DES | Subject of the mail | 20070613 | ||
14 | ![]() |
I_PUT_IN_OUTBOX | Call by reference | Type reference (TYPE) | ESEBOOLE | 'X' | Flag if the mail shall also be stored in outbox of SAP Offic | 20070613 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
The information about the attachment is incomplete | 20070613 | |
2 | ![]() |
No recipients were specified | 20070613 |
Method SEND_MAIL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_NEW_OBJECT_ID | Call by reference | Type reference (TYPE) | SO_OBJ_ID | SAPoffice: ID of a SAPoffice object | 20070613 | ||
2 | ![]() |
E_SENT_TO_ALL | Call by reference | Type reference (TYPE) | ESEBOOLE | Truth Value | 20070613 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Document was not sent | 20070613 | |
2 | ![]() |
Document type or attachment type does not exist | 20070613 | |
3 | ![]() |
Required locks could not be set | 20070613 | |
4 | ![]() |
No authorization to send/create | 20070613 | |
5 | ![]() |
Invalid combination of parameter values | 20070613 | |
6 | ![]() |
Too many recipients, no authorization | 20070613 | |
7 | ![]() |
Internal error or database inconsistency | 20070613 |
History
Last changed by/on | SAP | 20141109 |
SAP Release Created in | 222_46C |