Pushing SAP Backend Updates to LCDS Middleware

Avatar

Avatar

NPEETE

Avatar

NPEETE

NPEETE

24-08-2011

Hi,

I am using the following architecture for my mobile application :

Flex client <-> LCDS middleware <-> SAP ERP Backend

I understand how I can synchronise and update client => middleware (=> client) changes, which can be persisted in the backend database with a (custom assembler). However, in my case, my "backend" is a SAP system, on which itself data can be saved.

What is the best practice to push changes from my backend to my middleware, so that my clients can get updated automatically with the new data from the backend ?

I have found this : http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WS4ba8596dc6a25eff5473e3781271fa3... but don't really know how to call thedata access object (DAO) in the LCDS middleware when SAP makes changes to the data.

Or do I need to call DataServiceTransaction.refreshFill() in certain intervals/connections ?


Does anyone have an idea or suggestion for this ?

Thanks in advance,

Nico

View Entire Topic

Avatar

Avatar

ledroff

Employee

Avatar

ledroff

Employee

ledroff
Employee

24-08-2011

Hello Nico,

To push updates to the client I would use messaging, and would use remoting to push updates from the client to the server.

I would also look at our new LCDS SAP connector, it should dramatically streamline your development.

Finally, our recently pusblished article should of interest to you : http://www.adobe.com/devnet/flex/articles/project-hendrix.html.

You'll have there a glimpse at the architecture of one of our past project where sap lcds and flex were involved.

Cheers,

François