Skip to Content
avatar image
Former Member

SMARTFORMs Error

Dear Friends

We are upgrade version 5 to 6

in my smart form there are import wa

after version upgrade its getting error like follows

Form Interface : "TY_ADD" is not a pre-defined type or type from a type group.

WA_ADD        TYPE  TY_ADD


and i declared type in the global definition 

TYPES: BEGIN OF ty_add,

       name1 TYPE adrc-name1,
       str_suppl1 TYPE adrc-str_suppl1,
       str_suppl2 TYPE adrc-str_suppl2,
       city1 TYPE adrc-city1,
       post_code1 TYPE adrc-post_code1,
       city2 TYPE adrc-city2,
       landx TYPE t005t-landx,

       END OF ty_add,

 BEGIN OF ty_doc,
       cajo_number TYPE tcj_documents-cajo_number,
       bp_name TYPE tcj_documents-bp_name,
       position_number TYPE tcj_positions-position_number,
       position_type TYPE tcj_positions-position_type,
       document_number TYPE tcj_documents-document_number,
*       h_payments TYPE tcj_documents-h_payments,
       p_tax_amount TYPE tcj_positions-p_tax_amount,     
       p_net_amount TYPE tcj_positions-p_net_amount,     
       account(10) TYPE c,
       position_text TYPE tcj_positions-position_text,
       budat TYPE sy-datum,
       belnr TYPE bkpf-belnr,
       index TYPE i,                                    
       POSTING_NUMBER type   tcj_documents-posting_number,
       END OF ty_doc.

so can you please give me some clue to solve this issue this program properly work before upgrade.

Thanks in Advanced

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 10, 2009 at 06:28 AM

    Hi,

    Where have you declared WA_ADD TYPE TY_ADD?

    Thanks,

    Ahsan

    Add comment
    10|10000 characters needed characters exceeded