on 11-07-2014 10:59 AM
Hi,
I've create a workflow that starts when object ECM (Change Master) is created.
When users create the engineering change master from transaction CC01, they set a long text (from icon in top menu).
I want to display the header long text in email task, but I cannot find it in workflow content elements..
Some suggestions?
Thanks
In Addition to what Murali said: Use FM READ_TEXT to fetch the text into internal table in a method in Business object. Export that text internal table from method and bind it in worrkflow.
BR,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you can add a new method or you can use already exiting custom method where you will have required data to call the FM READ_TEXT. This FM will return multi line text in internal table.
You have to create a multiline exporting parameter in your method and map that text table to the exporting parameter.
BR,
Prakash
Thank you Prakash,
I just need some more info, about your instructions: "You have to create a multiline exporting parameter in your method and map that text table to the exporting parameter."
I've created the method in SWO1, and I set up the parameter as shown below.
Is this what you mean?
I pass it at the end of the method with this code:
swc_set_element container 'TLINES' lt_lines.
Where lt_lines is my local table.. but I cannot obtain all the lines yet, only the first one.
In workflow I pass it to "LONGTEXT" element (multiline element) of container, and I use it in email text writing &LONGTEXT&.
Did I miss something?
Than you very much.
Hi Davide,
The attribute Description of BO ECM contains the long text of that , create a workflow container element like 'description' attribute ( of ABAP dictionary type) AENR-AETXT, do binding in the start events.
Enter the element in the email text of the task.
Regards,
Murali Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.