Display Of Material at the Query Level

Dear all,
I have an issue at query level....we have  Material categeorized into
Material types like   1) Raw Materials, ROH
                            2) Intermediate  and INT
                            3 Finished products ..FIN
in Raw materials we want to disply only one Material ..but this Material type has many materials but user need to disply only one meterial XXX and in material Type Inetermediate and Finished Product user needs all the materials ..
i mean i want to display one Material From Raw Materials (ROH) and All materials from Intermediate (INT) and finished products(FIN) ....
Points will be assigned
Regadrs
venu

As mentioned by me below follow the step by stpe procedure:
1) Create a new structure in 'ROWS'.
2) Under the structure create 3 new seletions. (Right Click to see the option)
3) First Selection :- drag the Material and Material Type to right window. Restrict the Material (single one XXX which u mentioned before) and material type ROH
4) Second selection : drag the Material Type and restrict it to INT
5) third Selection:- Drag the Materila type and restrict it to FIN.
Hope I am clear on the above steps...
- Amit

Similar Messages

  • 'Display as hierarchy' in the Query Designer

    Hi,
          Can anyone highlight some points or importance of 'display as hierarchy' in either rows or columns in the query designer. Also could someone put some thoughts on the 'new structure' in the query designer, is it just that we can create some new selection and new formula from the structure or is there any other explanation for its existence. Any kind of explanation would be greatly appreciated.
    Thanks,
    Anjali.

    Hi Anjali,
    display as Hierarchies:
    simply enables you to select and use hierarchies for that InfoObject if available.
    Structures:
    you can create structures with or without keyfigures. Structures give you a great deal of flexibility and consistancy in your reports. Eg. you can create a structure that gives you a drilldown on char selections that are different for each line or column. We use that to "simulate" divisions in a drilldown that we don't have backed up by masterdata.
    Also structures enable you to keep reports consistant by using the same global structure eg. for all Contribution margin reports
    Hope that helped,
    regards,
    michael

  • Displaying dynamic columns in the query output.

    Hello,
    Depending on current quarter output of the query would vary.
    If current quarter is 'Q1'
    O/p : InvQ1  Del  BackQ1  BackQ2  BackQ3  BackQ4
    If current quarter is 'Q2'
    O/p : InvQ1  InvQ2  Del  BackQ2  BackQ3  BackQ4
    If current quarter is 'Q3'
    O/p : InvQ1  InvQ2  InvQ3  Del  BackQ3  BackQ4
    If current quarter is 'Q4'
    O/p : InvQ1  InvQ2  InvQ3  InvQ4  Del  BackQ4
    So, out of 9 columns, 6 columns would display at any given time depending on the current quarter.
    Invoice of 4 quarters, Deliquency and Backlog of 4 quarters.
    I am not getting any way how to display dynamic columns or hide unwanted/blank columns.
    For the time being I have added all 9 columns in the query, and in the output unwanted columns shows blank.
    Can anybody please suggest me how to display only 6 columns in the output depending on current quarter.
    Thanks and Regards
    Shilpa

    Hello,
    This shouldn't be too difficult. Assuming you have a variable with the selected quarter, you may choose to display Inv (whatever that is) for quarters 1 through variable, Del, and Back for quarters variable through 4. You also need a drilldown on quarter in the columns (after the key figure structure). You would probably need to restrict 'Del' on the variable as well if you haven't already done it.
    Best regards,
    Christoffer

  • Displaying long text fron the query designer

    Hi,
    I have a long description for my infoobj I want to display the long desc for the report sohow can this be done from the query designer
    Regards
    Priya

    Hi Prahib,
    Thanks for ur reply
    the problem is I cant see long tetx option when i rc on the infoobj ,but when i ruun my query and say display as i CAN SEE dispaly as long decriptiopn
    why I am unable to see it in query designer

  • Cumulate value at the Query Level

    Hi.
    I have a scenario where the user enters the value for Cal Month. With this the query fetches the value for a key figure for the month (based on last value exception aggregation on CALWEEK). Now with this user entry I need to also fetch the cumulative value (YTD) for the same key figure for all the months till the month entered by the user. Subsequent to that I have to calculate the average value of the YTD Value (Average = YTD Value/Number of months). I can not add another Key Figure for cumulation in the cube as there are many many Key Figures like this. Please suggest.
    Cheers
    Anand

    Thanks Ravi.
    I am not sure I understand. I need to calculate both for the month and YTD using the same user entry - that is the month.
    Basically the variable has to pass one value to the first column and a range to the next like this
    User Entry = CalMonth (mm/yyyy)
    CHAR        Column 1           Column 2
    value           For the month     YTD
    Cheers
    Anand
    Edited by: Anand Nataraj on Oct 28, 2008 4:40 PM

  • How to display DVD timecode to the frame level?

    I know you can advance frame by frame with (assumes DVD
    object is called "mydvd")
    member("mydvd").frameStep(1)
    but.......how do see what frame you see the frames in the DVD
    controller object?
    The DVD object only shows to the nearest sec it seems. Can I
    change this or make a text field that will do it?
    When doing trace (member("mydvd").currentTime), the command
    only shows to the nearest sec. (even though it has the "00" and the
    end for frames.....example 115 sec. = 11500
    I tried this for a custom text field:
    member("mytextfield").text = "" &
    member("mydvd").currentTime
    but this does not work ....it gives an error I was kind of
    expecting to see at least the results of a trace command
    It is strange that you can control a DVD frame by frame by
    not view the frame you are actually on...there has to be a way
    right?
    any help would be great!!!
    thanks

    Anybody have any ideas on this?
    I was thinking that if I could get below to work:
    member("mytextfield").text = "" &
    member("mydvd").currentTime
    then I could create a button that would step a frame and
    would make the text result, (text result + 1) to show a somewhat
    more accurate timecode as I click.
    However this could be off as much as 29 frames if the
    playhead was at 04 sec 29 frames and it reported back 04 sec. as I
    believe it does (at least for reporting back timecode)
    any ideas on you to read the DVD timecode and place into a
    text field....wish I could just add frames feature to the DVD
    control component.
    Kyle

  • How to find the date difference in query level?

    Hi All,
      I have to find the difference between Delivery Date and Posting Date in the query level. Canyou please let me know whether it is possible or not?
    Thanks in advance!!
    Regards,
    Ramanathan.R

    Hello,
    If both infoobjects are key figures , then you can do the calculations. Create new formula and do the calculations.
    If infoobjects are characteristics, then also you can perform the calculations but you can do this by creating a formula variable using replacement path.
    Thanks,
    Praveen Tati

  • Unit Conversion in the Query

    Hello Experts.
    I have a situation where I need the units of quantity to be converted at the query level. For e.g. if the value of the keyfigure is stored in litres in the Cube, then at the time of the query execution this value should be converted in gallons.
    I cannot use the following options in this case:
    1) The Solution for alternate UOM using the How-to guide for the same as the conversion from liters to gallons is not maintained at the material master level in my case
    2) I cannot use the Unit Conversion in the Conversion tab because gallons won't be the only target unit in my report, it will depend on the type of material select by the user.
    Please let me know about the options in this case. Any sort of help is appreciated and points will be duly rewarded.
    Thanks,
    Rishi

    Hi Prasad,
    In both of the ways, there should be only one target unit for them to work which is not the case in my situation. I want only specific material types to be displayed in gallons. If the User selects a different Material type then the target unit will be different.
    Any other possible solution on this one.
    Thanks,
    Rishi

  • Suppressing Leading Zeroes in the Query output

    Hi,
    I have selected a data field(0MATERIAL) as a free characteristics, It displays text and key and the key has leading zeroes.
    In the infoobject 0MATERIAL, ALPHA conversion routine is not selected, I can't change and insert the ALPHA right now because it would end up with reloading a large volume of data in different targets. To avoid this or to reduce the impact, in the reverse way,
    Could it be possible to suppress this leading zeroes at the query level? I was hoping that there would be a change that I could make at the query level, since it is 0Material and am looking at the point of minimal impact.
    Thank You.

    Hi Senthil,
    create InfoObject ZMATERIAL like a copy of 0MATERIAL, delete all the attributes and insert ALPHA conversion.
    Insert this ZMATERIAL like display attribute of 0MATERIAL. In InfoSource for 0MATERIAL map also ZMATERIAL with the same field that is feeding 0MATERIAL (MATNL). In your query insert 0MATERIAL and ZMATERIAL, and then hide 0MATERIAL (you need to insert also 0MATERIAL because ZMATERIAL is only in display), you will see only the values of ZMATERIAL, that is the material without the zeros in front.
    You can also decide to transform ZMATERIAL like navigational attribute, but in this case you have to change all the structure where do you want ZMATERIAL, because you need to flag it like navigational in that specific structure.
    Ciao.
    Riccardo.

  • Changing the Characteristic Values on the Query

    Hello Masters of the BW Domain
    Is there a way to display the values of a characteristic in a report based on a condition?  I have a characteristic called Rebates with only 2 valid values (Y and N).  Instead of showing it as Y and N, I want them displayed as "With Rebate" for Y and "No Rebate" for N.  Is it possible to do this without changing the underlying data in the cube and doing the translation at the query level?  Would it require a user exit to accomplish this?  All the user exits that I've run into only dealt with dates and not with transforming text values.

    As Paolo suggested you can add text for the info object. Else if you are using BW Web Reports you can use the Table API(similar to user exit) to do the conversion.
    case i_iobjm .
      when 'rebates'.
        if i_value = 'y'
          c_cell_content = 'With rebate'.
        elseif i_value = 'N'
          c_cell_content = 'With rebate'.
        endif.
    endcase
    *Please check for the syntax.
    If you are using BEx, VB macros will be an option.
    The best approach will be to store text for the info object.
    Thanks.

  • Exceptional aggregation on Non *** KF - Aggregation issue in the Query

    Hi Gurus,
    Can anyone tell me a solution for the below scenario. I am using BW 3.5 front end.
    I have a non cumulative KF coming from my Stock cube and Pricing KF coming from my
    Pricing Cube.(Both the cubes are in Multiprovider and my Query is on top of it).
    I want to multiply both the KF's to get WSL Value CKF but my query is not at the material level
    it is at the Plant level.
    So it is behaving like this: for Eg: ( Remember my Qty is Non-*** KF)
                   QTY  PRC
    P1  M1      10     50
    P1  M2       0     25
    P1  M3      5      20
    My WSL val should be 600 but it is giving me 15 * 95 which is way too high.
    I have tried out all options of storing the QTY and PRC in two separate CKF and setting the aggregation
    as before aggregation and then multiplying them but it din't work.
    I also tried to use Exceptional Aggregation but we don't have option of  ' TOTAL' as we have in BI 7.0
    front end here.
    So any other ideas guys. Any responses would be appreciated.
    Thanks
    Jay.

    I dont think you are able to solve this issue on the query level
    This type of calculation should be done before agregation and this feature doesnt exist in BI 7.0 any longer. Any kind of exceptional aggregation wont help here
    It should be be done either through virtual KF (see below )  or use stock snapshot approach
    Key figure QTY*PRC should be virtual key figure. In this case U just need to one cbe (stock quantity) and pick up PRC on the query run time
    QTY PRC
    P1 M1 10 50
    P1 M2 0 25
    P1 M3 5 20

  • Exception Condition "Table_not_Exist" raised in query Level.

    Hi,
    I have a Hirarchy data in my Object level as below
    X
    ->   X1
         ->-> X001 (Values or at this level)
    I have created a variable on this object in the query level ( Entry is Optional) and executing the query.then I am getting the error mesage  Exception Condition "Table_not_Exist" raised.
    If I am putting the Variable Value as x* then query is displaying values properly .If i am not giving any values then error is coming. and without variable also executing but values in the output showing X001 lvel.
    So plz get back to me with the solution.
    "Appritiate Your help inadvance"
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 21, 2009 10:59 AM

    Hi,
    Please check the link below:
    http://www.saptechies.com/sap-47-installation-error-ora00942-table-or-view-does-not-exist/
    -Vikram Srivastava

  • Most Recent Document data of the query

    Hi all,
    We have document data attached to a infoprovider,So in the query level, it should display the most recent updated document.But it is showing the previous document data.
    can anyone tell me if any setting is avaialble for this or how to achieve this.
    Please help.
    Thanks in advance!

    Hi rajesh,
    I dint try this solution. but im just guessing. so forgive me if it doesn't work.
    in your report did you try adding the time column and in the forumla give max(time by customer_site)
    thanks,
    Karthick

  • Current date in the query

    Hi Experts,
    I want to display current date in the query in one of the time characterstic which i am including in the data target but i don't want to load anything in the data target but still i want to display the current date in the query only.
    how can i achieve this.
    thanks and regards

    Hi,
    It's a real fcahllenge or a non ABAPer.You have to create  a project in cmod and to assign enhancement RSR00002.
    In component EXIT_SAPMRSRU_001 you will find a couple of includes.
    Please add attached code. Replace  YOURCUBE by the name of your info provider and  YOURIO by the name of desired info object.
    *&  Include           ZXRSRTOP
    DATA: G_POS_YOURCUBE_ YOURIO TYPE I.   
    *&  Include           ZXRSRU02
    DATA: L_S_CHANM TYPE RRKE_S_CHANM.
    DATA: L_SUBRC1 TYPE SY-SUBRC. "execute only, if key figure really used
    CASE I_S_RKB1D-INFOCUBE.
      WHEN 'YOURCUBE'.
        L_S_CHANM-CHANM = 'YOURIO'.
        L_S_CHANM-MODE  = RRKE_C_MODE-NO_SELECTION.
        APPEND L_S_CHANM TO E_T_CHANM.
      ENDCASE.
    *&  Include           ZXRSRZZZ
    FORM USER_YOURCUBE USING I_S_RKB1D TYPE RSR_S_RKB1D
            CHANGING C_S_DATA  TYPE ANY.
    FIELD-SYMBOLS <L_YOURIO>.
    ASSIGN COMPONENT G_POS_YOURCUBE_YOURIO  OF STRUCTURE C_S_DATA TO  <L_YOURIO >.
    <L_YOURIO >.= SY-DATUM.
    ENDFRORM.
    Hope it works.
    Good Luck
    Joe

  • Providing access to Variables in the Query Designer

    Greetings experts and fellow consultants,
    I have a simple question, did a search and did not come up with much of an answer.  Currently, we have a system with a role for BI Power Users in order for them to create ad-hoc queries.  An issue we found was that these power users were not able to view variables within the query designer:
    Under the "Characteristic Restrictions" pane, the variables show up as (Display Not Allowed) under their associated InfoObjects.  This is presenting an issue (understandably) and I would like to provide access for these power users to see the variables.
    My question is, are there any circumstances where I would want to restrict which variables are shown to the power user?  Right now, I plan to allow display access to all variables (via S_RS_COMP+S_RS_COMP1 for those informed on Security).  Just trying to brainstorm on whether there might be scenerios where I would want to hide certain variables.
    Many thanks to all opinions, as always!

    Suresh, in my above post I knew how to enable this.  I just wanted to know in regards to security whether there were any exposures.  Apparently, I could not find any and the changes went through without issue.  The way you enable display of variables in the Query Designer is the following:
    S_RS_COMP:
    RSINFOAREA '*'
    RSINFOCUBE '*'
    RSZCOMPTP 'VAR'
    ACTVT '03'
    S_RS_COMP1:
    RSZCOMPTP 'VAR'
    RSZCOMPID '*'
    RSZOWNER '*'
    ACTVT '03'
    Hope this helps.  Of course, adjust the field values are you see fit but the minimum requirement is that RSZCOMOPTP 'VAR' (Variables) and ACTVT '03' (Display).

Maybe you are looking for

  • How can I put a numeric indicator into a case structure using VI scripting

    I'm using VI scripting and I'm trying to add a numeric indicator inside a case structure.  I'm able to add the case structure and the numeric indicator just fine, but as soon as I specify the case structure as the "owner" of the numeric (as opposed t

  • Monitor backlight comes on briefly, then blanks out

    I'm using a COMPAC PRESARIO laptop that's running WINDOWS XP.  I've had the system 7 years & had a couple viruses that were supposedly cleaned up, but it was done by someone else so I'm not sure of this.  PROBLEM DESCRIPTION & CORRECTION EFFORTS TO D

  • Using FOP from Oracle PL/SQL

    Hello, I'm trying to use Oracle XML DB features in order to get a PDF document and Apache FOP is a very good tool. Can anybody give some code example about FOP from an oracle database (10g) ?? Thanks... Lionel

  • Error R7 245 while importing custom infoobject

    BW Gurus, We are tring to transport infoobjects from DEV to Q environment. Transport fails with return code 12. It cancels job RDDEXECL with error R7245 "InfoObject ZHRLOCAT is not available in version A" and object ramins inactive in Q. Infoobject i

  • Vehicle Identification Number (VIN)

    Hello Experts, We have a scenario where a brand new vehicle is purchased from and OEM, some value additions are made to it and sold to the customers. Here when we purchase the vehicle from the OEM it comes with a VIN. Now my question is how do I make