on 10-11-2007 9:28 AM
Hi,
I have a word document template in my workflow. The workflow has container element of a BOR type named zWTY.
I have a BOR method that assigns the information to the container elements. These elements are used in my word document template.
I create an internal table type TLINE-TDLINE in BOR program to store 3 lines of addresses comprise of addr1, addr2 and addr3. I assign this internal table to the BOR container element which is a table container to store the address information.
The issue is, when I generate the word document, the addresses are printed in one single line instead of 3 different lines.
May I know what could be wrong with my program or workflow?
I truly appreciate your kind assistance.
Thanks.
Failure to print address after the code change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Append addr1,addr2,addr3 in 3 lines of the internal table type TLINE-TDLINE
or
Try adding '/' where the line break needs to be inserted in the doc in the TLINE-FORMAT.
There doesnt seem to a problem with the workflow.
Kindly close the query if answered. tks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Esha,
Thanks for your prompt reply.
I had done the necessary as advised but the address still fail to be displayed in multiple lines.
My internal table was declared as :
DATA: BEGIN OF i_address OCCURS 0,
vline LIKE TLINE-TDLINE,
END OF i_address.
The Attribute of Business Object type is setup with :-
Virtual, Multiline, Reference Type Area as ABAP Dictionary with TLINE and TDLINE as the data type.
the codes are as following :
data : addr1 like adrc-name1,
addr2 like adrc-name2,
addr3 like adrc-name3.
...
...
move addr1 to i_address-vline.
append i_address.
move addr2 to i_address-vline.
append i_address.
move addr3 to i_address-vline.
append i_address.
swc_set_table container <containername> i_address.
According to your advice, to add "/", may I know at which point of the code I should add the line breaks? As i believe the problem is due to line breaks.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.