Application Development and Automation 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: 
Read only

Dynamic includes

Former Member
0 Likes
772

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
Read only

Former Member
0 Likes
531

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.

Read only

Former Member
0 Likes
531

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

Read only

Former Member
0 Likes
531

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.