当前位置:网站首页>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
边栏推荐
- Employee probation application (Luzhou Laojiao)
- 653. 两数之和 IV - 输入 BST
- Unfortunately, I broke the leader's confidential documents and spit blood to share the code skills of backup files
- JS scope, scope chain, global variables and local variables
- [C language] document operation
- Sql1 [geek challenge 2019]
- DMP engine work summary (2021, lightsaber)
- PHP笔记(一):开发环境配置
- LeetCode 1611. The minimum number of operations to make an integer 0
- 亚马逊云科技入门资源中心,从0到1轻松上云
猜你喜欢

Detailed explanation of delete, truncate and drop principles in MySQL database

Kettle experiment

Distributed message oriented middleware framework selection - Digital Architecture Design (7)

数据清洗 ETL 工具Kettle的安装

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

653. 两数之和 IV - 输入 BST

Enter "net start MySQL" and "system error 5. Access denied" appears. Detailed explanation of the problem

kernel-pwn学习(3)--ret2user&&kernel ROP&&QWB2018-core

Acquisition of DOM learning elements JS

How to protect open source projects from supply chain attacks - Security Design (1)
随机推荐
Kettle experiment (III)
Program, process, thread; Memory structure diagram; Thread creation and startup; Common methods of thread
JS DOM learn three ways to create elements
Flutter's loading animation is more interesting
npm ERR! network
Kettle experiment
《信息系统项目管理师总结》第八章 项目干系人管理
小程序报错 :should have url attribute when using navigateTo, redirectTo or switchTab
【读书笔记】《Verilog数字系统设计教程》 第5章 条件语句、循环语句和块语句(附思考题答案)
JS scope, scope chain, global variables and local variables
ALV tree (ll LR RL RR) insert delete
Go language learning notes - language interface | go language from scratch
Detailed explanation of delete, truncate and drop principles in MySQL database
Yyds dry goods inventory ubuntu18 0.4 install MySQL and solve error 1698: access denied for user ''root' '@' 'localhost' '
KVM installation and deployment
Single sign on SSO
653. Sum of two IV - input BST
kernel-pwn学习(3)--ret2user&&kernel ROP&&QWB2018-core
web页面如何渲染
Two methods of building Yum source warehouse locally