天天看點

My Account應用裡Account主資料搜尋的FromDate是如何在背景生成的

Unlike the My Appointment application where the appointments data of given time period is calculated in the frontend ( discussed in this issue, when you choose Appointment from drop down list in My Account application, in this scenario the time period acting as filter is calculated in the backend.

My Account應用裡Account主資料搜尋的FromDate是如何在背景生成的

一直到這一個步驟, it_filter_options都是空的:

My Account應用裡Account主資料搜尋的FromDate是如何在背景生成的

首先将ui傳進來的filter存到lt_filter_select_options:

My Account應用裡Account主資料搜尋的FromDate是如何在背景生成的

然後在這個方法裡添加其他filter :

My Account應用裡Account主資料搜尋的FromDate是如何在背景生成的

這是通過ABAP 代碼在背景添加的filter:

My Account應用裡Account主資料搜尋的FromDate是如何在背景生成的

繼續閱讀