Saturday, 30 July 2016

RFC CONNECTION

RFC Connection setup in SAP System:



RFC (Remote function call) plays a vital role in SAP systems. Consider you have two systems namely PRD and QAS.RFC names will be like belowPRD -PRDCLNT100QAS -QASCLNT200 RFC connection type R/3 ABAP connectionsAbove naming convention is used by most of the basis administrators <SID>CLNT<Client no#>So PRD system will use QASCLNT200 RFC connection to communication with QAS system.Similarly QAS system will use PRDCLNT100 RFC connection to communication with PRD system.Let us see how to setup RFC connection in PRD to QAS system which means RFC connection is done at PRD system.

1.                     Login to QAS client 2002.                    Go to tcode SU01 and create a username as your wish(consider PRD2QAS)3.                    Make sure it’s a communication user and has valid RFC authorization or you may assign SAP_ALL and SAP_NEW profiles if you're not sure about the roles 4.                    Now login to PRD client 100 client5.                    Go to SM59 tcode and select ABAP connections6.                    Click "Create" button or press F87.                    Enter the RFC connection name(ie.QASCLNT200) and choose connection type as 3 which means ABAP connecions8.                    Enter the description of the RFC like "RFC connection for QAS system" and save9.                    Now Enter the Target Host as system name(Computer name) of the QAS system or enter the IP address of the system and system number of QAS(like 00)10.                  All the above settings must be carried out on "Technical Settings" tab11.                   Next go to "Logon & Security" tab12.                  Enter the Client number of the QAS system i.e. 20013.                  Also enter the username and password which is created in QAS in initial stage(ex.PRD2QAS and pwd: QASED56$%)14.                  Language is optional and similarly Unicode option in Unicode tab15.                  You can select "Unicode" option if target system is Unicode system or leave it16.                  Now save the settings and you will be prompted "Connection will be used for Remote logon"17.                  Click "OK" and Click "Connection Test" or Ctrl+F318.                  Similarly you can test Unicode connection 19.                  But importantly you need to check Authorization test Menu bar Utilities --->Test ---> Authorization Test or press Ctrl+F4 on your Keyboard20.                 All the above test must be successful and you will get result like blowAction                      ResultLogon                 23 msecTransfer of 0 KB         3 msecTransfer of 10 KB 4 msecTransfer of 20 KB 4 msecTransfer of 30 KB 5 msec Now we successfully configured the RFC connection between PRD to QAS systemSimilarly repeat the same steps in QAS system to setup RFC connection in QAS(PRDCLNT100) to PRD 

No comments:

Post a Comment