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

create a fm

Former Member
0 Likes
869

hi

im creating a new fm ZZENQUEUE_KNVP, when compiling it

its giving me an error 'report/program statement is misssing or program type is I'

i dnt kno wat this error means and dnt kno wat to do

can anybody help me?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
821

From the error it looks you are just trying to compile the INCLUDE of the new FM and hence the error.

Try and compile by using CHECK->Main Program.

6 REPLIES 6
Read only

Former Member
0 Likes
821

hi Anjali,

Create a Function Group also ... while creating assign the function group to the function module ...,. for creating function group check this path i.,e SE37 goto->Function groups-> create group.

Regards,

Santosh

Read only

Former Member
0 Likes
821

u have to create fm from SE37...goto SE37 and specify the FM..specify the import/export/tables /messages and go inside and write appropriate code and activate..

in attributes..specify the function group...

Message was edited by:

Ramesh Babu Chirumamilla

Read only

Former Member
0 Likes
821

hi

the funct-modules are stored in include programs. so u have to use the enque funciton modules in executable program to check it rather than just compiling it direclty.

pavan

Read only

Former Member
0 Likes
821

check the function group of the FM, check which include has the code for the new FM you created, also check the attribute of the include it should be of type 'I'.

hope this helps.

Regards,

Kinshuk

Read only

Former Member
0 Likes
821

u would have saved the function module in a group , before executing tht function module u have to activate it.

Go to transaction SE80 in tht select select function group, enter ur group and activate it.

then execute ur FM.

Read only

Former Member
0 Likes
822

From the error it looks you are just trying to compile the INCLUDE of the new FM and hence the error.

Try and compile by using CHECK->Main Program.