Posts

Showing posts with the label Remote Function Call

RFC-Interview Questions & Answers-SAP ABAP-6.

Image
26. How Can You Differentiate Types Of RFC By Syntax In An ABAP Program? Basically RFC’s can be recognized in an ABAP program by the syntax CALL FUNCTION <rfc name=' '> DESTINATION <destination name=' '>. If the RFC function call contains the clause STARTING NEW TASK, it is an asynchronous RFC; the clause IN BACKGROUND TASK indicates a transactional RFC. If the call only contains the clause DESTINATION, but neither STARTING NEW TASK nor IN BACKGROUND TASK, then the RFC is started as a synchronous RFC. The following code starts the functional module ZRFC_SALES_DEL_STATUS synchronously, asynchronously, and transactionally. * Synchronous RFC CALL FUNCTION ‘ZRFC_SALES_DEL_STATUS’ DESTINATION ‘R10’ EXCEPTIONS argument_error = 1 send_error = 2 OTHERS = 3. * Asynchronous RFC CALL FUNCTION ‘ZRFC_SALES_DEL_STATUS’ STARTING NEW TASK task DESTINATION ‘R10’ EXCEPTIONS communication_failure = 1 system_failure = 2 RESOURCE_FAILURE = 3. ...

RFC-Interview Questions & Answers-SAP ABAP-5.

Image
21. What Do You Mean By The Terms RFC Client & RFC Server? R FC client is the instance that calls up the Remote Function Call (RFC) to execute the function that is provided by an RFC server.  The process that starts the RFC is called the sender or client, and the process in which the RFC is executed is the recipient or server. Say we have CRM and R/3 System. If we want to read Sales Order’s Delivery Status record from R/3 System’s database, we will have to create a remotely callable function module in the R/3 environment which retrieves Sales Order’s Delivery Status records. Now we will have to call this function from the CRM System using a remote function call (Also list the destination for the target R/3 System in SM59) . In this case CRM server acts as an RFC Client and R/3 acts as an RFC Server. 22. What Do You Understand By The Term DESTINATION Used In RFC? CALL FUNCTION RemoteFunction DESTINATION Dest     EXPORTING        f1 =......

RFC-Interview Questions & Answers-SAP ABAP-4.

Image
16. What Is Fast RFC (fRFC)? Fast RFC is a type of RFC used for system internal communications. Interactions between J2ee engine in SAP & the ABP runtime environment in the same instance are done using Fast RFC . This type of RFC is possible only if both the source & target are on the same system. 17. What Is Parallel Processing In RFC (pRFC)? Parallel Processing is an extension of aRFC. Generally when we call a function module, it will stop the current program, execute another (called) program and then returns control to original program and again original program starts execution. With asynchronous function module control will start parallel without stopping the current program from which you called the function module. Parallel processing is generally used when there is a need to process large amount of data. In parallel processing, a job step is started as usual in a background processing work process. A program that runs in a job step can be programmed to us...

RFC-Interview Questions & Answers-SAP ABAP-3.

11. What Is Synchronous RFC (sRFC)? Synchronous Communication is implemented when there is a need for immediate return of data (response) from the receiving system to the sender system. The receiving system should be active at the time this communication is made so that it can process the function call at that very time. This communication is very helpful when real time response is required or when results are required immediately from the destination system. Synchronous RFC is based on synchronous communication which means both the source system and destination system (Client & Server) involved must be available at the time function call is made. sRFC is a means of communication between systems where acknowledgements are required. The resources of the Source System wait at the target system and ensure that they deliver the message/data with ACKD. The Data is consistent and reliable for communication. The only issue is if the target system is not available, the source ...

RFC-Interview Questions & Answers-SAP ABAP-2.

6. For What Purposes Can RFC’s Be Used? RFCs can be used for the following mentioned purposes: To establish Communication between different systems, such as between two SAP systems or between an SAP system and an external system. To establish Communication between application instances or between the application layer and the presentation layer (GUI communication). Can be Used for Parallelizing Processes as one program after another can start several RFCs asynchronously without waiting for processing to finish, RFCs are used to parallelize processes and dynamically distribute workload over the different servers within an SAP system. 7. State Whether RFC’s Are Client Dependent Or Client Independent Objects? RFC’s are Client Independent Objects. RFC connections can always be used across the entire system. This means that an RFC connection you have defined in client 100 can also be used from client 110 also without any difference. 8. What Are The Types of RFC’s availabl...

RFC-Interview Questions With Answers-SAP ABAP-1.

1. What Do You Mean By RFC? Explain In Detail. RFC stands for Remote Function Call. Remote Function Call is an interface for communication between a SAP System and other SAP or third-party compatible system. Remote function calls may be associated with SAP software and ABAP programming and provide a way for an external program (written in languages such as PHP, ASP, Java, C, C++) to use data returned from the server or insert data into server records. For business applications, sometimes it becomes necessary to communicate and exchange information (in predefined formats) with other SAP Systems or non-SAP Systems ( Example Visual Basic to SAP, Java to SAP etc. ). To enable this communication, SAP has provided us with a mechanism called RFC, which stands for 'Remote Function Call'. RFC’s can be used for external integration with SAP, such as PHP/SAP, Flex/SAP, Ruby/SAP, etc. In SAP, RFC Interface system is used for setting-up RFC connections between different SAP syst...