cancel
Showing results for 
Search instead for 
Did you mean: 

table data needs to be displayed with horizontal and vertical lines

Former Member
0 Kudos

Hi,

I need to display the data of the table in the SAP script which is having both horiziontal and vertival lines.

the out put needs to looks as it in Excel...where there are multiple records with 5 fixed coulmns each seprated from one another by horizonalt and vertical lines..

Can you let me know how to proceed in SCRIPT ,,,, where the number of records might vary ..and also ..it might continue to second page..

Regards

Senthil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

well it is possible but quite tricky.

All you got in SAP-SCRIPT to achieve this is the BOX-Statement.

The BOX statement works with variables for XPOS, YPOS, WIDTH and HEIGHT. what you need to do is:

- calculate those variables during runtime

- add box-statements with those variables.

to calculate those variables you need to count used lines and so on. i hope i showed you a way, rest is a lil brainwork then.

regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Any ideaa?

Former Member
0 Kudos

Ah and BTW, since you can not calculate in sap-script you should do that in external performs.

Yeah i know that to some extend you should be able to calculate in sap-script even tho i never had a satisfying outcome, so i just stopped trying.