Skip to Content
Personal Insights
Author's profile photo ramu karanam

Step by step process to Importing data model from file to segw project

Introduction:

Hi All,

SAP Gateway is an open standards-based framework that developers can use to more easily connect non-SAP applications to SAP applications. It is also used to connect to and access SAP applications from mobile devices.

In this blog i want to explain about how to export the gateway project into an file and to import the gateway project file into another project.

Step 1:

Go to Tcode:SEGW select one of the project.

Step 2:

Go to IWFND/MAINT_TRANSACTIONS Tcode to open the Project.

Step 3:

After that goto gateway client tcode IWFND/GATEWAY_CLIENT select the entity set after entity set to enter $metadata and execute the url.

URL:

/sap/opu/odata/sap/ZCREATE_CRUD_OPERATION_SRV/$metadata

Step 4:

Then metadata will displayed as  shown in below screesnshot. After that click on ‘USE AS REQUEST’ button, the xml file will move from left to right .

Step 5:

Copy the xml file into an notepad++ and save the file type as ‘Extensible markup language’

Note:Please refer below screenshot

Step 6:

Go to T code: SEGW to create a new project and right click on service there is an option to Import->Data model from file.

 

 

 

Step 7:

After import the file succesfully we can check the entity type and entity sets.

So we are done – for the moment. We have created a Service Builder Project with two entities and two entity-sets. We have generated the runtime artifacts and registered and activated our OData service and to export the gateway project into an file and to import the gateway project file into another project.

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Mahesh Palavalli
      Mahesh Palavalli

      Hi Ramu,

      I think you should change the blog title to

      Importing Data Model from File to SEGW project

      as the title might mislead people in thinking that it is for complete export of SEGW project.

      BR,

      Mahesh

      Author's profile photo Smriti Gupta
      Smriti Gupta

      Nice blog Ramu. I agree wirh Mahesh as I also thought that it's export of SEGW project

       

      Regards

      Smriti

      Author's profile photo B@lu .
      B@lu .

      hi ramu karanam,

      by this method we will import the Data model(s) of project into another project.

      am i right.

      Author's profile photo ramu karanam
      ramu karanam
      Blog Post Author

      Yes Bala Krishna