Fórumok

Ingration with SAP

Geervani BS, módosítva 13 év-val korábban

Ingration with SAP

Junior Member Bejegyzések: 34 Csatlakozás dátuma: 2010.07.28. Legújabb bejegyzések
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
thumbnail
Manish Kumar Gupta, módosítva 13 év-val korábban

RE: Ingration with SAP

Liferay Master Bejegyzések: 535 Csatlakozás dátuma: 2008.05.16. Legújabb bejegyzések
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.
Geervani BS, módosítva 13 év-val korábban

RE: Ingration with SAP

Junior Member Bejegyzések: 34 Csatlakozás dátuma: 2010.07.28. Legújabb bejegyzések
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:


        Properties connectProperties = new Properties();
        connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, "appserver");
        connectProperties.setProperty(DestinationDataProvider.JCO_SYSNR,  "00");
        connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "000");
        connectProperties.setProperty(DestinationDataProvider.JCO_USER,   "JCOTEST");
        connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "JCOTEST");
        connectProperties.setProperty(DestinationDataProvider.JCO_LANG,   "en");

        MyDestinationDataProvider myProvider = new MyDestinationDataProvider();
        
        [b]com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(myProvider);[/b]
        myProvider.changePropertiesForABAP_AS(connectProperties);
        
        JCoDestination ABAP_AS = JCoDestinationManager.getDestination("ABAP_AS");
        ABAP_AS.ping();

        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

Mellékletek:

thumbnail
Gnaniyar Zubair, módosítva 13 év-val korábban

RE: Ingration with SAP

Liferay Master Bejegyzések: 722 Csatlakozás dátuma: 2007.12.19. Legújabb bejegyzések
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
Jelmi Esteban, módosítva 10 év-val korábban

RE: Ingration with SAP

New Member Bejegyzések: 2 Csatlakozás dátuma: 2013.11.05. Legújabb bejegyzések
hello,
as you made the integration with SAP??