‎2008 Apr 11 1:03 PM
hi all,
An RFC call returns an exception 1 of type system_failure.
CALL FUNCTION rfc
DESTINATION class->attribute
importing ...
exporting ...
EXCEPTIONS
system_failure = 1
OTHERS = 2.
rfc doesnt have exception of its own.
while execution, an exception 1 is raised (in a FM that RFC calls) This exception is because of problem in generating next number .
Can someone plz explain what happened ?
the raised exception 1 (sy-subrc =1 ) for "not being able to generate number" is finally represented as "system-failure" declared in Destination exception 1 ?
‎2008 Apr 11 1:08 PM
Hi,
I think the problem is with RFC class->attribute. Can you check whether the RFC is been calling properly or not?
Test the RFC from the remote system.
Regards,
Satish
‎2008 Apr 11 1:12 PM
Hi,
Make sure the user in target system is authorized to execute your function - object s_rfc: rfc_type = 'FUGR', rfc_name = function GROUP, actvt = 16. You can check it using one of reports that are available in transaction SUIM.
Regards,
Raj.
‎2008 Apr 11 1:54 PM
thanks for the quick response.
satish : actually this is standard SAP code.
raj : we were able to excute the rfc earlier without any exception. i am not able to test for authorization right now , but if the user doesnt have authorization , will it throw this exception?
plz suggest something.