Author |
Message
|
kirankinnu |
Posted: Thu Dec 20, 2007 12:59 pm Post subject: mySAP Adapter connnector properties at runtime |
|
|
 Centurion
Joined: 12 Jun 2004 Posts: 128 Location: Chicago, IL
|
Hello Folks,
We are integrating Message Broker with SAP and we are using mySAP as the Adapter. Is there a way we could get the mySAP connector properties at runtime. Like the SAP client no, HostName, sysnum ....
Thank You,
Kiran |
|
Back to top |
|
 |
Gaya3 |
Posted: Fri Dec 21, 2007 1:14 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
Usually we have to Hard code the connector properties Like the SAP client no, HostName, sysnum.
whats the requirement here, to get these details in the runtime
Regards
Gayathri  _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
kirankinnu |
Posted: Fri Dec 21, 2007 10:03 am Post subject: |
|
|
 Centurion
Joined: 12 Jun 2004 Posts: 128 Location: Chicago, IL
|
The requirement over here is, we are constantly switching the clients for testing purpose. And users are not able to figure out which client they are testing in. We would like to display the client info, so that they could understand whcih client they are testing at.
Thank You,
Kiran |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 21, 2007 4:09 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
This information should be available from SAP through RFC calls.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
k_usa |
Posted: Tue Dec 25, 2007 6:29 pm Post subject: |
|
|
Apprentice
Joined: 14 Aug 2006 Posts: 42 Location: NewJersey
|
If the SAP users wanted to know whether the connector is pointing to the proper client before they can test ...
They need to go to WE21 ->Ports -> Transactional RFC and doubleclick on the PortName .
From the above screen there is a button called TestConnection.
If your SAP connector is running and pointing to this SAP client, then if the user presses TestConnection above, it will be successful. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Dec 26, 2007 5:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You can get the SYSID you are connected to through: function RFC_SYSTEM_INFO see RFCSI_EXPORT-RFCSYSID...
The current client should be available through the JCO.Connection class.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|