Skip to Content
avatar image
Former Member

SMART FORM ERROR

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • avatar image
    Former Member
    Mar 24, 2009 at 09:40 AM

    iz that table declared globally?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 09:42 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 09:43 AM

    I believed you using program lines in the smartforms.

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 09:44 AM

    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 .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 09:44 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 09:48 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 10:10 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 10:25 AM

    Hi RUDHIR KUMAR,

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

    Thanks a lot

    Add comment
    10|10000 characters needed characters exceeded