zl程序教程

您现在的位置是:首页 >  其他

当前栏目

使用 SAP Analysis Path Framework (APF) 来展示 SAP CDS view,支持各种类型的图表显示

SAP 显示 支持 View 展示 Framework path 图表
2023-09-14 09:02:39 时间

Click tile APF Configuration Modeler,

clipboard1

Create a new Application:

clipboard2

Use the default semantic object:

clipboard3

Create a new configuration which acts as a container for sub settings such as Filters and Categories:

clipboard4

In Smart Filter, choose the OData service and entity type created from previous step.

clipboard5

Add a new category:

clipboard6
clipboard7

Select this new category and create a new step:

clipboard8

In the step creation page, just select all the two properties exposed by CDS view Z_C_Order, that is:

clipboard9

Create a new Representation based on this step:

clipboard10

Here for representation type, I just choose the most simple one: Table. Choose property from drop down list for table display.

clipboard11

Once done, click execute button, you will see the following screen:

clipboard12
clipboard13

Then choose the table representation:

clipboard14

Then the table is displayed as expected:

clipboard15

Its content matches with the data in the corresponding database table.

clipboard16

update 2016-05-24: lots of chart type are supported:
Line Chart:

clipboard17

Bar Chart:

clipboard18

Pie Chart:

clipboard19

要获取更多Jerry的原创文章,请关注公众号"汪子熙":