cancel
Showing results for 
Search instead for 
Did you mean: 

multiline container element values do not appear in the mail

former_member204457
Active Participant
0 Kudos

Hi Gurus,

I’ve found the below thread that is directly related to my situation but I’m still unable to resolve the problem.

http://scn.sap.com/message/14048109#14048109

I’m creating a simple mail in the workflow and I want to use the values of multiline container element. In expression I use the option “all lines with line break”. When I check the expression the following ‘information’ message appears

Message No: WZ611 (just an information message)

The workflow is activated without any errors however the mail does not contain the value from data element despite the value are showing up at run time.

Workflow log:

Email Expression:

Mail binding (automatically generated)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Can you plz tell me that mail step your using is standard or custom one.

If you are using standard task plz create custom task and try is create the container and do binding it will work.

If you already using custom task then try to remove that container selectedassets and create again do binding again.Pass you business object also.

Thanks

Naresh

former_member204457
Active Participant
0 Kudos

Hi Naresh,

Thank you for suggestion. It's a custom task. I created a new container and did the new binding, still no luck. No element from multiline container appears. This is what I did.

New Container:

New binding:

anjan_paul
Active Contributor
0 Kudos

Hi,

At runtime did your SELECTEDASSETS populated properly, check and share technical log.

I think you need to write custom method with activity step before mail step, to populate  SELECTEDASSETS container elemen

former_member204457
Active Participant
0 Kudos

yes the selectedassets gets populated at runtime

narin_nandivada3
Active Contributor
0 Kudos

Dear Cyrus,

 

  Assuming what i understood is right:

  • Your Multi-container element is being populated before the mail step and it contains entries too
  • you have embedded the multi-container element in the mail step (i guess you also have deleted the mail step and re-created by embedding the container element as sometimes in first go it might not capture any changes after creating)

  Whatever the procedure you had followed seems right,

  So pls. try doing Synchronizing the buffer and try it again. SWU_OBUF.

  Hope it works. Feel free to revert for any clarifications.

Cheers,

Narin.

former_member16044
Active Participant
0 Kudos

As suggested above,SELECTEDASSETS.ASSET cannot be used with ## addition since SELECTEDASSETS is the multi line container. &SELECTEDASSETS.ASSET##& is the legal statement but which will display the entire content of SELECTEDASSETS in table format.

In case the need is to display only ASSET numbers, first need to get this in new multiline container of data type same as ASSET. Then only one can use &ASSET##&.

Regards,

Rahul Kulkarni

Former Member
0 Kudos

SELECTEDASSETS.ASSET is not a multiline container element, SELECTEDASSETS is.

former_member204457
Active Participant
0 Kudos

Sorry what's your point?

Former Member
0 Kudos

My point is that you can't do it that way. You will have to loop through SELECTEDASSETS and build a new multiline container element containing all SELECTEDASSETS.ASSET and reference it if you want to use that syntax.