cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch time period in BPC logic script

former_member590808
Participant
0 Kudos

Hi,

In logic script I want to fetch data from .ANL time period and copy it to the current time period. I am getting current time period via user input(%APL_TIME_SET%). Is there a way that i can fetch this .ANL time period dynamically ? Eg. for next year this value should be 2021.ANL. I have PLANYEAR in dimension which will remain constant throughout the year(2020_21), can I retrieve this .ANL time period from there and save it in variable ?

*WHEN APL_TIMES 
	*IS 2020.ANL
*WHEN APL_CATEGORY
	*IS ACT_CY
	*REC(EXPRESSION = %VALUE%,APL_CATEGORY = ADJ_MANN,APL_TIMES = %APL_TIMES_SET%)
*ENDWHEN
*ENDWHEN

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Kudos

But what is the issue? Create a property ANL in APL_TIMES dimension and set it to Y for 2020.ANL this year (move Y to 2021.ANL next year(

*WNEN APL_TIMES.ANL
*IS Y
...
former_member186338
Active Contributor

To have a fully dynamic solution some abap is required!

Please read my blog:

https://blogs.sap.com/2018/11/23/how-to-run-dm-package-with-current-month-selection-in-bpc-nw/

Answers (0)