Application Development 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: 

syntax error

Former Member
0 Kudos

Source code SAPLYGROUP1 Line 2

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

this is my functional module program . while at the time of execution , they above error was displayed.

They caller function program could run.but after the input parameter given they should display the syntax error in saplygroup1.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Please activate your Function Group.

Thanks,

Sriram Ponna.

P.S. Please don;t create duplicate thread, for the same issue you have created 3 threads.

7 REPLIES 7

Former Member
0 Kudos

hi

see the function group....in which u created the function module....if there are any other function modules present which are having errors it gives the error

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

0 Kudos

there was only one functional module ytxdiv. am walk as turtle in functional module. plz help

Former Member
0 Kudos

Hi,

u cant run functional module without executable program.so create executable program in se38 and call functional module.

Regards

0 Kudos

there was only one functional module ytxdiv. am walk as turtle in functional module. plz help

raymond_giuseppi
Active Contributor
0 Kudos

It seems that you lose the first line or top include of the function group YGROUP1 .

The TOP include should be the first one and begin with the statement FUNCTION-POOL YGROUP1.

Yourmain program SAPLYGROUP source should lokk like :

INCLUDE LYGROUP1TOP. " function-pool and common declaratives
INCLUDE LYGROUP1UXX. " function modules U01
INCLUDE LYGROUPxxx. " other includes forms modules, etc.

There is an option to "repair" function group.

SE37 -> "Utilities" -> "Repair func. group

Then goto SE38 on program SAPLYGROUP1 or SE37 go to main program and do a syntax check before activating.

Look at [Function Groups|http://help.sap.com/saphelp_47x200/helpdata/en/9f/db992335c111d1829f0000e829fbfe/frameset.htm]

Regards

Former Member
0 Kudos

Hi,

Please activate your Function Group.

Thanks,

Sriram Ponna.

P.S. Please don;t create duplicate thread, for the same issue you have created 3 threads.

0 Kudos

s i got a vivid answer.

very thanks to u.