Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Customizing Track Purchase Order Fiori Application

Hi,

We have configured a standard "Track Purchase Order" Fiori application.

We want to change the Default Filter Criteria from "Last 7days" to "Last 30 days". Is there any configuration available, where we can change this?

Regards,

Yuvraj

Former Member
Former Member replied

Hi Yuvraj,

You can achieve this by extending controller S2Custom.controller.js .

Change the default  declaration to:To display  last 30 days items by default

sFilterLastNDays : 30,

  sFilterWithAlerts : false,

  sSearchText : "",

  sFilterKey : "FILTER30",

  oFilterDialog : null,

and change the default setting of init method to: to set the default filter from 7 days to 30 days

this.oFilterDialog.setSelectedPresetFilterItem("FILTER30");

Regards,

Trilochan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question