Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Column alignment problem in script

Former Member
0 Likes
401

Hello Sap Experts,

I need your help in solving the below issue.

I am displaying a text of 100CHAR .The problem is that it is extended to the next 2 columns.I want that the extra chars should be displayed in next line without disturbing the alignment of next columns.

Example: my text is coming like this

col1 col2 col3

This my test script 12 Test

It should come like this

col1 col2 col3

This my 12 Test

test script

Plz plz help me .I need your help badly.

Thanks,

Sonali.

2 REPLIES 2
Read only

amit_khare
Active Contributor
0 Likes
383

Write a routine. Pass this string to it get the length of the string and split it as per your requirement.

Return the split string and print it.

Search forum for code and FM to do thid. There are lots of replies for the same.

Read only

Former Member
0 Likes
383

Hi

Try using TABLE node for displaying the data, when ever there is over flow of data in a cloumn1 it will not over flow to column 2 but the data will appear as ur requirement, where as if you use template for the display it will either truncate data from clomn1 when overflowed or it shall continue to column2

Edited by: Lavanya K on May 10, 2009 10:12 AM