Showing posts with label RFCUSER. Show all posts
Showing posts with label RFCUSER. Show all posts

8/25/2017

How to create RFC destination in SAP ?

Go to SM59 transaction :




Click on create icon in the above screen, which leads to below screen


Specify RFC Destination name and description and connection
Type in the above screen



Please note respective connection type to be selected from dropdown based on the connection required. Usually 3 is for ABAP system. (Pls find screenshot below)




In the below screen, please select load balancing radio button
based on your system setup (i.e if there is load balancing configured
for your system, specify it as yes otherwise no)

Please provide Target host details like hostname or ip address
and system number as below:




As shown below, Proceed to Logon & security tab and provide following
details: Select trusted system as no, in case you would like to connect
to a system with a user id and password.

If you don’t want to get authenticated by credentials specify the system
as trusted system which won’t prompt to enter user id/pwd credentials
in the below screen.

Please provide Language details like EN (for English), Client details,
User id and password for the system you would like to create a connection.

Please leave default values in other tabs (i.e MDMP & Unicode,
Special options, Administration) and then click on Save to complete the RFC creation.
How to Test RFC connection ?


If it functioning well it should show output similar to below screen :


If this is fine, come back to earlier screen and execute Unicode test by clicking
the button. Output similar to below screen, should be displayed if connection is
OK



Also you need to perform authorization test to make sure user id / password
credentials provided are correct.
Please navigate as below and perform the test :


Navigate to Utilities -> Test -> Authorisation test and click the same to execute.


If the RFC configuration is fine, screen shot similar above will appear.
Otherwise an error will be displayed based on which you need to
troubleshoot to fix the issue.

How to delete an RFC ?

Goto SM59 and select the RFC that is to be deleted as shown below :


And click on delete icon


Click yes to confirm deletion, which deletes the RFC.

Click on Connection test tab to check the connection for the RFC

10/23/2012

SAP Remote Client Copy Transaction Code:SCC9

The client copy held between two different databases or two different servers (R/3 systems) is known as Remote Client copy. Remote Client copy requires RFC Connections.

Create RFCUSER with SAP_ALL and SAP_NEW profiles on source system (DR1)
Run su01 and create new user RFCUSER and copy from ddic

Make sure the user type is SYSTEM.
SAP-Remote-Client-Copy-User-Display
Lock all users on source
• Send system message to all users SM02
• Wait for one hour and kill any remaining users
• Run SU10 to mass user lock

Stop all background jobs
• Display all background jobs using sm37
• Run BTCTRANS1 to de schedule all jobs
• Run BTCTRANS2 to re schedule all jobs

Make sure enough space is available for TableSpaces in target
Create RFC Connection from target to source (TCODE SM59)
Connection type should be R3 connection
Connecting two applications running on two different servers to enable the data communication is called as RFC connection. Using RFC connection the communication obtained between source and target systems with the help of gateway work process which enables data communication between them.

RFC connections will be created using SM59 transaction code
Types of RFC connections
Connecting application server with same database
Connecting with R/2 system database
Connecting with R/3 system database connecting type 3 stands for creating a connection between R/3 to R/3 technology servers.

SAP R/3 to SAP R/3
SAP R/3 to SAP BIW (vice versa)
SAP R/3 to SAP CRM (vice versa)
SAP R/3 to SAP SRM (vice versa)

If SAP R/3 to SAP R/3 connection obtained the data communication held between those two systems as per its technical and configuration 

Steps in creation of RFC destination
• Go to SM59 in target client
Display-and-maintain-RFC-destinations
• Create
• Give RFC destination Name (SIDCLNT)
• Connection type (3) for R/3 connection
Type-of-entry-in-RFCDES
• Choose Description and Enter
• Now additional tabs will be opened
• Give CI host name of Source client and Instance number in the tab
“Technical Settings”: Go to “Logon/Security” tab, mention source client number, give user information using which source RFC to be logged on to target then save and Test connection.

User info in RFC
In RFC administration, screen logon details required to be given for the source system of RFC to be logged in to the target system RFC. This user type should be system or service which ever part of target system database. Once RFC is created source to target system the data extraction can be done from target system to source system
SAP-RFC-Destination-DR1 

Test
SAP-RFC-Destination-Information
RFC- Connection-Test
Go back and run SM59 and you will see the newly created connection.
SAP-Display-and-maintain-RFC-destinations
Run Remote Client Copy (TCODE SCC9)
Remote client copy will be done using SCC9 transaction code using the same steps as done in local client copy.
Run-Remote-Client-Copy
SAP-Client-Copy 


SAP-Schedule-Client-Copy-in-Background
SAP-verification-Remote-Client-Copy
SAP Background Information
Only difference is for the source client, instead of giving the client number of a local client you will need to provide the RFC connection for the system containing the source client, which is defined in step 1. 


Popular Posts