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 |
which select statement is used in script?
Hat are the different types of mode (run code) in call transaction method?
Explain what is step-loop?
In which time constraint does the infotype records depend on the subtype ? : abap hr
What are the different database integrities?
How to know if the value entered contains records or not?
i have created a smartform containing table which start from middle of first page.when i run smartform then on next page same table appears which start from middle of page.so how to get table that start from top of next page??
What are the differences between sap memory and abap memory?
Can i create a Table without a Data Element ? How ?
What are indexes? : abap hr
what is search help exit ????
How the transaction that are programmed by the user can be protected?