Skip to Content
0
Former Member
Jun 21, 2007 at 03:47 AM

NOT GETTING DATA FROM DB IN SMARTFORMS

14 Views

Hi all,

i created zsmart form...

in form interface ,i declared <b>wa_spflig like spfli</b>.

in global definition ,i gave <b>itab like spfli</b>

i created header ,footer n gave output options 4 all header,footer n main window.

i created text for header n footer n gave some text in general attributes tab...

in main, i created table n gave output options n indata tab, i gave <b>wa_spfli into itab</b>.

in table i created loop..in that i gave : <b>wa_spfli into itab</b>

in loop i created 2 texts to retrieve connid n carrid so i gave <b>&itab-carrid&</b> n <b>&itab-connid&</b>

then it showing check is correct n got function module.

in source code

data : itab like spfli occurs 0 with header line.

select * from spfli into table itab.

data fm type RS38L_fnam.

then included <b>ssf_function_module_name</b> n assigned <b>form name</b> n <b>fm_name</b>

in <b>loop at itab</b> statement included fm generated by smartform n assigned <b>wa_spfli = itab</b>

but i am not getting output,its showing <b>&itab-carrid& &itab-connid&</b> as output...what is mistake in my pgm?<b>what is RS38L_fnam , ssf_function_module_name.why it is used?</b>

its urgent.

plz help me.

thanx in advance

Arundathi