Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Logic Script get YEAR property from TIME dimension

$
0
0

Hi Experts,

 

I have a logic script in DEFAULT.LGF for input form.

I have a requirement to get the YEAR property from TIME dimension, from the input by user. i.e. if the user input a data in dimension 2014.12, I want to get the value 2014 and store in in variable. I tried to use this script below:

 

*SELECT(%YR%,YEAR,TIME,[ID]=TIME)

*WHEN TIME.PERIOD

*IS 12

*REC(EXPRESSION=%VALUE%, TIME=%YR%.11)

*ENDWHEN

 

But it results in shortdump in UJKT.

Is there some other way I can achieve this requirement?

 

Please advise

 

 

Thanks,

Hendry


Viewing all articles
Browse latest Browse all 5414

Trending Articles