Loading hierarchies in BW from excel
Hi all ,
how to load hierarchies from excel into the BW .
do the excels need to be in .csv format or can they be loaded from .xls format.
do i need to have a specific format of the columns in excel as a pre-requisite for loading .
please also let me know all pre-requisites for format of excel.
Hi Neeraj,
the file needs to be in a special format and depends on the hierarchy of your infoobject, whether it is time-dependent or not. You can see the necessary file structure if you goto infosource, choose your hierarchy datasource. then you will find a button hierarchy structure. If you press it you will see a table with the expected columns. The file should be an csv file. You select it in the infopackage to your infosource. You can upload it directly from your desktop but only if you start the package immediately. The file must not be in use by anyone other, otherwise load fails. be careful if you number your nodes. the number must be unique
ue in the file. the node numbers are the keys for your infoobject or of infoobject 0HIERNODE for text nodes.
I'm looking for a sample file if you want.
Kind regards,
Juergen
Similar Messages
-
Can i load data type names from Excel worksheet ?
HI,
I have like 100+ fields in my excel worksheet. Is there any way to load these in XI while creating data types rather than typing each of them ?
thkshi, you cannot get de DT, but you can get the MT developing a SAP module and call it from file sender adaptse.
see this blog that will hekp you to understand better.
i develope my own read xls file module as generic. it return
<ROW>
.....<col1>
....<col2>
<ROW>
/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
thanks
rodrigo -
Hi,
Being an experienced Excel user before Power BI, I am just starting to explore the M and Power Query capabilities, and need help already (ain't easy to google this use case somehow):
I need to import the table which sits in the Excel file with header row in the row 17 of Excel sheet, with some metadata header in the preceding rows of the columns A and B.
01: Report name, Quick Report
02: Report Date, 1/1/2014
17: Employee Name, Manager, etc...
18: John Doe, Matt Beaver, etc.
Both (a) direct attempt to load as Excel file and (b) the indirect way through [From Folder] and formula in custom column -- both lead to the same error: "[DataFormat.Error] External table is not in the expected format."
Specifically, I tried to use the [Power Query -> From File -> From Folder] functionality, select an Excel file and add a custom column to access the binary content: [Add Custom Column] with formula "=Excel.Workbook([Content])".
It looks like Power Query expects a rectangular range with headers full-width followed by a contiguous table range to import anything, and refuses to load if that is not the case...
QUESTION: Is there any way to load whatever-formatted data from Excel first, and then manipulate the overall imported range (like referring to rows starting from 17th using "Table.SelectRows" etc.) to read the actual data? Reading and using
the metadata from header would be a bonus, but that comes second... The main issue is to get something from a non-regular Excel file to later work with using M formulae ...
Thanks!
SAMFinally found the answer to this one in ():
You Cannot Open a Password-Protected Workbook
If the Excel workbook is protected by a password, you
cannot open it for data access, even by supplying the correct password with
your connection settings, unless the workbook file is already open in the
Microsoft Excel application. If you try, you receive the following error
message:
Could not decrypt file.
ANSWER: So, will have either weave in the work with temporary unprotected files or requires opening them before updating the data source (although this almost defeats the purpose of automation...)
ANSWER to ORIGINAL QUESTION: password was preventing Power Query from reading the Excel file. For solution see above.
Thanks anyway for participation and inspiration, Imke! -
How to read and write data from Excel to TestStand without using LabVIEW VIs
Hi,
How can I read in columns of data from Excel into a TestStand array and write columns of data to Excel from TestStand without using LabVIEW VIs?
I don't think the Property Loader custom step type in TestStand will work because the data I would like to read in from Excel is in a column that is thousands of rows long and the data has to be in the proper format to use the Property Loader to load in an array from Excel.
Thanks for your help.That example does not use LabVIEW and it does about 40% of what you need to do by calling Excel through ActiveX. If you don't know how to use Excel through ActiveX then you'll need to brush up on that.
http://www.microsoft.com/en-us/download/details.aspx?id=16250
http://support.microsoft.com/kb/141759
http://support.microsoft.com/kb/302084
CTA, CLA, MTFBWY -
Load Hierarchies to 0gL_Account
Hello,
I try to load Hierarchies to 0GL_Account from R3 system.
i use at tran SBIW at source system (r3) -
> generate data source for set hierarchies -
>at the field name
i choose RACCT .
which table to choose to create to data source ?
the data source is 4R_SAKNR_0000_HIER
thanks in advance,
yuvalDear,
If i understood correctly yours questions, you would like to know the details for GL account hierarchy.
There are two hierarchy available at ECC side ( GL account and FS Item level). Both used for analyzing the financial data. You can have multiple hierarchy in ECC system to see and analyze the data and same way you can have multiple hierarchy can load in SAP BI at info object level and later restrict the report at query designer level or run time.
No need to create any custom data source for uploading the GL hierarchy. Pls check with SAP FI consultant to know the correct hierarchy to upload.
Activate both of data source and use the InfoPackage at info object level to upload the hierarchy. In info package (SAP BI) you can see the option ( Available hierarchy at OLTP), at a time you can select one hierarchy to upload. later you can go by restricted KPI with filtering with proper node to get the desired report output using BE-x.
Hope you get the answer. Best of luck.
Rgs,
Ambuj Kathuria
Practice Head - SAP ILM/ BI -
Hi, all.
Please advise, how I can load hierarchies from ODS, if
ODS stores data about structure of hierarchies. If any solutions exists excluding, extract data to flat file and load it again to hierarchies.
Max.Hi,
Hierarchies data one type of data master data.
BW data base was desifned master data stored out side the cube. When ever other data target (cube) can use those master data .I.E you can load data on info object level. Becose this is master data.
You can load data from flat files .
The structure is like this.
when ever u r creating hierarchies three table is going to create /BIC/HZGLACOUNT,/BIC/KZGLACOUNT,/BIC/IZGLACOUNT
While loadong falt file you need to take this table /BIC/HZGLACOUNT structure. According that structure you need to create excel sheet and loading is like flat file.
TX,
V.V.REDDY -
How to Load the data from excel file(Extension is .CSV) into the temp.table
Hi
How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
Kindly Suggest the Solution.
Regards,
SachinHello Sachin,
You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
Instead of copy values into forms you can save them in your temporary table.
Kind regards,
Alex
If someone's helpful or correct please mark it accordingly. -
How to load the data from excel file into temprory table in Forms 11g?
Hi
How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
Kindly Suggest the Solution.
Regards,
SachinDeclare
v_full_filename varchar2(500);
v_server_path varchar2(2000);
v_separator VARCHAR2(1);
v_filename VARCHAR2(400);
filename VARCHAR2 (100);
v_stop_load varchar2 (2000);
v_rec_error_log varchar2(4000);
v_error_log varchar2(4000);
ctr NUMBER (12);
cols NUMBER (2);
btn number;
RES BOOLEAN;
application ole2.obj_type;
workbooks ole2.obj_type;
workbook ole2.obj_type;
worksheets ole2.obj_type;
worksheet ole2.obj_type;
cell ole2.obj_type;
cellType ole2.OBJ_TYPE;
args ole2.obj_type;
PROCEDURE olearg
IS
args ole2.obj_type;
BEGIN
args := ole2.create_arglist;
ole2.add_arg (args, ctr);
ole2.add_arg (args, cols);
cell := ole2.get_obj_property (worksheet, 'Cells', args);
ole2.destroy_arglist (args);
END;
BEGIN
v_full_filename := client_get_file_name(directory_name => null
,file_name => null
,file_filter => 'Excel files (*.xls)|*.xls|'
||'Excel files (*.xlsx)|*.xlsx|'
,message => 'Choose Excel file'
,dialog_type => null
,select_file => null
If v_full_filename is not null Then
v_separator := WEBUTIL_CLIENTINFO.Get_file_Separator ;
v_filename := v_separator||v_full_filename ;
:LOAD_FILE_NAME := substr(v_filename,instr(v_filename,v_separator,-1) + 1);
RES := Webutil_File_Transfer.Client_To_AS(v_full_filename,"server_path"||substr(v_filename,instr(v_filename,v_separator,-1) + 1));
--Begin load data from EXCEL
BEGIN
filename := v_server_path||substr(v_filename,instr(v_filename,v_separator,-1) + 1); -- to pick the file
application := ole2.create_obj ('Excel.Application');
ole2.set_property (application, 'Visible', 'false');
workbooks := ole2.get_obj_property (application, 'Workbooks');
args := ole2.create_arglist;
ole2.add_arg (args, filename); -- file path and name
workbook := ole2.get_obj_property(workbooks,'Open',args);
ole2.destroy_arglist (args);
args := ole2.create_arglist;
ole2.add_arg (args, 'Sheet1');
worksheet := ole2.get_obj_property (workbook, 'Worksheets', args);
ole2.destroy_arglist (args);
ctr := 2; --row number
cols := 1; -- column number
go_block('xxx');
FIRST_RECORD;
LOOP
--Column 1 VALUE --------------------------------------------------------------------
olearg;
v_stop_load := ole2.get_char_property (cell, 'Text'); --cell value of the argument
:item1 := v_stop_load;
cols := cols + 1;
--Column 2 VALUE --------------------------------------------------------------------
olearg;
:item2 := ole2.get_char_property (cell, 'Text'); --cell value of the argument
cols := cols + 1;
--<and so on>
ole2.invoke (application, 'Quit');
ole2.RELEASE_OBJ (cell);
ole2.RELEASE_OBJ (worksheet);
ole2.RELEASE_OBJ (worksheets);
ole2.RELEASE_OBJ (workbook);
ole2.RELEASE_OBJ (workbooks);
ole2.RELEASE_OBJ (application);
END;
--End load data from EXCELPlease mark it as answered if you helped. -
How to load the data from excel file into table in oracle using UTL_FI
How to load the data from excel file into table in oracle
and from table to excel file
using UTL_FILE package
Please give me some exampleThis is something i tried in oracle apex
http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
Regards,
CKLP -
Error while loading the data from excel to database.
Hi,
I am using PL/SQL developer to load the data from excel to database. I will set the data source in the control panel and will proceed through ODBC importer in pl/sql developer to import the data.
What exactly the error is when i click the filename to view the result preview it shows an error as:
The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.
Kindly help with solution.
Thanks/Regards
Sakthivarman J.Hello;
That error message comes from Microsoft, so something in you Excel sheet is the cause.
Its a pain but I would check properties of each column in case Excel decided to add something, a comma for example.
Do you have a column over 255 characters? Look there first. If any length is greater than 255 it will crash and burn.
Or convert it to a CSV and create an external table.
Best Regards
mseberg
Might also throw an 3163 as an error where you cannot see it.
Edited by: mseberg on Sep 9, 2011 7:34 AM -
Error while loading data from EXCEL to OWB
Hi Marcos,
Thank you. I got way.
I did in the following steps...
1. I created system dsn odbc_excel.
2. I created initSID.ora
3. I updated in the listener.ora.
4. I created a soure module in odbc in owb.
5. I created destination module in oracle where I want to load the data from excel.
6. I am able to get the metadata of excel.
7. I created a mapping.
8. Validation and Generation phases completed successfully.
9. At the time of deployment I got the following error.
ORA-06550: line 16, column 22:
PL/SQL: ORA-04052: error occurred when looking up remote object odbc_excel.EmployeeRange@EXCEL_SID.US.ORACLE.COM@CONNECTOR_EXCEL_OWB_SRC_DEST
ORA-00604: error occurred at recursive SQL level 1
ORA-02019: connection description for remote database not found
here
--excel_sid is the service name given in listener.ora.
--connector_excel_owb_src_dest is the connector from soruce to destination.
--Employee range is sheet name of excel.
I am fighting with this problem from past few days...
Thanks and regards
Gowtham
Message was edited by:
Gowtham SenMaybe you can consider save excel as .csv files and then you can load them as flatfiles to external table in OWB.
-
Error
[Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There
may be error message
I am using BIDS Microsoft Visual Studio 2008 and running the package to load the data from excel .
My machine has 32 bit excel hence have set property to RUN64BITRUNTIME AS FALSE.
But the error still occurs .
I checked on Google and many have used Delay validation property at Data flow task level to true but even using it at both excel connection manager and DFT level it doesnt work
MudassarThats my connection string
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\SrcData\Feeds\Utilization.xlsx;Extended Properties="Excel 12.0;HDR=NO";
Excel 2010 installed and its 32 bit edition
Are you referring to install this component -AccessDatabaseEngine_x64.exe?
http://www.microsoft.com/en-us/download/details.aspx?id=13255
Mudassar
You can try an OLEDB provider in that case
see
http://dataintegrity.wordpress.com/2009/10/16/xlsx/
you might need to download and install ms access redistributable
http://www.microsoft.com/en-in/download/details.aspx?id=13255
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Difference b/w Loading a Flat File made from EXCEL and NOTEPAD
Hi
Is there any difference in Loading a flat file made from MS-Excel and Note Pad. Imean performance or errors etc....
GSRS R G,
Theres no much difference only that when loading from excel we store excel in CSV format. In notepad we use seperators like comma aand write one row at a time, then next....
Rest everything is same...
thats y it is preferable to load from excel as it is easier to represent and create... -
Dear all,
I have issues with loading the data from excel.
My excel file looks like this:
Time
Store
Neto_prodaja_ACT
Neto_prodaja_TAR
Jan-12
C1
16
16
Feb-12
C1
2
2
Jan-12
C2
1
1
Feb-12
C2
3
3
My procedure for load is:
CLEAR STATUS
Across Var Down Time, Store
Sel Neto_prodaja_ACT, Neto_prodaja_TAR
Sel Store Input
access lslink
connect test1
select * from my_list
peek only 10
read
end
When I load the data I receive following error:
Time Store Neto_prodaja_ACT Neto_prodaja_TAR
1 01/01/2012 C1 16.00 16.00
2 02/01/2012 C1 2.00 2.00
3 01/01/2012 C2 1.00 1.00
4 02/01/2012 C2 3.00 3.00
4 Record(s) Read, 0 Record(s) Skipped.
DAT096:
Unexpected Dimensions in ACROSS/DOWN List For Variable NETO_PRODAJA_ACT
DAT096:
Unexpected Dimensions in ACROSS/DOWN List For Variable NETO_PRODAJA_TAR
The loaded data looks like this:
The data for store C2 is loaded also on store C1 so everything is messed up.
I also have a question regarding dimensions. I have a model in PAS which has data from different data sources (BW and excel). In excel I have dimensions which are not loaded from BW (they don't exist there). How to create such dimenison?
Thank you a lot in advance.
Best regards,
PetraPetra,
The Forum isn't really designed as a training system but rather where people can share questions or get a separate pair of eyes to look afresh at issues that aren't working for some reason. This is particularly the case for something which is as important as creating dimensions.
The idea of the SSM Cube Builder/Model Designer was to enable people to build models with their relevant dimensions and metrics for demos and simple initial systems using manual data entry. If you are getting into building dimensions that will be outside BW then you are moving into the implementation arena rather than demo creation and need to work carefully so that things tie up.
I doubt people would expect to be able to set up/implement BW without training and SSM is the same.
If you would like training or would like to collaborate on a first project to enable skills transfer then my colleague Pedro and I would be happy to discuss this. We have done this with other people and it has worked well.
Regards
Colin -
How to Load Hierarchies from flatfile in BI7
Hello Gurus,
How to load Hierarchies from flat file in BI7
As when creating datasource in BI7,
IT GIVES FOLLOWING OPTIONS
TRANSCTION DATA
MASTER DATA TEXTS
MASTER DATA ATTRIBUTES...
ALL THESE WE BRING TO PSA LEVEL BY INFOPACKAGE AND SEND DATATARGET BY DTP...
But how about Hierarchies...
Looking for reply
Regards
GuruLook at the below blog for step by step procedure :
Hierarchy Upload from Flat files
http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/frameset.htm
Maybe you are looking for
-
Where do we specify Report category in HR Adhoc query
Hi All. We have a standard query which shows a selection screen which is different in Production. When I went into the program behind the query and saw the report category, it is different in both the environments. I am not able to find where do we s
-
How to Get DataBase response back to DB adapter
Hi , I have a requirment as below. 1)I have configured a database adapter for updating a record in table using the pure SQL option .Once the record is updated sucessfully I need to get response from Database as Zero records updated or 1 row updated.
-
Not entirely sure where this topic should be posted... I seem to be having an issue with display profiles/preferences. All of a sudden, when I switch from one user account to another the display appears way too bright, and the system doesn't apply th
-
HT204266 AppleID keeps saying disabled anytime I try to update apps.
I have reset my account & password numerous times, yet everytime I try to update the apps installed on my device it says Apple ID has been disabled.
-
Cisco ISE 1.2 Checking DACL Syntax
Greetings, When we first set up all of the DACLs for our ISE deployment, it was explained to us that the "!" was a replacement for the "remark" entry on the access list, but when I utilize the "Check DACL Syntax", ISE tells me that my statements are