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

Type not compatible?

Former Member
0 Likes
720

Hi all,

In my function module, I have table (PI_PPO) declared in the parameter. It is of table type Z_T_PPO. However, in the content of my function module, I declare another internal table I_PPO_INFO with table type Z_T_PPO as well. However, when I try to use MOVE: I_PPO_INFO to PI_PPO, it said that the type is not compatible. Any ideas?

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
682

Are you doing something like this?

PI_PPO[] = I_PPO_INFO[].

REgards,

RIch Heilman

Are you doing something like this?

PI_PPO[] = I_PPO_INFO[].

REgards,

RIch Heilman

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
683

Are you doing something like this?

PI_PPO[] = I_PPO_INFO[].

REgards,

RIch Heilman

Read only

0 Likes
682

Hi Rich,

Apparently, I forgot that MOVE can't be used to assign between tables. Thanks a lot.

Read only

0 Likes
682

I think you can....

move itab1[] to itab2[].

Regards,

RIch Heilman

Read only

Former Member
0 Likes
682

can i see ur code ?