List variables for query

Hi!
How can i list every query variables created in my BI system?
I would like to see all variables created in BI querys.
Thank´s!

Tables -  RSZGLOBV and RSZELTTXT
Edited by: Srinivas on Jul 22, 2010 10:00 PM

Similar Messages

  • Can we create range variable for Query Key Date

    Hello Gurus,
    Can we create a range variable for Query Key Date ? when I tried to give a range of values for Query Key Date, I am unable to find Range Values option. I found only Single Values.
    so, Please let me know if we can use Range variables for Query Key Date ??
    Thanks in advance,
    Regards,
    Aarthi

    Hi Aarthi,
    This is relevant for the time dependant master data that is being pulled in thw query. Like if you are using a nav attr in the query and this nav attr is time dependant, then which record (from the char master data) is to be pulled into the report, depends upon the key date that you specify.
    The default key date value is the date on which the query is executed, that is <Today>.
    Hope this helps...

  • CF Set form.variable for query and Next/Previous pages error

    I have a CF form with a select that posts to a CF "action" page.
    On the action page I: CFSET ItemNumber=#form.ItemNumber#
    I CFOUTPUT the 'ItemNumber' into the CFQUERY (which is an Inner Join dependant on the '#ItemNumber#')...
    All of the above works just fine and displays the database fields in color alternating rows, per the rest of the code.
    Here's the problem:
    I'm displaying 40 rows on a page per "Next and Previous" code. (CFPARAM name="start" default="1" and CFPARAM name="disp" default="40" along with the rest of the NextN code in the header and body). This does display 40 rows on the page and puts a link at the bottom of the page "Next 40 Rows", etc.
    Note: I'm only querying the database once and using the query (query name="data") to populate the table rows And the NextN code (CFOUTPUT name="data") And (CFIF start + disp GREATER THAN data.RecordCount, etc)...
    The problem happens when you click the "Next 40 Rows" link to display the 2nd page of rows. Since (I'm assuming) this NextN code is 're-reading' the same page from top to bottom, an error is thrown when the code tries to read the CFSET ItemNumber=#form.ItemNumber# at the top of the page.
    With the #form.ItemNumber# on this action page Originally coming from the previous posting of the form to this action page, when the "Next 40 Rows" link is clicked and the NextN code re-reads this action page - the CFSET ItemNumber (#form.ItemNumber) is not getting populated and throws the error...
    I hope I've not made this sound confusing.
    I can get the NextN code to work when I'm just querying the database without "flying in" a form variable. But when I CFSET a variable (#form.ItemNumber#) that is inserted into the query, the second page of the NextN throws an error and doesn't display.
    I would include the page code here but it would be fairly lengthy and, as well, the NextN code is a 'standard' CF code -- I've narrowed the problem down to the above "Element is undefined" (when the page tries to reload from the "Next 40 Rows" link) and am hoping there's a simple fix or another way to display the records in Next and Previous pages.
    Thanks to anyone in advance for shedding light on this.
    - e

    Thank you for the reply, Owain.
    Yes - The Next/Previous at the bottom of the page are hyperlinks.
    <a href="ThisPage.cfm?start=#Evaluate("start + disp")#">
    The following is at the top of the page (and is the variable from the form that I CFOUTPUT in the query):
    <cfparam name="ItemNumberDropdown01" default="">
    <cfset ItemNumber = #form.ItemNumberDropdown01#>
    The error report showed that the "Next Page" hyperlink was reading an undefined variable... although when the "action page" first opens from the form posting to it, it populates the CFSET just fine (per the cfparam and cfset above)... As you mention, the hyperlink clearing the form scope is what causes the error in trying to display the next set of records...
    The form page and the 'action page' are both secure pages with an application page setting the session, etc. Am I at risk in using an URL scope?
    Where would this URL scope be put? (The href is shown above - would the URL scope go in this? - How would this be written?)
    The CFPARAM and CFSET would still exist at the top of the 'action page' and still throw an error wouldn't it or would this be replaced with something else to read the form.variable for this 'first' action page to be displayed?
    Thanks again for the 'education' on this...
    - ed

  • Variable for Query without changing Datamodel

    Hello Experts,
    I need in the Query a variable, which should have inpact on the processing in the user-exit. This variable should no be used directly for constraining data.
    It is an Yes/No variable. And I don't have in my multicube any characteristic which have Yes/No in their domain.
    In such situation I have always added to Multiprovider and Cube an new characteristic and created an variable for this characteristic.
    But I don't like this solution, because this changes in the datamodel are in really not important for the datamodel. It only an work around for getting the possibility of adding a variable.
    Does someone know an better idea for adding variables to query, without changing datamodel like this.
    Thanks
    Wojciech

    Hi Bhanu,
    Not really - I don't want to change Cubes.
    Thanks
    Wojciech

  • Variable For Query Key Date

    Hi All,
    I am using time dependent master data, i want to count number of employees on particular key date for diffferent Orgunits. So i created variable in the query properties for dynamic date selection .I also have other variable - Calendar month.
    If the user enters particular  Calendar Day (21.03.2008), then the report should show the total number of employees for that particular day.
    If the user chooses Cal Year/month  then the report should show the total number of employees for that time frame (12.2007-12.2008).
    When i enter Cal Year/month and execute the system not allowing to execute the report. It says Calender Day is mandatory.
    How can i bypass the calenderday when i choose calyear/month.
    Variable for Key date :
    Char - Calender Day
    Mandatory
    Ready for Input
    Regards
    A.Vasister

    Hi,
    For this work you have to create another 2 variable.
    1. Make your both user entry variables as optional.
    2. Create another 2 variables processing type as user exit.
    3. In the CMOD program, identify which variable contains data.
       - If the user entered month, then in the user exit of Calender day's from date should be
         first day of the month parameter and to    date should be the last date of the month parameter.
       - If the user entered date, then pass corresponding month&year value of the date to calmonth variable.
    Let me know the position.
    Vivek

  • Parsing List  in URL Variable for Query

    Hi, I am sending a url variable as in the following example:
    http://mypage.com/lookup.cfm?var=1001,1002,1003
    I then need to query a database given the string
    "1001,1002,1003" in #URL.VAR# to find all records that contain
    those RecID numbers in my table. Has anyone done this before, and
    if so what is the best way to accomplish this?
    Thanks!

    i tried using the following code, but keep getting an error:
    <cfif listLen(url.var) neq 0>
    <cfquery name="lookup" datasource="#application.dsn#">
    select *
    from INVENTORY_CATEGORIES
    where
    <cfloop list="#url.var#" index="i">
    <cfif isNumeric(i)>
    CATEGORY_ID= <cfqueryparam cfsqltype="cf_sql_integer"
    value="#i#">
    and
    </cfif>
    1=1
    </cfloop>
    </cfquery>
    <cfelse>
    <cfset LOOKUP.recordcount=0>
    </cfif>
    <table border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td> </td>
    <td> </td>
    </tr>
    <cfoutput query="lookup">
    <tr>
    <td> </td>
    <td>#row_id#</td>
    </tr>
    </cfoutput>
    </table>
    The error I am getting is:
    Error Diagnostic Information
    ODBC Error Code = 37000 (Syntax error or access violation)
    [Microsoft][ODBC Microsoft Access Driver] Invalid use of '.',
    '!', or '()'. in query expression 'CATEGORY_ID= Pa_RaM000 and 1=1
    CATEGORY_ID= Pa_RaM001 and 1=1'.
    The error occurred while processing an element with a general
    identifier of (CFQUERY), occupying document position (2:1) to
    (2:54).
    Date/Time: 07/24/06 09:50:54
    Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
    Remote Address: 127.0.0.1
    Query String: var=2042,2045
    Any ideas? Also, please keep in mind that the variables I
    will send across th eurl may also have letters. For example,
    var=m1001,1002,p30014. Thanks!

  • Use Yesterday as variable for Query Filter

    Post Author: rrburton
    CA Forum: WebIntelligence Reporting
    I want to have a query filter that refers to the previous day.  In regular SQL I would use something like "= trunc(sysdate)-1".  I don't see any option for doing it this way in web intelligence, the closest it comes is selecting object and then assigning the Beginning of Last Week item from the System Date table.  What am I missing?

    Post Author: rrburton
    CA Forum: WebIntelligence Reporting
    Nevermind - I figured it out just now.  It isn't very intuitive.  In the Objects and Variables dialog in the SystemDate table there are a bunch of items like 1 day, 2 days, etc. and you select one of those and then in the code it looks like:
    WHERE   PKG_NTD_CONV.TO_ORCL_DATE(TROUBLE_TICKET_ARCHIVE.CREATE_DATE)  =  ( sysdate )-1
    It should say something like 1 day ago, 2 days ago, etc.

  • Variable for Query

    Hai Gurus,
    I have a report which gives all the requisitions with differrent status in the report based on Req. start date.
    In addition to this i got a requirement in the same report where user can enter date interval..
    Based on the user date interval it should populate the req's in the report only with Status ="OPEN".
    My question is can we restrict this status in the Customer Exit.
    If possible how can we achieve that..
    Please let me know if you need any further details..
    Thanks & Regards,
    VJ

    Hi,
    If I got you correctly, you have a report which gives PRs based on user entered Required start date. Now in the same query, you would like to put condition based on status as well.
    You can achieve this in 3 ways.
    1) After executing the query, you can filter the results of query by status 'Open'. This would have to be done after each time the report is executed. This approach wil not need any exits/ transport requests.
    2) Create a characteristic variable on status characteristic. Make the type of this variable as 'Default/ User entry'. Select the option for 'Ready for input' and the variable should be 'Select-option'. You can give default values so that this values are populated when query is executed and pop-up comes up for user to give selection.
    If you have status like 'Open', 'In progress', 'Completed', 'Terminated', then in default values section, you can give value like this
    'Completed' to 'Terminated'
    This would cover all the status. And if query is executed wth this value, PRs would come for all the status.
    If you want the query to be executed for only 'Open' status, refresh the query, again th pop-up would come. Now, you can remove the default values and only give 'Open'. This time it would only give PRs with open status or given date range.
    3) You can do 2nd step but by creating it of customer exit type. Have 'Ready for input' selected. And in customer exit, fill the variable under i_step =1 for all the statuses. therefore, when query is execute, it would come with same default values and you may change them based on your need.

  • Mandatory variables for Query in APD

    Hi,
    I have embedded a query in APD. The query has some mandatory variables. These mandatory variables give an error in APD.
    Error Message: This entry type OP_FPER(mandatory variable) requires you to enter a value
    I can give a variant for the query but I want the user to enter the values for the mandatory variables in the selection screen when the APD is executed.
    My question is,
    1) Is it possible to have a mandatory variable in the query if it is used in APD? If so, then what should I do?

    Hi Anita,
    no, unfortunately APD can not process a variable input screen. All variables need to be filled via query variant, hence the Analysis Process is not dynamic concerning variables.
    Cheers
    Thomas

  • Using Text Variable for Query Description

    hi all,
    I am currently trying to include this text variable in the query properties of the query.
    This text variable should be able to grab the 0CALMONTH as filter to be included into the query properties. but currrently  cannot grab the particular information from the query properties.

    Hi
    If I got your Question properly , You are trying to use Replacement Path Variable .. If it is so
    /people/kamaljeet.kharbanda/blog/2006/12/28/bex-characteristic-variable-with-replacement-path
    http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Hope it helps

  • Recreating List Variables from a section of a CSV text

    Hi -
    We've created a questionnaire that has about 25 sections of various sizes, with a total of about 2000 variables.  Each section has its own list variable (SEC_A, SEC_B, SEC_C, etc.).  Some sections have as few as 5 variables, some have over 100.
    We export all of the data (one list variable for each of the 25 sections...for a total of 25 list variables) to a single comma separated value (CSV) text file. (We append each variable individually into a big list.)
    I need to read the CSV back in and recreate the list variables in Authorware (for use in a future session).
    Is there an easy way to do that?
    Would I read all of the text back into one new temporary list variable (such as TEMP_LIST)? Then I guess I would need break that list backdown into the individual sections (such as SEC_A, SEC_B, SEC_C, etc.).
    Is there an easy way to then reassign that large list to the individual sections?
    Is it easier to have a CSV list, or do I need to adjust that text in Authorware to replace all the commas with returns and then I'd have each data point on a separate line?  (And can I have 2000 lines in a text file? ).  I assume I could read in the long CSV line, replace the commas with returns, export that to a new text file....and take that text file and import it into a list variable?
    Or is it better to just use the CSV file?
    One note though...the fields are not fixed length....they can vary.
    For example, if I knew that between the the 121st comma and the 168th comma were all of the variables for Section C (SEC_C), would I create some sort of loop or manual list to reassign the variables?  (Not good with loops but I could probably create the following pretty quickly in Excel and then paste into a CALC icon.)
    For example,
    SEC_A(#A_01) := TEMP_LIST(#TEMP_VAR_0001)
    SEC_A(#A_02) := TEMP_LIST(#TEMP_VAR_0002)
    SEC_A(#A_03) := TEMP_LIST(#TEMP_VAR_0003)
    ...etc.
    SEC_B(#B_01) := TEMP_LIST(#TEMP_VAR_0042)
    SEC_B(#B_02) := TEMP_LIST(#TEMP_VAR_0043)
    ....etc.
    SEC_C(#C_01) := TEMP_LIST(#TEMP_VAR_0121)
    SEC_C(#C_02) := TEMP_LIST(#TEMP_VAR_0122)
    ...etc.
    Just some thoughts.  If someone could steer me in the right direction, that would be great!
    Have a great day!
    Scott

    Hi -
    I've made some progress so far.
    Here's the code I've used to recreate the list:
    --  Read in the CSV list from text file based on an ID number
         Resume_Data := ReadExtFile(SEC_MISC[#PID]^".txt")
    --Remove Return at end of list
            Resume_Data_CharCount := CharCount(Resume_Data)-1
            Resume_Data:= SubStr(Resume_Data, 1, Resume_Data_CharCount)
    --  Add Brackets
         Resume_Data:= "["^Resume_Data^"]"
    --  Set List
         Resume_Data_List:=List(Resume_Data)
    I'm also using the IOStatus/IOMessage variables, and the EvalStatus/EvalMessage variables.
    I receive an IOStatus of "0" and IOMessage of no error when reading in the text...so I think that is working fine.
    I receive an EvalStatus of "22" and EvalMessage of "...not defined" so I think there's a problem reading in an non-numeric variables.
    For example...my CSV string of data looks like this:
    55555,1,1,2011,2011,02,February,03,03,02032011,40576,2/3/2011,1:44 PM,22,1,1,1,CAPI_2011-02-03_DEMO.......
    I get the EvalMessage saying "Variable 'February' is not defined".  And this happens with any text variable.  It appears to recognize an entire string in between commas, so if the variable had multiple words like "I take vitamin C daily", then the error messages includes the entire string such as "Variable 'I take vitamin C daily' is not defined."
    I'm not sure if that is a problem.
    I would now like to take the string that I've imported and assign each value to a variable.
    Thanks -
    Scott

  • How to use one Bex Variable for two purposes in one query?

    Hi,
    I want to prompt for a UOM in a query. Then I want to use that one UOM variable to do 2 tasks in the query:
    1. Perform a UOM conversion on one restricted key figure (no filtering)
    2. Filter in a second restricted key figure (no conversion)
    How would I use a variable (or two?) to do this? I do not want to have 2 UOM prompts.
    Thanks!
    Gregg

    Oh, it all seems so easy now!  Hindsight 20-20...
    Solution was to create a new input ready variable for Unit.
    1. Restrict the key figures which need restricting using new variable
    2. For conversions, in BI backend us T-code RSUOM and create new conversion type associated with new variable. Then for each key figure needing conversion, set the conversion parameter to use the new conversion type.
    Between both 1 & 2 above, the same variable is used & thus prompted only once.
    Solution works perfectly.... as it should. Hope this helps someone else!

  • Qry:How to get different price for each price list (variable area) in order

    1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
    2- I add a location store from a table in line item and I want to see this area in order,.
    I 'm created 2 field location(item line and order), 1 table location
    I tried this for exemple : select $ [userfieldlocation.OITW]

    Thanks Suda for your answer,
    the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,     
    I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
    read carefully and imagine how (Management warehouse locations)
    I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data  line and an ather user field 'U_Location' in sales order
    I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
    or
    create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
    I think we will use all these tables
    @LOCATION
    PDN1
    OITM
    OITW
    OWHS
    RDR1
    Juste a another question : where you found this and What is: ' 38.1.0 '
    Is it in document (System information):Item=38 Pane=1 ??
    Thanks,
    Ouchen

  • Variable Screen for query view is hidden

    Hi All,
       I caome across an old query in BW 3.5 which is haiving some mandatory variables. There is a query view for the same query but when i am executing the query view i didn't got any variable screen and its running for some predefined value. How one can hide the variable screen for query view.
       How can i achieve the same for a BI 7 query view.  Please guide.
    Regards:
    Jitendra

    Hi Rakesh,
        What you said is right but my concern is that next time when i open the query view variable screen shouldn't appear ie should run with previously stored variable values. I am working with BI 7 query view. Please guide.
    Regards:
    Jitendra

  • How to define variable for value range in Bex Query?

    Hi
    How to define variable for Keyfig. value range on runtime like characteristic in Bex Query?
    Example: On runtime user select one of the following condition:
    1)User want to those records where amount is greater than $1000
    2)User want to those records where amount is greater than $1000 and less than $5000
    3)User want to those records where amount is greater than and equal to $1000

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

Maybe you are looking for

  • ORA-01438 error while inserting the BLOB value in the column

    Hi All, I have created a table with definition: CREATE TABLE stories (id NUMBER(4), story BLOB); Now I am trying to populate this table with some values from other table with: insert into stories select sensitivity_id, multi_value from sensitivity wh

  • Flashing video with composite av cable

    Having some difficulty with my composite av cable. It's been malfunctioning with all my apple devices.  I am getting sound perfect but the video is rapidly flashing and moving at an up and down pace, like it's "tracking" if you remember the old days

  • Add jar for in-memory compilation by Eclipse Compiler

    Hi, I have a question regarding loading a jar file by the compiler to dynamically compile with a source file. I hope someone can probably offer me an idea on what has been missing or wrong with the source codes I have written for my application. I am

  • Numbered bookmarks w/PDFMaker 9 -- is it possible?

    I recently upgraded to Acrobat 9 and now when using Word 2007's PDFMaker, bookmarks have no section numbers darn it. Also, using the same job setting as w/Acro 8, *some* elements (bitmaps) in Visio OLEs in Word 2007 now disappear. Advice welcome

  • Unable to join Unit Cost(Cost table) to Sales Table.

    Hi All, I am beginner for OBIEE technology.May be this question is silly for you but i am facing issue in it.I am mentioning my issue below:- We have two tables one is SALES(Fact Table ) and second one is COST (Fact Table). I want to apply Calculatio