‎2008 May 02 9:04 PM
hi,
when ever declaring
tables:ZIMS_ADDR_REQ
giving error message as
ZIMS_ADDR_REQ must be a flat structure ,you cannot use internal tables ,string,refernce ,or structure as component.
help me
‎2008 May 02 10:39 PM
Hello,
The error is not coming from this declaration.. can you double check by double clicking on error message and see where it takes you..
Let us know your result
Enjoy SAP.
Pankaj
‎2008 May 05 8:17 AM
‎2008 May 05 9:18 AM
hi,
can u paste ur code here.
if it is a structure defined in data dictionary, then it should not give u an error.
regards,
madhu
‎2008 May 05 1:15 PM
code :
TABLES:ZIMS_ADDR_REQ.
************************************************************************
************************************************************************
DATA DECLERATION
************************************************************************
DATA : BEGIN OF IT_DATA OCCURS 0,
ID LIKE ZIMS_ADDR_REQ-ZIMSID,
DATE LIKE ZIMS_ADDR_REQ-AEDAT,
TIME LIKE ZIMS_ADDR_REQ-AEZET,
NAME1 LIKE ZIMS_ADDR_REQ-FIRSTNAME,
NAME2 LIKE ZIMS_ADDR_REQ-LASTNAME,
ADDRS1 LIKE ZIMS_ADDR_REQ-ADDR_LINE1,
ADDRS2 LIKE ZIMS_ADDR_REQ-ADDR_LINE2,
CITY LIKE ZIMS_ADDR_REQ-CITY,
STATE LIKE ZIMS_ADDR_REQ-CITY,
ZIP LIKE ZIMS_ADDR_REQ-ZIP,
PHONE LIKE ZIMS_ADDR_REQ-PHONE,
EMAIL LIKE ZIMS_ADDR_REQ-EMAIL,
FAX LIKE ZIMS_ADDR_REQ-FAX,
AENAM LIKE ZIMS_ADDR_REQ-AENAM,
END OF IT_DATA.
‎2008 May 05 11:52 AM
Hi,
if your table 'ZIMS_ADDR_REQ ' contains a structure,
u must check that structure...
maybe one of the fields of that structure marked as reference type ( RType column is checked )...
check pls...
regards,
Burak
‎2008 May 05 1:14 PM
‎2008 May 05 1:23 PM
hi,
i mean,
does the transparent table ZIMS_ADDR_REQ have an include structure?
if it has,
check the structure,
if one or more field checked as RType,
u can get this error...
can u post,
fields of table ZIMS_ADDR_REQ from se11...
‎2008 May 05 6:27 PM
hi,
it has been solved , by building the structure for th z table and internal table as structure and then display.
‎2008 May 05 7:12 PM
cretae a structure same as the tabe structure and then create internal table reflt tointernal table then i works