'Error 188' using CellPutProportionalSpread Function -9.4fp3
Posted: Mon Jul 05, 2010 8:01 am
Hi,
I am trying to adjust some consolidated real values in my cube by using the CellPutProportionalSpread Function in TI. The formula looks like this:
CellPutProportionalSpread( NewConsol, 'Sales', pVersion, pYear, vMonth, pCountry, vBU, 'All Solution Groups', 'All Verticals','All Segments','All End Users', 'All Vendors', 'All Items', pClientGroup,'Top Down', 'Unassigned Rate', 'Booking');
The value 'NewConsol' has been read beforehands via CellGetN Function from an N-Level 'holding area' where users can write directly into:
NewConsol = CellGetN('Sales', pVersion, pYear, vMonth, pCountry, vBU, 'Solution Group NA', 'Vertical NA','Segment NA','End User NA', 'Vendor NA', 'Item NA', pClientGroup, 'Top Down' , 'Unassigned Rate', 'Booking');
This process unfortunately fails with the folowing errors: "Error: Prolog procedure line (98): Error with spreading, error type unknown = 188" (I am doing this in the Prolog Procedure Tab).
Funny thing is, if I hard code the value instead of using a variable then it works fine:
CellPutProportionalSpread( 2, 'Sales', pVersion, pYear, vMonth, pCountry, vBU, 'All Solution Groups', 'All Verticals','All Segments','All End Users', 'All Vendors', 'All Items', pClientGroup,'Top Down', 'Unassigned Rate', 'Booking');
can be spread down successfully.
I also checked/tried the following:
- add a value to the variable, like CellPutProportionalSpread( NewConsol + 0, ...) => not successful
- convert the variable back and forth: NewConsol = STRINGTONUMBER(NUMBERTOSTRING(NewConsol)); => not successful
- there are existing values in the target area, i.e. I am not trying to spread into empty cells, also not trying to spread 0.
Any idea what could be causing this error? We are on TM1 9.4 FP3.
cheers
Marc
I am trying to adjust some consolidated real values in my cube by using the CellPutProportionalSpread Function in TI. The formula looks like this:
CellPutProportionalSpread( NewConsol, 'Sales', pVersion, pYear, vMonth, pCountry, vBU, 'All Solution Groups', 'All Verticals','All Segments','All End Users', 'All Vendors', 'All Items', pClientGroup,'Top Down', 'Unassigned Rate', 'Booking');
The value 'NewConsol' has been read beforehands via CellGetN Function from an N-Level 'holding area' where users can write directly into:
NewConsol = CellGetN('Sales', pVersion, pYear, vMonth, pCountry, vBU, 'Solution Group NA', 'Vertical NA','Segment NA','End User NA', 'Vendor NA', 'Item NA', pClientGroup, 'Top Down' , 'Unassigned Rate', 'Booking');
This process unfortunately fails with the folowing errors: "Error: Prolog procedure line (98): Error with spreading, error type unknown = 188" (I am doing this in the Prolog Procedure Tab).
Funny thing is, if I hard code the value instead of using a variable then it works fine:
CellPutProportionalSpread( 2, 'Sales', pVersion, pYear, vMonth, pCountry, vBU, 'All Solution Groups', 'All Verticals','All Segments','All End Users', 'All Vendors', 'All Items', pClientGroup,'Top Down', 'Unassigned Rate', 'Booking');
can be spread down successfully.
I also checked/tried the following:
- add a value to the variable, like CellPutProportionalSpread( NewConsol + 0, ...) => not successful
- convert the variable back and forth: NewConsol = STRINGTONUMBER(NUMBERTOSTRING(NewConsol)); => not successful
- there are existing values in the target area, i.e. I am not trying to spread into empty cells, also not trying to spread 0.
Any idea what could be causing this error? We are on TM1 9.4 FP3.
cheers
Marc