Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade issue in ECC6.0 for include structure

Former Member
0 Kudos

Hi All,

I have the following issue while upgrading to ecc6.0.

data:begin of it_cats,

include structure cosp,

end of it_cats.

I am geeting syntax error as include structure is not allowed in ecc6.0.What is the replacement for this?

Thanks.

Ramya.

3 REPLIES 3

Former Member
0 Kudos

Please search in SCN before posting .

relavant threads like ->

PedroGuarita
Active Contributor
0 Kudos

data:begin of it_cats.
       include structure cosp.
data: end of it_cats.

Former Member
0 Kudos

Hallo There,

I read some of the already available posts on this topic but did not find any relevant answers so please excuse of the information already exists out there.

Here is the question:

Please consider the code (from above posts):

data:begin of it_cats.

       include structure cosp.

data: end of it_cats.

I read some where that this can  be replaced by  :

DATA it_cats type cosp.

Is this correct ?

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/includ02.htm

Regards

SG