‎2008 Mar 23 6:29 AM
hi ,
types : begin of it_address_info_type,
include structure zadrc,
end of it_address_info_type.
here zadrc is a structure.
why its giving error.
shall i need to change this structure to table?
if yes how i will do that?
‎2008 Mar 23 6:53 AM
Hi ,
Please make it as,
types : begin of type.
include type zadrc.
types : end of type.
or
TYPES: iref TYPE REF TO ZADRC.
or
TYPES: iref type table of mara.
or
TYPES: iref type standard table of mara.
Else.
data : begin of it_address_info_type.
include structure zadrc.
data : end of it_address_info_type.
If you use types it is used to create user defined data type.
But you are refrerring a data object as zadrc. Thats why it shows error.
Regards,
Sankar.
Edited by: sankar on Mar 23, 2008 8:31 AM
‎2008 Mar 23 6:53 AM
Hi ,
Please make it as,
types : begin of type.
include type zadrc.
types : end of type.
or
TYPES: iref TYPE REF TO ZADRC.
or
TYPES: iref type table of mara.
or
TYPES: iref type standard table of mara.
Else.
data : begin of it_address_info_type.
include structure zadrc.
data : end of it_address_info_type.
If you use types it is used to create user defined data type.
But you are refrerring a data object as zadrc. Thats why it shows error.
Regards,
Sankar.
Edited by: sankar on Mar 23, 2008 8:31 AM
‎2008 Mar 24 5:56 AM
hi
problem is
ur syntax is
types : begin of it_address_info_type,
include structure zadrc,
end of it_address_info_type.
and it shud be
types : begin of it_address_info_type.
include structure zadrc.
types : end of it_address_info_type.Rewards point if helpful.
‎2008 Mar 24 3:26 PM
hi ,
please do it :
Data : begin of it_address_info_type occurs 0.
include structure zadrc.
data end of it_address_info_type.
it will not come any error .
Thanks and regards,
Mr. Subash Sahoo
if error pls mail me on : lps1235@gmail.com
‎2008 Mar 24 11:00 PM
Hi Santhoshini,
There is no need to change the structure . But just place a period (.) at the end of the first statement and end with types:end of itab.
EX: Types:Begin of itab.
Include structure Mara.
Types:End of itab.
Thanks & Regards,
AMK
REWARD POINTS IF USEFUL.