‎2006 Feb 08 9:33 AM
Hi All,
There is an requirement to create an table in the form where there are around 5 columns.
This table displays the data from an internal table.
No. of records can vary.
I have two queries:
1)Is it possible to draw vertical line to separate the columns dynamically depending upon the records fetched.
2)After each line item(record) that is fetched, the other record should be separated by a horizonatal line.There is a column for description which can vary inlength.So is it possible to do something like a 'Wrapping the text in excel'.
Thanks And Regards,
Rupesh.
‎2006 Feb 08 9:44 AM
THE box COMMAND WILL SOLVE UR PROBLEM.
box [xpos] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
the pdf in sappoint will clearly help you.
‎2006 Feb 08 9:37 AM
HI rupesh,
1. )Is it possible to draw vertical line to separate the columns dynamically depending upon the records fetched
| = pipe
at the most u can use some symbol like PIPE
(But as u require, ie, like GRID
its not possible)
2. After each line item(record) that is fetched, the other record should be separated by a horizonatal line.There
For that u just have to use UNDERLINE
_____________________________________
3. There is a column for description which can vary inlength.So is it possible to do something like a 'Wrapping the text in excel'
Directly its not possible,
ie . for that particular cell, word wrapping takes place !
regards,
amit m.
‎2006 Feb 08 9:40 AM
You can do by calculating the length of the line in the program dynamically and specifying it in the SAPScript as:
BOX XPOS &WIDTH& CM WIDTH 0 TW HEIGHT '8.2' CM FRAME 10 TW
Hope this works...
‎2006 Feb 08 9:40 AM
there is not any thing to vary the column space...
but there is one way ...
u can calculate the length of variablre n put it into another variable and on the bases of this variable value u give can give the columns space...
‎2006 Feb 08 9:44 AM
THE box COMMAND WILL SOLVE UR PROBLEM.
box [xpos] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
the pdf in sappoint will clearly help you.