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 after creating a function using SE37

Former Member
0 Likes
753

Hello friends

I have created a simple function (remote enabled).

Syntax check says everything is ok.

When I try to Activate, I get the following error message.

Program SAPLZBAPI_CONFIGDNA_INSERT

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

The name of the function that I have created is ZBAPI_CONFIGDNA_INSERT.

However, it is complaining about a program SAPLZBAPI_CONFIGDNA_INSERT.

I have created BAPIS before and so I am sure that the steps I have created are ok.

I even tried creating the same BAPI with different names and still the same problem.

Any feedback will be greatly appreciated.

Thanks

Ram

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
596

Hi,

Once you create a BAPI, You will assign it to a Function Group. Make sure that the Function Group is active. If it Function Group is not active you will receive the same error.

Thanks,

Sriram Ponna.

3 REPLIES 3
Read only

Former Member
0 Likes
596

in the TOP Include the statement

FUNCTION-POOL (<b>Name of function Group</b>).

is missing.

to Reach to th eexact point.

to to attibutes tab of your FM

double click on Program Name.

double click on include ending with TOP.

Declare the statement in the TOP include.

amandeep.

Read only

Former Member
0 Likes
597

Hi,

Once you create a BAPI, You will assign it to a Function Group. Make sure that the Function Group is active. If it Function Group is not active you will receive the same error.

Thanks,

Sriram Ponna.

Read only

former_member191735
Active Contributor
0 Likes
596

You are missing the following statement in one of your includes associated with the function module

FUNCTION-POOL zzzzz. "MESSAGE-ID ..