cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent. smartforms!

Former Member
0 Kudos

I have a problem here.

I have a table i need to pint out. But the number of colums is unknown from the beggining. There can be 10 or 20 colums. no matter. They are created dynamically. How can i print it out then?

please help!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hii julia

assign one variable in global definations G_LINO

write the code above the table

input param:-IS_DLV_DELNOTE-IT_GEN

output param:- G_LINO,G_LINO1,G_IT_GEN1,GS_IT_GEN

DESCRIBE TABLE IS_DLV_DELNOTE-IT_GEN LINES G_LINO.

if g_lino le 14.

G_LINO1 = 14 - g_lino.

do G_LINO1 times.

GS_IT_GEN-short_text = 'X'.

append GS_IT_GEN to G_IT_GEN1.

enddo.

endif.

in the loop write this

WA_CNT <= G_LINO1

assign one text box dont print anything over there

hope u got it

regards

Jaipal

Former Member
0 Kudos

HI

You need to statically define columns of any table. You can set output conditions for columns of table according to need.

Aditya