Skip to Content
0
Former Member
Dec 03, 2009 at 09:10 AM

to create a table in script error

38 Views

hiii experts,

i have a requirement to create a table in script in the main window,but iam dividing two columnslike matnr and maktx, can i divide 5 columns how to do it.

my coding in the main window(textelement)

DEFINE &SAPSCRIPT-COUNTER_0& = -1

BOX YPOS &SAPSCRIPT-COUNTER_0(+)& LN WIDTH '2' CM HEIGHT '1' LN FRAME 10 TW

DEFINE 4.&SAPSCRIPT-COUNTER_0& = &SAPSCRIPT-COUNTER_0(-)&BOX YPOS &SAPSCRIPT-COUNTER_0(+)& LN POS '2'CM WIDTH '10' CM HEIGHT '1'LN FRAME 10 TW

&itab-matnr& &itab-maktx&