Hierarchies in universe build over a flat file
Hi,
I have buit a universe over a flat file which has a single table consisting of all the data(Dimenssions and Measures).
When I built a WebI report over that universe the drill button in the report pannel is showing as dissabled.
Even though I define a custom hierarchy in Universe Designer, it is the same case.
So, Is it possible to have hierarchies in universes that are built over flat files?
If yes, how is it done?
Thanks,
Viswanath.
How to enable Drill option in Webi Report based on BW universe.
Please check the above thread.
Edited by: Ravi Rawat on Apr 8, 2011 8:32 AM
Similar Messages
-
Build daily Big flat file using SAP R/3 material master data
Hi all,
I must build an interface between SAP R/3 4.7 and an external application
Daily a flat file must be generated contaning Material data in full exchange mode
(volume 100 000 materials, <10 fields => ~ File of 30Mo)
No complex mapping, only format mapping (Ex : Price quantity...)
I don't know yet if I will use Idocs or BAPI to extract data. However, I'm sure I must use multiple inbound messages because of volume
After reading documentation, I consider the both following solutions to manage it :
1) A simple asynchronous interface with a file adapter in construction mode APPEND to build flat file progressively with arrival of SAP messages
=>
viable solution ?
Is there problem of concurrent access to file in such a solution ?
(idocs or bapi data will be processed ones following the others )
2) BPM Collecting and Bundling Messages - One Interface
(Unlimited Loop with Deadline trigger correspondint to time I must build flat file)
=>
Each SAP message is a small message but the outbound XML will represent a 30 Mo flat file => Is it a problem ??
Which solution do you advise ?
Is there another ?
Last question : (more general one)
In such scenario, I can't see XI-value added comparing a creation of flat file directly with R/3.
I will generate a big number of idocs, use a big part of XI memory ...
Can you give me your opinion about it ?
Thanks a lot
Best regards
Jean-Charles
Message was edited by:
Jean-Charles
Message was edited by:
Jean-CharlesHi Jean-Charles,
>>>volume 100 000 materials, <10 fields => ~ File of 30Mo
You have a performance task...
>>>Is there problem of concurrent access to file in such a solution ?
No, the adapter framework has its own queueing, the message would be stored and executed later. If sequence is important, you can use EOIO as well.
>>>BPM Collecting and Bundling Messages - One Interface
BPM is not required in your case, you should avoid becoz of performance task. You can append at file adapter, no problem. Bundling and splitting is even possible at Integration Server without BPM.
>>>Each SAP message is a small message but the outbound XML will represent a 30 Mo flat file => Is it a problem ??
Avoid using BAD words
>>>Each SAP message is a small message but the outbound XML will represent a 30 Mo flat file => Is it a problem ??
Use the <a href="https://websmp110.sap-ag.de/quicksizing">Quick Sizer</a> for sizing the hardware.
Regards,
Udo -
Validation error using flat files..VLD-2407
Trying to build a simple flat file mapping to test out file locations and permissions at a new client and getting the following error: VLD-2407: SQL*Loader map must have a source file. OWB 10.2.0.3. I've added a filename for everything i could find in the mapping configuration screens. Any thoughts?
ThanksIt can happen if your location for deployment is different than that of development and you have forgotten to make sure the
source directory ane file exist in deployment location.
Regards
azaman -
How to convert from SQL Server table to Flat file (txt file)
I need To ask question how convert from SQL Server table to Flat file txt file
Hi
1. Import/Export wizened
2. Bcp utility
3. SSIS
1.Import/Export Wizard
First and very manual technique is the import wizard. This is great for ad-hoc and just to slam it in tasks.
In SSMS right click the database you want to import into. Scroll to Tasks and select Import Data…
For the data source we want out zips.txt file. Browse for it and select it. You should notice the wizard tries to fill in the blanks for you. One key thing here with this file I picked is there are “ “ qualifiers. So we need to make
sure we add “ into the text qualifier field. The wizard will not do this for you.
Go through the remaining pages to view everything. No further changes should be needed though
Hit next after checking the pages out and select your destination. This in our case will be DBA.dbo.zips.
Following the destination step, go into the edit mappings section to ensure we look good on the types and counts.
Hit next and then finish. Once completed you will see the count of rows transferred and the success or failure rate
Import wizard completed and you have the data!
bcp utility
Method two is bcp with a format file http://msdn.microsoft.com/en-us/library/ms162802.aspx
This is probably going to win for speed on most occasions but is limited to the formatting of the file being imported. For this file it actually works well with a small format file to show the contents and mappings to SQL Server.
To create a format file all we really need is the type and the count of columns for the most basic files. In our case the qualifier makes it a bit difficult but there is a trick to ignoring them. The trick is to basically throw a field into the
format file that will reference it but basically ignore it in the import process.
Given that our format file in this case would appear like this
9.0
9
1 SQLCHAR 0 0 """ 0 dummy1 ""
2 SQLCHAR 0 50 "","" 1 Field1 ""
3 SQLCHAR 0 50 "","" 2 Field2 ""
4 SQLCHAR 0 50 "","" 3 Field3 ""
5 SQLCHAR 0 50 ""," 4 Field4 ""
6 SQLCHAR 0 50 "," 5 Field5 ""
7 SQLCHAR 0 50 "," 6 Field6 ""
8 SQLCHAR 0 50 "," 7 Field7 ""
9 SQLCHAR 0 50 "n" 8 Field8 ""
The bcp call would be as follows
C:Program FilesMicrosoft SQL Server90ToolsBinn>bcp DBA..zips in “C:zips.txt” -f “c:zip_format_file.txt” -S LKFW0133 -T
Given a successful run you should see this in command prompt after executing the statement
Starting copy...
1000 rows sent to SQL Server. Total sent: 1000
1000 rows sent to SQL Server. Total sent: 2000
1000 rows sent to SQL Server. Total sent: 3000
1000 rows sent to SQL Server. Total sent: 4000
1000 rows sent to SQL Server. Total sent: 5000
1000 rows sent to SQL Server. Total sent: 6000
1000 rows sent to SQL Server. Total sent: 7000
1000 rows sent to SQL Server. Total sent: 8000
1000 rows sent to SQL Server. Total sent: 9000
1000 rows sent to SQL Server. Total sent: 10000
1000 rows sent to SQL Server. Total sent: 11000
1000 rows sent to SQL Server. Total sent: 12000
1000 rows sent to SQL Server. Total sent: 13000
1000 rows sent to SQL Server. Total sent: 14000
1000 rows sent to SQL Server. Total sent: 15000
1000 rows sent to SQL Server. Total sent: 16000
1000 rows sent to SQL Server. Total sent: 17000
1000 rows sent to SQL Server. Total sent: 18000
1000 rows sent to SQL Server. Total sent: 19000
1000 rows sent to SQL Server. Total sent: 20000
1000 rows sent to SQL Server. Total sent: 21000
1000 rows sent to SQL Server. Total sent: 22000
1000 rows sent to SQL Server. Total sent: 23000
1000 rows sent to SQL Server. Total sent: 24000
1000 rows sent to SQL Server. Total sent: 25000
1000 rows sent to SQL Server. Total sent: 26000
1000 rows sent to SQL Server. Total sent: 27000
1000 rows sent to SQL Server. Total sent: 28000
1000 rows sent to SQL Server. Total sent: 29000
bcp import completed!
BULK INSERT
Next, we have BULK INSERT given the same format file from bcp
CREATE TABLE zips (
Col1 nvarchar(50),
Col2 nvarchar(50),
Col3 nvarchar(50),
Col4 nvarchar(50),
Col5 nvarchar(50),
Col6 nvarchar(50),
Col7 nvarchar(50),
Col8 nvarchar(50)
GO
INSERT INTO zips
SELECT *
FROM OPENROWSET(BULK 'C:Documents and SettingstkruegerMy Documentsblogcenzuszipcodeszips.txt',
FORMATFILE='C:Documents and SettingstkruegerMy Documentsblogzip_format_file.txt'
) as t1 ;
GO
That was simple enough given the work on the format file that we already did. Bulk insert isn’t as fast as bcp but gives you some freedom from within TSQL and SSMS to add functionality to the import.
SSIS
Next is my favorite playground in SSIS
We can do many methods in SSIS to get data from point A, to point B. I’ll show you data flow task and the SSIS version of BULK INSERT
First create a new integrated services project.
Create a new flat file connection by right clicking the connection managers area. This will be used in both methods
Bulk insert
You can use format file here as well which is beneficial to moving methods around. This essentially is calling the same processes with format file usage. Drag over a bulk insert task and double click it to go into the editor.
Fill in the information starting with connection. This will populate much as the wizard did.
Example of format file usage
Or specify your own details
Execute this and again, we have some data
Data Flow method
Bring over a data flow task and double click it to go into the data flow tab.
Bring over a flat file source and SQL Server destination. Edit the flat file source to use the connection manager “The file” we already created. Connect the two once they are there
Double click the SQL Server Destination task to open the editor. Enter in the connection manager information and select the table to import into.
Go into the mappings and connect the dots per say
Typical issue of type conversions is Unicode to non-unicode.
We fix this with a Data conversion or explicit conversion in the editor. Data conversion tasks are usually the route I take. Drag over a data conversation task and place it between the connection from the flat file source to the SQL Server destination.
New look in the mappings
And after execution…
SqlBulkCopy Method
Sense we’re in the SSIS package we can use that awesome “script task” to show SlqBulkCopy. Not only fast but also handy for those really “unique” file formats we receive so often
Bring over a script task into the control flow
Double click the task and go to the script page. Click the Design script to open up the code behind
Ref.
Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/ -
Load of hierarchies from R/3 via flat file: how to generate the flat file?
Hello,
I need to build a custom extractor for a hierarchy. The hierarchy exists in R/3, but there's no standard datasource to extract it. I know I can upload it via flat file, but I have a question related to this.
Does anyone know if there's a program (standard or custom by SAP) or function module in R/3 which allows me to generate that flat file, with the required format by BW?
I would appreciate very much any help about this topic
Thanks in advanceIn CO-PA there is a way to generate Hierarchy Extractors (see Note 422175 for more details). With a Custom Program you generate a specific DataSource.
Hope it helps
GFV -
Load of hierarchies from R/3 via flat file: how to generate that flat file?
Hello,
I need to build a custom extractor for a hierarchy. The hierarchy exists in R/3, but there's no standard datasource to extract it. I know I can upload it via flat file, but I have a question related to this.
Does anyone know if there's a program (standard or custom by SAP) or function module in R/3 which allows me to generate that flat file, with the required format by BW?
I would appreciate very much any help about this topic
Thanks in advance
PatriciaHi Patricia,
if there is, I'd love to get hold of it.
I have only ever managed this by extracting the relevant data into Excel and then doing a long series of VLOOKUPS to establish parent and child ids.
I have a sample spreadsheet I can send you if you like.
Regards,
Mike -
Hey Guys,
I need to post a Flat file over HTTP (or SOAP), is this possible without developing my own Adapter module?
I just need to get a Flat file from a FTP server and post to another server via HTTP,since there is no message mapping involved, i developed the scenario without any Integration Repository objects, it is just a pass-through scenario.
Now i am stuck on the receiver side since i am unable to post Flat file over HTTP.
Secondly i have Login URL, Logout URL and upload URL from the receiver system, i don't see any place in receiver HTTP adapter to put all these 3 URL's, can i use SOAP adapter to put all these URL anywhere?
Any help would be appreciated.
Thanks
Saif
Edited by: Saif Manzar on Jan 19, 2010 2:51 AMHey Guys,
I need to post a Flat file over HTTP (or SOAP), is this possible without developing my own Adapter module?
I just need to get a Flat file from a FTP server and post to another server via HTTP,since there is no message mapping involved, i developed the scenario without any Integration Repository objects, it is just a pass-through scenario.
Now i am stuck on the receiver side since i am unable to post Flat file over HTTP.
Secondly i have Login URL, Logout URL and upload URL from the receiver system, i don't see any place in receiver HTTP adapter to put all these 3 URL's, can i use SOAP adapter to put all these URL anywhere?
Any help would be appreciated.
Thanks
Saif
Edited by: Saif Manzar on Jan 19, 2010 2:51 AM -
Steps to load the data by using flat file for hierarchies in BI 7.0
Hi Gurus,
steps to load the data by using flat file for hierarchies in BI 7.0hi ,
u will get the steps int he following blog by Prakash Bagali
Hierarchy Upload from Flat files
regards,
Rathy -
IDoc flat file over AS2 adapter to IDoc adapter
Hi,
The scenario is IDoc flat file(.txt) over AS2 adapter to IDoc adapter. Could anyone help on how to convert the IDoc flat file to xml in AS2 adapter to execute the mapping further? we are using PI 7.0.
Thanks in advance!
-zameerHi,
Since you are on Pi 7.0, you would not be able to use the modules for this in PI 7.1.
You would need to refer this document for converting from Idoc flat to XML
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a?quicklink=index&overridelayout=true
In your sender AS2 adapter, you can pass the file as is to an abap mapping which will do the conversion to Idoc xml. the output of the abap mapping goes to your message mapping then for conversion.
Another option would be to use a custom adapter module in the sender AS2 adapter to call the Aabap mapping to do the conversion into Idoc xml.
The custom adapter module would do a JCO/RFC call which will do the conversion before passing the data back to the adpter module.
Regards -
Hello,
I would like to get some information about the flat files connection in BO 4.0.
Is it better and easier than in BO 3.1 ?
Is it possible to create an Universe from a CSV/xls file directly ?
I know that it is possible to use Explorer from a Excel file saved on the BO Server.
Is it possible to create a WEBI Query from this Excel file ?
Thanks,
MatthieuHi,
Did you already check the corresponding chapter of the users guide?
"Refreshing Web Intelligence documents based on PDP / CDP data sources from the BI launch pad"
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_ia_en.pdf#page140
Best regards,
Victor -
Flat File Universe - Import to CMS
Hi,
I want to export a Flat file Universe to CMS, so that other users can access this Universe. But,where can i store the excel file on CMS?
regards,
ZEESR.
Edited by: ZEESR_99 on Aug 17, 2010 11:52 PMHi ZEESR, the best place to store the Excel file is on the BusinessObjects server. Make sure the DSN is set up on the same server as well.
Hope this helps.
If you are using the BusinessObjects tool, you should join [ASUG|www.asug.com] -
Transferring over billion records to flat file destination.
I have a requirement, where i need to create a flat file which loads over billion records in it. Can you please suggest me the best way to follow?
Thank you in advance!SSIS or even SQLBulkcopy class. Make sure your have plenty space on the disk...
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Flat files required for Universal Adapters HR Payroll
Hi Folks
we are implementing new HR Analytics using Universal adapters HR Payroll subject area.
where can i get the Flat files which are designed and delivered for Universal Adapters which contains the Field names etc.
i searched in web and found no clue of it and neither on Metalink.
please help
thank you
kumrData lineage for 795 , Search for doc id 735950 :
OR
https://metalink3.oracle.com/od/faces/secure/km/DocumentDisplay.jspx?id=735950.1&h=Y.
796 :
Oracle® Business Intelligence Applications ETL Data Lineage Guide Release 7.9.6 (Doc ID 829385.1) is now avalaible on Metalink3.
Below is the URL,
https://metalink3.oracle.com/od/faces/secure/km/DocumentDisplay.jspx?id=829385.1
rm -
Hello Experts,
We have XIR3.1 SP4 and our repositories are on oracle 10g.
I'm trying to build a universe on top of Data Services. I exported the datastore to an XML file from the DS Client tool.
I opened the Universe Builder, selected the Metadata Sources and pointed to the XML file.
The name of the XML file appears in the space of Universe Builder, with file type as "CWM_File. But I cannot select "Create Universe" option. It seems to be grayed out.
I have tried importing the xml file into different Metadata Sources, like CWM Olap 1.0, Data Integrator etc but still the Create Univesre option is grayed out.
Am I doing anything wrong? Is it even possible to build a universe like this?
Please help.
Thanks in advance..Hi,
Here's the XIR2 guide http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_universe_builder_en.pdf
and the XI3.1 guide http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_universe_builder_guide_en.pdf
This is very little use of Uni Builder, so you may want to work with Support engineer to get confirmation. (i.e. OSS ticket)
Regards,
H -
Loading Hierarchies using flat file
Hi experts,
I have requirement to load hierarchies using flat file.
I have to create hier on Person Responsible, sub nodes are Sales Office, Project Definition, Project Type and Project Definition Description. I have file, i need to load into BW.
I dont know much about hier loading, can you tell me what are the Attributes to be inserted and how to prepare the hier loading file which contains HIENM, VERSION, HCLASS, DATEFROM and DATETO.
I dont know these fields are enough to load my hier.
I have created one hier, when i try to activate it's giving error like ' no data exists'.
Can anyone tell me how to prepare file to load into hierarchy?
Thanks in advance,
VenkyHi Venkatesh,
There are several formats to load a hierarchy via file. The following two are the commonly used formats.
1) Default
Node ID NODEID
InfoObject Name INFOOBJECT
Node Name NODENAME
Link Name LINK
HghrLvlNode PARENTID
Language Key LANGU
Description - Short TXTSH
Description - Medium TXTMD
Description - Long TXTLG
2) Sorted
Node ID NODEID
InfoObject Name INFOOBJECT
Node Name NODENAME
Link Name LINK
HghrLvlNode PARENTID
First Subnode CHILDID
Next Node Along NEXTID
Language Key LANGU
Description - Short TXTSH
Description - Medium TXTMD
Description - Long TXTLG
If Default format is used, the sequence of node IDs appeared in the flat file determines the structure of the hierarchy. Whereas the sorted hierarchy format defines the structure via PARENTID, CHILDID, NEXTID relationship.
You make the selection in DataSource/Tran.Structure tab of InfoSource Page by clicking on the "Hier. Structure button.
Good luck!
Bill
Maybe you are looking for
-
I apologize if I'm not posting this in the right forum, I wasn't sure where to ask - I have a DVD (home video put onto to DVD, nothing copyright), I know how to make a copy of it on the Mac and how to burn copies of other DVD's, etc., but I am wonder
-
Hello, sorry for my bad english. i vant to install Hyper-v on my Lenovo RD120. Wen i starting my virtual machine i'v got an error : The virtual machine could not be started because the hypervisor is not running. The following actions may help you re
-
Hi all... Anyone would know how to export a frame in FCPX? No just selecting a frame with the range tool and sharing it... Is ist possible to export it as a jpg or other formats like in the old FC7? Thanks a lot...
-
IMovie doesn't work on my Macbook pro
Hi, I got my MacBook Pro 1 month and a half ago and when I got it, iMovie was working but I didn't use it yet. So, today I tried to open it but it doesn't work anymore. It seems like it's not installed, I searched for some folders and I don't find an
-
Call transaction CV02N - Add original
Hi all, I have a call transaction which adds an original (as template) in CV02N to a document. We have customized in transaction DC30 that when you have chosen a template then a client program opens the template file (e. g. word) Now I want to call t