SlideServe
Menu
Préférences
© SlideServe · v2026

Remote Function Call

davin avatar
16 diapositives · 787 Views · Oct 05, 2014

Remote Function Call. RFC from SAP R/3. Remote system. R/3 Application Server. Work Process. Function group. Call Function. FM. Work Process. Work Process. Call Function destination. FM. RFC. Remote Destinations.

Remote Function Call - slide 1
01 / 16Remote Function Call
1 / 17

Télécharger la présentation

Remote Function Call
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Remote Function Call

  2. RFC from SAP R/3 Remote system R/3 Application Server Work Process Function group Call Function FM Work Process Work Process Call Function destination FM

  3. RFC

  4. Remote Destinations • You maintain RFC destinations that must specify an ABAP program when calling remote function modules in the RFC sideinfo table RFCDES using Transaction SM59

  5. RFC Destinations

  6. Remote Destinations : SM59

  7. RFC Types • Synchronous RFC • Asynchronous RFC • Transactional RFC • Queued RFC

  8. Synchronous RFC REPORT ... ... CALL FUNCTION ‘ABC’ DESTINATION ‘PRD’ EXPORTING ... IMPORTING ... ... FUNCTION ABC. ... ... ENDFUNCTION.

  9. Synchronous RFC REPORT ... ... CALL FUNCTION ‘ABC’ DESTINATION ‘PRD’ EXPORTING ... IMPORTING ... TABLES ... EXCEPTIONS communication_failure = 1 system_failure = 2 ... FUNCTION ABC. ... ... ENDFUNCTION.

  10. Asynchronous RFC : aRFC REPORT ... ... CALL FUNCTION ‘ABC’ DESTINATION ‘PRD’ STARTING NEW TASK ‘T1’ EXPORTING ... ... FUNCTION ABC. ... ... ENDFUNCTION.

  11. Asynchronous RFC : aRFC REPORT ... ... CALL FUNCTION ‘Z_ABC’ DESTINATION ‘PRD’ STARTING NEW TASK ‘T1’ PERFORMING get_result ON END OF TASK EXPORTING ... ... FORM get_result using t. RECEIVE RESULT FROM FUNCTION ‘Z_ABC’ IMPORTING … TABLES … … ENDFORM. FUNCTION Z_ABC. ... ... ENDFUNCTION.

  12. Transactional RFC : tRFC REPORT ... ... CALL FUNCTION ‘Z_RFC1’ IN BACKGROUND TASK DESTINATION ‘PRD’ ... CALL FUNCTION ‘Z_RFC2’ IN BACKGROUND TASK DESTINATION ‘PRD’ ... COMMIT WORK. ... FUNCTION Z_RFC1. ... ... ENDFUNCTION. FUNCTION ZRFC2. ... ... ENDFUNCTION.

  13. Transactional RFC : tRFC • In the source system, you can use the administration Transaction SM58 that let you display and monitor the tRFC • tRFC calls are stored in the local tRFC tables ARFCSSTATE and ARFCSDATA • If the remote tRFC is executed successfully, the accompanying entries are deleted from the tRFC tables

  14. Transactional RFC : tRFC • If the connection cannot be made to the partner,this is logged in the tRFC table ARFCSSTATE,and the job is rescheduled • The default interval time for rescheduling the job is a maximum 30 times with a 15 minute interval

  15. Queued RFC ... CALL FUNCTION ‘TRFC_SET_QUEUE_NAME’ EXPORTING qname = ‘Q01’. … CALL FUNCTION ‘Z_RFC1’ IN BACKGROUND TASK DESTINATION ‘PRD’ EXPORTING ... ... CALL FUNCTION ‘Z_RFC2’ IN BACKGROUND TASK DESTINATION ‘PRD’ EXPORTING ... … COMMIT WORK.

  16. qRFC Monitor • SMQ1 for outbound Queue RFC