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: 

Dynamic includes

Former Member
0 Kudos

Hi every body,

Is there any way to call the include programs dynamically.

For example Include <Field Symbol>.

But when I am using field symbol, I am getting compilation error.

Regards

Elini.P

3 REPLIES 3

Former Member
0 Kudos

Hi Elini,

1. I m afraid it is not possible. (as far as i know)

(its not possible in other languages also like java, c, c++)

2. Bcos the include is used at compilation time

for the whole program compilation.

Regards,

Amit M.

former_member181962
Active Contributor
0 Kudos

Hi,

What exactly is your requirement? Are you trying to generate any code dynamically?

I think its not possible to do that.

Let us know what exactly are you looking for, probably you may get a work around.

Regards,

Ravi

Former Member
0 Kudos

Hi Elini,

For different usage of include statements check on to this link.

http://cma.zdnet.com/book/abap/ch11/ch11.htm

Hope this helps u,

Regards,

Nagarajan.