Planning 9.3.1 - Loading date values through HAL
Hi,
I am using HAL (VBIS) to load data into Hyperion Planning 9.3.1.
I am able to load all numeric & Text accounts. I have issue loading values into date fields. I tried different date formats as well as different data types in HAL. No luck.
Has anyone tried it? Any suggestions?
Appreciate your thoughts.
Thanks,
Ethan.
Hi Ethan,
It is not HAL, but you might still find this useful: Re: Loading date type measure data from text file
Cheers,
Mehmet
Similar Messages
-
Planning Manager is not Loading data into Forecast Interface table
Hi
I have created a forecast set with name 'ABCD-IA' and I am inserting a row into the mrp_ofrefcast_interface table.The rows are not processed by the Planing Manager and it is pendign with the status of 2.The planning manager is up and running.
Here is my insert statement.
insert into mrp.mrp_forecast_interface
(inventory_item_id,forecast_designator,organization_id,forecast_date,quantity,process_status,transaction_id,source_code,workday_control,last_update_date,last_updated_by,creation_date,created_by,confidence_percentage,bucket_type ,attribute1)
values (51046,'ABCD-IA',84,sysdate,100,2,null,to_char(sysdate,'RRMMDD'),3,sysdate,-1,sysdate,-1,100,1,'INSS');
Thanks in advance.
LinaI would suggest you to go through this link on how to write pl/sql block.
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/sqloperations.htm#sthref1273
For your question it could be re-written as follows :
create or replace package body asg_change
is
procedure p1...
is
begin
insert into org_change
sl_no, status, org_name, effective_start_date, person_id, assignment_number
SELECT xxkdd_asg_seq.nextval, 'NP' status, hr_general.decode_organization (paaf.organization_id) organization_name, paaf.effective_start_date, paaf.person_id, paaf.assignment_number
FROM per_all_assignments_f paaf
WHERE EXISTS
SELECT 1 FROM per_all_assignments_f paafi
WHERE NVL (paafi.organization_id, 0) != NVL (paaf.organization_id, 0)
AND (paaf.effective_start_date- 1) BETWEEN paafi.effective_start_date AND paafi.effective_end_date
AND paafi.assignment_id = paaf.assignment_id
end p1
end asg_change;Also check this post.
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:47458244605081
Main snippets from the above post
Tom-- I subscribe to your SQL mantra for data (and truly, is there anything else? :))
which is:
1. Do it in a single SQL statement if at all possible.
2. If you cannot, then do it in PL/SQL (as little PL/SQL as possible!).
3. If you cannot do it in PL/SQL, try a Java Stored Procedure
(extremely rarely necessary with Oracle9i and above.)
4. If you cannot do it in Java, do it in a C external procedure.
(when raw speed, or 3rd party API written in C is needed.)
5. If you cannot do it in a C external routine, you might want to seriously think
about why it is you need to do it...Hope this helps.
Regards
Raj -
How to load data targets through process chain
hello gurus,
i am new to bi7.0 environment,
can anyone provide me step by step loading of data targets with the help of process chains.
its very urgent
thanks in advance
bharath kumarHi,
After creating Start variant, select Data Targets in left side, find out which one you want to create PC. Drag and drop that Data Target ODS into right side, and select info package and ods activation.
For Master data also the same you have select Attr Change run.
Connect the links from Start variant to data targets.
Check the below links:
http://help.sap.com/saphelp_bw33/helpdata/en/d5/e80d3dbd82f72ce10000000a114084/frameset.htm
http://help.sap.com/saphelp_bw33/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/dc/c7e542de327276e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/87/13843b74f7be0fe10000000a114084/frameset.htm
Business Intelligence Old Forum (Read Only Archive)
Reg
Pra -
How to insert date value through xml in oracle
hi, I am inserting data using xml string. Everything is working perfect but it shows error when i try to insert data into a table with date coloumn. it shows unparsable date error.... I am using this format of date 1-jan-2011
my prcedure and java method is as follows...
CREATE OR REPLACE procedure app_data.Insert_callrepHeader(xmlDoc in CLOB,t_id out varchar2,flag out varchar2) is
insCtx DBMS_XMLSave.ctxType;
rows number;
t_tablename VARCHAR2(300);
t_seqval varchar2(100);
begin
t_tablename:='T_CALLREPORT_HDR';
insCtx := DBMS_XMLSave.newContext(t_tablename);
rows := DBMS_XMLSave.insertXML(insCtx,xmlDoc);
dbms_output.put_line(to_char(rows) || ' rows inserted');
DBMS_XMLSave.closeContext(insCtx);
select SEQ_T_CALLREPORT_HDR.currval into t_seqval from dual;
dbms_output.put_line(to_char(t_seqval) || ' is the current sequence number');
end;
public void insertAll(String[][] dbTblFieldValues) throws Exception
Connection conn=null;
conn=getOracleConnection();
try
String str="<ROWSET>"+
"<ROW>"+
"<PROCESSNAME>sheet</PROCESSNAME>"+
"<FK_EMPID>1</FK_EMPID>"+
"<FK_JRNY_PLAN_HDR_ID>278</FK_JRNY_PLAN_HDR_ID>"+
"<FK_DIVISIONID>3</FK_DIVISIONID>"+
"<STARTDATE>7-may-2011</STARTDATE>"+ what should be the format of this date????_+
"<COMMENTSFORWEEK>comment</COMMENTSFORWEEK>"+
"<SAPCODE>mysapcode300</SAPCODE>"+
"<WEEKNO>1</WEEKNO>"+
"<TOTALEXPENSE>800</TOTALEXPENSE>"+
"<VENDORINVOICETYPE>mytype</VENDORINVOICETYPE>"+
"<REPORTNO>1</REPORTNO>"+
"<SUBPROCESSID>800</SUBPROCESSID>"+
"</ROW>"+
"</ROWSET>";
StringBuffer sb = new StringBuffer(400000);
sb.append(str);
String clobValue = sb.toString();
PreparedStatement preparedStatement=conn.prepareStatement("{call INSERT_CALLREPHEADER (?,?,?)}");
preparedStatement.setString(1, clobValue);
preparedStatement.setString(2,null );
preparedStatement.setString(3,null );
preparedStatement.execute();
preparedStatement.close();
conn.close();
catch (Exception e) {
// System.out.println(e.getMessage());
e.printStackTrace();
}I have got the answer...
use DBMS_XMLSave.setdateformat(insCtx, 'dd-MM-yyyy'); and u can change ur date format.... -
hi,
i am using filelayout to load the date from csv file to staging tables.csv file contains data like emplid,firstname,lastname,compnaycode,joining date etc..
the problem what i am facing is all fields are loadin except that joining date.i dont know why its not loading.plz help me in this
thank in advance
ragards
karthikDate is always a problem in application engine. You need to convert date to PeopleSoft date format using %DateOut and %DateIn functions etc. Try using those functions when you are loading date values from CSV file to peoplesoft tables.
Jayaprakash Tedla -
Hi users,
I want to load text in accounts, so i have made account's "Data type" to "Text". But I am getting following error when i load data through FDQM;
Error: Import Failed.
Can we load text values through FDQM, I know that we can load smartlist values and Dates through FDQM.
Thanks in advance.Yes i am trying to load the text values in Hyperion Planning.
Is there any other tool (other than FDQM)that can accomplish the said task? -
hi all,
How is it possible to insert date in table through sql loader.
Likewise if i have table A
(Name varchar2(23),Age int,Dateofbirth date)
when i run sqlloader it through me ORA-01858 Error on dateofbirth
if i want to insert
NAME=Neerav,
AGE=23,
DATEOFBIRTH=14-08-1985 in table A
How can we insert date value through SQL LOADER..
Version:Oracle10g
Data file FORMAT:TEST.csv
Thanks in advance,
Neerav
Edited by: Neerav999 on Aug 12, 2009 10:31 PMSorry, but I am not your mother & refuse to spoon feed you.
sqlldr needs to be informed exactly how the STRINGS in the cvs file are formatted to represent DATE.
Your data does not match the default DATE format.
The answer can be found if/when you are willing to Read The Fine Manual in URL previously posted. -
Loading DATE datatype into a measure
Hi Folks,
Is there any way to load DATE values into a measure? Is yes, how?
I'm using OLAP 10G.
Thanks,
JSouferHi Richard,
This suggests to me that timezone is a feature, and that specifying the UTC time is required. Perhaps others can add more detail.
http://docs.oracle.com/cd/E29805_01/server.230/es_data_loading/toc.htm#dateTime%20property -
Can't load data through smart view (ad hoc analysis)
Hi,
There is EPM application where I want to give ability to planners to load data through smart view (ad hoc analysis). In Shared Services there are four options in
EssbaseCluster-1: Administrator, Create/Delete Application, Server Access, Provisioning Manager. Only Administrator can submit data in smart view (ad-hoc analysis). But I don't want to grant Essbase administrator to planners, I'm just interested to give them ability to load data through ad-hoc analysis. Please suggest!I take that you refreshed the Planning security, If not refresh the security of those users. Managing Security Filters
Check in EAS whether those filters are created with "Write" permissions.
Regards
Celvin
http://www.orahyplabs.com -
Load Rule validates, yet no data values modified
The load rule worked on a server running an NT operating system with essbase version 6.1.3. I rebuilt the application on a server running W2k with an essbase version 6.1.6. The load rule validates on the new server. The load looks as if it is loading correctly. When I check out the log file, it shows a warning number 1003035 with a message stating "No data values modified by load of this data file." Any ideas??? Creating a new load rule from scratch did not work. My next plan of attack is to check out the actual txt file to see if anything looks odd.
Have you got any record select or record reject statements in your rules?
-
Unable to load data into Planning cube
Hi,
I am trying to load data into a planning cube using a DTP.
But the system throws a message saying that, real time data loading cannot be performed to the planning cube.
What would be the possible reason for the same?
Thanks & Regards,
Surjit PHi Surjit,
To load data into cube using DTP, it should be put in loading mode only.
The real time cube behaviour is set to planning mode only when the data is input to the cube via the planning layouts / or through the Fileupload program.
You can change the behaviour of the cube in RSA1 -> Right click on the cube -> Change Real-time load behaviour and select the first option(real time cube can be loaded with data; planning not allowed)
Best Rgds
Shyam
Edited by: Syam K on Mar 14, 2008 7:57 AM
Edited by: Syam K on Mar 14, 2008 7:59 AM -
Loading data from Cube to Planning area
Hi,
If I am loading data from a cube to a planning area using transaction TSCUBE,
does the system load data into planning area for the combinations that exist in the cube or does it load for all CVCs?
For example,
I have my CVC as Plant, Material, Customer
If there are 4 CVCs in the POS that were previously generated as
Plant--Material--Customer
01--M1--
C1
01--M2--
C3
01--M2--
C2
01--M4--
C5
If the cube has data like this:
Plant--MaterialCustomer----Qty.
01--M1C1--
10
01--M2C3--
20
01--M2C2--
5
(doesnot have the last combination), then if I use TSCUBE transaction to load data to Planning area from this cube,
is the data loaded as
Plant--MaterialCustomer----Qty.
01--M1C1--
10
01--M2C3--
20
01--M2C2--
5
Only for the 3 combinations that exist in the cube and not load anything for the last one
OR
is the data loaded as
Plant--MaterialCustomer----Qty.
01--M1C1--
10
01--M2C3--
20
01--M2C2--
5
01--M4C5--
0
Load all 4 combinations and send 0 as the cube doesnot have this combination?
Hope I am clear on this question.
Thanks.Thanks a lot Vinod, Srinivas and Harish. The reason why I am asking you is that we have a scenario where we get this situation.
We initially get data from R/3 to BW to APO like the below:
Plant--MaterialCustomer----Qty.
01--M1C1--
10
Later when the customer is changed or bought out by somebody C1 is changed to C2. Some times when the business doesnot know who the customer is initially they just put C1 as dummy and then after sometime replace it by C2. Then the new record coming in is as follows:
Plant--MaterialCustomer----Qty.
01--M1C2--
10
BW can identify changes in transaction data but not in Master data. What I mean by this is when Qty. 10 changes from 10 to 20, the system can identify it in deltas.
If the customer (master data) changes to C2 from C1, the system thinks it's a new record all together then if I use delta loads, it gets me the following:
Plant--MaterialCustomer----Qty.
01--M1C1--
10
01--M1C2--
10
If I am looking at Plant and Material Level, my data is doubled.
So we are planning to do a full load that works like this:
1. Initial data like the below:
Plant--MaterialCustomer----Qty.
01--M1C1--
10
The CVC is created and the planning area has Qty.10
Then we delete the contents of cube and do a full load into the cube with changed customer
Plant--MaterialCustomer----Qty.
01--M1C2--
10
This time a new CVC is created. Then we have another 10 loaded into Planning area.
If the system loads all CVCs, then the it would send
Plant--MaterialCustomer----Qty.
01--M1C1--
0
01--M1C1--
10
If the system loads only combinations in cube,
then it loads
Plant--MaterialCustomer----Qty.
01--M1C2--
10
But the system already has another 10 for Customer C1 duplicating the values.
We are trouble in the second case.
We had to go fr this solution instead of realignment as our business has no way pf knowing that C1 was replaced by C2.
Hope I am clear. -
How do I skip footer records in Data file through control file of sql*loade
hi,
I am using sql*loader to load data from data file and i have written control file for it. How do i skip last '5' records of data file or the footer records to be skiped to read.
For first '5' records to be skiped we can use "skip" to achieve it but how do i acheive for last '5' records.
2)
Can I mention two data files in one control file if so what is the syntax(like we give INFILE Where we mention the path of data file can i mention two data file in same control file)
3)
If i have datafile with variable length (ie 1st record with 200 charcter, 2nd with 150 character and 3rd with 180 character) then how do i load data into table, i mean what will be the syntax for it in control file.
4)if i want to insert sysdate into table through control file how do i do it.
5) If i have variable length records in data file and i have first name then white space between then and then last name, how do i insert this value which includes first name and last name into single column of the table.( i mean how do you handle the white space in between first name and last name in data file)
Thanks in advance
ramYou should read the documentation about SQL*Loader.
-
Error while Loading data through .csv file
Hi,
I am getting below date error when loading data through into Olap tables through .csv file.
Data stored in .csv is 20071113121100.
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> TE_7007 Transformation Evaluation Error [<<Expression Error>> [TO_DATE]: invalid string for converting to Date
... t:TO_DATE(u:'2.00711E+13',u:'YYYYMMDDHH24MISS')]
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> TT_11132 Transformation [Exp_FILE_CHNL_TYPE] had an error evaluating output column [CREATED_ON_DT_OUT]. Error message is [<<Expression Error>> [TO_DATE]: invalid string for converting to Date
... t:TO_DATE(u:'2.00711E+13',u:'YYYYMMDDHH24MISS')].
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> TT_11019 There is an error in the port [CREATED_ON_DT_OUT]: The default value for the port is set to: ERROR(<<Expression Error>> [ERROR]: transformation error
... nl:ERROR(u:'transformation error')).
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> TT_11021 An error occurred moving data from the transformation Exp_FILE_CHNL_TYPE: to the transformation W_CHNL_TYPE_DS.
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> CMN_1086 Exp_FILE_CHNL_TYPE: Number of errors exceeded threshold [1].
Any help is greatly appreciated.
Thanks,
Poojak1) Wrong format, you wont get much support loading OLAP cubes in here I think.
2) Has your CSV file been anywhere near excel by chance the conversion of 20071113121100 to 2.00711E+13 looks very much like what I see when Excel has an invalid number mask / precision specified for a cell.
*** We are using EBS. File was already generated by consultants through SQL query. Getting error while loading though Informatica. Target table is setup as date datatype and source is String(19).
Expression in Informatica is setup as below.
IIF(ISNULL(CREATED_ON_DT), NULL, TO_DATE(CREATED_ON_DT, 'YYYYMMDDHH24MISS'))
Thanks,
Poojak -
Error in Loading Data In Planning Application
Hi
we are getting the Following error in loading data by using Outline Load utility by specifying driver members on the Planning Data Load Administrator Page.
Client Enable Status false
com.hyperion.planning.InvalidMemberException: The member USD,BS,Current,BU Version_1 ,FY11 does not exist or you do not have access to it.
We also tried to load the data by using .CSV File, it is showing NO ERROR in the CMD....but we are unable to preview the data in Essbase after refreshing the database in Planning.
Cheers,
MohammedI can be totally wrong but did you intentionally put a space between BU Version_1 and comma?
USD,BS,Current,BU Version_1 ,FY11
I found this guideline: http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch05s02s01.html Are you sure you are following the correct steps?
Finally, are you able to load the data through Essbase Load Rules?
Cheers,
Mehmet
Maybe you are looking for
-
How can I transfer Music from my iphone 4s to my mac?
I can't figure out how to transfer Music from my iPhone 4s to my Mac. I read somewhere that iCloud can do this, but I couldn't find how to do it; I don't see Music in my iCloud. And connecting the iphone to the Mac doesn't show anywhere to transfer,
-
Reset Safari -- Now I Can No Longer Access Secure Sites Or iTunes Store.
Hi, A few days ago I reset Safari (I'm still not sure why... boredom??). Well, now I'm paying for it. Now I can't access secure sites (such as gmail, bank accounts, etc.). in Safari. When trying to access a secure site I get an error window that read
-
Airport Express and phone interference
When my home phone rings or we make a call, our wireless internet connection (airport express) disconnects. Has someone already had this issue? if yes, is there any solution to resolve it?
-
We are running GW 7.0.3. BES 4.1.6.23 I don't remember the mr number. The BES is running the GW 6.5.7 client. I have one user out of 40 that is experiencing this. The personal address book that the Blackberry (BB) is supposed to sync to is empty, how
-
Do i use DHL or FED-EX to return ipod?
I bought an refurbed 80G ipod from the website with the intent to give my lil sister the 30G I have for Christmas. about a week after i got it, it shut off and started showing the red x msg when i tried to turn it on. I tried everything and nothing h