SAP Connector
Hello,
when i will make a bapi call by the sap connector framework, what i have to do? Can i take the sap connector framework wizard? But i become a error-msg:
Error This compilation unit indirectly references the missing type javax.resource.cci.ResourceAdapterMetaData (typically some required class file is referencing a type outside the classpath) BspConnectorAppConnection.java BspConnectorApp/src/com/gft/connector/connection line 0
Only the jdbc connector is default on the sap application server. When I will make a bapi call, which connector i need (java?) and i have to pay for that or not - example please?
Thanks,
Frank
Hello Frank,
have a look at this thread: How to read R/3 table and show it in SAP EP 6.0 I hope it helps.
Regards
Gregor
Similar Messages
-
No connection from SAP EP to Raytion SAP Connector
Hello,
The Raytion SAP connector 1.5.1 has been deployed without any problems on the customer SAP EP (Production). We see that no connection can be made from the SAP EP to this SAP Connector.
Extract from the log file: (10.54.17.63 is the IP address from the Raytion SAP Connector server.)
2008-04-03 13:30:40,082 DEBUG resource allowed by watched repository filter: true
2008-04-03 13:30:40,097 DEBUG resource allowed by hidden filter: true
2008-04-03 13:30:40,097 DEBUG resource allowed by size filter: true
2008-04-03 13:30:40,097 DEBUG resource allowed by Exclude RegEx filter: true
2008-04-03 13:30:40,097 DEBUG resource released by timebased service: true
2008-04-03 13:30:40,097 DEBUG resource released by statemanagement service: true
2008-04-03 13:30:40,191 INFO about to post /Intranet/Departement%20Facility%20Management/Dienst%20Schoonmaak/Nieuws/7061c4fe-fc43-2a10-05bc-bcb3aa83965c.xml
2008-04-03 13:30:42,082 WARN could not connect to connector server at http://10.54.17.63:16050/DataSource. http://portaal:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/Intranet/Departement%20Facility%20Management/Dienst%20Schoonmaak/Nieuws/7061c4fe-fc43-2a10-05bc-bcb3aa83965c.xml not sent! com.caucho.hessian.io.HessianProtocolException:
2008-04-03 14:47:32,552 INFO Start security update initiated by Connector Server
2008-04-03 14:47:34,240 WARN could not connect to security cache at http://10.54.17.63:16050/Security. Start update notification not sent! com.caucho.hessian.io.HessianProtocolException:
2008-04-03 14:47:34,240 ERROR Could not send security synchronisation start notification. No server available.
The contractor that installed this, thinks the next area to look to is to see if the SAP EP has been configured somehow to stop outgoing http traffic from applications running within it... Maybe the EP is blocking outgoing HTTP access, although other components from the EP are working OK.
How can we check this?
Please advise.
Kind regards.Check the following Links:
I want an explanation for this connection between R/3, CRM and IPC ??????
Document flow from R/3 to CRM
BP Changes From CRM to R/3
BP Changes From CRM to R/3
Reward Points if useful. -
SAP Connector no longer working after upgrade
After upgrading from EP 6.0 SP2 Patch 2 to Patch 3, our iViews using the SAP connector framework is no longer working. No connection is obtained. Even the examples in the PDK has stopped working. It seems that maybe some files have disappeared (in folder ".../server/services/eisconnector/work").
Any ideas?
HildeHi Hilde,
1. please have a look in the Visual Admin Tool -> Services -> EISConnector ans see if the SAP Connector is deployed there. if you see it there, so it is deployed.
2. try to remove and add agian the SAP Connector (in the same place as from section one)
3. why dont you use the last Portal Patch and J2EE patch?
4. do you see any special exception in the Log file?
Regards,
Aviad -
SAP.Connector.RfcCommunicationException
When call SAPProxy function, a SAP.Connector.RfcCommunicationException raised
Please help me to analysis the cause and solution.
My doubt is if the Gateway is indispensible for a .NET Connector function call
Thanks in advance
Detail information:
Exception.Message:
Connect to SAP gateway failed\n
Connect_PM GWHOST=157.55.20.224, GWSERV=sapgw00, ASHOST=157.55.20.224, SYSNR=00\n\n
LOCATION CPIC (TCP/IP) on local host\n
ERROR partner not reached (host 157.55.20.224, service 3300)\n\n
TIME Thu Dec 09 13:13:01 2004\n
RELEASE 620\n
COMPONENT NI (network interface)\n
VERSION 36\n
RC -10\nMODULE ninti.c\n
LINE 979\n
DETAIL NiPConnect2\nSYSTEM CALL SO_ERROR\n
ERRNO 10060\n
RRNO TEXT WSAETIMEDOUT: Connection timed out\n
COUNTER 1\n
The code lines as following:
string cs = "ASHOST=157.55.20.224 SYSNR=00 CLIENT=000 USER=xxxx PASSWD=xxxxxx";
// construct the proxy with connection string
SAPProxy1 proxy = new SAPProxy1(cs);
// create a SAP Table variable
BRFCKNA1Table tblCust = new BRFCKNA1Table();
// call the RFM method on the proxy
try
proxy.Rfc_Customer_Get("","A*", ref tblCust);
catch(SAP.Connector.RfcCommunicationException exp)
MessageBox.Show(exp.Message);
return;Hi Reiner,
One of my partners are having this problem...
1. They are having a dev server of ip 200.1.12.xx and remote site has network with ip 171.xxx.xxx.xxx
2. Another subsidiary needs to use NCo to access this server
3. They are using two firewalls, one from Buiding A and another in Building B
4. all ports of firewalls are open, there IP mapping from firewall in Building A to IP in firewall in Building B.
5. Building A being the remote building, can log on via SAP GUI, however, unable to connecto via NCo
6. What seems to be the problem and what can I tell the basis guy to check?
How does NCo support firewalls and waht is the best way to work around this?
Your help is much appreciated.
Cheers -
SAP Connector: Retrieve Business Components?
Hello,
i am evaluating the features of the SAP Connector. I deployed the login-data and checked the connection ("Success!"). Then I tried to import metadata.
I see the Message "Retrieving Business Components.." for e few seconds, then it disappears. There is no metadata imported and no error message.
I tried this both with 10gR1 and 10gR2.
Can you help me?
TobiasWhich version of SAP system are you connecting to?
-
SAP.Connector.Rfc.dll installing to 2 directories
I am installing SAPGUI Frontend components including the BW and BI add-on components on a Windows XP/SP2 system with .NET 1.1 already loaded.
I've read on this forum that SAP.Connector.Rfc.dll and other .NET assemblies are installed to the GAC, but I saw on a test machine where this assembly (and others) were installed to both the GAC and to the ProgramFiles\sap\frontend\bw directory as well.
Is there a requirement for the .NET assemblies to be in the bw directory ( or other private SAP directory as opposed to the GAC? )
If anybody from SAP knows the answer, it would be much appreciated. Thanks!
Thanks,
Owen
Message was edited by:
Owen GilmoreHi Sowmya C,
How are you doing ?
Upon addition of any SAP component, the reference is added automatically.
However, in the event that the reference to "SAP.Connector.dll"
is not present, you can add it through the references tab, provided that the SAP.NET Connector is installed on the local machine [as this will allow you to add the dll reference locally, like you would reference anyother local assembly]
It is of type .NET dll
with respect,
amit -
I am working with SAP connector at a customer and I see that the versions supported by OIM is:
SAP R3 4.6C (running on Basis 4.6C)
SAP R3 4.7 (running on WAS 6.20)
MySAP ERP 2004 (ECC 5.0 running on WAS 6.40)
MySAP ERP 2005 (ECC 6.0 running on WAS 7.00)
The customer tells me that they have:
Netweaver 7.0 (previously 2004s) and we are running ECC 6.0 w/WAS 7.0 (SP 18)
I do not see Netweaver mentioned anywhere in the SAP connector docs.
Can someone please tell me if the version at customer is supported by OIM SAP connector?
thanksAs Netweaver is a totally different technical platform I would find it unlikely that it would be supported unless specifically stated.
Best regards
/Martin -
SAP Connector 2 - Could not load file or assembly 'SAP
Hi all,
I've recently installed SAP .NET Connector 2 and have been developing a basic C# web form to interrogate the customers table. I have created all my code and done a successdul build. However, when I try to run the web form I get the following error:
<i>Could not load file or assembly 'SAP.Connector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=50436dca5c7f7d23' or one of its dependencies. The system cannot find the file specified.</i>
The SAP.Connector.dll and SAP.Connector.Rfc.dll files are on both my development machine and the server I am deploying the project on. Any ideas ?
Thanks.Fixed it myself. In the solution browser, expand the reference section and in the properties for the SAP.Connector and SAP.Connector.Rfc set the 'Copy Local' parameter from False to True. This fixes the issue.
-
Can SAP connector 2.0.1 be install in a pc which has only VS2005? I tried to install it and I received the following error:
YOU MUST FIRST INSTALLVISUAL STUDIO NET 7.1 INTEGRATED DEVELOPMENT ENVIRONMENT (IDE).
Can someone tell me if I can connect to SAP from VS2005 and how?
Thanks in advanceHi,
SAP Connector for MS .NET is not currently supported on Visual Studio 2005.
Please check the article Using SAP Connector for MS .NET (NCO) in Microsoft Visual Studio 200 to learn a workaround that enables easy design-time connectivity to SAP back-end systems in Visual Studio 2005 by creating the connector proxies in Visual Studio 2003 and porting them to Visual Studio 2005.
The link to this article is available in the Development Center under Additional Resources.
Regards,
Anne Tarnoruder
SAP NetWeaver Product Management -
hi Experts,
Can anyone please send me a working example project for SAP connector and Jsp page at [email protected]
Regards,
Sanjyoti.Hi,
Use this example
import com.sapportals.connector.ConnectorException;
import com.sapportals.connector.connection.IConnection;
import com.sapportals.connector.execution.objects.INativeQuery;
import com.sapportals.connector.execution.objects.InvalidQueryStringException;
import com.sapportals.connector.execution.objects.QueryExecutionException;
import com.sapportals.connector.metadata.CapabilityNotSupportedException;
import com.sapportals.portal.ivs.cg.ConnectionProperties;
import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
import com.sapportals.portal.ivs.cg.IConnectorService;
import com.sapportals.portal.prt.component.*;
import com.sapportals.portal.prt.resource.ResourceException;
import com.sapportals.portal.prt.runtime.PortalRuntime;
public class TestJDBC extends AbstractPortalComponent
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
throws ResourceException
// Open a connection
IConnectorGatewayService cgService = (IConnectorGatewayService)
PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
ConnectionProperties prop = new ConnectionProperties(request.getLocale(),
request.getUser());
IConnection client = null;
try {
client = cgService.getConnection("System1", prop);
} catch (Exception e) {
response.write(e.toString());
return;
try {
// Issue SQL Query statement
INativeQuery query = client.newNativeQuery();
String queryStr = "SELECT [CategoryID], [CategoryName], [Description] FROM
[Categories]";
//IQuery query = client.newQuery();
//query.execute(queryStr);
Object result = query.execute(queryStr);
//ResultSet singleResult = ((ResultSet) result).getRow();
//IRecordSet result = query.retrieveRecordSet();
// Iterate returned result
ResultSetMetaData recordMetaData = ((ResultSet)result).getMetaData();
int colNum = recordMetaData.getColumnCount();
//result.beforeFirst();
while (((ResultSet)result).next()) {
for (int i = 1; i <= colNum; i++) {
response.write(((ResultSet)result).getString(i) + "<br>");
// Close the connection
client.close();
} catch (QueryExecutionException e) {
response.write(e.toString());
} catch (CapabilityNotSupportedException e) {
response.write(e.toString());
} catch (ConnectorException e) {
response.write(e.toString());
} catch (InvalidQueryStringException e) {
response.write(e.toString());
} catch (ResourceException e) {
response.write(e.toString());
} catch (SQLException e){
response.write(e.toString());
}catch(Exception e){
response.write(e.toString()); -
Problem using SAP Connector in Win 2k3 x64 - No Data is returned on BAPIs
Hi,
During the tests of migration to a 64 bits environment we encountered some problems with the connection to the SAP server.
The first problem was that the librfc32.dll library was a 32 bit library, so application could not run in x64 mode.
We downloaded the official x64 library from the Support Portal (https://websmp206.sap-ag.de/support > Downloads >
Support Packages and Patches > Entry by Application Group > Additional Components > SAP Kernel > SAP KERNEL 64-BIT > SAP KERNEL 6.40 64-BIT >
SAP KERNEL 6.40 64-BIT > Windows Server on x64 64bit > #Database independent > librfc_66-20001176.sar, and extracting file librfc32.dll a x64 dll).
Using this x64 dll we finally could test the application in 64-bits mode (the purpose of the migration) testing its runtime behavior,
where my current problem is.
When connecting to the SAP server all BAPI's we test are always returning an empty data results.
We have no errors nor exceptions from the SAP .NET connector, only the results come empty when they shouldn't.
When testing the same application but linked to the SAP 32 bits library (application runs in 32-bit mode), invoking the same BAPI's
(using the exactly the same code and parameters) we got the correct response from the BAPI, i.e., non empty results.
We already tested a set of BAPIs and always with the same result, in x64 we got no data, in 32-bits we got the information.
Does anybody know what can be causing this misbehavior? What can we do to make application run correctly in x64 mode?
Here some additional information about the Operating System: Microsoft Windows Server 2003, Standard x64 Edition, Service Pack 2 (with all windows updates installed).
Best regards,
João Portela on behalf of Manuel DiasMaybe your application isn´t run in x84
#Go to properties of your project ->Build -> changed platform target of "Any CPU" to "x86"
#Copy these libraries from our 32-bit environment :
*SAP.Connector.dll
*SAP.Conector.Rfc.dll
*librfc32.dll
*msvcp71.dll
*msvcr71.dll
In 64 bits environment:
1. librfc32.dll to C:WINDOWSsystem
2. msvcp71.dll to C:WINDOWSsystem32
3. msvcp71.dll and msvcr71.dll to C:WINDOWSSysWOW64
4. SAP.Connector.dll and SAP.Conector.Rfc.dll to C:WINDOWSassembly (DRAG) -
SAP Connector Factory - performance tuning in VA
Is anyone aware of SAP guidance or notes on how to tune the SAP connector SAPFactory properties, especially where a Portal makes RFC calls across multiple ABAP-based backends? For example SAP Note 1021921 shows this property is important when closing backend BI RFC sessions as they are not terminated by the DSM.
Visual Administrator
Services -> Connector Container
Runtime -> Connectors -> Connector 1.0 -> sap.com/com.sapportals.connectors.sap -> SAPFactory
Managed Connection Factory -> Connection Definition
Connection Lifetime
Cleanup Thread
Max Connections
Max Time to wait for Connection
In our environment we have CRM, BI and ECC backends. Thanks!Hi
Please check the following links :
http://help.sap.com/saphelp_nw70/helpdata/en/89/8a185c148e4f6582560a8d809210b4/content.htm
and
http://help.sap.com/javadocs/NW04s/current/ep/constant-values.html
I hope this helps
Regards
Chen -
Needed classes for sap connector framework
Hello,
when i installed sap netweaver developer studio 2.0.5 i become all needed classes for sap connector framework?
Or i have to install the pdk? What are in the pdk for developer studio because the needed wizards are there (portal, sap connector ...)
Thanks,
FrankTorben, try to use class finder plugin as described here /people/maksim.rashchynski/blog/2006/08/14/the-story-about-how-2-eclipse-plugins-helped-me-to-make-a-lot-of-points-on-sdn-forum
To save you some time:
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\tcconnconnectorframework\*.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sapportals.connectors.sap\connector\connectors\SAPCFConnector.rar\SAPCFConnector.jar -
No SAP Connector template in Visual Studio 2003
Hi,
We installed Visual Studio 2003 and SAP Connector SAP.Net.Setup_2.0.msi and I don't have the SAP Connector template when I want to create a new project.I found the solution : be carrefull about the SAP Connector release SAP.Net.Setup2003.msi
-
What are the steps to configure SAP Connector?
Hi Experts,
Please explain me how to configure SAP Connectors?
By how many ways we can configure SAP Connector?
Thanks & Regards,
Sharma.Please search yourself before posting, ask specific questions only, do not post this question a third time.
Thread locked.
Thomas
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
Maybe you are looking for
-
How do I transfer files from pc to mac using an external drive?
I get the that I copy files from the PC to the external drive and then copy to mac. What I do not know is what format does the external drive need to be? FAT32 is somewhat limiting.
-
I just got a new router from ATT and I cannot get my pinter to connect it fails at no filtering
I have a Envy 100 e-all-in-one D410a printer. Every time I try to connect, it finds the wireless SSid name, then I enter the WPA password, it tries but then fails. It fails on the no filtering. The router is an ATT Westell. This question was solv
-
How to put dvd movies on to ipod classic
How do you safely put DVD movies on to an ipod classic?
-
Install Prime Infrastructure 1.2
Hi. Can't connect to Prime Infrastructure 1.2 from web-browser. I installed Prime Infrastructure http://software.cisco.com/download/release.html?mdfid=284396249&flowid=34522&softwareid=284272932&release=1.2.0&relind=AVAILABLE&rellifecycle=&reltype=la
-
Creating hierarchy on measures
Hello, I have a requirement where I need to drill-down or Hide/Expand on measure. Ex. Hierarchy expanded view. Sales Europe Sales USA Sales Asia Sales Total Hierarchy normal view. Sales Total In the above example I need to hide detail rows (Sales Eu