Application Development 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: 

Need to create a layout set in tabular form having borders

Former Member
0 Kudos

Hi,

I need to create a layout set in tabular form having borders for each cell. Please let me know how to achieve this using sap script or if there are any standard sap scripts having this functionality.

Thanks and Regards,

Ajith

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can create a new window for borders .

Also Create a new paragraph

You can use this code as an example.

BOX HEIGHT '1.7' LN INTENSITY 10

THE TOP LINE

POSITION PAGE

POSITION XORIGIN '3.2' CH YORIGIN '17.8' LN

SIZE WIDTH '75.2' CH HEIGHT '0' LN

BOX FRAME 10 TW

The bottom line

POSITION PAGE

POSITION XORIGIN '3.2' CH YORIGIN '62.6' LN

SIZE WIDTH '75.2' CH HEIGHT '0' LN

BOX FRAME 10 TW

1 st line

POSITION PAGE

POSITION XORIGIN '3.2' CH YORIGIN '17.8' LN

SIZE WIDTH '0' CH HEIGHT '44.8' LN

BOX FRAME 10 TW

You should change the position changing X orgin and Y origin .

Please reward points .

Thanks

Deepthi

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can create a new window for borders .

Also Create a new paragraph

You can use this code as an example.

BOX HEIGHT '1.7' LN INTENSITY 10

THE TOP LINE

POSITION PAGE

POSITION XORIGIN '3.2' CH YORIGIN '17.8' LN

SIZE WIDTH '75.2' CH HEIGHT '0' LN

BOX FRAME 10 TW

The bottom line

POSITION PAGE

POSITION XORIGIN '3.2' CH YORIGIN '62.6' LN

SIZE WIDTH '75.2' CH HEIGHT '0' LN

BOX FRAME 10 TW

1 st line

POSITION PAGE

POSITION XORIGIN '3.2' CH YORIGIN '17.8' LN

SIZE WIDTH '0' CH HEIGHT '44.8' LN

BOX FRAME 10 TW

You should change the position changing X orgin and Y origin .

Please reward points .

Thanks

Deepthi

former_member223537
Active Contributor
0 Kudos

Hi Ajith,

Yes, thats possible in SAP Script with the BOX command. You have to play around with BOX, POSITION, FRAME, WIDTH, Unit of measurement commands.

For more details on the same, and for the syntax , please refer this thread :

Best regards,

Prashant

Former Member
0 Kudos

Hi all,

Thanks for the solution.. I managed to get the output in the tabular format.

But the problem is when I issue the printout the vertical lines disappear. It is fine in the preview. How can we solve this.

Thanks and Regards,

Ajith