Print Multiline item with carriage return in Workflow Word Doc Template

pts.
Tags:
multiline
Word document template
I encounter problem in displaying multi-line item in my workflow word document. The multi-line item, which is address information, is printed in a single line instead of 3 lines. Following described is my workflow scenarios:- I have a word document template in my workflow WS1. The workflow has container of a BOR type zwty. This container is where my multi-line element (a table container element) is created named zwav_Addr. The element is created with virtual, multi-line type, where Abap Dict Reference to TLINE structure as data type. I inserted element zwav_Addr into word document template, and it shows as {&zwty.zwav_Addr&} in the doc template. In the BOR method that assigns value to container elements, the codes excerpt as shown: GET_PROPERTY ZWAV_ADDR CHANGING CONTAINER. DATA: BEGIN OF I_ADDR OCCURS 0, VLINE LIKE TLINE-TDLINE, END OF I_ADDR. DATA: V_NAME1 LIKE ADRC-NAME1, V_NAME2 LIKE ADRC-NAME2, V_NAME3 LIKE ADRC-NAME3. CLEAR I_ADDR. REFRESH I_ADDR. PERFORM ZGET_ADDR CHANGING V_NAME1 V_NAME2 V_NAME3. MOVE V_NAME1 TO I_ADDR-VLINE. APPEND I_ADDR. CLEAR: I_ADDR. MOVE V_NAME2 TO I_ADDR-VLINE. APPEND I_ADDR. CLEAR: I_ADDR. MOVE V_NAME3 TO I_ADDR-VLINE. APPEND I_ADDR. CLEAR I_ADDR. DELETE I_ADDR WHERE VLINE IS INITIAL. “REMOVE BLANK LINE SWC_SET_TABLE CONTAINER 'zwav_Addr' I_ADDR. END_PROPERTY. May I know what could be wrong with my program or workflow? I truly appreciate your kind assistance. Thanks, Lian

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following