on 10-20-2008 8:43 AM
Hi Experts
What is the prerequesite for Sending email notifications using Macros in the APO DP & SNP, as we have the Document Function(Macro Element) in the Macro Builder.
How to use Document Macro Element?
Sai
Hi Sujay
Thanks for your Valuable information.
As I need some more Clarity in your answer.
1) Where does we maintain email address of the User (if the User is External user)?
2) Is there a facility to send SMS to user ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks for your replies.
I want where does we maintain email addresses of the Users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai,
Double click on Document Symbol, you will find the "Advance Macro:Attribute mail", Click on Planning Data attachment, so that PB data will get attached to Mail.
Enter the User name fixed sender, note that which is not email address.It`s just only a user name.
In Recipient you enter the user name of the Recipeint.
I think this will be helpful for you.
Regards
Sujay
Hi Sai,
We have created same macro for client requirement. Just check the following logic Take appropriate logic & apply.
Logic:
IF key figure 1 > ( 5% of Key figure 2 + Key figure 2) then system show warring Massage,Alert & send to Users.
IF key figure 1 > ( 10% of Key figure 2 + Key figure 2) then system show Error Massage,Alert & send to Users.
Macro:
New macro
step1: calculation : ( 1 Iterations : W 25.2008; W 25.2008 )
Row: New macro aux. row1 ( Frm W 25.2008 ) =
( ( ( 5 / 100 ) *
Row: Additional Field 2 ( Frm W 25.2008 )
) +
Row: Additional Field 2 ( Frm W 25.2008 )
)
Row: New macro aux. row2 ( Frm W 25.2008 ) =
( ( ( 10 / 100 ) *
Row: Additional Field 2 ( Frm W 25.2008 )
) +
Row: Additional Field 2 ( Frm W 25.2008 )
)
step : send message : ( 1 Iterations : W 25.2008; W 25.2008 )
IF
New condition
Row: Additional Field 1 ( Frm W 25.2008 ) greater than Row: New macro aux. row1 ( Frm W 25.2008 )
IF
New condition
Row: Additional Field 1 ( Frm W 25.2008 ) less than Row: New macro aux. row2 ( Frm W 25.2008 )
Information ( warning )
MAIL WITH WARNING
ELSEIF
New condition
Row: Additional Field 1 ( Frm W 25.2008 )
greater than
Row: New macro aux. row2 ( Frm W 25.2008 )
Information ( error )
MAIL WITH ERROR
ENDIF
ENDIF
Hope this will help you...
Regards
Sujay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai.
Do you want to send the planning table or an alert?
The document function allows you to send the "as is" planning table to a recipient at the time the macro is run.
If the requirement is just to send an alert, then create a macro that generates the alert. Maintain an alert profile suitable for the recipient (/SAPAPO/AMON_SETTING), set the send of alerts (/SAPAPO/AMONMSG) and then run the sending of alerts (/SAPAPO/AMONMSG_SEND).
Hope this helps.
M
Edited by: percx on Oct 20, 2008 10:07 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.