cancel
Showing results for 
Search instead for 
Did you mean: 

pass range value via URL Parameter in SAC

hibb
Discoverer
0 Kudos

Hi everyone!

I am trying to pass range value for a via URL Parameter in SAC. For example, I have a query which model id is "t.1:ABCDEF". There is a variable, which is able to set date, "searchDate". I want to set from "20231201" to "20231231" value in to the variable.

If I wanna pass this information via URL Parameter, how can make it? If you know the solution, I really appreciate it for your kindness. I already check the documentation in SAP Help, but I couldn't find the answer.

(HELP Portal URL)

https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/a4406994704e4af5a8559a640b496468/3fa25603111049fba11eb...

https://<tenant> /<storyID>.../?mode=view&v01Model=t.1:ABCDEF&v01Par=searchDate&v01Val=???

Best regards,

Accepted Solutions (1)

Accepted Solutions (1)

eeddggaarr
Contributor

Hi hibb,
according to documentation your range will be translated to single values:

eeddggaarr_0-1710500293018.png

you could try to enter an array with 31 values but maybe the better solution would be to switch from calendar date to year in combination with month.
Then you could insert the year and the month into the url as separate values OR you use a combined characteristic like 0CALMONTH if you are using BW (YYYYMM).
br 
edgar

 

 

hibb
Discoverer
0 Kudos
Sorry for late. I really appreciate it! Have a good day, edgar!

Answers (0)