cancel
Showing results for 
Search instead for 
Did you mean: 

Backup of Complete OData service in SAP Netweaver Gateway

Pavan_Golesar
Active Participant

Hi,

Can we talk complete backup of Odata service developed in SAP GATEWAY?

Please guide.

Thanks.

Pavan G

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Pavan,

As far as i know we cannot take complete back up of your project.

Below can be done and saves some time.

1. Download the metadata data of your service as edmx file

2. When ever you want this model to be created again for different project then just import the above edmx file. This way you get back all most all the previous project GW model.

3. Create  mapping ( if any ) and generate run-time artifacts for the new projects.

4. Manually Implement MPC_EXT and DPC_EXT classes and add the previous project code.

Regards,

Ashwin

Pavan_Golesar
Active Participant
0 Kudos

Hey Ashwin,


Thanks for reply.



Download the metadata data of your service as edmx file

I tried in the SEGW on Gateway server but I am unable to download metadata in edmx format.

Please share how to achieve this.

Thanks,

--Pavan G

AshwinDutt
Active Contributor
0 Kudos

Hello Pavan,

Get/Open the metadata of your service in the browser.

Now save this metadata as a file with edmx extension ( example : DemoService.edmx )

In SEGW, in the Data Model right click and select Import and get this file by browsing the location where your DemoService.edmx file is stored on your machine.

You should be able to get the model imported.

Regards,

Ashwin

Pavan_Golesar
Active Participant
0 Kudos

Thanks Resolved.

-Closing thread,

Answers (0)