Skip to Content
0
Former Member
Jul 30, 2014 at 08:30 AM

Structure assignment to character string

28 Views

Hi,

We have a FM which involves assignment of

Structures to Character strings

Typeless Structure (Imported into FM though TABLES) to Integer type Structure

I have verified that the data in the source structure is compatible with the destination structure in both cases.

The problem is when the FM is executed in test mode, from SE37, it ends in runtime error 'UC_OBJECTS_NOT_CONVERTIBLE'.

But when we execute the program which calls the FM (in background), it works just fine.

Can anyone let me know why this happens.

I understand UC compatibilty checks will be done in the system. But why does the code work in background but not in foreground?

Is there any way to make sure that the FM works even while testing through SE37?

Regards,

Joshua.