on 09-10-2014 12:33 PM
Hi Friends,
In travel request workflow and travel expenses workflow, when manager approved the requests, employee should receive notification mails like "Your Travel Request XXXX approved".
We are using SOST to check notifications because Outlook configuration not yet done.
I am using RSWUWFML2 to trigger the mails, it is working fine to send mails to managers but not working for employees.
I executed RSWUWFML2 with the specific task TS20000095, but no use. Could you please help me on this.
Thank You.
Regards,
Pavan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan
What are you passing in Address String..... I see that the Type ID is B? Normally, it is 'U' - Email ID or 'G' - Org Object (where the Address sting would hold data in format of structure SWHACTOR..... OTYPE will be US for user, S for Position...and so on and OBJID would be the actual ID)
Why have we selected it as a B?
regards,
Modak
Hi Pavan
that still does not answers my question!
What is going in Address string?
Please expand the table AddressStrings table in the container (technical log) so that we can see it.
Also, give a screen shot of the binding between the step and the task.
regards,
Modak
PS: if the address string has a personnel number, then is the communication infotype maintained for email? 0105?
Regards,
Modak
Hi Pavan
"HGURRAMPATI" is the username (TRIP.EMPLOYEE.USER.ID).
use TRIP.EMPLOYEE.USER.NameWithLeadingUS
As mentioned earlier, the address string should have a 'US' for usernames.
Also, set TYPEID as 'G' - org object.
make sure that the email address is maintained for this user in Usermaster record with communication type as INT (SU01) OR the communication infotype for this employee has the email subtype.
With the above, still a notification will go to the user's SAP Inbox, SBWP-> Documents.
If you want it to go to external email (as maintained in SU01 or Communication Infotype), then do the SO16 Settings -> SO16-> Tab Mail Sys Grp -> Select Send to user's home address.
This will make the workflow pick the email from user's SU01 settings or communication infotype and send it out.
Regards,
Modak
Hi Modak,
In the workflow TYPEID = B, it is the standard process, we can change it to G.
My doubt is, how can I add US to the user id element TRIP.EMPLOYEE.USER.ID. It is directly fetching the data from TRIP request. I am planning to create step type with a task and in that a custom method in a BO and try to concatinate ''US' to user id. After that, I will pass this value to the ADDRESSSTRINGS element of the next task.
Could you please guide me is there any other good approach.
Thank You.
Regards,
Pavan.
Hi Pavan
if you look at the definition of Type ID - You will not find B in there. G is the option to send to users......Pickup any workflow email step and select to send to WORKFLOW Initiator (that is the user ID with leading US), the mail step will use Type ID 'G' by default (your task also has the same BOand Method as in Standard email step).
So use type ID 'G' without apprehension
Now, using TRIP.EMPLOYEE.USER.NameWithLeadingUS does not needs any extra thing from your side, it is already available in your container.
In the binding editor (from Workflow to the email task) just expand TRIP object, then Expand EMPLOYEE Object, then USER Object , then drag attribute NAMEWithLeadingUS to the left of the editor which maps to Addressstring in the task. (remember to switch on the technical names in the binding editor to see these actual names instead of their data element description)
Regards,
Modak
Hi Pavan
Did you check what I had mentioned earlier???
.....make sure that the email address is maintained for this user in Usermaster record with communication type as INT (SU01) OR the communication infotype for this employee has the email subtype.
With the above, still a notification will go to the user's SAP Inbox, SBWP-> Documents.
If you want it to go to external email (as maintained in SU01 or Communication Infotype), then do the SO16 Settings -> SO16-> Tab Mail Sys Grp -> Select Send to user's home address.
This will make the workflow pick the email from user's SU01 settings or communication infotype and send it out.
SO16 have to be done in every system and client
Regards,
Modak
Hi Modak,
Yes, email id is maintained for the user in SU01.
Yes, Notifications are going directly to SBWP.
Yes, in SO16, it is maintained as "send to home address of users". Correct me if I am wrong, with this SO16-> send to home address settings , we can trace the notification in SOST. right ?
Thanks for your valuable time and suggestions....
Regards,
Pavan.
Hi Pavan
Yes!
When you send to Org Object (Type ID G) from the workflow, it sends to SAP Inbox
SO16 settings make it send to the "home Address" the (external) email address maintained in SU01/or HR Infotype.
All external emails can be seen in SOST - be it from workflows or from applications outside of workflows.
Regards,
Modak
Hi Pavan
Where is the email address maintained?
can you give complete screen shots of email maintenance (su01 or hr infty)
screen shots of SO16 - mail sys grp tab (in one of the tabs, there is an option to refresh buffers - do perform a refresh and do a new test - old entries will not be affected)
screen shot of the container which shows the address strings and type ID
make sure all filters are selected in SOST
regards,
modak
Hello Modak,
I attached so16 screenshot in the previous reply, please find it below also.
Here, the employee(initiator) will notified in 2 cases
1: when request rejected for changes, he will notified via a workitem to change the request
In this case, workitem is appearing in SOST
2. When request approved, he will notified via a notification mail.
Here, notification mail is not appearing in SOST.
In the above cases, single user notified, for his INT not is maintained in SU01 and I am unable to find INT(internet) option in that. you mean E-Mail instead of INT ?
Regards,
Pavan.
"Change/Configuration Standard Mail Notification Content of Travel Request on ESS"
Scenario: - Now I am getting this mail content:-
Hello ESS,
Your trip 0000000XXX has been approved.
Best Regards,
MSS
Note: Workflow for Travel Request is activated & I used sent mail step to send custom mail content, but custom mail content is not going to sent, instead of custom mail content, standard mail content was sent.
Please start your own thread
Message was edited by: Rick Bakker
Hello,
"I am using RSWUWFML2 to trigger the mails, it is working fine to send mails to managers but not working for employees."
RSWUWFML2 is obsolete. You should use Extended Notifications instead.
Also, that program is not used to send mails informing employees of things being approved, it only alerts managers to the presence of workitems in their inbox.
regards
Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.