SAP ABAP Class CL_EPM_ADS_MAIL_DISPATCHER (EPM: Utility to send PO Approval Request)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-NWD (Application Component) NetWeaver Demonstration
⤷
S_EPM_ADS (Package) EPM: Document Server / Interactive Forms
⤷
⤷
Properties
| Class | CL_EPM_ADS_MAIL_DISPATCHER | |
| Short Description | EPM: Utility to send PO Approval Request | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_EPM_ADS | EPM: Document Server / Interactive Forms |
| Created | 20110715 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Interfaces
Class CL_EPM_ADS_MAIL_DISPATCHER has no interface implemented.
Friends
Class CL_EPM_ADS_MAIL_DISPATCHER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TDSFNAME | 'SEPM_ADS_APPROVER' | Smart Forms: Form Name | 20110715 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Create form output for PDF | 20110718 | |
| 2 | Static method | Public | Method | Get the SMTP address of EPM_DEMO in this system/client | 20110720 | |
| 3 | Static method | Private | Method | Get Purchase Order Data | 20110718 | |
| 4 | Static method | Public | Method | Send a PDF form with PO data by mail for approval | 20110715 | |
| 5 | Static method | Private | Method | Send mail with PDF attachment | 20110718 | |
| 6 | Static method | Public | Method | Mail Test Method | 20110930 |
Events
Class CL_EPM_ADS_MAIL_DISPATCHER has no event.
Types
Class CL_EPM_ADS_MAIL_DISPATCHER has no local type.
Method Signatures
Method CREATE_FORM_OUTPUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_FORMOUTPUT | Call by reference | Type reference (TYPE) | FPFORMOUTPUT | Form Output (PDF, PDL) | 20110718 | |||
| 2 | EV_SUCCESS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110718 | ||||
| 3 | IS_ADDRESS_HEADER | Call by reference | Type reference (TYPE) | IF_EPM_ADDRESS_HEADER=>TY_NODE_DATA | EPM: Address Header Table | 20111004 | |||
| 4 | IS_BP_HEADER | Call by reference | Type reference (TYPE) | IF_EPM_BP_HEADER=>TY_NODE_DATA | EPM: Business Partner Table | 20111004 | |||
| 5 | IS_EMPLOYEE | Call by reference | Type reference (TYPE) | IF_EPM_ORG_EMPLOYEE=>TY_NODE_DATA | Employee node element data | 20111004 | |||
| 6 | IS_PO_HEADER | Call by reference | Type reference (TYPE) | IF_EPM_PO_HEADER=>TY_NODE_DATA | EPM: Purchase Order Header Table | 20110718 | |||
| 7 | IT_PO_ITEMS | Call by reference | Type reference (TYPE) | IF_EPM_PO_ITEM=>TT_NODE_DATA | Set of item node element data | 20110718 | |||
| 8 | IT_PO_SL | Call by reference | Type reference (TYPE) | IF_EPM_PO_SL=>TT_NODE_DATA | Set of schedule line node element data | 20110718 | |||
| 9 | IT_PRODUCT_HEADERS | Call by reference | Type reference (TYPE) | IF_EPM_PRODUCT_HEADER=>TT_NODE_DATA | Table of product headers | 20111007 |
Method CREATE_FORM_OUTPUT on class CL_EPM_ADS_MAIL_DISPATCHER has no exception.
Method GET_EPM_SENDER_SMTP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SENDER_SMTP_ADDRESS | Value transfer | Type reference (TYPE) | ADR6-SMTP_ADDR | E-Mail Address | 20110720 |
Method GET_EPM_SENDER_SMTP on class CL_EPM_ADS_MAIL_DISPATCHER has no exception.
Method GET_PO_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ADDRESS_HEADER | Call by reference | Type reference (TYPE) | IF_EPM_ADDRESS_HEADER=>TY_NODE_DATA | EPM: Address Header Table | 20111004 | |||
| 2 | ES_BP_HEADER | Call by reference | Type reference (TYPE) | IF_EPM_BP_HEADER=>TY_NODE_DATA | EPM: Business Partner Table | 20111004 | |||
| 3 | ES_EMPLOYEE | Call by reference | Type reference (TYPE) | IF_EPM_ORG_EMPLOYEE=>TY_NODE_DATA | Employee node element data | 20111004 | |||
| 4 | ES_PO_HEADER | Call by reference | Type reference (TYPE) | IF_EPM_PO_HEADER=>TY_NODE_DATA | Table of PO headers | 20110718 | |||
| 5 | ET_PO_ITEMS | Call by reference | Type reference (TYPE) | IF_EPM_PO_ITEM=>TT_NODE_DATA | Set of item node element data | 20110718 | |||
| 6 | ET_PO_SL | Call by reference | Type reference (TYPE) | IF_EPM_PO_SL=>TT_NODE_DATA | Set of schedule line node element data | 20110718 | |||
| 7 | ET_PRODUCT_HEADERS | Call by reference | Type reference (TYPE) | IF_EPM_PRODUCT_HEADER=>TT_NODE_DATA | Table of product headers | 20111007 | |||
| 8 | EV_SUCCESS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110718 | ||||
| 9 | IV_PO_NODE_KEY | Call by reference | Type reference (TYPE) | IF_EPM_BO=>TY_NODE_KEY | Generic Node element key | 20110718 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: Base class for exceptions | 20110718 |
Method SEND_APPROVAL_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMMENT | Call by reference | Type reference (TYPE) | STRING | Comment | 20110715 | |||
| 2 | IV_EMAIL_ADDRESS | Call by reference | Type reference (TYPE) | SNWD_EMAIL_ADDRESS | EPM: E-Mail Address | 20110715 | |||
| 3 | IV_PO_NODE_KEY | Call by reference | Type reference (TYPE) | IF_EPM_BO=>TY_NODE_KEY | Generic Node element key | 20110715 |
Method SEND_APPROVAL_REQUEST on class CL_EPM_ADS_MAIL_DISPATCHER has no exception.
Method SEND_MAIL_WITH_PDF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SUCCESS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110718 | ||||
| 2 | IS_FORMOUTPUT | Call by reference | Type reference (TYPE) | FPFORMOUTPUT | Form Output (PDF, PDL) | 20110718 | |||
| 3 | IV_COMMENT | Call by reference | Type reference (TYPE) | STRING | 20110718 | ||||
| 4 | IV_EMAIL_ADDRESS | Call by reference | Type reference (TYPE) | SNWD_EMAIL_ADDRESS | EPM: E-Mail Address | 20110718 |
Method SEND_MAIL_WITH_PDF on class CL_EPM_ADS_MAIL_DISPATCHER has no exception.
Method TEST_APPROVER_FORM_OUTPUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ADDRESS | Call by reference | Type reference (TYPE) | SNWD_EMAIL_ADDRESS | EPM: E-Mail Address | 20130206 |
Method TEST_APPROVER_FORM_OUTPUT on class CL_EPM_ADS_MAIL_DISPATCHER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 731 |