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

Call Methods - Include error

Former Member
0 Likes
646

Hi All,

CALL METHOD IM_ITEM->GET_DATA

RECEIVING

RE_DATA = L_ITEM.

INCLUDE ZXXXXXX.

I'm trying write the following code in the include ZXXXXXX program between the 2 call methods

I need to write something like

loop at L_ITEM.

endloop.

CALL METHOD IM_ITEM->SET_DATA

EXPORTING

IM_DATA = L_ITEM.

Once I'm in the include I'm getting a syntax saying L_ITEM not found.

Am I missing something?

Meghna

3 REPLIES 3
Read only

Former Member
0 Likes
602

Hi Meghna,

I think you are not activating the whole program with the include. Try selecting all the includes and program for activation.

Rgds

Raj.

Read only

Former Member
0 Likes
602

Thanks.

I activated the entire class but still I get the same error.

Any ideas.

Meghna

Read only

0 Likes
602

Hi,

If your internal table declared iin TOP include, it should work. Please check whether it is declared in TOP include or in any FORM.

Balaji Peethani.