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

Error calling Custom FM

Former Member
0 Likes
1,217

Hi,

When calling my FM from a custom program ,I am getting the following error :

In the function "ZWM_SEND_HU_MAIL", the STRUCTURE parameter "T_OBJECT" is typed

in such a way that only actual parameters are allowed, which are compatible in Unicode

with respect to the fragment view. However, the specified actual

parameter " " has an incompatible fragment view.

the FM "ZWM_SEND_HU_MAIL", has only 1 import parameter "T_OBJECT.

Cna anyone explain what do I need to do to correct this error?

4 REPLIES 4
Read only

Former Member
0 Likes
863

Hi,

This occurs because the rules about "Ucicode fragment view", that is how unicode systems work with layout structures.

See item 3.3 of:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b02d3594-ae48-2a10-83a7-89d369b70...

Best regards,

Leandro Mengue

Read only

Former Member
0 Likes
863

solved on own!

Read only

0 Likes
863

Hi,

Don´t forget to post the solution and say if any answer was helpfull.

Best regards,

Leandro Mengue

Read only

0 Likes
863

Hi leandro,

The issue was with the declaration of the structure being passed to the customFM.