Dear All
I am trying to pass user prompt stored in variable to script logic. So that the script executes for that category and the timeperiod derived from the category property.
I am getting the below error while validating. can somebody please help? the error is .Input is not valid
prompt :
PROMPT(SELECTINPUT,%SelCat%,,"Select Category","%CATEGORY_DIM%")
Category Dimension has a property called Year.
Derive this year property from Category and store it in variable. Get all the months of that year & Year.Input.
for example category is Actual
it Year property is 2014.
The time dim members are 2014.01, 2014.02 ...... and a separate members under Input hierarchy called 2014.Input.
store all the above months and 2014.input in Time scope
script logic code:
*SELECT (%BUDYR%,[YEAR],CATEGORY,[ID]=%SelCat%)
*SELECT(%MTHS%, [ID], TIME, "[CALC] = 'N' AND [YEAR] = %BUDYR%")
*XDIM_ADDMEMBERSET TIME = %MTHS%, %BUDYR%.INPUT
*XDIM_ADDMEMBERSET CATEGORY = %SelCat%
*START_BADI CONS
QUERY = ON
WRITE = ON
//YEAR = 1
//PERCENTAGE = $PERCT$
*END_BADI