02-10-2014 9:21 PM
Hi...,
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'
-
What happened?
-
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.
-
Error analysis
-
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.
02-10-2014 10:25 PM
Hi Venkat,
If I understand your problem correctly. A non-SAP system tries to call BAPI in your SAp system. it gets an error as 'RFC call not enabled'.
If this is correct did you check the attributes of the BAPI in SE37 if it i s remote function enabled?
You can also check in the transaction BAPI -> Alphabetical -> Material -> Existence check. It should be released.
Also if possible try to call this function module from another SAP system and see what happens.
Let me know what you find there...
Regards
Ram
02-11-2014 4:00 PM
Hi,
It's standard BAPI Function Module and RFC enabled and released as well.
I have mentioned release no in the first post.
BO: BUS1001.
I will test the same with another SAP system.I am struggling with this BAPi ( BAPI_MATERIAL_EXISTENCECHECK) only and able to connect rest of all other BAPI's under same Business Object from non SAP system.
What would be the cause?
02-11-2014 6:39 PM
Hi, this is strange, could you please check your RFC connection/RFC user authorizations.
02-18-2014 2:57 PM
Hi,
We have given SAP ALL profile to non sap system USer id.They are connecting to SAP using Jco gateway.This is one way of communication so i think we haven't create any RFC.Using JCo,Legacy team able to connect to SAP and accessing all other BAPI's except the one which i mentioned in the post.
02-11-2014 5:08 PM
hi venkat,
you can create a your own RFC IN Z and can use it for checking the material existence....
just create and rfc with input as material..
output with an variable x ..
write a code to fetch an data from master table of material...
if sy-subrc= 0.
x = 1. " meaning material exists
else.
x = 0. " material does not exist.
endif.
call this rfc as giving material as input..
check X and display weather the material exists or not...
regards,
gunaseelan