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

Activation error in Function module

Former Member
0 Likes
1,166

I just started creating user defined function modules.

i just entered two import variables in import tab , and one export parameter .

these are of type i .

i didnt write the code in source code tab .

i tried to activate then i am getting error :

REPORT/PROGRAM statement missing , or program type is I (INCLUDE).

when i click on this it is redirecting to function pool SAPLZRAJ and when i tried to activate this one the error is :

The main program of the function "zprog" doesn't begin with function-pool .

am i missing anything???

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
525

Raj,

First you have activate your Function Group.

Tcode SE37->Menu bar Environment->Inactive objects>Function groups->select your function group-->activiate it (crtl+F8).

Then try to execute your FM..

Don't forget to reward if useful...

2 REPLIES 2
Read only

former_member156446
Active Contributor
0 Likes
525

se80> function group> activate all the contents.. activate all the includes..

Read only

Former Member
0 Likes
526

Raj,

First you have activate your Function Group.

Tcode SE37->Menu bar Environment->Inactive objects>Function groups->select your function group-->activiate it (crtl+F8).

Then try to execute your FM..

Don't forget to reward if useful...