Get Query value Technical Name
Hi,
I have ZANALYSIS template and different queries use this template, I have to show a link to download a document. The document will be stored as Query Techincal Name.DOC.
So i need to get QUERY techincal name in runtime to build path, how can i get the query techincal name....using javascript.
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="THIS VALUE WILL BE FROM Bex iview"/>
function buildUrl(){
var url = "http:testbox:50000/irj/km......"document.getElementById("QUERY").innerHTML".DOC";
alert(val);
basically my document path is .."http:testbox:50000/irj/km......"<QUERY TECHNICAL NAME>".DOC"
Iam not gettng the QUERY techincal name..can anyone please help to solve this issue...
iam using NW04's...
Thanks,
Damodhar.
Hi,
I have to get the query value using java script.....
<bi:QUERY_VIEW_DATA_PROVIDER name="DP_1" >
<bi:INITIAL_STATE type="CHOICE" value="QUERY" >
<bi:QUERY value="<b> i need to get this value using java script</b>" />
</bi:INITIAL_STATE>
</bi:QUERY_VIEW_DATA_PROVIDER>
any suggestions ..please..
Thanks,
Damodhar.
Similar Messages
-
While saving Bex query with Technical name, it says Query already existing
Hi,
I am facing a problem. While saving a query withy its technical name (for example ZQYZMPR_01), it says that query is already existing. But when I search for the query in all tabs like Favourites, Roles, Infoprovider It is not found.
I also checked a view V_REP_JOIN. In this view I find Query (ZQYZMPR_01) in MODIFIED version.
I want to use my previous query instead of creating new one.
Suggest, how can I retrieve my previous query that I am unable to search for.Saurabh
Searching with descriptions may lead to confusion as there may be similar descriptions to a query but just one technical name. Check the query 'where used list' you may find answers.
Can you check the query in RSZCOMPDIR ? If the query exist here, it must be there in the system. Do the search with exact technical name ZQYZMPR_01 or ZQYZMPR*, you should be able to find. Do not search in specific areas like roles etc..search directly by inputting the tech. name.
Ferdinando - you can delete the query in RSZDELETE transaction. While doing so, it will prompt for removal from all areas like roles, workbooks etc. Say 'yes' and delete, you will be able to assign the technical name to another query.
Ramesh -
Query Designer: Technical names activated as default
Hello everybody!
I work with the Query Designer v3.5. How can I switch on the technical names automatically. At the moment I must click on the menu item.
Regards, ThomasThomas,
The Technical Names icon is an on/off option. Once you turn it on it stays on til you hit it again.
This applies in the Query Designer, dialogue box for Open - Queries & Workbooks etc.
Regards
Gill -
Query Displaying Technical Name instead of Description
Hello,
Is there a setting in query designer that would cause the query technical name to display when the query is executed instead of the query description? I am using BEx 3.5. When I Save As the query to a different technical name and execute the description shows. I would like the description to show as it does with all other queries.
Any help would be appreciated.
Thanks!
TinaHi Tina,
For me the most convienent way is to create a text variable with customer exit, not ready for input.
Assign this variable to Query description in properties of query. So you can be sure to see the current
technical name after saving the query again, without any additonal actions.
You could even combine this variable with any description desired.
Assuming variable created is Z_COMPID, please add code as follows to user exit:
WHEN 'Z_COMPID'.
L_S_RANGE-LOW = I_S_RKB1D-COMPID.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
Regards
Joe -
How to change Query Description/Technical name of a query
<i><b>Hi</b></i> I have couple of questions with Query name changing.
<b>1)Is it possible to change the Technical name of a query?
If Yes how?
2)I could change the description of a query but when the same query is saved in a role how to change its description?</b>
<i><b>Thanks
Ajay</b></i>hi,
open your query in query designer and use button 'save as' then you can change name description.
Remember that when you change technical name it will be completely new query and you will have to add it to your role.
Regards,
Andrzej -
How to get the non technical query name from table?
Hello,
The table RSZCOMPDIR gives me the list of queries. The field COMPID contains the technical query name.
But how can I get the non technical name of a query? Which table holds this information?
Thanks and Regards,
SheetalHi Sheetal,
You can get this info from RSZELTTXT.
Hope this helps... -
Find technical name of receiving query in RSBBS assignment
Dear Experts,
under transaction RSBBS one can assign sender/receiver details. While the technical name of both sender and receiver are entered when createing the RRI, one can only retrieve a compressed ID (i.e. 46F28FNV1L4H1QENI1KKEKWUCAZPAOPRD) for the receiver in transaction RSBBS.
We would like to find a way to determine the technical name of that particular compressed ID. I have already searched the RSBBS* tables, but I cannot get past the compressed ID (field RONAM) in i.e. table RSBBSQUERY
My question:
- Can you provide me a table/view/program/transaction/... that shows the relationship between senders and receivers by means of technical query names (not ID's)?
- Or can you provide me (step-by-step) the relation between different tables and fields that would allow me to do so?
Kind regards,
PJHi Simon,
thank you for your reply. I have researched your proposal, and I can indeed find the relation between my sender query's technical name ZSENDERQUERY_Q001 and the field RSBBSQUERY-RONAM that looks like this: 46U5CEI2BU3U8P8GZOFWWN3GKAZSD_C03 (Mind the name of the infoprovider at the end!).
This information can also be retrieved from transaction RSBBS, where I can enter 1 senderquery's technical name, and which returns me the associated RSBBSQUERY-RONAM values in the column "Receiver Object". Your contribution allows me to create a view to get this information for multiple sender queries from different cubes.
However, I would like to go one step further. From this RSBBSQUERY-RONAM value I would like to get the target/receiving query's technical name that looks like this "ZRECEIVERQUERY_Q002".
This is my ultimate goal as I need to delete all obsolete queries from the BI system, and the associated jumpqueries. Creating a single list by means of a view would help me a lot.
Kind regards,
Pieter-Jan -
In the info cube insted of description need to display technical name
Hi,
I am displaying my info cube contents.But in the field name insted of description i need tehnical name of the filed to dispaly.can you plz anybody suggest me the solution.
thanks
RajHi Raj,
Use T code : LISTCUBE
you get 2 text boxes, Object type : CUBE
Data Target : cube name
Check the option - Technical names. F8
You get all the technical names in the place of descriptions,
hope this is fine
Regards
sreekanth -
Get domain value range dynamically
Hi all,
I need to create a dynamic method that retrieves the value range (key-value) of a domain.
It is pretty simple to get fixed values using FM DD_DOMVALUES_GET, but how do I manage a value table?
For example:
Field XFELD has fixed values so use DD_DOMVALUES_GET
Fields BUKRS and SPRAS have value tables.
I can get the value table name using FM DDIF_FIELDINFO_GET and retrieve the data from that table. Unfortunately, I can be sure to get the right key field, but I can't be sure to get the right value field, it depends on the value table definition.
BUKRS has T001 that stores the text in field BUTXT of the same instead SPRAS has T002 that stores the text in text table T002T in field SPTXT.
Is there any standard function module that does the trick?
In this thread Gregor Wolf managed it manually using a case statement, but I would avoid it, too many case statements...
Thanks
IvanWhat I am doing is not quite the same but similar - I am dynamically getting the text description when I have a data element and the value of the variable that references that data element.
I was pointed to CL_TEXT_IDENTIFIER which when you pass in the domain and the value magicaly brings back the text description, despite the fact that, as far as I can see, SAP has set up almost every text table slightly differently - sometimes in the main table like T001W or lFA1, sometimes which just the language and the value as a key, sometimes with extra key fields (e.g. MAKT) and sometimes with added organisational key fields e.g. the same GL account have different text descriptions in different chart of accounts.
I think at some stage CASE statements or subclasses are going to have to come into the equation, due to the utter lack of consistency in SAP table defintions.
Cheersy Cheers
Paul -
How to get the query design element meaning with the technical name ?
In BI 7.0 query designer, we got error msg in Transport Connection like:
Object 41PPHH3DICYQ56L2XJGXDRSMT is already being
edited by user_id
Choose 'Display object' or 'Cancel'.
How to check what design element is for 41PPHH3DICYQ56L2XJGXDRSMT? And what could cause the above error?
We will give you reward points!You can collect the query and its elements in the transport connection. The under the technical name you will find this and the element.
Hope this helps.
Kumar -
NOt able to get text value for 0calmonth in the query
hi,
I am not able to get the test for the calmonth in the selection screen of the Query.
i.e If the user enter the value 01/2010 as input in the selection screen. I am not able to get its text Janurary 2010 displayed in the selection screen of the query.
please let me know what could be the reason for this.
regards,
MaheshHi Mahesh,
I regret to inform you there is no option to display the month text.
The system works as designed. The "Key and text" option for the
infoObject is for display the technical name and the description.
I found a customer on SDN which the same doubt and the answer for your
question. Please, check the link below:
0calday text variable
Best Regards,
Des -
Function module to create query view from technical name of the query ?
Hi Experts,
I am trying to create webservice definition using function module.
In this code, I am calling function module 'RSCRMBW_REPORT' which requires query view name ( we can see this in RSCRM_BAPI) as a value for parameter i_reportuid.
For the time being I am hardcoding the value but I need to use a function module which will convert techincal name of query into query view.
Can anyone have any idea about the above requirement? Or is there any other way to solve the problem?
Thanks in advance
Shamkant
Edited by: SHAMKANT SONAWANE on Apr 7, 2009 5:38 AMHi,
You can use FMs CONVERSION_EXIT_GENID_INPUT and CONVERSION_EXIT_GENID_OUTPUT to get query view.
First call FM CONVERSION_EXIT_GENID_INPUT with parameter input as query technical name then it will return Output in the form of GENID .
Pass this GENID as input parameter to FM CONVERSION_EXIT_GENID_OUTPUT to get query view as output.
Eg :
Test for function group RRI5
Function module CONVERSION_EXIT_GENID_INPUT
Uppercase/Lowercase
Runtime: 6,652 Microseconds
Import parameters Value
INPUT Y0IC_C03_Q0018_2
Export parameters Value
OUTPUT 4D1I916ID7TWS1CK27154WYZ8
Test for function group RRI5
Function module CONVERSION_EXIT_GENID_OUTPUT
Uppercase/Lowercase
Runtime: 2,818 Microseconds
Import parameters Value
INPUT 4D1I916ID7TWS1CK27154WYZ8
Export parameters Value
OUTPUT 0IC_C03/Y0IC_C03_Q0018_2
0IC_C03/Y0IC_C03_Q0018_2 is expected query view.
Hope it helps...
regards,
Raju -
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. -
Display technical name of a query in a web template ?
Hi,
I try to display in a basic web template the technical name of my query with a web item. In this order, I have tried to use the web item 'Text Elements' but how could I configure the latter in order to have only the technical name ?
I have selected 'Display General Text Elements' in properties of the web item.
In the property 'List of Text Elements', what is the couple of values that I have to configure ?
Many thanks,
CG.Hi,
What you need to do is, keep a TEXT Web Item in the template.
Then do not tick any of the options under Specific. Instead, go to List of Text Elements. In the first column, select General Text Symbol. In the next column type REPTNAME.
This will give the technical name of the query in the output.
Common text elements:
u2212 technical name of the query (REPTNAME)
u2212 description of the query (REPTXTLG)
u2212 InfoProvider (INFOCUBE)
u2212 key date for the query (SRDATE)
u2212 accuracy of the data (date and time) (ROLLUPTIME)
u2212 the person who wrote the query (AUTHOR)
u2212 the last time the query was changed (date and time)
(MODTIME)
u2212 the last person to make changes to the query (MODUSER)
u2212 current user (SYUSER)
u2212 the last time the query was refreshed (date and time)
(SYUZEIT)
Try this. Hope it helps. -
In the filter the value of text variable is not shown, only technical name.
Hi All,
We have some odd behavior of text variables in the filter screen of key-figures.
After entering values in the variable screen, the report is executed.
Within the report all text variables are filled, with the values entered in the variable screen.
I say all, because we use both sap standard variables &0T_FPER& as customer specific &ZFSCYR&.
When i want to change the key figures showned, i press the filter icon for key-figures (BW 3.5)
In the list shown: existing filtervalues, the textvariables of SAP standard are filled with the value entered in the variable screen. However the customer specific is shown with the technical name (&ZFSCYR&) and not the value.
Has anyone experience with this behavior or even better a solution to prevent this?
As allways, each usefull answer points assigned!
Regards,
RenéHi Rene,
If ur custom text variable is not getting populated then you need to check out the code that u have written in there in CMOD for this and ofcourse if ur using this text variable after report execution then it will definately be in i_step 2.
So best way is to debug your code and check that using code RSRT.
Thanks
Dipika
Maybe you are looking for
-
I am thinking about purchasing a Mac Mini, but I would still like to be able to use my PC. I want to use my monitor, keyboard, mouse, and possibly audio(not a big deal). With the mac mini and my pc, but still keep a DVI connection between my PC and m
-
Hi when i run this query its showing an error ORA_22905 cannot access rows
hi when i run this query its showing an error ORA_22905 cannot access rows from an non nested table item can anyone help me out SELECT DISTINCT SERVICE_TBL.SERVICE_ID , SERVICE_TBL.CON_TYPE, SERVICE_TBL.S_DESC || '(' || SERVICE_TBL.CON_TYPE || ')' AS
-
Asset Intelligence, Inventoried Software is empty
Hi! I've been spending the whole day trying to find a solution to this problem. We have been three people looking at it, verifying every single setting there is, but "Inventoried Software" is still empty. The classes have been marked and the clients
-
Lost System.out.println statements.
Hi I have few system.out.println in my jsp which i am using in my JSP provider channel. but when I look at the portal server's /var/opt/SUNWam/debug/desktop.debug file, none are there.. I looked at the web server's access and error logs too, but it i
-
If I'm being blocked by mozilla firefox from accessing this site. How do I turn off the block?