Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Internal Table problem in Smartforms

I want to use my structure in smartforms.

Global Definitions - Types

types: begin of mytype.
       include structure Zcompanyinfo.
types: end of mytype,

       myint type table of mytype.

This my type. After that I am defining a Global Data variable


When I want to display my internal table (ZCOMPANY) fields like (&ZCOMPANY-NAME1&) I give this error

"ZCOMPANY" is a table without a header line and therefore has no component called "NAME1".

But I have this field. How can I fix it?

Former Member
Former Member replied


Your ITAb is without header line. Declare one global work area and read the itab into wa

then display &wa_company-var&

this will work



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question