Obiee 11g hierarchy columns download into csv format.
When using hierarchical columns, Is there a way to download the results as the user see it on the view (be it table or pivot view) into a CSV format.
Excel format works, but if the user drill down on the hierarchy column and then export in CSV format... the data gets exported to the level the report was originally set.
Is there any way to change this behavior?
One option we can recommend to users is to download in excel format and then convert to CSV....if needed.
FYI, we just starting looking into 11g 11.1.1.5 version... planning to migrate from 10g to 11g...
Thanks
Sundar
Nii Moi wrote:
Hi Every Body,
am using asp.net as a front end and oracle 11g as back end am wondering if there is a way to download data in an csv format and merge them into a table.How is this related to Application Express ? Please explain
Similar Messages
-
Weird behaviour of OBIEE 11g hierarchy columns
Hi,
I'm facing this weird issue when i implement the OBIEE 11g new feature called hierarchy column.The issue is that the last value in the hierarchy is reporting
Example
Store Heir-achy
->Store Country
->Store City
->Store name
->Store Name
->Store name (And the level goes on and on).
I don't know why this weird thing is happening.Any help is appreciated.
Thanks,
Sunny.Thanks for the response, in regards to whether it is 1 or 2 Logical Facts, it is still the same behaviour. IN regards to the Logical Dimension, yes it is set with two LTS with the applicable content levels set. I even tried that as just 1 LTS doing the join through the General tab. Still the same behaviour with the drill-down. I am assuming it will always go through the full drill path regardless of what level the Fact you are hitting is at.
-
Download into CSV format from internal table
Hi,
I would like to download my internal table records in CSV format without any manual formating.
It is easy to concatenate internal table fields into a string with ',' seperator. But I would like to do in a better way that this becasue of more number of fields in my internal table.
Could you someone help me in this, I have searched in this form for help I found few function modules which did not help me.
SAP_CONVERT_TO_CSV_FORMAT / LIST_DOWNLOAD .
Prabhu Rajesh.Sravan,
type-pools: truxs.
DATA : BEGIN OF itab OCCURS 0,
name1(10),
name2(10),
END OF itab.
DATA : itab1 TYPE truxs_t_text_data.
DO 10 TIMES.
itab-name1 = 'Prabhu'.
itab-name2 = 'Rajesh'.
APPEND itab.
CLEAR : itab.
ENDDO.
LOOP AT itab.
WRITE:/ itab-name1, itab-name2.
ENDLOOP.
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = ';'
I_LINE_HEADER =
i_filename =
I_APPL_KEEP = ' '
TABLES
i_tab_sap_data = itab
CHANGING
I_TAB_CONVERTED_DATA = itab1
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Is there a way to download data into CSV format?
Is there a way to download data into CSV format?
I can't do this using delimiter as ',' because user wants the decimal format in the ','s only.
Any suggestions?go through this link...
Download CSV file in presentation server through FM GUI_DOWNLOAD
Re: how to create a CSV file
type-pools:TRUXS.
data: begin of itab occurs 0,
vbeln like vbap-vbeln,
posnr like vbap-posnr,
end of itab.
data: itab1 type TRUXS_T_TEXT_DATA.
select vbeln
posnr
up to 10 rows
from vbap
into table itab.
CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
EXPORTING
I_FIELD_SEPERATOR = ','
TABLES
I_TAB_SAP_DATA = itab
CHANGING
I_TAB_CONVERTED_DATA = itab1
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:TEMPtest.TXT'
TABLES
data_tab = itab1
EXCEPTIONS
OTHERS = 1. -
How to download dynamic table data into CSV format
Hi,
I have data in dynamic table <it_data>, and I want to download that into CSV format.
so I tried to use FM SAP_CONVERT_TO_CSV_FORMAT but how to use this FM with dynamic table?
here <it_data> type standard table, we can pass this to I_TAB_SAP_DATA. but problem is with changing parameter. (TRUXS_T_TEXT_DATA), what type of table it should be?
and one more thing is <it_data> structure is also dynamic , depending on input the structure of <it_data> may vary.
Regards,
MrunalHi,
check this one may be help full to u...........
*Use FM SAP_CONVERT_TO_CSV_FORMAT and pass a Delimiter and ITAB. This
returns an Ouput_String
Convert Internal Table to ; delimited format
There is a filename parameter on this FM but I don't think it's used
call function 'SAP_CONVERT_TO_CSV_FORMAT'
exporting
i_field_seperator = Delimiter "default ';'
i_filename = Filename
tables
i_tab_sap_data = ITAB
changing
i_tab_converted_data = Ouput_String
exceptions
conversion_failed = 1
others = 2.
Regard's
SHAIK. -
Download data into .csv format ( ABAP webDynpro )
Hi gurus ,
I am new to WebDynpro .
My requirement is that i need to download all my datas into csv format . But when i am using the function module
GUI_DOWNLOAD , an error is coming " Couldnot ascertain code page "
I have used the F.M ' SAP_CONVERT_TO_CSV_FORMAT '
call function 'SAP_CONVERT_TO_CSV_FORMAT'
exporting
i_field_seperator = ';'
I_LINE_HEADER =
I_FILENAME = ''
I_APPL_KEEP = ' '
tables
i_tab_sap_data = it_fail
changing
i_tab_converted_data = csv_converted_table
exceptions
conversion_failed = 1
others = 2
when i am using GUI_DOWNLOAD i am getting the above error
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\test.csv'
tables
data_tab = csv_converted_table.
ENDIF.
suggest me or provide some sample code to download the the csv_converted_table that i got from the F.M
'SAP_CONVERT_TO_CSV_FORMAT' into .csv format to my local drive .
Thanx Gurus .Heyy Thanks for proving a new concept ..
actually i was using the following code .
DATA : lv_filename TYPE rlgrap-filename,
lv_timestamp(55) TYPE c,
lt_csv TYPE truxs_t_text_data,
ls_csv TYPE LINE OF truxs_t_text_data,
p_path TYPE string VALUE 'D:\Result'.
Constants : lc_ex TYPE char4 VALUE '.csv'.
CONCATENATE p_path lc_ex INTO lv_timestamp.
lv_filename = lv_timestamp.
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = ','
i_filename = lv_filename
TABLES
i_tab_sap_data = it_fail
CHANGING
i_tab_converted_data = lt_csv
**-------Place the file in the required directory.
OPEN DATASET lv_filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
LOOP AT lt_csv INTO ls_csv.
TRANSFER ls_csv TO lv_filename.
ENDLOOP.
But i m getting the following error
File "D:\Result.csv" is not open.
Can u please tell me what needs to be done ...??
Thanks -
Converting excel source into csv format
Hi,
I have to convert excle source into csv format.
my excel source has around 40000 records.
Please give me the suggestions how to do it.
Thanks,
VenkatOr, if this is going to be an ongoing issue with new files needing to be converted, there are several utilities out there of various quality and price which can be considered. A quick google turned up a whole host of options for various platforms.
I can't comment on any of them as I haven't used them, but clearly there are several converters with command-line interfaces which should be capable to be utilized as an external command in your process flow.
Like: http://www.softinterface.com/Convert-XLS/Features/Convert-XLS-To-CSV.htm
Heck, if you really want to have fun and DIY, I know that there are native Perl Excel modules, so you could always build your own and make it cross-platform! -
Hierarchy column display image(Triangle) format need to be changed in obiee11g
Hi ALL,
Hierarchy column display image(Triangle) format need to changed
For Mobile users of obiee11g, the triangle symbol image is big in size while viewing in mobile phone,i have two issues
1. I need to reduce the size of triangle image
2.Need to reduce the spacing between triangle image and the text
Expecting the the response ASAP
Thanks,
BalaHi ALL,
Hierarchy column display image(Triangle) format need to changed
For Mobile users of obiee11g, the triangle symbol image is big in size while viewing in mobile phone,i have two issues
1. I need to reduce the size of triangle image
2.Need to reduce the spacing between triangle image and the text
Expecting the the response ASAP
Thanks,
Bala -
I'm trying to load data into csv format file, by adding "," at the "Text Delimiter" at the "Files" tab. However, it adds several commas as:
,aaaaaa , ,aaaaaaaa , ,aa,
,bbbbbb , ,bbbbbbbb , ,bb,
,cccccc , ,cccccccc , ,cc,
Can anyone confirm if it's right way to load into csv file?There is too many commas!
You should not use a comma in your text delimiter but a quote' or double quote"
and put a comma in the field separator to have something like
"aaa","aaaa","aa" -
Download table content into CSV format in background
Hi,
I would like to download some 50 tables data content locally into csv file format. As the number of tables are quite more, I am planning to run this in background. GUI_DOWNLOAD doesnt help me here. Can you plz suggest how can I go ahead to download files then.
I am using the FM 'SAP_CONVERT_TO_CSV_FORMAT' for converting the internal table to csv format. Suggest me if there is any other way.
Your suggestions would be very valuable.
Thank you in advance.go through this link...
Re: how to create a CSV file -
Is there FM to download data into csv format?
Got to create customized rfc/bapi and to export data in csv format?
Any idea?HI,
check this program.
<b>report ZTEST2.
data: file type string,
path type string,
file_path type string.
data: itab type standard table of cskt.
start-of-selection.
SELECT * FROM cskt INTO TABLE itab.
call method cl_gui_frontend_services=>file_save_dialog
changing FILENAME = file
path = path
fullpath = file_path.
check not file_path is initial.
call method cl_gui_frontend_services=>gui_download
exporting filename = file_Path
WRITE_FIELD_SEPARATOR = 'X'
changing data_tab = itab.</b>
Regards, -
OBIEE 11g hierarchy drilldown custom headings
In an OBIEE 11g report, have a column which is in a hierarchy. Can use the properties and change that column heading from "Level 3" to more descriptive name in the Criteria.
When report is opened/run and that column is clicked, the next column is labelled "Level 2" and then "Level 1".
Because what is in the levels depends on what else is connected, cannot hardcode the text in the rpd.
If the Level 2 and Level 1 columns are pulled into the Criteria and either hidden or not put in the Results, the drilldown is removed from the Level 3 column.
How can the drilldown columns' headings be customized, changed for that report?Try using Presentation variables, if the column is formatted in the reports.
Edited by: veeravalli on Oct 2, 2012 11:16 AM -
Function to download in csv format
Hi Every Body,
am using asp.net as a front end and oracle 11g as back end am wondering if there is a way to download data in an csv format and merge them into a table.
i.e i need to provide a button for this functionality.
Regards
Nii MoiNii Moi wrote:
Hi Every Body,
am using asp.net as a front end and oracle 11g as back end am wondering if there is a way to download data in an csv format and merge them into a table.How is this related to Application Express ? Please explain -
Issue with downloading in CSV Format
Hi SDN,
i used the FM's SAP_CONVERT_TO_CSV_FORMAT - to convert 2 CSV Format and
GUI_DOWNLOAD - to download the data 2 presentation server.
i'm able 2 open the file in CSV format,but the data is displayed in single column only.
how 2 display in different columns ?
for example the ITAB contains empno, empname and designation.
I want it 2 display as :
EMPNO EMPNAME DESIGNATION
1 xxxxx Developer
2 yyyy TL
with tab delimiter.
now the values are displaying as:
EMPNO;EMPNAME;DESIGNATION
1;xxxx;Developer
2;yyyy;TL
pls suggest.
awaiting ur early response.
Regards,
Suman.Hi Max,
the issue is when opening the CSV file.
all the contents are coming in a single column. for ex.,
Col 1 Col2 Col3
Row1 Heading1,Heading2,Heading3
Row2 a1,b1,c1
Row3 a2,b2,c2
Row4 a3,b3,c3
I'm not sure whether this format is correct ?
what I'm expecting is like the one below, with a tab delimiter.because after runing the ALV report when I export 2 Excel in CSV format it is displaying like this.
Col1 Col2 Col3
Row1 Heading1 Heading2 Heading3
Row2 a1 b1 c1
Row3 a2 b2 c2
Row4 a3 b3 c3
Regards,
Suman. -
OBIEE-11g Double columns question
Hi guys, on my pc i've installed business intelligence suite 11.1.3 and now I need support about double columns feature. In the business model I've this hierarchy
Region -> Province -> Municipality
where the keys for each level are represented by the name of the element, the problem is that this keys are used to map geometric shapes to enable the map views features and the Municipality values are ambiguous in their domain (could exist two municipality with the same name but different province) in the official documentation is wrote that to unique identify a shape should be used a double columns field but when I 'apply the double field feature to the hierarchy levels the drill feature doesn't work properly and I get a strange filter error (seems that the system filter the value by id on the wrong field). Somebody could help me to understand if I can define a hierarchy where the keys have a descriptor id associated ?
Thanks a lot RegardsI 've also come up with the same issue. I am using OBIEE 11G (11.1.1.5.0) and Oracle Mapviewer Ver11_1_1_4_B110225.
On the RPD, My hierarchy is defined as: District -> Quarter -> Neighbourhood.
For each hierarchy level I am using:
District Logical Level keys:
District Id: Primary Key
District Name: Use for Display
Quarter Logical Level Keys:
Quarter Id: Primary Key
Quarter Name: Use for Display
Neighbourhood Logical Level Keys:
Neighbourhood Id: Primary Key
Neighbourhood Name: Use for Display
I need to associate each Mapviewer theme's ID (District ID, Quarter ID, Neighbourhood ID) with a relevant BI column, because the theme names are not distinct.
I have set the double column (Descriptor Id) feature: (District ID, Quarter ID, Neighbourhood ID) on each BI name column (BI Distict Name, BI Quarter Name, BI
Neighbourhood Name) of the business model and associated the layer key (ID) of each Mapviewer theme with the corresponding BI name column.
On the map view, drilling down from District to Quarter works properly, but I get the following action error while drilling down from quarter to neighbourhood:
An error occurred while trying to generate drill down query.
Odbc driver returned an error (SQLExecDirectW).
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError:
46036] Internal Assertion: Condition rowValues.size() == numColumns, file server\Query\Src\SQNavigatorAccess.cpp, line 495. (HY000)
SQL Issued: {CALL NQSGenerateDrillDownQuery('SELECT District Name saw_0, Quarter Name saw_1, DESCRIPTOR_IDOF(District Name) saw_2, DESCRIPTOR_IDOF(Quarter Name)
saw_3 FROM "Subject Area" WHERE DESCRIPTOR_IDOF(District) = 5','1','''5'',''31'',31','-1 -1 -1 -1 -1','0,2,3')}
However, if I add a table view on my analysis and click on the table view's quarter link, drilling down works ok both for the table and for the map view.
Moreover, I tried removing the double column (descriptor Id) feature from the business model while maintaining the hierarchy as described above.
I then associated the layer key (ID) of each Mapviewer theme with the corresponding BI ID column instead of the BI name column.
On the map view while drilling down from District to Quarter, a filter to a specific District is applied, but the associated Quarters theme is not displayed.
Finally, if I enable the "Use for Display" checkbox for each hierarchy level's primary key on the RPD, and maintain the association between the layer key (ID) of
each Mapviewer theme with the corresponding BI ID column, drilling down works correctly but only on the ID.
I need drilling down to work while clicking on the each name BI column of the hierarchy while defining the association on the layer key ID of each mapviewer
theme. Is this possible? Any ideas?
Maybe you are looking for
-
How do I select multiple contacts for an e-mail?
Using an iMac and wondering how to send an e-mail to multiple people in my contact list without having to open the contact list every time I select a name. It would be nice if I could just open the contact list and select multiple people for the sam
-
My screen painter's language is german.. How to convert it to english?? Thanks... Moderator message: Welcome to SCN! Moderator message: please search for available information/documentation. [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/H
-
Applying a Gaussian Blur to a subclassed NSWindow
Does anyone know a way to do this, my window disregards any CoreAnimations settings I give it in IB
-
WHAT DOES ERROR CODE 103:103 MEAN IN ADOBE READER
WHAT DOES 103:103 ERROR CODE MEAN IN ADOBE READER I HAVE WINDOWS XP AND IE 8
-
Re: Installation Error Windows 7
Hi, im using microsoft windows 7 32 bit operating system. I am trying to install oracle 11g on my pc. at the end of installation process it shows an error called oracle database assistant configuration failed. can any 1 please help me out on this. Th