cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring SAP RFC destination for .Net connector

Former Member
0 Kudos

Hi Guys

I am using R/3 4.7 E, i need to configure RFC destnations for connecting to an ASP.NET system wit .net connctor.

Could you please give me steps involed for RFC destinations.

Thank you

Vardhan

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member626016
Discoverer
0 Kudos

This message was moderated.

reiner_hille-doering
Active Contributor
0 Kudos

You want to configure the use of a .NET RFC server? Then "SM59" is the keyword.

Former Member
0 Kudos

Hi Reiner

Thank you for responding, i know its sm59 but and the connection type is 'T'. But what kind of activation type should i be using.

Regards

Vardhan

reiner_hille-doering
Active Contributor
0 Kudos

There are already some threads in this forum, e.g. .

Former Member
0 Kudos

Hi Reiner

I have gone through that, i have a q for you

In the start on explicit host field what program name will i have to specify?

Vardhan

reiner_hille-doering
Active Contributor
0 Kudos

What I intended you to read was this section:

1. Create a SAP Connector Class - Application ( Under Visual C# Projects ) and give the RFC name and build the application.

2. Inside this application, write your .net code as per your requirement.

3. After completed, this application will create an exe file ( Under the folder bin\release ).

4. You need to pass the command line parameters to execute this exe file. Command line parameters are

-a<registeration Name> -g<SAP Server Name/IP Address> -X<Sap Gateway>

For example:-aREG -gSAPSER1 -xSAPGW00

5. Create a RFC destination in SM59, Under TCP/IP.

Technical Settings --> Activation Type --> Registered Server Program ( Need to be selected ).

Program ID must be your registeration name : REG

Gateway Options are

Gateway Host:SAPSER1

Gateway Service:SAPGW00

6. Write an ABAP program to call the RFC with destination as created in 5th setp.

7. The exe file should run in the same domain/LAN of your SAP server. You can test the connection in SM59.

It should be obvoius that the main option is "Registered Server Program" and not "Start...".

And "ProgramID" or "registration name" is an arbitrary string that just need to be equal in SM59 and at the command line of the RFC server.

Former Member
0 Kudos

hi Reiner

Have you got that ABAP code to call RFC

Vardhan

reiner_hille-doering
Active Contributor
0 Kudos

Just for testing your RFC server you don't need to write an ABAP. Just got to SE37 and use the "Test function module" feature. It allows you to specify your destination that you created in SM59.