on 06-16-2005 6:22 AM
Hi all,
can anyone explain how to set the vb.net server as destination in SAP using sm59.
Is there any exercise material avilable for that.
I want to call .net function to get results in the SAP.
detailed explanation is needed.
Regards,
S.Shankar
Hi All,
Thanks for Your Reply.
I will try and get back to you if i face any problems.
If i get it right, i will assign the points.
Thanks you,
Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The following steps need to create server side application.
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.
Let me know if you have any clarifications.
You can go through the dotnet connector document for more information. This document is available in http://service.sap.com
Thanks & Regards,
Govind.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Guangwei
thanks for your remind
I fill the IP address in the Target Host
('Activation Type' click 'Start', and click 'explicit host', you can see the 'Target Host' in SM59)
In fact, I don't know clearly about the difference between Activation Type and the usage of these button.
Could you explain for me?
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are some samples and documention coming with the .net connector setup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, you just need to create a TCP/IP destination in SM59.
set the IP address, which is your dotnet side machine IP.
And you also should set gateway info for this destination.
You can find the setting windows from menu.
For the parameter Gateway Host, you should enter the hostname of your SAP application server. The value for the parameter Gateway Service is usually SAPGW<XX>, where the XX is the system number of your SAP system.
Hope it will be helpful. thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.