I'm using 4.6c system and accessing data thru saome gateway. My problem is when I try to check the material whether it exist or not, I'm getting this error "The function module "BAPI_MATERIAL_EXISTENCECHECK" not released for 'remote' calls., error key: RFC_ERROR_SYSTEM_FAILURE". If I check the attributes of this bapi, the processing type is remote-enabled module and start immediately for updates and released.
This is what's shown in ST22
untime Errors CALL_FUNCTION_NOT_REMOTE
Occurred on 02/04/2014 at 11:32:21
The function module "BAPI_MATERIAL_EXISTENCECHECK" not released for 'remote'
The function module "BAPI_MATERIAL_EXISTENCECHECK" was called via RFC, but the 'Remote Function Call supported' flag is not set.
Error in ABAP application program.
The current ABAP program "SAPLBUS1001 " had to be terminated because one of the statements could not be executed.
This is probably due to an error in the ABAP program.
The function module "BAPI_MATERIAL_EXISTENCECHECK" was called via RFC, but has not been released for 'remote' calls.
With the following call types, a 'remote' calls must be supported:
a) CALL FUNCTION 'BAPI_MATERIAL_EXISTENCECHECK' DESTINATION ...
b) CALL FUNCTION 'BAPI_MATERIAL_EXISTENCECHECK' IN BACKGROUND TASK ...
c) CALL FUNCTION 'BAPI_MATERIAL_EXISTENCECHECK' STARTING NEW TASK ...
How to correct the error
If the function module is one of your own, go into the
Function Library and release the module "BAPI_MATERIAL_EXISTENCECHECK" for RFC calls
by setting the 'Remote Function Call supported' flag so
that it can be called externally.
My doubts are : when i searched in forums,most of the answers are belongs to kernel update.In My scenario,the remote user can access other BAPI's as well without any issue and are able to create BOM/material.but while connecting to this BAPI only,we are getting issue like "Not released for remote calls".
Bapi New in Release : 31G
Please help me out.
Note: This is one way of communication only,i.e Non SAP communicates SAP and uses the BAPI to check and insert or update the data in SAP.