2 weeks ago - last edited 2 weeks ago
Hi experts,
I watched an old tutorial about sending email using workflow. and I noticed that in input variable before inputting the username he always put a word US which means User.
do you have links/documentation for that I don't know why need to put US before username ? the creator of video didn't explain where to get that
see sample below
2 weeks ago
US is the object relationship like O(organization), S(position), C(job).
In your case, US should have been concatenated with SAP user id and should have been written into the container G_EMPLOYEE using CONCATENATION statement or chaining operator(&&)/string template( | | ).
Normally, this is done to deliver the notification/work item to user inbox.
2 weeks ago
thanks for the idea, so if for sample i am using Organization i need to concatenate the the O before the organization like this sample result-> Oorgname am i right?
but how did you check it or where you read the details about this object relation US, O etc? do you have links or blogs that i can read ?
thanks,
2 weeks ago
The details of object relationship can be found in tables like HRP1001(field OTYPE).
No need to concatenate O with organization ids. If you want the notification/work item to be sent to all in an organization, assign the organization id by choosing "Organization" in agent part of mail/activity step.
If only to specific users in an organization, notification/work item to be sent, find their user ids based on their position id/ personnel number and concatenate 'US' to it and assign in agent part of mail/activity step type.