Unable to Publish Data from cubes to Orcale database
Posted: Thu Aug 02, 2012 10:01 am
Hi all,
I want to publish the data from a cube to Orcale database and i am using Planning Sample model given by IBM.
I am using TI process to accomplish it. The problem i face here is, the data is not getting published in the tables. Below are the steps i follow,
1. DataSource as TM1 Cube View
2. Declare the variables and 'Others' in contents columns except for the variable which holds the data(in this case 'Value').
3. Prolog Tab
ODBCOpen('TM1_REPORT','Admin' ,'Admin');
4. Data Tab
ODBCOutput('TM1_REPORT',Expand('INSERT INTO plan_report(plan_business_unit,plan_department,plan_chart_of_accounts,plan_exchange_rates,plan_report,plan
_time,Value)' | ' VALUES("%v1%","%v2%","%v3%","%v4%","%v5%","%v6%",%Value%)'));
5. Epilog
ODBCClose('TM1_REPORT');
The process gets executed successfully without any warnings or errors but when i check for the table there is no data.
And i even tried to create a table using 'CREATE TABLE' command but it didnt work. In this case when i check it in the database, even the table doesnt exist.
Kindly suggest on this.
Thanks in advance.
Regards,
Venki
I want to publish the data from a cube to Orcale database and i am using Planning Sample model given by IBM.
I am using TI process to accomplish it. The problem i face here is, the data is not getting published in the tables. Below are the steps i follow,
1. DataSource as TM1 Cube View
2. Declare the variables and 'Others' in contents columns except for the variable which holds the data(in this case 'Value').
3. Prolog Tab
ODBCOpen('TM1_REPORT','Admin' ,'Admin');
4. Data Tab
ODBCOutput('TM1_REPORT',Expand('INSERT INTO plan_report(plan_business_unit,plan_department,plan_chart_of_accounts,plan_exchange_rates,plan_report,plan
_time,Value)' | ' VALUES("%v1%","%v2%","%v3%","%v4%","%v5%","%v6%",%Value%)'));
5. Epilog
ODBCClose('TM1_REPORT');
The process gets executed successfully without any warnings or errors but when i check for the table there is no data.
And i even tried to create a table using 'CREATE TABLE' command but it didnt work. In this case when i check it in the database, even the table doesnt exist.
Kindly suggest on this.
Thanks in advance.
Regards,
Venki