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

Function Module, Group and Method

Former Member
0 Likes
613

Hello All,

I have a problem which I do not know why it's happening. I have an Interface method which calls a Function Module. This interface method does not have any syntax errors.

In the Function Module itself there is field which is definied in the FUNCTION TOP INCLUDE. So It should be visible during the call of the FM. But when executing the method it dumps on the field that is in the FUNCTION TOP INCLUDE. Can someone explain why it's happening?

Best regards,

Guido Koopmann

5 REPLIES 5
Read only

Former Member
0 Likes
587

Check if the TOP Include & main Function group Program are activated.

Hope it helps you.

Read only

Former Member
0 Likes
587

Go to SE80

Enter the Function group and put the name of the FG.

See if the main program & all its components are active...

Read only

0 Likes
587

Guys,

Everything was active, the strange thing is that when I cal the FM in an normale executable program, everything is ok.

I do not get this.

Hope someone can help me out.

Best regards,

Guido Koopmann

Read only

former_member194669
Active Contributor
0 Likes
587

Is function module is sap standard or custom. If custom please uncheck the global parameter in the attributes tab by selecting from the top menu> edit> interface--> localize parameter

a®

Read only

anup_deshmukh4
Active Contributor
0 Likes
587

Hello plze check for the Casting operation in the top include test the FM alone if possible with the test data and then try it on with the method of interface