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 ABAP 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 CHECK_HTML Static method Private Method Check if HTML text 20061123
2 GET_EXP_URL Static method Private Method Get the URL of Express Planning 20060803
3 GET_EXP_URL_NWBC Static method Private Method Get the URL of Express Planning under NWBC 20101008
4 GET_MAIL_TEXT Static method Private Method Read the standard text for the mail type 20060801
5 GET_RECIPIENTS Static method Private Method Get adress for list of users 20060621
6 GET_SENDER Static method Private Method Get adress of sender 20060803
7 REPLACE_PLACEHOLDERS Static method Private Method Replace all placeholders 20060801
8 REPLACE_VARIABLES Static method Private Method Replace all variables 20060801
9 SEND_EMAILS Static method Public Method Send emails to list of users 20060801
10 SEND_MAIL Static method Private Method Send email to user 20060621
11 SET_NOTIFIED_FLAG 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 Exporting ED_HTML Call by reference Type reference (TYPE) ABAP_BOOL 20061123
2 Importing 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 Exporting ED_EXP_URL Call by reference Type reference (TYPE) STRING 20060803
2 Exporting ED_INVALID_URL Call by reference Type reference (TYPE) ABAP_BOOL Table Category for BAPIRETURN1 20061123
3 Importing ID_INSTANCE Call by reference Type reference (TYPE) FPB_EXP_INSTANCE Express Planning Instance 20060803
4 Importing 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 Exporting ED_EXP_URL Call by reference Type reference (TYPE) STRING 20101008
2 Exporting ED_INVALID_URL Call by reference Type reference (TYPE) ABAP_BOOL Table Category for BAPIRETURN1 20101008
3 Importing ID_INSTANCE Call by reference Type reference (TYPE) FPB_EXP_INSTANCE Express Planning Instance 20101008
4 Importing 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 Exporting ED_BODY Call by reference Type reference (TYPE) STRING 20060801
2 Exporting ED_HEADER Call by reference Type reference (TYPE) STRING 20060801
3 Importing ID_INSTANCE Call by reference Type reference (TYPE) FPB_EXP_INSTANCE Express Planning Instance 20060801
4 Importing ID_MAILTYPE Call by reference Type reference (TYPE) FPB_EXP_MAILTYPE 20060801
5 Importing 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 Exporting ET_RECIPIENTS Call by reference Type reference (TYPE) FPB_EXP_T_RECIPIENTS Table for Mail Recipients 20060621
2 Importing 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 Exporting ES_SENDER Call by reference Type reference (TYPE) FPB_EXP_RECIPIENTS Mail Sender of Express Planning 20060803
2 Importing 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 Exporting ED_BODY Call by reference Type reference (TYPE) STRING Body of the email 20060801
2 Importing ID_BODY Call by reference Type reference (TYPE) STRING Body of the email 20060801
3 Importing ID_EXP_URL Call by reference Type reference (TYPE) STRING URL to Express Planning 20060803
4 Importing IS_PLR_PARAMS Call by reference Type reference (TYPE) FPB_EXP_S_PLR_PARAM Parameters of a planning round 20060801
5 Importing IS_RECIPIENTS Call by reference Type reference (TYPE) FPB_EXP_RECIPIENTS Mail Recipients for Express Planning 20060801
6 Importing 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 Exporting ED_BODY Call by reference Type reference (TYPE) STRING 20060801
2 Importing ID_BODY Call by reference Type reference (TYPE) STRING 20060801
3 Importing 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 Exporting ET_RETURN Call by reference Type reference (TYPE) FCOM_T_BAPIRETURN1 Boolean Variable (X=True, -=False, Space=Unknown) 20060822
2 Importing ID_BODY Call by reference Type reference (TYPE) STRING mail text/body 20060830
3 Importing ID_DESCRIPTION Call by reference Type reference (TYPE) STRING Description of planning round 20060801
4 Importing ID_DUEDATE Call by reference Type reference (TYPE) FCOM_PLR_DUEDATE Due Date 20060801
5 Importing ID_EXPINSTANCE Call by reference Type reference (TYPE) FCOM_EXP_INSTANCE Express Planning Instance 20060801
6 Importing ID_EXPSCENARIO Call by reference Type reference (TYPE) FCOM_EXP_SCENARIO Express Planning Scenario 20060801
7 Importing ID_MAILTYPE Call by reference Type reference (TYPE) FPB_EXP_MAILTYPE mail type 20060801
8 Importing ID_PLANNINGROUND Call by reference Type reference (TYPE) FCOM_PLR_NAME Name of Planning Session 20060801
9 Importing ID_STARTDATE Call by reference Type reference (TYPE) FCOM_PLR_STARTDATE Planning Start Date 20060801
10 Importing ID_SUBJECT Call by reference Type reference (TYPE) FPB_EXP_MAIL_SUBJECT Mail header/subject 20060830
11 Importing ID_UNAME Call by reference Type reference (TYPE) UNAME User Name 20060801
12 Importing 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 Importing ID_BODY Call by reference Type reference (TYPE) STRING 20060621
2 Importing ID_BODY_TEXT Call by reference Type reference (TYPE) STRING 20060621
3 Importing ID_COMMIT_WORK Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20060621
4 Importing ID_HEADER Call by reference Type reference (TYPE) STRING 20060621
5 Importing ID_HTML_MAIL Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20060621
6 Importing ID_RECEIVER Call by reference Type reference (TYPE) STRING 20060621
7 Importing ID_SENDER Call by reference Type reference (TYPE) UNAME User Name 20060621
# Exception Resumable Description Created on
1 ERROR 20060621

Method SET_NOTIFIED_FLAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_INSTANCE Call by reference Type reference (TYPE) FPB_EXP_INSTANCE Express Planning Instance 20061018
2 Importing ID_MAILTYPE Call by reference Type reference (TYPE) FPB_EXP_MAILTYPE 20061018
3 Importing ID_SCENARIO Call by reference Type reference (TYPE) FPB_EXP_SCENARIO Planning Scenario 20061018
4 Importing 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