天天看点

打印某个user在指定时间段内做过的personalization detail

Requirement

This question is asked by consultant during Jerry’s supporting as dev angel.

Partner wants to develop some report in the backend to track which users have performed what kinds of Fiori group personlization but he didn’t know the corresponding database table which contains the needed information, or available API which can return the necessary information.

How to analyze this requirement

点击Personalization icon:

打印某个user在指定时间段内做过的personalization detail

创建一个新的group, 输入title信息后回车,trigger一个send到后台的OData request,成功执行( status code 201 - created )

打印某个user在指定时间段内做过的personalization detail

user 手动输入的title信息作为request payload传入后台:

打印某个user在指定时间段内做过的personalization detail

Solution

Based on backend debugging on the OData request handling displayed above, we can write the following two simple reports.

first report

This report will display the personalization guid with given time period for current user.

打印某个user在指定时间段内做过的personalization detail

显示输出:

打印某个user在指定时间段内做过的personalization detail

report source code:

打印某个user在指定时间段内做过的personalization detail

the second report

将打印出的configuration guid 6BBE9D15576F539BA37A2C26D5E6D424抄下来,执行另一个report。

该report能够打印出此configuration guid对应的configuration detail:

Source code:

打印某个user在指定时间段内做过的personalization detail

继续阅读