cancel
Showing results for 
Search instead for 
Did you mean: 

Table format in sap script

former_member224008
Active Participant
0 Kudos

Hi Experts,

I want to display the table format in sap script. i want to display horizantal and vertical line in table format.i am using uline and vline , uline works properly . But vline does not work properly . my requirement is i want to display the table format with lines.

regards,

ARUN

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use box commands.

/: box frame 10 tw.

/: box xpos '2' cm width '0' cm height '10' cm frame 10 tw ( Draws horizontal line at 2 cm position )

/: box xpos '4' cm width '0' cm height '10' cm frame 10 tw

This draws a table with columns.

Answers (8)

Answers (8)

former_member224008
Active Participant
0 Kudos

thanks for u r answers

Former Member
0 Kudos

Hi,

do like this way....

Draws a vertical line along the complete height of the left hand edge of the window.

/: BOX WIDTH '17.5' CM HEIGHT 10 CM FRAME 10 TW INTENSITY 15

/: BOX WIDTH '17.5' CM HEIGHT 10 CM FRAME 10 TW

/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

Regards

Kiran

Former Member
0 Kudos

hi!

This will give u a table...

/: POSITION XORIGIN '2' CM YORIGIN '10' CM

/: SIZE WIDTH '18.05' CM HEIGHT '18' CM

/: BOX FRAME 10 TW

/: POSITION XORIGIN '2.05' CM YORIGIN '10.05' CM

/: BOX WIDTH '18' CM HEIGHT '1' CM INTENSITY 15

/: POSITION XORIGIN '3.5' CM YORIGIN '10' CM

/: BOX FRAME 10 TW WIDTH '0' TW HEIGHT '18' CM

/: POSITION XORIGIN '9.2' CM YORIGIN '10' CM

/: BOX FRAME 10 TW WIDTH '0' TW HEIGHT '18' CM

/: POSITION XORIGIN '11.5' CM YORIGIN '10' CM

/: BOX FRAME 10 TW WIDTH '0' TW HEIGHT '18' CM

Former Member
0 Kudos

Hi,

To create tables in SAPscript, use the following formatting tags:

Header

K1 for a two-column table

K2 for a three-column table

K3 for a four-column table

Please see below link:

http://help.sap.com/saphelp_40b/helpdata/en/7e/c81a6052c511d182c50000e829fbfe/content.htm

Thanks,

Smitas

Former Member
0 Kudos

Hi

To dispaly table you nedd to declare in the form as follows:

/: Box xorigin '2' cm yorigin '3' cm

/: Box frame width '2' cm height '4' cm

/: Box frame 10 tw intensity.

Check the above code this will solve your issue

Regards,

Rajani

Former Member
0 Kudos

hi Arun

try this

WRITE_FORM_LINES

Thanks

Sachin

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

This message was moderated.