How to get Query Names in webi Report ??
Hello All,
I'm trying to pull data from different data sources like accdb,Oracle,DB2,MDB,xls files . I pulled the data successfully by merging all queries.But I was stuck with getting the query names in report ...can some one guide me in this ?? I used data provider () but getting 1 query name along with my universe name.
thanks in advance,
Lavanya.
Hi Lavanya,
Are you interested to know the data sources of the queries or just the query names?
To know the Query Name, you can use DataProvider( ) function; however, in case you wish to know the data source, you can use Connection( ) function.
Regards,
Yuvraj
Similar Messages
-
How to get Variable name in output (Report Writer/Painter)
Hello Experts,
We have maintained one Repot by using Report Writer, this is the report for Cost center (periodic report), input fields are Fiscal year, Period and Cost Center. In out put system will display the selected cost center balances for individual cost element.
Output: Excel format: in first sheet it will display balance of the total cost centers selected and from second sheet it will display individual cost center balances.
My requirement is in the output system is displaying sheet name as CC1,CC2,CC3.......CC50, but my user want to display this as Cost Center 1, Cost Center 2, Cost Center 3...... like this. we have maintained variable name as Cost center 1, cost center 2....., but why system is displaying as CC1,CC2,.... .
Please help me how to get the full description as sheet name in excel.
Thanks ......SudheerHello Everybody,
Please help me how to get variable name in Report Painter outout ( Excel format ).
Thanks -
WAD: How-to get query name and pass to URL
Hi,
The task: In a BI 7.0 web template - get the technical query name and use that to open a URL in the format http://<MYURL>&DOCUMENTATION=<QUERYNAME>. So:
1) User clicks an icon
2) Get technical name of query
3) Open the documentation for that query using a URL
How can this be done? Do I have to use the Custom Extension web item and implement a new class using the interface IF_BICS_CONS_WEBITEM_CUST_EXIT? If so, do you have an example of how this can be done? OR even better is there an easier way to accomplish this?
Thanks in advance,
JacobHi Daniel,
you could get the query name in ABAP code, also. Here is a snippet from the execute method. The Query name should be in l_sx_view at the end.
best regards
Arne
TYPE-POOLS:
rrx1.
DATA:
l_string TYPE string,
l_xml TYPE string,
l_xml_xstring TYPE xstring,
l_sx_view TYPE rrx1_sx_view,
* Line Feed, CR
c_lf TYPE string,
l_h_lf(2) TYPE x VALUE '0D0A',
l_r_conv TYPE REF TO cl_abap_conv_in_ce.
* Get the line feed and carriage return for unicode
l_r_conv = cl_abap_conv_in_ce=>create( input = l_h_lf ).
l_r_conv->read( IMPORTING data = c_lf ).
DATA:
l_t_data_providers TYPE cl_bics_cons_webitem_util=>tn_t_data_provider,
l_s_data_providers TYPE cl_bics_cons_webitem_util=>tn_s_data_provider,
l_r_variable_container TYPE REF TO if_ixml_node.
CLEAR e_xml.
TRY.
* All data passed to the webitem exit is hold in I_XML using XML.
* The XML is UTF-8 encoded. You can convert the UTF-8 xstring
* to a simple ABAP string by calling the following method:
* ==================================================================
CALL METHOD cl_bics_cons_webitem_util=>utf8_xstring_2_string
EXPORTING
i_utf8_xstring = i_xml
RECEIVING
r_string = l_xml.
* The XML includes sections about the used data provider and about the
* variable container. The following method parses the XML and
* provides the IF_IXML_NODE instances for data providers and for the
* variable container.
* ==================================================================
CALL METHOD cl_bics_cons_webitem_util=>parse_xml
EXPORTING
i_xml = i_xml
IMPORTING
e_t_data_providers = l_t_data_providers
e_r_variable_container = l_r_variable_container.
* 01 Get name of first Data Provider
READ TABLE l_t_data_providers INDEX 1 INTO l_s_data_providers.
CALL TRANSFORMATION bics_cons_webitem_filter_by_dp
PARAMETERS dataprovider = l_s_data_providers-name
SOURCE XML i_xml
RESULT XML l_xml_xstring.
CALL METHOD cl_bics_cons_state_converter=>convert_xml
EXPORTING
i_xml = l_xml_xstring
IMPORTING
e_sx_view = l_sx_view. -
Hi:
There is a report 'AQFLINDIA_FA====Z_REGISTER====',I think it's created by Query.And how to get the 'User group' / 'Infoset' / 'Query name'?
Thanksss.hi,
they will not be stored in any table but we can identify by program name itself.
if your program name is AQFLINDIA_FA====Z_REGISTER==== then your query name is Z_REGISTER.
from sq01 you can get infoset name of that query and from sq02 you can get user group name.
also check these tables.
AQGIDOC
AQGQDOC. -
How to get the name of a Data Element of a generic Table!
Hi guys!
In my function i have the following import paramenter
i_outtab type standard table
now i import a table and i want to get the dataelement of the fields.
is there a way to do this??Hello Thomas
Perhaps the following sample report may be useful for you.
*& Report ZUS_SDN_RTTI_STRUCT_COMPONENTS
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145711"></a>
*& Thread: How to get the name of a Data Element of a generic Table!
REPORT zus_sdn_rtti_struct_components.
TYPE-POOLS: abap.
TYPES: BEGIN OF ty_s_outtab.
TYPES: bukrs TYPE bukrs.
TYPES: kunnr TYPE kunnr.
TYPES: END OF ty_s_outtab.
DATA: gdo_data TYPE REF TO data.
DATA: gs_outtab TYPE ty_s_outtab.
DATA: go_typedescr TYPE REF TO cl_abap_typedescr,
go_structdescr TYPE REF TO cl_abap_structdescr,
go_datadescr type ref to cl_abap_datadescr.
DATA: gs_comp TYPE abap_compdescr,
gd_dtel type string,
gt_dfies type ddfields.
FIELD-SYMBOLS:
<gs_struct> TYPE ANY.
START-OF-SELECTION.
BREAK-POINT.
GET REFERENCE OF gs_outtab INTO gdo_data.
ASSIGN gdo_data->* TO <gs_struct>.
go_typedescr = cl_abap_typedescr=>describe_by_data( <gs_struct> ).
go_structdescr ?= go_typedescr.
BREAK-POINT.
LOOP AT go_structdescr->components INTO gs_comp.
go_datadescr = GO_STRUCTDESCR->GET_COMPONENT_TYPE( gs_comp-name ).
gd_dtel = go_datadescr->get_relative_name( ).
write: / syst-tabix, 'Data element =', gd_dtel.
ENDLOOP.
END-OF-SELECTION.
Regards
Uwe -
Editing the Query name for all reports in PRD.
Dear All,
I have created 25 reports using Query Designer.We have moved all the reports to BI Production. And Clients are using these reports using the Tool Bex Analyser.
Every time they are navigating through open Query -> Info Areas -> Data targets and Query.
Instead of going this way, is there any other way to Open a query easily.
And they wants to modify the Report name and the Technical name for all the reports. Can we able to edit the Query name for all reports, or do i need to go for SAVE AS for all querys.
Pls Suggest.
Thanks,
RamHi Ram,
1. For the first question; if it user specific query then ask the users to save them at the FAVORITES so that there is no need to go to the dataprovider specific.
Or they can create the reports as favorites user menu screen of that particular user.
2. In order to change the technical name and description of the queries goto RSZC t-code> give the source and target infoprovider as same> select queries>click on the reports>click on transfer selections-->
Then you get a screen to change the description and technical name.
But this is pertained to Infoprovider level.
You can see all the reports on the infoprovider (cube/ods).
Hope you understood.
Regards,
Ravi Kanth -
How to display duplicate key in web report?
Hi Experts,
Can anybody tell me how to display duplicate key in web report?
I know in the Bex analyzer, we can allow the duplicate key to be dispalyed via the 'query property' by right click, and in the 'display option' tab, there is an option which named 'forbid duplicate key', if we don't select this option, the duplicate key will be dispalyed in the report result in BEx analyzer.
But how can I do this in Web report? Thanks in advance.
EileenHi,
<b>I know in the Bex analyzer, we can allow the duplicate key to be dispalyed via the 'query property' by right click, and in the 'display option' tab, there is an option which named 'forbid duplicate key', if we don't select this option, the duplicate key will be dispalyed in the report result in BEx analyzer.</b>
Do the same and execute report in web.You can able to see the same.
Cheers
Karthik -
How to get column names for a specific view in the scheme?
how to get column names for a specific view in the scheme?
TIA
Don't have DD on the wall anymore....or this?
SQL> select text from ALL_VIEWS
2 where VIEW_NAME
3 ='EMP_VIEW';
TEXT
SELECT empno,ename FROM EMP
WHERE empno=10 -
How to get the value from another report Customizes Form
Dear all,
I create a report such as
select * from mytable.table1
where field1 = :bind_variable
I create a menu to run this Customized Form and user have to select the bind_variable values. So I have another report created which also want this bind_variable as it WHERE Clause. But I don't want my user to key the same bind variable twice. They can just same the Customized Form and run for both report.
Could anybody know how to get the bind_variable on 1st report and used by the 2nd report.
Thank you very much.
Best Rgds,
SL VoonHi,
are you on BI7.0? There you can create variables type replacement path and get the value out from a different variable without any coding.
regards
Cornelia -
How to get the name of the current tab.
Hi Experts,
I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
Thanks in advance.
Regards,
Arun1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
2. Declare an Import Parameter in this method
Tab type String.
3. This parameter has value of the selected TAB.
4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
wd_this->Att = Tab.
Att is the attribute created by you in Attributes Tab of View. ( of type String)
5. Now the selected Tab ID is stored in this Attribute Att.
6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
Data : lv type string.
lv = wd_this->Att
Now lv has your selected TAB ID.
I hope it would help you.
Edited by: Saurav Mago on Oct 13, 2009 2:22 PM -
How to get the usage of SSRS reports in project server 2010
Hi
Can any body tell me how to get the usage of the SSRS reports in Project Server 2010.
Thanks
Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.Hello,
See the links below on how to get the usage for SSRS reports:
http://sqlbadboy.wordpress.com/2013/09/12/reporting-services-reports-whos-using-them/
http://www.mssqltips.com/sqlservertip/1908/analyze-report-execution-and-usage-statistics-in-sql-server-reporting-services/
http://www.mssqltips.com/sqlservertip/1306/how-to-know-what-reporting-services-reports-are-being-used/
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
How to get the output of the report in pdf format
how to get the output of the report in pdf format?
Thanks in advance,
madan.Refer these links
http://www.sap-img.com/bc037.htm
http://www.members.tripod.com/abap4/Save_Report_Output_to_a_PDF_File.html
CONVERT_ABAPSPOOLJOB_2_PDF FM convert abap spool output to PDF -
How to get the stock of STO Report with suppling Plant/receiving Plant/open
How to get the stock of STO Report with suppling Plant/receiving Plant/open/close qty.
MB5T gives you Details of STO which have stok in transit.
ME2W gives you supplying plant wise STO details. Also in ME2W , in the ALV report output, if you select the "delivery Schedule line" icon , you will get details such as , STO qty, Issued qty , undelivered qty etc. -
How to get query result in comma dilimited text or excel file?
Does anybody know how to get query results in comma delimited
text file or excel file, I tried spool abc.txt, but the result
showed some ------ lines
ThanksTry doing this in your sql scripts
set heading off
set pagesize 0
set linesize 4000
set feedback off
set verify off
set trimespace on
set colsep ","
spool output.txt
select * from dual (or whatever you are querying
spool off
There may be a couple other set statement that you could add but
this should get you started in the right direction -
How to get last column used in report sorting?
hi,
how to get last column used in report sorting?
simonHow to identifiy which column was sorted having different reports on page?
just use:
'YOUR_STATIC_REGION_NAME' instead of p_static_id,
:APP_ID for p_app_id,
:APP_PAGE_ID for p_page_id
:APP_USER_ID for p_app_user.
and dont forget to grant SELECT on #OWNER# to APEX_030200.WWV_FLOW_PREFERENCES$
good luck and thank you Juergen.Schuster
Simon
Maybe you are looking for
-
I pre-ordered an iPhone 6 Plus and the delivery date now says October 14th. The point of the pre-order is to get it on release day (or shortly thereafter). Can I go to a Verizon store to pick up my new phone on release day?
-
Problems after upgrading to 10.5.2
iv had some problems even since iv upgraded to 10.5.2 yesterday, everything seems to be wrong permissions, like when i need to move something or delete it, even when i have costume access i have to change "all" to "read and right" to get access. And
-
Where can I buy a "boot disc" for my 2008 IMac?
I just got rid of bootcamp from my IMac and when I was updating my IMac (which had not been updated since purchasing it in Aug 2008), the computer restarted and upon restarting a black screen appeared. the screen said to insert a "boot disk" and then
-
Payment terms in vendor master record
Hello, How can I make the payment terms mandatory in the vendor master record? Thanks, Annabelle R.
-
Tech support at my host says that you just have to include files based on their relative path to the running page and that the page must be labeled .shtml. I have created the include file and placed it on the page, it is at "/includes/header.htm" and