cancel
Showing results for 
Search instead for 
Did you mean: 

Inserted expression not in mail

Former Member
0 Kudos

Hi all,

I have implement a workflow, where a production order (BUS2005) is created and the order number is saved in a form. Then i have created a mail step to send the order number.

But by execution only the entered text will be send, not the expression (order number of a created container object).

Did i make adaptions in the dataflow of the tasks ? I think they have been done automatically.

I have created the form by using the wizard.

Thanks for help.

tunc

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hai

i hope that u had editted the send mail step type. to get the inserted expression first check whether u got the value in workflow container , if its so then refresh the buffer using trans swu_obuf.

still if u didn't got it pls delete the send mail step type and save it and create it again it will work fine.

regards

rose.

Former Member
0 Kudos

thanks,

by editting, you mean to insert the expression and to assign a receiver, yes i have done that.

I have create a containerelement of ABAP-Dictionary-Datatype "AUFK" which had a field for the order number. This order number i have insert as expression in the mail.

To refresh the buffer and to delete & create the new mail step did unfortunately not work.

I can not understand why it didn't work

KKilhavn
Active Contributor
0 Kudos

You didn't answer Rose's question and confirm that the container element has the order number.

Former Member
0 Kudos

i'm sorry but how can i check this ?

by creating a container element in the workflow container (on the left side of the worflow builder) did i not ensure that the value is in the workflow container ?

(i'm a beginner in workflow)

thanks

Former Member
0 Kudos

Have you checked in swi1 for your workflow, check in contianer element whether this element which you have created is getting populated or not, you need to go to workflow log to see this,

If it has got no value then there is some problem with your binding,

Former Member
0 Kudos

i have check this, and the value of the inserted expression is empty

what can i do ?

KKilhavn
Active Contributor
0 Kudos

There is probably something wrong in your binding to (or assignment to) this container element, or you don't have any binding/assignment to it at all.

Do you have a container operation where you assign a value to your container element, or do you bind a value into the container element e.g. from your triggering event?

To verify that things work if the container element has a value you can insert a container operation step just before your mail step and hard-code a value. Or, to be more fancy, check if it is initial, and if it is then you assign "(no value)" or something similar.

Message was edited by Kjetil Kilhavn:

As a beginner, have you read the Frequently Asked Questions? If you haven't, you should. It is a matter of netiquette.

Former Member
0 Kudos

Passs production order value to your container element in binding.

Former Member
0 Kudos

thanks,

i have thought the system do the bindings automatically, by inserting the step types & tasks.

I think the problem in my example is that the production order object will not be created (as i seen in the workflow log).

if the order object will be created than the order number would be send via mail.

Answers (0)