01-19-2006 11:40 AM
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?
01-19-2006 11:45 AM
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>
01-19-2006 12:19 PM
hi,
in se11 u should create structure starting with ybapi or zbapi
01-19-2006 12:34 PM
Hi,
While creating your ZBapi function all the structures should start with ZBAPI... name. Try to convert it into ZBAPILFA1 like that.