Take a scenario where you need to create a service where we need to fetch data from multiple backend system.
We will just see the high level design for fulfilling this requirement :
Prerequisite :
Say :
GWS : Gateway System
SAP_ERP1 : Backend system alias 1
SAP_ERP 2 : Backend system alias 2
Creation of Service :
Execution from Gateway Client alternatively : Gateway client (/iwfnd/gw_client) :
You can execute GET, PUT, POST operations to read, update , create data.
Get_Entity can be used as :
Get_EntitySet can be used as :
POST :
/sap/opu/odata/sap/ZTEST_SRV;mo/CreateBankNo
XML :
<?xml version="1.0" encoding="utf-8"?>
<entry xml:base="http://mytestdomain.com/sap/opu/odata/sap/ZSERVICE_SRV/" xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<category term="ZSERVICE_SRV/CreateBankNo" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<content type="application/xml">
<m:properties>
<d:SAP__Origin>SAP_ERP1</d:SAP__Origin>
<d:BankData>Test</d:BankData>
<d:BankArea>TestArea</d:BankArea>
<d:BankCode>00001</d:BankCode>
</m:properties>
</content>
</entry>
Let me know if this article is useful for custom Fiori like application and to get the details from different systems. :smile: :
Thanks. Appreciate your responses :smile:
Cheers!!
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |