Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Sandhya A
Ingration with SAP
27 octobre 2010 18:55
Réponse

Sandhya A

Rang: Junior Member

Publications: 34

Date d'inscription: 27 juillet 2010

Publications Récentes

Hello Experts,

Is there any document/reference which gives step by step explaination for integrating SAP with Liferay portal. I am new to Liferay. I want to retrive some data from SAP BAPIs and display.

Its urgent, any help will be appreciated.

Thanks in advance

Sandhya
Manish Kumar Gupta
RE: Ingration with SAP
23 août 2010 06:04
Réponse

Manish Kumar Gupta

LIFERAY STAFF

Rang: Liferay Master

Publications: 535

Date d'inscription: 15 mai 2008

Publications Récentes

I don't have any document but I know a way to achieve this.

If you are familiar with JCA (J2EE connector architector), you can use it to access SAP BAPI/RFC from any java application such as portlet.
Sandhya A
RE: Ingration with SAP
27 octobre 2010 18:56
Réponse

Sandhya A

Rang: Junior Member

Publications: 34

Date d'inscription: 27 juillet 2010

Publications Récentes

thanks for the reply manish,

I am facing a problem. pls help to resolve. I am trying to connect to SAP system using the following code:

 1
 2        Properties connectProperties = new Properties();
 3        connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, "appserver");
 4        connectProperties.setProperty(DestinationDataProvider.JCO_SYSNR,  "00");
 5        connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "000");
 6        connectProperties.setProperty(DestinationDataProvider.JCO_USER,   "JCOTEST");
 7        connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "JCOTEST");
 8        connectProperties.setProperty(DestinationDataProvider.JCO_LANG,   "en");
 9
10        MyDestinationDataProvider myProvider = new MyDestinationDataProvider();
11       
12        [b]com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(myProvider);[/b]
13        myProvider.changePropertiesForABAP_AS(connectProperties);
14       
15        JCoDestination ABAP_AS = JCoDestinationManager.getDestination("ABAP_AS");
16        ABAP_AS.ping();
17
18        System.out.println("ABAP_AS destination is ok");


but there is some error in the line com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(myProvider)

if I execute the .java file, it runs fine. but when using in a portlet, its invoking a method called invoke() and getting hanged over there.

Please help. Attached is the complete code i am using

Regards
Sandhya
Pièces jointes: SAPBAPI.txt (2,7k)
Kowbathullah Gnaniyar
RE: Ingration with SAP
6 septembre 2010 21:58
Réponse

Kowbathullah Gnaniyar

Rang: Liferay Master

Publications: 608

Date d'inscription: 19 décembre 2007

Publications Récentes

Hi,

is there any "SAP with Liferay" integration document ?

I have the same requirement. I need to pull some data from SAP-BO.
How to use Webservices to get SAP-BO datas in liferay?



Thanks in advance

- Gnaniyar Zubair
JyesYalith San
RE: Ingration with SAP
5 novembre 2013 11:38
Réponse

JyesYalith San

Rang: New Member

Publications: 2

Date d'inscription: 5 novembre 2013

Publications Récentes

hello,
as you made the integration with SAP??