on 09-26-2008 12:17 PM
HI All,
I have a requirement where i have to send a mail to user depending on the plant. So i have created a custom background method to determine the agent for the mail based on the plant. Then i am passing this as a expression to mail. I mean i am binding this to agent name to addressstring container of the mail task.
But I am getting the error Object 000000058286 method SENDTASKDESCRIPTION cannot be executed and Document <Budget For Order 800053 Exceeded> could not be sent. How can i rectify this error.
Please guide me as soon as possible.
Thanks and regards,
raj
i used a task and then defined the rule to determine the approver dynamically
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Go to T-code PFAC and create a Rule with Plant then go to OOCU_RESP and create responsiblity inside that you can configure the user based on the data.
Like under one responsibility for Plant P1, P2 you configure user U1 and U2.
Do not forget to bind you WF container to Rule container.
Hope this helps
Regards
Bikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I have designed something like this.
I have written a custom method to determine the approver for a particular plant. I pass this username value to a workflow container. Then i pass this value to the element called address-string in send mail step binding. The value from the workflow container is passed to the mail step properly. But I am getting the error message Work item 000000058295: Object 000000058295 method SENDTASKDESCRIPTION cannot be executed. Can someone over here help me out with this?
Regards,
Raj
hi raj,
You can directly use mail distribution list and define container element and put its type as SWHACTOR!!!
then append as much user you need to send to
OBJECT-TYPE = 'US'
OBJECT-TYPE = 'USERID'.
Then append it to container element.
You can define container element in workflow container and also in the corresponding task then do corresponding-binding between them!!
in send mail step use expression and put this element ino it
then don't worry it will works on !!!
Hope this will help you!!
And ofcourse swhactor is in ABAP Data-dict.
its a structure!!
you can also refer this forum
Regads,
Purvesh Patel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi raj,
check the WF log using swul and see whether That container element having any value inside it or not......
if its having then check for your binding ........
regards Dev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you sure that your mail recipients have been determined? If you are passing in a blank list of recipients you will get this error. Also, check the binding into the email step. See OSS Note:
642196... Which gives an indication of what this error is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.