cancel
Showing results for 
Search instead for 
Did you mean: 

Table format in SAP SCRIPT

Former Member
0 Kudos

Hi,

Could any one of you please tell me how to print the data in table format in SAP script.

Regards,

Sooraj.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

TO print data in the table follow the following procedure.

1.The text element for data should be executed first.

/e data

-


2.The text element for the box should be executed

/e box

/: BOX XPOS '0' CM WIDTH '18.5' CM HEIGHT &G_F_COUNT20& CM FRAME 2tw

follow the above procedure and let me know if u face any problem.

Regards

anversha_s
Active Contributor
0 Kudos

hi,

Like smartform there is no option for draw table directly in sap script.

u have to draw table using line or box.

Try and check on the below logic....

1. write -


2. write headings with '|' at start and end as well as the field separator.

3. write -


4. similar to step two write the data with pipe separators.

5. write -


or u can use this.

You can use BOX command :

For eg,

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

Regards

Anver

<b><i>

if hlped pls mark points</i></b>

Former Member
0 Kudos

Hi

U have to design a box using the statament BOX, POSITION and SIZE (see the help for more details):

/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]

/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]

Max