10-09-2007 1:06 PM
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
ZCOMPANY TYPE MYINT
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?
10-09-2007 1:13 PM
Hi,
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
Regards
Shiva
10-09-2007 1:09 PM
Hi,
You can use this directly in the Global Data ,
ZCOMPANY TYPE Zcompanyinfo
Regards
Sudheer
10-09-2007 1:13 PM
Hi,
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
Regards
Shiva