SAP ABAP Class CL_FPB_EXP_MAIL_UTILS (Send Mails to Planners)
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷
EP-PCT-MGR-CO (Application Component) Business Package for Manager Self-Service (FI)
⤷
FPB_EXPRESS_PLANNING (Package) Express Planning (Framework)
⤷
⤷
Properties
| Class | CL_FPB_EXP_MAIL_UTILS | |
| Short Description | Send Mails to Planners | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | FPB_EXPRESS_PLANNING | Express Planning (Framework) |
| Created | 20060621 | SAP |
| Last change | 20130531 | SAP |
| 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 CL_FPB_EXP_MAIL_UTILS has no interface implemented.
Friends
Class CL_FPB_EXP_MAIL_UTILS has no friend class.
Attributes
Class CL_FPB_EXP_MAIL_UTILS has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Check if HTML text | 20061123 | |
| 2 | Static method | Private | Method | Get the URL of Express Planning | 20060803 | |
| 3 | Static method | Private | Method | Get the URL of Express Planning under NWBC | 20101008 | |
| 4 | Static method | Private | Method | Read the standard text for the mail type | 20060801 | |
| 5 | Static method | Private | Method | Get adress for list of users | 20060621 | |
| 6 | Static method | Private | Method | Get adress of sender | 20060803 | |
| 7 | Static method | Private | Method | Replace all placeholders | 20060801 | |
| 8 | Static method | Private | Method | Replace all variables | 20060801 | |
| 9 | Static method | Public | Method | Send emails to list of users | 20060801 | |
| 10 | Static method | Private | Method | Send email to user | 20060621 | |
| 11 | Static method | Private | Method | Set notified flag in database table | 20061018 |
Events
Class CL_FPB_EXP_MAIL_UTILS has no event.
Types
Class CL_FPB_EXP_MAIL_UTILS has no local type.
Method Signatures
Method CHECK_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_HTML | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20061123 | ||||
| 2 | ID_MAILTEXT | Call by reference | Type reference (TYPE) | STRING | 20061123 |
Method CHECK_HTML on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method GET_EXP_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_EXP_URL | Call by reference | Type reference (TYPE) | STRING | 20060803 | ||||
| 2 | ED_INVALID_URL | Call by reference | Type reference (TYPE) | ABAP_BOOL | Table Category for BAPIRETURN1 | 20061123 | |||
| 3 | ID_INSTANCE | Call by reference | Type reference (TYPE) | FPB_EXP_INSTANCE | Express Planning Instance | 20060803 | |||
| 4 | ID_SCENARIO | Call by reference | Type reference (TYPE) | FPB_EXP_SCENARIO | Planning Scenario | 20060803 |
Method GET_EXP_URL on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method GET_EXP_URL_NWBC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_EXP_URL | Call by reference | Type reference (TYPE) | STRING | 20101008 | ||||
| 2 | ED_INVALID_URL | Call by reference | Type reference (TYPE) | ABAP_BOOL | Table Category for BAPIRETURN1 | 20101008 | |||
| 3 | ID_INSTANCE | Call by reference | Type reference (TYPE) | FPB_EXP_INSTANCE | Express Planning Instance | 20101008 | |||
| 4 | ID_SCENARIO | Call by reference | Type reference (TYPE) | FPB_EXP_SCENARIO | Planning Scenario | 20101008 |
Method GET_EXP_URL_NWBC on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method GET_MAIL_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_BODY | Call by reference | Type reference (TYPE) | STRING | 20060801 | ||||
| 2 | ED_HEADER | Call by reference | Type reference (TYPE) | STRING | 20060801 | ||||
| 3 | ID_INSTANCE | Call by reference | Type reference (TYPE) | FPB_EXP_INSTANCE | Express Planning Instance | 20060801 | |||
| 4 | ID_MAILTYPE | Call by reference | Type reference (TYPE) | FPB_EXP_MAILTYPE | 20060801 | ||||
| 5 | ID_SCENARIO | Call by reference | Type reference (TYPE) | FPB_EXP_SCENARIO | Planning Scenario | 20060801 |
Method GET_MAIL_TEXT on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method GET_RECIPIENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RECIPIENTS | Call by reference | Type reference (TYPE) | FPB_EXP_T_RECIPIENTS | Table for Mail Recipients | 20060621 | |||
| 2 | IT_USERNAMES | Call by reference | Type reference (TYPE) | FPB_EXP_T_USERS | Table for usernames | 20060621 |
Method GET_RECIPIENTS on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method GET_SENDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SENDER | Call by reference | Type reference (TYPE) | FPB_EXP_RECIPIENTS | Mail Sender of Express Planning | 20060803 | |||
| 2 | ID_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20060803 |
Method GET_SENDER on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method REPLACE_PLACEHOLDERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_BODY | Call by reference | Type reference (TYPE) | STRING | Body of the email | 20060801 | |||
| 2 | ID_BODY | Call by reference | Type reference (TYPE) | STRING | Body of the email | 20060801 | |||
| 3 | ID_EXP_URL | Call by reference | Type reference (TYPE) | STRING | URL to Express Planning | 20060803 | |||
| 4 | IS_PLR_PARAMS | Call by reference | Type reference (TYPE) | FPB_EXP_S_PLR_PARAM | Parameters of a planning round | 20060801 | |||
| 5 | IS_RECIPIENTS | Call by reference | Type reference (TYPE) | FPB_EXP_RECIPIENTS | Mail Recipients for Express Planning | 20060801 | |||
| 6 | IS_SENDER | Call by reference | Type reference (TYPE) | FPB_EXP_RECIPIENTS | Mail Sender of Express Planning | 20060803 |
Method REPLACE_PLACEHOLDERS on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method REPLACE_VARIABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_BODY | Call by reference | Type reference (TYPE) | STRING | 20060801 | ||||
| 2 | ID_BODY | Call by reference | Type reference (TYPE) | STRING | 20060801 | ||||
| 3 | IS_CONTEXT | Call by reference | Type reference (TYPE) | FPB_EXP_FULL_CONTEXT | Express Planning (=Service-independent context) | 20060804 |
Method REPLACE_VARIABLES on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method SEND_EMAILS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | FCOM_T_BAPIRETURN1 | Boolean Variable (X=True, -=False, Space=Unknown) | 20060822 | |||
| 2 | ID_BODY | Call by reference | Type reference (TYPE) | STRING | mail text/body | 20060830 | |||
| 3 | ID_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | Description of planning round | 20060801 | |||
| 4 | ID_DUEDATE | Call by reference | Type reference (TYPE) | FCOM_PLR_DUEDATE | Due Date | 20060801 | |||
| 5 | ID_EXPINSTANCE | Call by reference | Type reference (TYPE) | FCOM_EXP_INSTANCE | Express Planning Instance | 20060801 | |||
| 6 | ID_EXPSCENARIO | Call by reference | Type reference (TYPE) | FCOM_EXP_SCENARIO | Express Planning Scenario | 20060801 | |||
| 7 | ID_MAILTYPE | Call by reference | Type reference (TYPE) | FPB_EXP_MAILTYPE | mail type | 20060801 | |||
| 8 | ID_PLANNINGROUND | Call by reference | Type reference (TYPE) | FCOM_PLR_NAME | Name of Planning Session | 20060801 | |||
| 9 | ID_STARTDATE | Call by reference | Type reference (TYPE) | FCOM_PLR_STARTDATE | Planning Start Date | 20060801 | |||
| 10 | ID_SUBJECT | Call by reference | Type reference (TYPE) | FPB_EXP_MAIL_SUBJECT | Mail header/subject | 20060830 | |||
| 11 | ID_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20060801 | |||
| 12 | IT_USERNAMES | Call by reference | Type reference (TYPE) | FPB_EXP_T_USERS | Table for usernames | 20060801 |
Method SEND_EMAILS on class CL_FPB_EXP_MAIL_UTILS has no exception.
Method SEND_MAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_BODY | Call by reference | Type reference (TYPE) | STRING | 20060621 | ||||
| 2 | ID_BODY_TEXT | Call by reference | Type reference (TYPE) | STRING | 20060621 | ||||
| 3 | ID_COMMIT_WORK | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060621 | |||
| 4 | ID_HEADER | Call by reference | Type reference (TYPE) | STRING | 20060621 | ||||
| 5 | ID_HTML_MAIL | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060621 | |||
| 6 | ID_RECEIVER | Call by reference | Type reference (TYPE) | STRING | 20060621 | ||||
| 7 | ID_SENDER | Call by reference | Type reference (TYPE) | UNAME | User Name | 20060621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20060621 |
Method SET_NOTIFIED_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_INSTANCE | Call by reference | Type reference (TYPE) | FPB_EXP_INSTANCE | Express Planning Instance | 20061018 | |||
| 2 | ID_MAILTYPE | Call by reference | Type reference (TYPE) | FPB_EXP_MAILTYPE | 20061018 | ||||
| 3 | ID_SCENARIO | Call by reference | Type reference (TYPE) | FPB_EXP_SCENARIO | Planning Scenario | 20061018 | |||
| 4 | IT_USER | Call by reference | Type reference (TYPE) | FPB_EXP_T_USERS | Table for usernames | 20061018 |
Method SET_NOTIFIED_FLAG on class CL_FPB_EXP_MAIL_UTILS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 600 |