‎2007 Dec 30 6:53 PM
Hi,
if i take a look at the BAPI Programming Guide CA-BFA, i found the following in the section "Actions in the Function Builder":
All function modules must have the naming convention:
<Name space>BAPI_<business object>_<method>.
A maximum of 30 characters is allowed.
So, i named my function module for a BAPI: "ZABAPI_FLIGHT_GETBLA"...
If i try to add a method to my business object and use this function module, i receive an error:
The name of the function module ZABAPI_FLIGHT_GETBLA does not begin with 'BAPI'
If i click on the information button in the error message, the diagnosis says the following:
"Function modules that implement BAPIs must start with the prefix "BAPI_". If required, other prefixes for namespaces (e.g. of customers) can be placed before the BAPI prefix."
So please tell me, where is the failure?!
Thanks for your answers
‎2007 Dec 30 7:33 PM
Hi Harry,
your name space should Z instead ZA.
Try the name ZBAPI_FLIGHT_GETBLA
Kindly Regards,
Stefan
‎2007 Dec 30 8:21 PM
yes try ... ZBAPI_FLIGHT_GETBLA
else in SE37 hit ZBAPI and check, ur organization might have some other naming convention..
‎2007 Dec 30 11:42 PM
Thank you guys, it worked with ZBAPI_*
The "problem" is that my university uses a SAP system of a university network which is used by different universities. So the namespace is ZA, it seems that SAP checks only the first character... so i have to find a solution!
But thank you, it works at my local test system