2020/03/14 09:23

An example of CDS view extension

Created by Wang, Jerry, last modified on Jan 23, 2017 create a CDS view with following source code: Once activated, you see two fields in SQL view as expected. Create another CDS view which extends the view created in step one with additional two fields: PRODUCT_TYPE & UPNAME. Once activated, you will find these two fields are extended via traditional ABAP append structure in SQL view. Consumer...

0
0
2020/08/13 22:00

SAP CDS view自学教程之四:SAP CDS view注解@OData.publish的奥妙

In part1 of this tutorial, the old way to create OData service on top of CDS view is introduced. In SAP Help Generate Service Artifacts From a CDS View a new annotation is described: @OData.publish: true Just add this annotation to your CDS view and the odata service is automatically created, no need for you to go to code SEGW any more. Once activated, the odata service with naming convention “...

0
0
发表了博客
2011/07/29 14:38

在cds学到的(非技术)

1,做事情首先要给最近设定一个期限,必须比领导给的时间少。 2,做什么事情前都要有一个计划,完成整个任务都需要做什么事情,需要什么资源。把需要做的事情列出清单,那些是可以完成的,那些会遇到困难,大概会遇到什么困难,困难的解决途径。什么时间段完成什么事情。任务完成后有什么更好的建议。 3,我自己所做的每一步工作都尽可能详细的记录下来,尤其是遇到的错误和解决办法。 4,在做工作的时候及时和领导沟通,让领导...

1
0
2018/01/07 12:54

Jerry的CDS view自学系列

My CDS view self study tutorial - part 1 how to test odata service generated by CDS view https://blogs.sap.com/2016/03/10/my-cds-view-self-study-tutorial-part-1-how-to-test-odata-service-generated-by-cds-view/ My CDS view self study tutorial - Part 2 what objects are automatically generate after you activate one CDS view: https://blogs.sap.com/2016/03/11/my-cds-view-self-study-tutorial-part-2-...

0
0
2018/12/17 10:34

什么是SAP CDS Cube view

sap help: http://help.sap.com/saphelp_nw75/helpdata/en/c2/dd92fb83784c4a87e16e66abeeacbd/content.htm The analytic manager needs a star schema (multidimensional) and a query to consume the data. Most annotations for defining the star schema in different CDS views are specified in ObjectModel annotations. The Analytics annotations also specify the facts (center of the star schema), extraction cap...

0
0
2020/03/13 20:01

Should we still build application buffer on top of CDS view

The new implementation of API CRM_PRODUCT_SALES_READ_API in S4 will consume CDS view to get product sales related data from S4 table. There are two approaches: with or without application buffer. Approach1: directly consume CDS view without buffering in application The sample code would be: Pros: simple logic, easy to maintain Cons: potential performance loss for a large data volume if API is c...

0
0
2020/08/16 19:43

SAP CDS view自学教程之十:SAP CDS view扩展性(Extensibility)实现原理

目录 Part1 – how to test odata service generated by CDS view Part2 – what objects are automatically generate after you activate one CDS view Part3 – how is view source in Eclipse converted to ABAP view in the backend Part4 – how does annotation @OData.publish work Part5 – how to create CDS view which supports navigation in OData service Part6 – consume table function in CDS view Part7 – ...

0
0
2020/08/15 19:01

SAP CDS view自学教程之六:如何在CDS view里消费table function

Let’s try to resolve one real issue now. What we want to achieve is: in CRM we need a CDS view which returns the service order guid together with its Sold-to Party information, “Title” ( Mr. ) and “Name” ( blGMOUTH ). The title and Name information are stored on table BUT000, while Service order transactional information is maintained in tableCRMD_PARTNER, which has a field PARTNER_NO ( CH...

0
0
发表了博客
2018/02/25 11:47

CDS view注解解析 - @Environment.systemField

下面的CDS view使用到了@Environment.systemField这个注解,定义了两个参数#SYSTEM_LANGUAGE和#USER。 这个view从CRM物料主数据的产品抬头表COMM_PRODUCT读取product_id, product_type,以及comm_prshtext表里读取产品的描述信息,存储在字段description里。 @AbapCatalog.sqlViewName: 'zprdtext' @AbapCatalog.compiler.compareFilter: true @AccessControl.authorizationCheck: #CHECK @EndUserText.label: 'Jerry product ...

0
0
2018/12/17 10:34

SAP CDS View DefaultAggregation Annotations

http://help.sap.com/saphelp_nw75/helpdata/en/5e/5d319bd1a74552b99a36dfc739f74d/content.htm?frameset=/en/c2/dd92fb83784c4a87e16e66abeeacbd/frameset.htm¤t_toc=/en/d9/bc687d35fa42ccbb0b9256ce786d51/plain.htm&node_id=65 @scope:[#ELEMENT] Annotation DefaultAggregation : String enum { NONE; SUM; MIN; MAX; AVG; COUNT; COUNT_DISTINCT; FORMULA; }; When the DefaultAggregation annotation has been sp...

0
0
没有更多内容
加载失败,请刷新页面
点击加载更多
加载中
下一页