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: 

Import local class to global

Former Member
0 Kudos

Hi,

i try to import local classes to global classes and i have error ,

in the program in se 80 (lcocal) i declare global declaration

like:

TYPE-POOLS icon.

TYPES: ty_fuel TYPE p DECIMALS 2,ty_cargo TYPE p DECIMALS 2.

and after that i declare the local class in includes .. and/// start of selection

where i put it ?

Regards

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check the Declarations are Included in your program or not. If u declare all variables in a suppurate Include. Include that program in your program.

Regards

Rajendra

4 REPLIES 4

Former Member
0 Kudos

Hi,

Check the Declarations are Included in your program or not. If u declare all variables in a suppurate Include. Include that program in your program.

Regards

Rajendra

0 Kudos

Hi,

i don't build another program the declaration is in the local progarm,

and i have method that have to use icon ,

where i put this declaration i try in local types but i have error .

Explicit length specifications are necessary with types C, P, X, N, and

W in the OO context.

Regards

Former Member
0 Kudos

hi friends,

Any Idea?

Regards

Former Member
0 Kudos

solve