Skip to Content
0
Former Member
Feb 17, 2015 at 08:54 PM

SAP Netweaver Gateway Project/Entity/Service with Offline Data

16 Views

Hello,

I have some doubdts about Odata Services when we need to use Offline Data in the device.

It´s possible to have an individual project for each Service (several metadatas) that we have to create to get que offline app working? or we have to use an individual Project for N services with a unique metadata for serveral services.

Which is the best practice for generate a new version of an Odata for future maintenance? For example if we have to extend a field in a RFC is prefered to have a new version of the service? or create a new project to have totally independent all changes.

Is recomended to have only one project with several services/metadatas for each application development? (for example a Sales app where we have customers, materials, prices, stock, open items, etc.).

For now we have each service with an individual project but we are not sure if this can be like that.

Service1:

Projecto GW: ZPRO5

URI Request: /sap/opu/odata/SAP/ZPRO5_SRV/?$format=xml

EntitySet: CodigosSet

URL de consumo con parametros de entrada: http://<ServerIP>:<Port>/sap/opu/odata/SAP/ZPRO5_SRV/CodigosSet/?$filter=UsuarioIn%20eq%27VESCOBAR%27&$format=json

Servicio 2:

Proyecto GW: ZPRO_FERIADOS

URI Request: /sap/opu/odata/SAP/ZPRO_FERIADOS_SRV/?$format=xml

EntitySet: FeriadoSet

URL de consumo con parametros de entrada: http://<ServerIP>:<Port>/sap/opu/odata/SAP/ZPRO_FERIADOS_SRV/FeriadoSet/?$filter=YearF%20eq%272015%27%20and%20Ident%20eq%27CL%27&$format=json

Servicio 3:

Proyecto GW: ZGWFI_R_BANCOS

URI Request: /sap/opu/odata/SAP/ZGWFI_R_BANCOS_SRV/?$format=xml

EntitySet: BancosSet

URL de consumo con parametros de entrada: http://<ServerIP>:<Port>/sap/opu/odata/SAP/ZGWFI_R_BANCOS_SRV/bancosSet/?$format=json

Any help to clarify this concepts is welcome.Thanks.