‎2007 May 08 12:54 PM
How do I create a vertical line at the rightmost column of a screen using a write statement.
‎2007 May 08 12:55 PM
Hi
use
WRITE: <no of char> SY-VLINE.
write : 82 sy-vline.
create a vertical line at 82th character on right side
Reward points if useful
Regards
Anji
‎2007 May 08 12:57 PM
Hi,
if line-size is say,50.
loop at itab.
Write : 50 sy-vline.
endloop.
Hope this helps.
Reward if helpful.
Regards,
Sipra
‎2007 May 08 12:58 PM
u can have 82 characters in a line.. so mention in ur write satement 82 sy vline.
‎2007 May 08 1:01 PM
hi,
use sy-vline.
62 62 sy-vline means line will be displayed at 62 position.
‎2007 May 08 1:01 PM
Hi Shilpa,
Refer this code :
Write : 100 sy-vline.
this statement will show a vertical line at 100 char position in report output.
Reward points if helpful.
Regards,
Hemant
‎2007 May 08 1:02 PM
write : 82 sy-vline.
creates the line somewhere in the middle of the screen
‎2007 May 08 1:03 PM
i basically want to determine the last column position because it varies with resolution.
‎2007 May 08 1:08 PM
Hi
if it is a report, roughly you can estimate the last column position by a character and move this side or that side, and fix it correctly
if you fix the fixed lengths for the fields as per thier Data dictionary it is always fixed.
write: /1 sy-vline, 2(10) itab-kunnr,
12 sy-vline, 13(35) itab-name1,
49 sy-vline, 50(10) itab-pstlz,
60 sy-vline, 61(35) itab-ort01,
96 sy-vline.
Now declare the LINE-SIZE as 96 along with report Name and
if you write SY-VLINE, it will always draw a line at 96 position.
Reward points if useful
Regards
Anji