当前位置:网站首页>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
边栏推荐
- Using sqlmap injection to obtain the account and password of the website administrator
- Node installation
- 653. 两数之和 IV - 输入 BST
- Simple understanding of arguments in JS
- Operation not allowed for a result set of type resultset TYPE_ FORWARD_ ONLY. Explain in detail
- Kettle实验 (三)
- Kettle experiment
- Number theory to find the sum of factors of a ^ B (A and B are 1e12 levels)
- Flutter 的加载动画这么玩更有趣
- #yyds干货盘点#ubuntu18.0.4安装mysql并解决ERROR 1698: Access denied for user ''root''@''localhost''
猜你喜欢
Kernel PWN learning (3) -- ret2user & kernel ROP & qwb2018 core
[C language] document operation
Kettle实验
[reading notes] Chapter 5 conditional statements, circular statements and block statements of Verilog digital system design tutorial (with answers to thinking questions)
Production practice elk
Chapter VIII project stakeholder management of information system project manager summary
Leetcode题库78. 子集(递归 c实现)
To remember the composition ~ the pre order traversal of binary tree
MySQL of database -- basic common query commands
Cloud computing competition -- basic part of 2020 competition [task 3]
随机推荐
108. 将有序数组转换为二叉搜索树
What is monitoring intelligent playback and how to use intelligent playback to query video recording
Three challenges that a successful Devops leader should be aware of
SQL used query statements
3、 6 [Verilog HDL] gate level modeling of basic knowledge
Set the maximum width of the body, but why does the background color of the body cover the whole page?
Give the method of instantiating the object to the new object
Emuelec compilation summary
Codeforces Round #784 (Div. 4)
kernel-pwn学习(4)--Double Fetch&&0CTF2018-baby
《數字電子技術基礎》3.1 門電路概述、3.2 半導體二極管門電路
MySQL - Chapter 1 (data types in MySQL)
JS scope, scope chain, global variables and local variables
Colorui solves the problem of blocking content in bottom navigation
501. Mode in binary search tree
Write down the post order traversal of the ~ binary tree
Buuctf [actf2020 freshman competition] include1
web页面如何渲染
成功的DevOps Leader 应该清楚的3个挑战
Two methods of building Yum source warehouse locally