cancel
Showing results for 
Search instead for 
Did you mean: 

how to print vertical lines for line items?

narendar_naidu
Active Participant
0 Kudos

hi experts,

can any one tell me how to print vertical lines for line items in ascript?

ive tried using sy-vline but its printing jus one line each for each item .i want it in columns ?if there are any control commands plz let me know how to print?

thanks &regards

narendar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi narendar,

Welcome to SDN.

u can go for box command.

Use the box command with zero width for vertical lines.

Position the line by x position and y postion.

syntax :

BOX <xpos> <ypos>

<width>

<height>

<thickness in twips> twips.

Regards,

Arun.

Reward points if useful.

narendar_naidu
Active Participant
0 Kudos

Thanx Arun for ur reply,it helped me .

ive written it this way

BOX <36> <0> <0> <225>

jus correct me or give me any web address that provides me with example,

thanks

narendar

Answers (3)

Answers (3)

former_member196280
Active Contributor
0 Kudos

Try this,

BOX XPOS '2.2' CM YPOS '4.6' CM WIDTH '0' CM HEIGHT '10.00' CM FRAME '2' TW

Try to give X and Y position according where the vertical line should come up. Also note: give the required height of the vertical line.

Regards,

Sairam

narendar_naidu
Active Participant
0 Kudos

thanx sai ram,

for ur help,it helped me.

regards narendar

Former Member
0 Kudos

here s the syntax.

BOX XPOS '0' CH YPOS '0' LN WIDTH '37' CH HEIGHT '6' LN FRAME 10 TW

narendar_naidu
Active Participant
0 Kudos

Thanx sreejith,it was very much helpfull.im very new to abap and u r suggestions helped me a lot.thanx

regards

Narendar

Former Member
0 Kudos

Hi u have to use BOX command in script to achieve this task,

display the line item values using a character format .

narendar_naidu
Active Participant
0 Kudos

thanx sreejith,

can u plz let me know it in detail