cancel
Showing results for 
Search instead for 
Did you mean: 

connecting sap crm database from java | platform used NWDS

Former Member
0 Kudos

I need to get some values from one of the SAP CRM 2007 database table and display it in one jsp file. I am working on a e commerce webshop in NWDS. I am new to NWDS. Can you give some sample code showing how to make connection to crm database and to do a select query on a table.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I have only worked with CRM 3.0/4.0 but I have worked some with other WDP applications.

So you want to access some data in a table in the CRM backend (R/3)?

To do that from Java you need to call a BAPI in the CRM system. The BAPI does the acctuall lookup in the table and returns the value to the Java side. To do that in a WDP environment you need to set up Java Connectors (jCo) in your Java server. In some cases you can use a "normal" BAPI call, that is the way CRM ISA 3.0 and 4.0 works. See: http://help.sap.com/saphelp_crm30/helpdata/en/b6/97f8378f975450e10000009b38f8cf/frameset.htm

and here:

https://websmp108.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000633682005E

Here is how to access ABAP functions from WDP: http://help.sap.com/saphelp_webas630/helpdata/en/c3/76b45d9688e04abe1a1070410ddc1e/frameset.htm