on 07-19-2009 12:48 PM
Hi Experts,
The query is there are 4 columns for 1 line item. For example column3 is exceeding the space of cell which is been assigned, the continuation of text should go to next line in the same cell not to the other cells. Example is shown below. when i see the preview the material text is going to 1st column actually it should go to 3rd column.
And i need a line space between two line items.
Example is shown below
Matnr Invoice no Description Amount
100001 1212333 This is a test 100
mateial
100002 1212334 This is a test second 100
mateial
The output should be as the above format.
Please help me with this.
Thanks and Regards,
Abdur Rafique
HI
In case of the template give the position of the text to displayed under that particular text node in the output options tab
Line :
column :
For ex :
Text Node1 Line : 1 column : 1
Text Node2 Line : 1 column : 2
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do the below in print program
There is a function STRLEN to find the length of the field string. Hence for the text fields, check the string length before moving into the output table for display.
If the string length is greater than the output field length, Append the record to the output table and then take the rest of the string using the Offset and then append to the next record..
For eg:
String: This is a cat : w1
Output length in Display = 9
Loop at itab into w1.
If Strlen(f1) > 9
move w1(9) to f1
append f1
-- call the write form element to print the line...
---Now append a separate line for the remaining text
movew1+9(9) to f1
append f1
-- call the write form element to print the next line
endloop
Hope this helps
Regards
Shiva
Edited by: Shiva Kumar Tirumalasetty on Jul 19, 2009 7:22 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.