what is RFC?types of RFCs?please any one can give me the
interfaces in sap abap with example?
Answers were Sorted based on User's Feedback
Answer / balakrishna
RFC are Remote function Module which can transfer the data
from one user to another or client to client.
When u create a function module just enable The check box as
Remote enabled that the fm is RFC.
We have to configure the RFC SM59 is the RFC destination
Here you have to provide three things
Description,
Technical Settings,
Logon Details
(These things can be done by Basic Admin)(So Dont Bother)
with this You can access the User which you want
Types of RFCs:
Synchronous RFC
Transactional RFC
Queued RFC
Is This Answer Correct ? | 15 Yes | 1 No |
Answer / saifur rahaman
RFC is an SAP interface protocol based on CPI-C. It is used
to simplify the programming of communication processes
between systems. RFCs enable you to call and execute
predefined functions in a remote system - or in the same
system. They manage the communication process, parameter
transfer, and error handling.
How to Check for the RFC destinations and connections on a
client from abap.
Parameters
EXPORTING
RFCDESTINATION System to be tested
IMPORTING
MSGV1 RFC message
MSGV2 RFC message
RFC_SUBRC RFC return code
Example
REPORT ZEXAMPLE.
DATA: RFCDESTINATION LIKE RSCAT-RFCDEST,
V_MSGV1 LIKE SY-MSGV1,
V_MSGV2 LIKE SY-MSGV2,
V_SUBRC LIKE SYST-SUBRC.
CALL FUNCTION 'CAT_CHECK_RFC_DESTINATION'
EXPORTING
RFCDESTINATION = RFCDESTINATION
IMPORTING
MSGV1 = V_MSGV1
MSGV2 = V_MSGV2
RFC_SUBRC = V_SUBRC.
IF V_SUBRC NE 0.
WRITE:/ 'ERROR:', V_MSGV1, V_MSGV2.
ELSE.
SET PARAMETER ID 'RFC' FIELD RFCDESTINATION.
WRITE:/ 'CONNECTION TO', RFCDESTINATION, 'IS WORKING'.
ENDIF.
See Also
CAT_PING, TH_SERVER_LIST
Is This Answer Correct ? | 2 Yes | 3 No |
WHAT IS DIFFERENCE BETWEEN BATCH INPUT MEHTOD AND DIRECT INPUT
what is the table to find change pointer status?
Difference Between Call By Value and Call By Reference?
24 Answers Cognizant, Intel, Reliance, TATA, TCS, Wipro,
What are the different functions used in sap script?
Tell me a scenario where did you use secondary index?
Explain the uses of the simple maintenance interface? : sap abap hr
Name the transaction code can I used to analyze the performance of abap program?
why u can call(r using) ssf_function_module_name in smartforms?
What are the arithmetic operators in the sap abap?
Explain the advantage of structures?
A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?
What are different abap/4 editors?