on 11-24-2014 6:55 PM
Hi Experts in WF,
I am doing WF FIPP to parked document in FI with two levels.
I received de error: Work item 000000003786: Object 000000003786 method SENDTASKDESCRIPTION cannot be executed.
I am trying to send an extenal mail to initiator using de send mail task and not notify.
If I understood correctly is necessary to inform the addrees mail (abcd@hotmail.com) into container field name addressstring.
In my SAP, it variable is empty. My question is: The addressstring variable is filled automaticaly or it must by manualy ?
I did the customizing below in SWDD to Send Mail:
Aba: Mail
1 - Recipipent type: Mail Address
2 - E-Mail Address: &ADDRESSSTRINGS&
Aba: Control
1 - Task: TS90000011 - container: addressstring(input/output) was set. ABAP Dict Reference: SOXNA-FULLNANE and Triggering events: BOR FIPP CREATED.
Could you help me to guide me show me where is the error ? The field addressstring is empty. When a make the test in SWDD is OK. The Mail is triggered and go to the SOST. It is OK.
Thansk in advance
Valter
Hello Valter,
Did you mean to set this question as "Assumed Answered"?
In your SendMail step you have to have a binding which will fill ADDRESSSTRINGS. If not, the send mail step will fail because it doesn't know who to send the mail to.
It is possible to hardcode an address into the step for testing purposes but in a working workflow this is not useful. You would fetch an address and then pass it to the step via binding.
What is usually done is to find a SAP user and pass that to the SendMail step. You then leave it to SAP to figure out the email address. For this you do need to do one-time settings in SO16.
Maybe you could include some screenshots so we can see what you have tried and what the errors are.
regards
Rick Bakker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rick,
I'm sorry for my mistake about the "Assumed Answered".
Rick: What is usually done is to find a SAP user and pass that to the SendMail step. You then leave it to SAP to figure out the email address. For this you do need to do one-time settings in SO16.
Valter: Ok, my intention is to leave SAP assign automaticaly the Email from SU01. Is it possible ?
See the screenshot about SO16: and SU01.
In the container at the SEND MAIL task the ADDRESSSTRING field is empty.
The User master data SU01, see the Email next screenshot:
Tks for while,
Valter Miranda
Hello,
Sorry I meant include screenshots of what you've tried in Workflow.
A search of SCN for Workflow and SO16 reveals this answer of how to set SO16:
To get SAP to forward mails from the SAP inbox to external emails you have to:
1) add the email address in SU01
2) set "Comm. Method" to "E-mail" in SU01
3) in SO16, tab Mail sy.grp, radio button "Send to Home Addresses of Users"
4) in SO16, tab Addressing, Reset buffer
This will allow SAP to find the email associated with a user (or a group of users, e.g. in a Position).
But, of course, you still have to tell the SendMail step which user you want to send the mail to!
Are you doing that? Screenshots, please.
regards
Rick Bakker
Ola,
I don't know how to change Assumed Answered. Do you see an option?
Thanks for the screenshots but I still don't see how ADDRESSSTRINGS gets set.
In any case, if you are going the SO16 route then you should specify the Recipient Type as something other than an email address (is there a User option? Or container element?).
Then as recipient you specify a different container element (not ADDRESSSTRINGS) with whatever user you want. Try it first with WF_INITIATOR.
regards
Rick
Oi Rick,
I am a beginer with WF and for me is not clear regarding the get set the addressstring field and if it is necessary.
I read yours comment about SO16 and configurated it but the addressstring still is filled with blank.
Is addressstring filled automaticaly or I have to make a ABAP code or SO16 to do this ?
So far I dont have done anything with the addressstring field.
Please, what have I doing wrong? I think that I have skipping any step.
Regards,
Valter Miranda
Oi Valter,
Tudo bem?
You should do some SAP Workflow training if you are going to be supporting workflow, it will make your life much easier! At the very least you should buy The Book (3rd Edition out now!):
The SendMail step, as the name suggests, sends emails. Of course, you have to say WHO you want the email sent to. This is done in the "Mail" tab of the SendMail step. There you have: Recipient type
This can be: "Organizational object" (user, position, org unit etc), "E-mail address" or "Workflow Initiator".
If you choose "Organizational object" then the field below "Recipient type" allows you to choose from:
Organizational unit
Job
Position
Work Center
User
Expression
Workflow initiator (expression)
You should choose "Workflow initiator". This will the immediately change to "Expression" and in the adjoining field you will see the following appear: "&_WF_INITIATOR&"
If you then switch to the "Control" tab and then to the Binding button, you will see:
G -> &TYPEID&
&_WF_INITIATOR& -> &ADDRESSSTRINGS&
So, you should not be assigning a value to ADDRESSSTRINGS yourself, the binding does it for you.
Try it first with WF Initiator (as above) and see if it works.
Then, if you want a different user, create a container element which is the same type as _WF_INITIATOR. Assign it a value and use it in the "Mail" tab.
regards
Rick Bakker
User | Count |
---|---|
88 | |
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.