Hierarchy

⤷

⤷

IMG Activity
ID | ERP_WEC_EMAIL_TEMPL | BAdI: Definition of E-Mail Format and Scenarios |
Transaction Code | S_EB5_05000670 | (empty) |
Created on | 20100310 | |
Customizing Attributes | ERP_WEC_EMAIL_TEMPL | BAdI: Definition of E-Mail Format and Scenarios |
Customizing Activity | ERP_WEC_EMAIL_TEMPL | BAdI: Definition of E-Mail Format and Scenarios |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | ERP_WEC_EMAIL_TEMPL |
Use
This Business Add-In (BAdI) is used in the User Management (WEC-APP-UM) component. The BAdI belongs to enhancement spot ERP_WEC_USER_MGMT_EMAIL.
You can use this BAdI to define the e-mail format and the various scenarios for which you want to send them. For example, you can define that you want to send all e-mails in a text format. You can then specify that e-mails containing logon information have to be sent to Web shop customers in the consumer scenario once they have completed the registration process.
The BAdI has interface IF_ERP_WEC_UM_EMAIL_BADI, with method SEND_EMAIL, which has the following parameters:
Importing Parameters:
IUSERNAME User name entered by the Web shop customer, during registration.
IUSER_EMAIL E-mail address provided by the Web shop customer during registration. The SEND_EMAIL method sends the e-mail to this address.
IUSER_PASSWORD Password entered by the Web shop customer, during registration.
IUSER_SALUTATION Salutation entered by the Web shop customer, during registration.
IUSER_LANGUAGE Language of communication, as indicated by the Web shop customer, during registration.
EMAIL_SENDER E-mail address of the sender
EMAIL_SENDER_NAME Name of the sender
EMAIL_CAUSE Defines format and content of the e-mail. It can include the following scenarios:
- Confirmation of logon details at the end of a registration process, for Web shops in the consumer scenario
- Forgotten password
- Forgotten user name (this parameter is maintained in the Customizing of the user settings in the Web Shop)
COMMIT_WORK To send e-mails immediately after the BAdI is executed, set this parameter to 'X' . Otherwise, you have to define another commit in the process.
NEW_TASK For parallel processing
IUSER_FIRSTNAME First name entered by the Web shop customer, during registration.
IUSER_LASTNAME Last name entered by the Web shop customer, during registration.
IV_ACT_URL Hyperlink, which is sent to the Web shop customer, in the following scenarios:
- To activate the user at the end of the registration process.
- To continue with the registration process. This happens when the customer provides a customer ID during registration. You confirm if the user information is correct by sending an e-mail (with URL) to the e-mail address that is specified in the consumer data record.
Changing Parameters:
RETURN_STATUS
MESSAGES
Requirements
Standard settings
In the standard system, the BAdI implementation ERP_WEC_UM_EMAIL_BADI_IMPL is activated. The default code is executed automatically.
It enables e-mails to be sent in a text format, for the following scenarios:
Scenarios Scenario ID
To confirm user details REGISTRATION_URL
To activate user ACTIVATION_URL
To provide the changed password FORGOT_PASSWORD
To provide the changed user name FORGOT_USER
Activities
Information about the implementation of BAdIs in the context of the enhancement concept is available in the SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
For every scenario provide an appropriate ID. Enter the IDs against the corresponding fields in Web Channel Builder:
- E-Mail Template for Confirmation of User Details
- E-Mail Template for User Activation
- E-Mail Template for Web Shop Customer Validation
- E-Mail Template for Changed Password
- E-Mail Template for Changed User Name
Example
Business Attributes
ASAP Roadmap ID | 204 | Establish Functions and Processes |
Mandatory / Optional | 1 | Mandatory activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | ERP_WEC_EMAIL_TEMPL | 0 | A0G0000044 | Web Channel: Applications |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20110215 |
SAP Release Created in | 605 |