cancel
Showing results for 
Search instead for 
Did you mean: 

Wokflow Binding not execute for WS1000109 (method SENDTASKDESCRIPTION )

Former Member
0 Kudos

Hi

I have a problem in sending mail to the Internet Email address from the workflow WS1000109 Task TS1000174.

<b>REQUIREMENT</b>

Need to configure the binding from workflow container to the task TS1000174 with the required parameters for sending the mail to the email address .

<b>PROBLEM</b>

1) When I have configured the binding from Workflow to the Task container as shown below

<b>AddressStrings &_WF_INITIATOR&

TypeId G</b>

Language &LANGUAGE&

PersonnelNumber &PERSONNELNUMBER&

AbsenceFrom &ABSENCEFROM&

AbsenceTo &ABSENCETO&

AbsenceStart &ABSENCESTART&

The notification is sent to the SAP INBOX

2)When I have configured the binding from Workflow to the Task container as shown below

<b>AddressStrings &_WF_INITIATOR&

TypeId B</b>

Language &LANGUAGE&

PersonnelNumber &PERSONNELNUMBER&

AbsenceFrom &ABSENCEFROM&

AbsenceTo &ABSENCETO&

AbsenceStart &ABSENCESTART&

The worklfow during the run time gets in to an error since the Addressstring require the SAPUSENAME and &_WF_INITIATOR& has a value 'US' added to the username

I understand this problem .

2)But When I have configured the binding from Workflow to the Task container as shown below

<b>AddressStrings &WORKITEMWITHSELFMETH.WORKITEMFATHER.CREATEDBYUSER.ID&

TypeId B</b>

Language &LANGUAGE&

PersonnelNumber &PERSONNELNUMBER&

AbsenceFrom &ABSENCEFROM&

AbsenceTo &ABSENCETO&

AbsenceStart &ABSENCESTART&

The worklfow during the run time gets in to an error and itwhen i view the workitem the Values in the <b>Addressstring</b> is not filed with any value .

It would be grt if some one can please let me know any possible solution to send a mail to the internet address from this task and how do I configure this binding for that OR if some one has answers to these questions

1)Why in the 3rd case I dont get any value in the Addressstring ?

2) If this is not right way what will be the possible way of geeting the SAP USERNAME in the Addressstring?

3) Is this value not populated during the runtime

but If I instanciate the SELFITEM object with the workitem and see this value it has the User ID in it .

why there is a diffrence in the instanciation of the BOR Object SELFITEM when instanciation from workflow during runtime and when from the SWO1 transaction.

Do I need to set up somthing for this BOR Object to make it availabe during the run time or is there somethign else missing ?

Please let me know your suggestions.

Many thanks ,

Ankur

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ankur,

If you want the address string to be populated with email id, include a container element with ABAP Dictionary reference - Structure - SOXNA, FIELD - Fullname. Then insert a CONTAINER OPERATION step just before your activity and populate the container element created with the email id. then pass this variable in the binding to address string.

This might solve your problem. Try..

Regards,

Pradhiba