Problema cono la Generación de Query SQVI

Muy buenas Tardes, espero que esten muy bien¡
Tengo un ausnto que no me esta funcinado muy bien con lo querys.
Quiero generar un query  para revisar cuanto me vale una material Obsoleto en mi inventario. Tengo creada una caracteristica en material, en la  vista de clasificiación un material.
Quiero hacer un reporte que me muestre los materiales obsoletos y su valor en mi inventario.
entro por la transacción SQVI, la ejecuto
1.Aqui entro al generador de Querys, le pongo nombre al query y le doy crear.
2.Escribo la descripción y le doy unión de tablas.
Pongo las Tablas
Ausp
Mara
CABN
Despues selecciono los campo caracterisitica en la tabla CABN en la MARA no de MAterial
Cuando  la ejecuto no me trae datos, me dice ningún dato seleccionado.  
Les Agradesco Infinitamente  su ayuda.

Como has hecho las relaciones?

Similar Messages

  • Assigning the query (sqvi) to other ID

    Dear all
    wht are the procrdure for assigning the query (sqvi) to other ID.?
    I have created one query from my ID now i want to assign this query to user ID..

    Dear,
    You cannot assign the Quick View to other user. You need to create a query using the quick view which you created,
    Please follow the steps below.
    You need to create "user group" using transaction "SQ03", first assign your userid to the group and activate check box to have Create/Change authorisation. Now below your name assign the userid who will be using this query.
    Now use transaction SQ01, once you are in the transaction please check whether your are into the "user group" which you created, if not use Shift+F7 to select the user group which you created.
    Now use menu Query-->Convert quick view, a popup screen comes, in that you type the Quick View name which you created in SQVI and your userid or the ID which was used to create. Now you type the new Query Name and Functional area.
    Now your query is ready to be used by users assigned in the user group.
    Hope it will help you.
    Regards,
    R.Brahmankar

  • Mind Boggling Problem: Inconsistent behaviour of a Simple Query

    Hi All,
    I am faced with a with a mind boggling problem, i have designed a query in BEx Query designer, the query is a rather simple one taking date as input and returning two fields one in carton the other in litres (the conversion is a simple formula) on that date. The problem is when i run this query (using BEx Analyzer) on a date for instance 10th of October, the first time it is run it gives the correct result but when i run it again on the same date i.e. 10th of October it gives incorrect result. To fix this i close the Analyzer log off then log on again and then run the query to get correct data; sometimes this works sometimes doesnt.
    I am puzzled pls pls help any one...
    Regards,
    FS

    Check if the issue with query is also present when you run query in RSRT in SAPGUI. You can also review the cache settings in RSRT

  • Problem with Queries Structures in Bex Query Designer and Universe Designer

    Hi everyone,
    I have a problem when i try to do a Universe from a Bex Query Designer.
    When I use a Characteristic Restrictions in a Structure, the universe only show me the structure without the objects inside it.
    EJ:
    1) Bex Query Designer
    Colunms
    (Structure) ZSRT_123
                          - (Characteristic Restrictions) Reg Guayana
    >          (InfoObject)     0Product = 'XXX'
    >          (InfoObject)     0Country = 'YYY'
         - (Characteristic Restrictions) Reg Caracas
    >          (InfoObject)     0Product = 'AAA'
    >          (InfoObject)     0Country = 'BBB'
    Rows
    (Structure) ZSRT_456
                   (Key Figure)     Net Sales
    2) Universe designer
    (Class) ZSRT_456
    >(Measure)      Net Sale
    (Class)     ZSRT_123
    >(Dimension)      ZSRT_123
    The universe dont translate the two Characteristic Restrictions in the structure ZSRT_123.
    Any information would be much appreciated. Thank you.

    Hi,
    I assume that you are using BOE XI 3.1 SP2.
    We have added an option in SP2 to generate or not the L00 level.
    Unfortunately this option applies not only on characteristics but also on hierarchies, hierarchies variables and structures: that's the reason why you have no elements belonging to the structure generated.
    I recommend to always generate L00 in order to have your structure generated correctly.
    This issue will be fixed in SP3.
    Regards,
    Didier

  • Problem with hierarchy variable while displaying query in Portal

    Hi,
    I came up with an problem with a query in the portal.  The problem is :
    I have one query which is displayed in the portal. The Query has hierarchial selection criteria. I am executing the same query using analyzer. Its taking the variable from the selection and displaying it on the analyzer. I have used the option to " display the query on web " from the BEX query designer. From there its opening and displaying the results with the given selection criteria.
    Where as when i open the query seperately in portal, its not displaying the results.
    I came to know from one of my colleague that the porblem is with the Web item and the hierarchial variable declared in WAD  was different from the variable declared in the BEX Query designer.
    I never Worked with WAD. I tried finding out the variable definition. But i was unable to find out where the Hierarchial variable was defined.
    Please help me out regarding the same.

    The problem is sovled.
    Poornima.

  • Problem with combination of two working query formulas

    Hey guys,
    I have a problem in building a formula correctly with the BEx formula logic. I am sure, you can help me with this.
    Right now I have four columns in my query. The first column (Actual) displays actual amounts either in local (10) or reporting (25) currency type depending on the optional selection either in the variable screen or in the free characteristics filter. The second column (Actual with Budget exch. rate) always shows the actual amounts with the budget exchange rate of the reporting currency. The third column (Budget) is build in the same way as the first column, but shows budget amount data. In the fourth column (Variance) the variance between budget and actual data should be calculated, but here lies the problem:
    The formula should differentiate the chosen columns for the calculation depending on what currency type is selected either from the optional variable selection before the query is executed or from the free characteristics filter. So if I select currency type 10 it should calculate the variance by subtracting the budget column from the first column, but if I select currency type 25 it should subtract the budget columng from the second column.
    I have implemented a formula which works already, but not for both selection possibilities (variable screen or free characteristics filter). Either the formula works when I input a currency type in the variable selection screen or when I select a filter value in the free characteristics filter. However, I need to combine both formulas in one working formula so that the user can choose if he wants to filter the currency already in the variable screen in the beginning or in the filter after query execution. Here are the two formulas which I need to get combined into one formula:
    Used Variables:
    VScreen_Selection --> value from the key of the optional Currency Type Variable from the Variable Selection Screen
    Filter_Selection: --> value from the key of the InfoObject Currency Type
    Formula for Variable Screen Selection:
    (VScreen_Selection == 10) * (Budget - Actual) + (VScreen_Selection == 25) * (Budget - Actual with Budget exch. rate)
    Formula for Free Characteristics Filter Selection:
    (Filter_Selection == 10) * (Budget - Actual) + (Filter_Selection == 25) * (Budget - Actual with Budget exch. rate)
    Can you help me to combine both Formulas? I can't believe that this is too difficult. Many Thanks in advance.
    Best Greets,
    Norbert

    Hello.
    Did you try this:
    Formula 1: Hidden
    (VScreen_Selection == 10) * (Budget - Actual) + (VScreen_Selection == 25) * (Budget - Actual with Budget exch. rate)
    Formula 2: Hidden
    (Filter_Selection == 10) * (Budget - Actual) + (Filter_Selection == 25) * (Budget - Actual with Budget exch. rate)
    Formula 3:
    (Filter_Selection <> 10) * (Filter_Selection <> 25) *Formula 1 +
    (VScreen_Selection <> 10) * (VScreen_Selection <> 25)*Formula 2

  • Problem with date format in select query

    Hi
    I am caught by a stupid problem, please help me
    I am writing a queries
    SELECT * FROM VOUCHERS WHERE VDATE = '07-AUG-08'
    SELECT * FROM VOUCHERS WHERE VDATE = '07-AUG-2008'.
    both are working fine in SQL Developer but returning error when called from JDBC Driver.
    First query doesn't return any record while it is supposed to
    Second returns error: ORA-01858: a non-numeric character was found where a numeric was expected
    What i remember, at least second query was working previously but what happend, i dont know
    i didn't change Oracle default datetime format or any other defaults
    Message was edited by:
    W-S

    It is a common issue most people don't realize what Oracle does with a query like this. You're comparing strings to dates. Use TO_DATE to convert your string '07-AUG-08' to a date. If you don't, you tell Oracle to convert the string to a date by itself. It may work sometimes but like you've experienced, it is not a very robust or elegant approach.
    Try something like this:
    SELECT *
    FROM vouchers
    WHERE VDATE = TO_DATE('07-AUG-2008','DD-MON-YYYY').You can even provide a third parameter to TO_DATE, but it's less frequently used. I let you figure it out.
    And a tip: the "urgent" keyword might act against you.

  • Problem using & inside string in a query

    hi all, i have a problem with one of my query.
    i try using an & inside a string in a query and sqlplus and toad prompt me to enter a value. it is reconizing it as input. this is my query
    select department_name from dept where dept_name = 'S&R';
    how can write this query without sqlplus/toad asking me to enter a value for :R
    i tried to escape & by using 'S\&R' but nothing happen.

    In SQL*Plus you SET DEFINE OFF like this:
    SQL> set define off
    SQL> select 'S&R' from dual;
    'S&
    S&R(can't help you with Toad)

  • Problem in Currency field in Abap Query

    hi.
         I have created an additional field for storing the currency type.
         Based on some calculations i want to store the currency type into this additonal field.But the problem is that the currency field is not getting displayed in the report though i am getting the currency type in the additional field when i check it while debugging. Can anyone help me out...

    Vimal,
      Is it ABAP Query problem(SQ01).If yes, then
      In tcode SQ02(Infotype)>press extras button(F5)>In right side you will find 4 tabstrip buttons.Press on Extras--> create variable with same type of currency.
    goto Field group button--> add this field to field groups.
    In record processing event after your calculations assign your value of cuurncy to this new variable.
    In tcode SQ01-->enter query name >F6>F6>F6>select your new varaible
    >Press on basic list button(shift+F4)>left side you will find additional fields Node From there select your new field-->Save come back and execute the query.Now  you will find your variable.
    Don't forget ot reward if useful....

  • Problem with call transaction and a query

    Hi,
    Whe have a query that has its own Z tcode, we are working with this "EXIT_SAPLCORF_103"  within the tcode CO11N. Inside the include "ZXCOFU13" we call the query Tcode and it is displayed on screen but with no data.
    The table "itbdcdata" record well the data of the inputs in the query recording so you can see with the WERKS and the number of reserve (3994) in the recording.
    Why the call transaction display the query screen with no data...? and how can i pass the inputs to the query screen so it be executed.
    Thanks on advance.
    David Fúnez
    Tegucigalpa, Honduras.
    This is the recording:
    AQZZZ_USER_GRMA=Z_QUERY_PP_003     1000X                                                                                BDC_CURSOR     SP$00002-LOW
                                                                BDC_OKCODE     =CRET
                                                                S_WERKS-LOW     1202
                                                                SP$00002-LOW           3994
                                                                %ALV     X
    this is the code in the INCLUDE
    *&  Include           ZXCOFU13
    DATA: itbdcdata TYPE bdcdata    OCCURS 0 WITH HEADER LINE,
          optoption TYPE ctu_params.
    REFRESH itbdcdata.
    CLEAR   itbdcdata.
    itbdcdata-program  = 'AQZZZ_USER_GRMA=Z_QUERY_PP_003'.
    itbdcdata-dynpro   = '1000'.
    itbdcdata-dynbegin = 'X'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_CURSOR'.
    itbdcdata-fval = 'SP$00002-LOW'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_OKCODE'.
    itbdcdata-fval = '=CRET'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'S_WERKS-LOW'.
    itbdcdata-fval = '1202'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'SP$00002-LOW'.
    itbdcdata-fval = caufvd_imp-rsnum.
    APPEND itbdcdata.
    itbdcdata-fnam = '%ALV'.
    itbdcdata-fval = 'X'.
    APPEND itbdcdata.
    CLEAR optoption.
    optoption-dismode = 'A'. "A is visible
    optoption-updmode = 'S'.
    CALL TRANSACTION 'ZRESV' USING itbdcdata OPTIONS FROM optoption.

    problem solved.

  • Having problems creating PDF from website with query-string URLs

    I have a website that I would like to create a PDF from. I am using the Create -> PDF from Web Page..., selecting the site's home page, and capturing 2 levels, with "stay on same path" and "stay on same server" checked in order to limit the scope of the crawl.
    Where the pages are at example.com/foo/ and example.com/foo/bar/, this works fine. However, where the pages are at example.com/foo/ and example.com/foo/?p=1, the page represented by the query string URL is not converted to the PDF.
    This is a problem, given that the site I want to archive as a PDF uses query strings for most of its pages.
    I have been able to individually convert a single query-string-based page into a PDF using this method, but doing this for every page on the site would be almost impossible given the sheer number of pages on the site.
    Is this a known issue? Is there a workaround other than separately capturing each page (which would be prohibitive effort)?
    I have tried this in both Acrobat Pro X and Acrobat Pro 9 for Mac, with the same results.

    Remember, Acrobat is a 32-bit application and as such cannot access all that 'extra' stuff.
    Be well...

  • Problem with choose material in a query

    hello
    I have a simple query and when i'm trying to choose a material in the selection screen it doesn't choose it.
    I make a search for a material and then double click on it and nothing is happen.
    Any idea why??
    thanks

    Itay,
    It is unclear to me exactly what is the nature of your problem.
    I will assume that what you are saying is that you have constructed a query in which MATNR is one of the items you have placed on the selection screen, and when you select something from the F4 help, and you execute the query, that you get no results from the execution of your query.
    Assuming that you have defined an output, this means that the way you have constructed your query, no records satisfy the selection criteria.
    If the above describes your problem, then the next step is to examine the infoset.  What kind of infoset are you using?  Direct Read, Join, or LDB?
    Regards,
    DB49

  • Problem with custom code in infoset query

    Hi,
    I have created a infoset. In the infoset i added a few additional fields and wrote code in the field code for those fields. I saved and generated the infoset. But in the output of the query, i am getting blank values for those additional fields. When i checked the generated program (SE38), the code is not present in the program.
    If anyone has encountered a similar problem and resolved it, please let me know where i am going wrong.
    Thanks.

    Hello,
    After adding the code for additional fields in Infoset, please syntax check and then activate the Infoset. Then the program will be regenerated with your custom code.
    Thanks,
    Venu

  • Problems with German umlaut in OCI query

    Hello,
    I have some problems in getting results, if I search for data with a German umlaut like "ä", "ö" or "ü".
    In SQL*Plus the following query returns on row:
    SQL> SELECT  SYSBE.ID AS SYSBE_ID
      2          , SYSBE.NACHNAME AS SYSBE_NACHNAME
      3          , SYSBE.VORNAME AS SYSBE_VORNAME
      4       FROM  SYS_BENUTZER SYSBE
      5          LEFT JOIN SYS_ABTEILUNGEN SYSAB ON SYSAB.ID = SYSBE.ABTEILUNG_ID
      6        WHERE  SYSBE.STATUS = 'aktiv'
      7           AND ((SYSAB.KUERZEL <> 'SYS') OR (SYSAB.KUERZEL IS NULL))
      8           AND SYSBE.ID NOT IN (SELECT PMPD.MITARBEITER_ID
      9                 FROM  PM_PROJEKT_MITARBEITER PMPD
    10                 WHERE  PMPD.PROJEKT_ID = 26 AND
    11                   PMPD.MITARBEITER_ID = SYSBE.ID)
    12           AND (REGEXP_LIKE(SYSBE.NACHNAME, 'hö', 'i')
    13              OR REGEXP_LIKE(SYSBE.VORNAME, 'hö', 'i'))
    14        ORDER BY SYSBE.NACHNAME, SYSBE.VORNAME;
      SYSBE_ID SYSBE_NACHNAME
    SYSBE_VORNAME
            52 Höfling
    AlexanderIf I execute this from PHP via the oci8.dll no rows will be returned. Yesterday the DBA helped me to trace the query and it looks exactly the same as above.
    Can anyone help?
    Regards,
    Stefan

    Are your NLS environment variables the same on both systems? Were they set prior to starting up Apache/IIS?

  • Need to Add a Table in Existing Query(SQVI)

    Hello All,
    I have a query zqry (in T-Code SQVI) using 2 tables mkpf & mseg, with some List Fields(Result) & some selection Fields(Select options).
    I need to add a new table makt into this existing query.
    Help is highly appriciated.
    Regards
    Arun.

    Hi Arun,
    look here:<a href="http://help.sap.com/saphelp_47x200/helpdata/en/b7/26dde8b1f311d295f40000e82de14a/frameset.htm">QuickViewer</a>
    and note: ...
    "Whenever you define a QuickView, you can specify its data source explicitly. Tables, database views, table joins, logical databases, and even InfoSets, can all serve as data sources for a QuickView. <b>You can only use additional tables and additional fields if you use an InfoSet</b> as a data source."...
    regards Andreas

Maybe you are looking for

  • Error message on important website

    I Get this error message on my login on an improtatnt website. No one can tell me what to do, I have reset my add ons and all that a few times. I need to be on this website I'm trying to access like yesterday so some quick perminent fix would be amaz

  • 3 partitions : MacOSX + Windows XP + Data

    My new MacBook Pro will be here in a week (15-inch, 2.5ghz, 2go SDRAM, 200go 7200rpm, etc.). I'm going to install Windows XP SP2 on it. I've been reading a lot of articles about installing Windows on a MacBook Pro and I guess I'm now familiar with mo

  • Parsing XML with Java - seeking advice for method to pursue

    Hi guys So here's the deal: I want to parse some XML from a server, get all the data I need from it, then shunt that data to the classes that need it. However, I'm really not sure what the best way of parsing the XML is. I've just written a class for

  • How can I stop PDF optimizer killing hyperlinks?

    I have a 10MB pdf 50-page magazine produced from InDesign (CS4) that contains numerous hyperlinks. Using pdf optimizer brings it below 5MB but kills all the hyperlinks. After experimenting, I discovered that hyperlinks to external sites and emails co

  • L fact table

    if u use non cumm kf info cube maintains 3 fact tables F,E,L fact tables. what L fact table contains? if we compress the data in F- table then data goes to E-table, then wat happen to my L-fact table?