cancel
Showing results for 
Search instead for 
Did you mean: 

SMART FORM ERROR

Former Member
0 Kudos

Hi friends,

Ihave developed smartform. in that i m displaying purchase order and items and some other details from ekpo table. i have used internal table itab and workarea wa_itab.

while executing report with smart form FM ,it shows error says that: Reference field WA_ITAB-MENGE unknown in form'.

while debugging the form , wa_itab is filled but immediately it produces error . when i see in smartform cells , it is defined with wa_itab.

i have to fine what is the cause of error.

if anyone knows pls let me know.

regards,

\kani.

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi RUDHIR KUMAR,

Yes u r correct. i have to give reference field in global definition. it is working .

Thanks a lot

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi kani,

if u r passing the itab from report into smartform then make sure u give that in form interface

first check is the work area and table are declared globally,

then check whether u passed the work area in output parameters if its declared.

its just a declaration and parameter passage prob nothing critical..

if any more issues pls revert ..

regards,

Dinesh.

Former Member
0 Kudos

Hi,

Menge is the quantity field. so u need to add reference field in your global structure.

check out the reference field in table from which u have taken menge. Add it the their. ya with reference field u need to add also reference table and that will be ur ztable.

This will exactly fulfill ur requirement.

Cheers,

Rudhir

Former Member
0 Kudos

have u declare wa_itab TYPE ty_itab.

IF SIT IS CORRECT.

OR ELSE.

goto smartforms

in that Global Defination-----there is one tab Currency/Quantity

declare ur field there .

Former Member
0 Kudos

I believed you using program lines in the smartforms.

Just add WA_ITAB in that program lines as a import parameter.

Former Member
0 Kudos

in the structure pls define the data element of menge as character type......dont take the currency quantity field

Former Member
0 Kudos

iz that table declared globally?