はじめに
SAPのブログ記事などを中心に、Gateway OData Service (SEGW)に関するリンクを集めました。
目次
- Batch Process
- Deep Insert
- ETag
- ファイルアップロード・ダウンロード
- Association
- Annotationの追加
- OData V4
- MPC_EXT
- ODataのversioning
- メッセージの返し方
1. Batch Process
バックエンド
- Details about some new features in SAP Gateway 2.0 SP09 / Gateway側のメソッド(CHANGESET_BEGIN、HANGESET_PROCESS)についての説明
- $BATCH request in SAP GATEWAY / $batchのコンセプトから、技術的な詳細まで
- How To Implement OData $batch Processing with Content ID in SAP Gateway / バックエンド側でのBatch Processing実装
フロントエンド
- OData V2 Model-Batch Processing / 公式ドキュメント。$batchリクエストの実装手順
バックエンド+フロントエンド
2. Deep Insert
- 【SAPUI5】Deep Insertを使ったデータの登録(2) / バックエンド側の実装
- 【SAPUI5】Deep Insertを使ったデータの登録(3) / フロントエンド側の実装
- SAP Gateway Deep Insert End to End Scenario / バックエンドからフロントエンドまで
3. ETag
- How to handle etags in SAP Gateway using code based implementation / ETagの実装方法(UpdateとFunction Import)
- Maintain Data Concurrency in OData / 複数の項目から計算したハッシュ値をETagにする方法
- Optimistic locking: ETag in SAPUI5 / ETagを無視して画面から強制的にアップデートする方法
- Custom E-tag for optimistic lock in SAP Gateway Odata for Deep Update / DeepなEntityを更新するときにカスタムEtagを見る方法
4. ファイルアップロード・ダウンロード
- Media Handling in OData in SAP UI5 / ODataサービスの定義からUI5アプリまで
- SAP Netweaver Gateway and OData. Part XII. Media Handling using OData Gateways / SmartForm(PDF)をダウンロードする方法
- Six and three half ways to start a file download in SAPUI5 (and maybe a few more) / UI5アプリでファイルを開くさまざまな方法
- Download File through NetWeaver Gateway with OData Version 4 / OData V4でファイルをダウンロードするサービスを作成する方法
5. Association
- Implementing Get_expanded_entity/ Get_expanded_entityset / $expandで関連するエンティティを取得する際に独自のロジックを実装する方法
6. Annotationの追加
- Code snippet for adding annotations to your Gateway Service / MPC_EXTクラスでアノテーションを追加する方法
- ‘Dynamic Date’ control in SmartFilter / 日付項目をレンジ型にする方法
- OData annotations in SEGW with example and consume it in visual studio to create a fiori application / フィルタ項目を必須にしたりドロップダウンにしたりする方法
7. OData V4
- OData V4 code based implementation – Overview / コードベースでOData V4サービスを実装する方法。試験的な感じ。
- Implementation of SAP Odata V4 / SEGWでOData V4サービスを実装する方法。上のブログを書いた人からSEGWは非推奨とコメントされている。
- Simple OData V4 service using Code Based implementation / コードベースでOData V4サービスを実装する方法 (2021.5.7)
- OData V4のサービスを見るトランザクション:/IWFND/V4_ADMIN
8. MPC_EXTでできること(アノテーション以外)
- Disable Conversion Exits in Gateway / 通貨項目がISOコードに変換されないようにする方法
- How to check the maximum length of a function import parameter in SEGW based OData services / Function Importのインポートパラメータの桁数をチェックする方法
9. ODataのversioning
- oData Versioning / サービス(ロジック)とモデル(メタデータ)のバージョンを別々に上げる方法 フロントエンドに影響を与えないように
10. メッセージの返し方
- Display Messages in ODATA Header Response while success and update and usage of ALL Query operations. / 成功、エラーのメッセージをレスポンスヘッダに返す方法