Alert is playing a very important role to notify the users about some critical changes or steps. On the other hand, actions are flexible functions that can be scheduled and processed automatically according to the user-definable conditions. This WIKI contains necessary customizing settings for triggering alert by using partner-dependent action.
To trigger alert by using partner-dependent action, you need to do the following settings to make it work.
IMG-->CRM-->BF-->Alert management-->define alert categories
There are four tabs in this page. And in the ‘container’ tab, you can define data that can be used in the alert text (For example: transaction ID).
Then in ‘Long and Short Text’ tab, you can define the alert text, which the receiver will view in the alert. And you can add the container element by pressing the highlighted button.
IMG-->CRM-->BF-->actions-->actions in transaction-->Change actions and conditions-->define action profile and actions
After you create an action profile, you need to determine in which object type the action profile is used. Since the test sample is for transaction type ZJTA (Copied from TA), I set it as BUS2000115.
Create an action definition that would be scheduled automatically and be processed when saving documents. Assign the partner function ZJAY0012 to this action definition. The action definition will be scheduled when ZJAY0012 user is added in the ZJTA order. And finally, the alert is sent to this user.
Select ‘TRIGGER_ALERT’ method and define the processing parameters for it. Technically, standard BADI EXEC_METHODCALL_PPF (Implementation Name: TRIGGER_ALERT) would be used.
Add the processing parameters ‘category’ and set alert category ‘ZJAYALERT’ (Step 1.1) as the initial value. This parameter will be transfer to the BADI, then alter ‘ZJAYALERT’ would be run.
IMG-->CRM-->BF-->actions-->actions in transaction-->Change actions and conditions-->define conditions
You can add schedule conditions and start conditions here.
If you want the alert to be sent only when the system status is “released”, you can add a schedule condition by pressing ‘edit condition’ button in the schedule condition tab.
Go to schedule condition tab.
Enter a name and click on the highlighted area.
Select the object, operator and constant. After pressing the enter key, the condition will be added.
Save your change, then the action will be scheduled only when the system status contains “I1004”.
System: CRT/800 (BBPCRM Version: SAPKU70206)
Transaction type: ZJTA
Partner determination profile: ZJ000001
Action profile: ZJTEST
Action definition: ZJAYCEALERT
Alert category: ZJAYALERT
Partner function triggering action: ZJAY0012
Create a new ZJTA order, and the action tab is blank at this moment. After partner determination, the ZJAY0012 partner is determined. Change the system status to “released”, then action definition ZJAYCEALERT is added in the order.
Save the order, and the action will be processed.
Log on to WEBUI (salespro), then you can find the alert in the home.
Alternatively, you can open the ‘worklist’ work center.
Firstly, the selected partner function should be in category 0005 (KBA 1792264).
In addition, CRM_ACTION_BADI should be deactivated (KBA 1645931).
You can set fixed recipients for the alert category.
1792264 - Partner dependent actions that trigger an alert send the alert to many partners in the document, and not just the partner whose partner function is maintained in the action customizing
1645931 - Partner Dependent actions are not scheduled when same partner is used in multiple partner functions
https://wiki.scn.sap.com/wiki/display/CRM/How+to+use+SAP+CRM+Alert+Framework+in+3+simple+Steps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
6 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |