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: 

BAPI Help needed

Former Member
0 Kudos

I am trying to make my own BAPI. i first created one structure. then i created one RFC enabled function module. then i created one business object through swo1. i faced the problem when i tried to add API method and give my function module name . it throws an error message

"The name of the function module &2 does not begin with 'BAPI'"

The ref. structure LFA1 of parameter LIFNR does not begin with BAPI

The ref. structure VEND of parameter ITAB does not begin with BAPI

BAPI function module &2 has no return parameter

can anybody please help me in solving this problem. as i can not create function module other than starting with Y or Z so how can i prefix BAPI with my function module name?

3 REPLIES 3

Former Member
0 Kudos

Hi Kamesh,

Welcome To <b>SDN!!!</b>

Please check this <a href="http://www.sapgenie.com/abap/bapi/example.htm">BAPI Link</a>. It will guide you step by step for creating a BAPI.

Refer This <a href="http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html">Link</a> also.

Hope This Info Helps YOU.

<i>Reward Points If It Helps YOU.</i>

Regards,

Raghav<b></b>

hymavathi_oruganti
Active Contributor
0 Kudos

hi,

in se11 u should create structure starting with ybapi or zbapi

mandar_shete
Active Participant
0 Kudos

Hi,

While creating your ZBapi function all the structures should start with ZBAPI... name. Try to convert it into ZBAPILFA1 like that.