on 2012 Feb 15 7:48 AM
Hi guys,
In Mail step of my Workflow I want to use the Recipient type 'User', but user which I want does not exist in the development server, and is available in our test and production server.
Is there any way to handle this situation of assigning agents which does not exist in development environment.
thanks and advance.
regards,
Ishtiyaq
Hi,
This can be handle in may ways...
1. Rule with resposibility
Please define a custom rule with responsibilities which will always return your test user.
And use this rule in your dialog step. As a rusult of that your test user will get tht task.
Note : user can added to responsibility through transaction OOCU_RESP in any environment.
2. Rule with Function Module.
Please define a custom rule with custom Function Module which will always return your test user.
And use this rule in your dialog step. As a rusult of that your test user will get tht task.
Logic is your test user will be maintained in a configurable table and FM will feche this user from this table.
Please refer below link for more details.
http://www.genipole.com/tutorials/creating-custom-rule-using-function-module-in-sap-workflow/
Thanks and regards,
SNJY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sanju,
thank you very much for your quick reply.
I agree with both the ways you mentioned . Here in my case I don't want to maintain the user in any table, bcoz
the user I want to send mail exists in Quality and Production System. But the only issue is his id is not created in
development server.
One way would be, basis create the same user as production in development system. So that i can put his name
in my mail step and save the workflow. But issue is basis don't want to create the user in Development.
Hope anybody have some solution for this issue.
thanks.
Ishtiyaq
Hello,
Does this mean that you have a username hardcoded into your workflow? That is a very poor design.
You want to have to do a transport every time that user is replaced or changes positions?
At the very least create a responsibility rule and put the user there.
Why is it a problem to create a userid in a DEV system anyway?
regards
Rick Bakker
hanabi technology
Hello,
"As suggested will create a table and fetch the agents through rule."
Please do not create a table! SAP already has too many. Just create a responsibility rule and then create a step which calls a task which calls a method that accesses that rule using fm RH_GET_ACTORS. Put the result in a container element and you can use that in a SendMail step.
regards
Rick Bakker
hanabi technology
User | Count |
---|---|
79 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.