Skip to Content
Personal Insights

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.

2 Comments
You must be Logged on to comment or reply to a post.