当前位置:网站首页>ABAP publishes OData service samples from CDs view
ABAP publishes OData service samples from CDs view
2022-04-23 09:31:00 【rogerix4】
1. Create for publishing Odata Service Of CDS VIEW
- Create a new simple point CDS VIEW, And add necessary Annotation Parameters :@OData.publish: true
- other Annotation Parameters :ABAP CDS - ABAP Annotations

2. stay SAP GATEWAY Publish on Odata service
- Transaction code :/IWFND/MAINT_SERVICE( Note that the transaction code is preceded by /n or /o Parameters )
- Add a new service

- Fill in the parameters



3. visit Odata service
-
Directly call the browser to access
-
http://xxxx.com:8000/sap/opu/odata/sap/ZCDS_ODATA_01_CDS/?$format=xml


-
Parameters can be adjusted by **$format=json**, Get the data in the specified format
-
http://xxxx.com:8000/sap/opu/odata/sap/ZCDS_ODATA_01_CDS/?$format=json

-
Get all the data of the view
-
http://xxxx.com:8000/sap/opu/odata/sap/ZCDS_ODATA_01_CDS/ZCDS_ODATA_01?$format=json

-
Read only one row of data
-
http://xxxx.com:8000/sap/opu/odata/sap/ZCDS_ODATA_01_CDS/ZCDS_ODATA_01(‘127’)?$format=json

-
http://xxxx.com:8000/sap/opu/odata/sap/ZCDS_ODATA_01_CDS/ZCDS_ODATA_01(‘127’)?$format=xml

版权声明
本文为[rogerix4]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230623504023.html
边栏推荐
- nn. Explanation of module class
- PHP笔记(一):开发环境配置
- Chapter VIII project stakeholder management of information system project manager summary
- 501. 二叉搜索树中的众数
- Leetcode题库78. 子集(递归 c实现)
- What is monitoring intelligent playback and how to use intelligent playback to query video recording
- Creation of raid0 and RAID5 and Simulation of how RAID5 works
- 三、6【Verilog HDL】基础知识之门级建模
- Single sign on SSO
- RSA encryption and decryption signature verification
猜你喜欢

Chapter VIII project stakeholder management of information system project manager summary

MySQL of database -- Fundamentals

Number of islands

STM32 and FreeRTOS stack parsing
![[Luke V0] verification environment 2 - Verification Environment components](/img/aa/820000a52bc493a0734ff0eb76f536.png)
[Luke V0] verification environment 2 - Verification Environment components

108. Convert an ordered array into a binary search tree

《数字电子技术基础》3.1 门电路概述、3.2 半导体二极管门电路

Data visualization: use Excel to make radar chart

NPM reports an error: operation not allowed, MKDIR 'C: \ program files \ node JS \ node_ cache _ cacache’

小程序报错 :should have url attribute when using navigateTo, redirectTo or switchTab
随机推荐
Distributed message oriented middleware framework selection - Digital Architecture Design (7)
npm ERR! network
JSON input of Chapter 14 of kettle paoding jieniu
Image processing in opencv -- Introduction to contour + contour features
[geek challenge 2019] havefun1
How to obtain geographical location based on photos and how to prevent photos from leaking geographical location
重载、重写、隐藏的对比
501. 二叉搜索树中的众数
Unfortunately, I broke the leader's confidential documents and spit blood to share the code skills of backup files
Kettle experiment (III)
Go language learning notes - structure | go language from scratch
Give the method of instantiating the object to the new object
Codeforces Round #784 (Div. 4)
#yyds干货盘点#ubuntu18.0.4安装mysql并解决ERROR 1698: Access denied for user ''root''@''localhost''
Flutter's loading animation is more interesting
DVWA range practice
How to protect open source projects from supply chain attacks - Security Design (1)
[in-depth good article] detailed explanation of Flink SQL streaming batch integration technology (I)
数据清洗 ETL 工具Kettle的安装
Trc20 fund collection solution based on thinkphp5 version