Characteristic Value comparison at query level

HI,
I have to identify the invoices as local or upcountry on the basis of below logic.
if 0customer->region & country = 0plant->region & country then the invoice is considered as Local Otherwise it is Upcountry..
How can i do this at query level ?
If i do  the same at cube level then if a particular cusotmer's region or country is changed then that will not be reflected in the posted data.
Any help will be appreciated.
Thanks

Hi,
Use the replacement path to convet the characteristica and use it in formula and compare using IF statement.
Regards,
Jo

Similar Messages

  • 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.

  • Conflict between Date values at Infocube & Query Level

    Hi Folks,
    I am stuckup with a strange situation and it is:
    The value of date fields are coming correctly at infoprovider level and when i call the same infoprovider at query level the values are totally different.
    Any suggestions in this regard.
    Thanks

    Hi,
    Are you using the same user for running the query and for checking data in InfoProvider, otherwise there might be personal settings difference.
    Execute your query in RSRT and check the output.
    Regards,
    Durgesh.

  • Characterist Value Propagation on Multi-Level

    Hello All.
    I need restrict a characteristic propagation on my multi-level scenary.
    Anyone knows how do that?
    In ECC works fine.
    Version:
    ECC 6.0
    SCM 5.0
    Best Regards
    Marcelo

    More Information..
    The hierarchy is:
    Finished Product > P1 -> P2 -> P3 - > Raw Material.
    There is a PlOrd(R) in P3 material of 4500kg. But This order was created in  ECC6. When CIF creates the order, only 2 characteristics values was migrated. This is correct!!!.
    Well, when i run MRP all characteristic value from the finished product migrated to lower level. Characteristics like packing.
    The dependent demand of lower lever have 4 characteristics from Finished Product.
    SCM see the PlOrd(R), but because this order has only 2 characteristics and depend demand has 4. SCM creates another PlOrder ie Surplus.
    This is why i need to restrict the propagation of the characteristics.
    Thank you and best regards.
    Edited by: Marcelo Kayro Quintão on Mar 11, 2011 12:49 PM

  • 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

  • Ordering Characteristic Values in the order that you restrict them

    Hi SAP Network,
    I have created a BEx query and used up the 2 structures in the Rows area.
    I have then placed a characteristic in the columns area and restricted the characteristic .
    This characteristic in essence acts like a third structure.
    The ordering of the characteristic values when the query is executed is by alphabetical order.
    Are you aware if it is possible to have the same order displayed, as to which you drag the characteristic values onto the characteristic, ie. in the order that you choose.
    Thank you in advance.
    Simon

    Hi there,
    No it is not possible to make the characteristics sort by the order in which you restricted them.
    One weay you could achieve this is by having a sequence navigational attribute (example values: 1,2,3,4,5,6,7 etc)  and in the sorting of your characteristic use sort by attribute.
    Best Regards
    Mark

  • Compare Characteristic Values

    I have run into a situation where I need to compare 2 characteristic values in a query.  I have one characteristic named "Sales PNL" and one characteristic named "Financial PNL".  The values for these characteristics are text like "BREAD" or "CEREAL".  I need to create a query that returns all the rows where "Sales PNL" does not equal "Financial PNL".  So, a row where both characteristics equal each other should not be returned from the query, but a row where one characteristic equals "CEREAL" and one equals "BREAD" should be returned from the query.  Any ideas on how to accomplish this?

    Hi Mark,
    What do these chars have as a Key Value (assuming BREAD is the text value)? And then does Sales PNL 101 (Bread) = Financial PNL 101 (Bread)?
    If yes, then you can create a formula variable that will be replaced with the key value (101). This converts it into a KF and then you can compare the values in a formula to return 0 or 1. Then create a condition on this formula to display the rows as reqd.
    Hope this helps...

  • All Dates displayed for "Characteristic Values" in Query Designer

    Hello Experts,
    We are on BI 7.0, level 13.  I am having an issue within the Query Designer with regards to dates.  I have a write-optimized DSO that contains 3 date fields (for example, ZDATE1, ZDATE2, and ZDATE3).  Each date InfoObject is of type DATS so the system automatically creates it with reference to 0DATE. 
    When I create a query in the Query Designer, on the left hand side, I expand the "Characteristic Values" node under each date field.  The Query Designer shows the same list of values for each of the 3 dates even though they are not valid values posted in the DSO for those fields.
    For example, ZDATE1 only has 1 value posted in the DSO (01/01/2005).
    ZDATE2 only has 1 value posted in the DSO (01/01/2006).
    ZDATE3 only has 1 value posted in the DSO (01/01/2007).
    Bute when I expand the "Characteristic Values" node in the Query Designer, I see ALL THREE values under each date field.  I would expect to only see the 1 value posted for the InfoObject in the DSO.  Also note that each InfoObject is defined to show "Only posted values in InfoProvider".
    It appears that Query Designer will show all values for the reference InfoObject 0DATE instead of the ones posted to the actual InfoObject in the DSO.  If I delete the data in the DSO, the Characteristic Values list still remains because they exist in 0DATE.  Anyone encounter this before?  How can I get the Characteristic Values list to only show posted values for that InfObject?
    Thanks for your help!
    J

    Thanks for the response.  I went into the DSO and right clicked on each of the Date fields.  I looked at the Provider-specific properties and there is the option for "Query Exec.FilterVal" which only restricts what values appear when restricting during execution, not during query creation.
    Is there someplace else I should look or someplace else I can make change to only display posted dates when creating a query?  Thanks!

  • Dump when trying to display characteristic values in QUERY DESIGNER

    Hi Experts,
    Life seems to become a struggle with 7.0 for me :-(.
    My current problem:
    If I try to display characteristic values  in Query Designer (left section of screnn, wthin dimensions) system dumps frequently.
    It's that kind of dump, that doen't help really (to my oponion)_
    What happened?
        The exception 'CX_RSR_X_MESSAGE' was raised, but it was not caught anywhere
         along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_RSBOLAP_BICS_SERVICES======CP' has to be
        terminated.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "UNCAUGHT_EXCEPTION" "CX_RSR_X_MESSAGE"
        "CL_RSBOLAP_BICS_SERVICES======CP" or "CL_RSBOLAP_BICS_SERVICES======CM003"
        "HANDLE_UNCAUGHT_EXCEPTION"
    ... etc.
    BW 79, SP21
    GUI 7100.4.14.3136
    Any ideas?
    Thanks in Advance and Regards
    Joe

    Hi Vikram,
    Thanks for reply. Reinstalling GUI was successful, but - error still occurs. ..
    Regards
    Joe
    Edited by: J.F.B. on May 28, 2010 3:02 PM

  • Hide a row or column for characteristic value # in Query Designer

    Hi gurus,
    I would if we could hide a result row / column if one of the characteristic value is #. The requirement is actually to remove the meaningless row / column from the whole result set. For example, I have a char Material Group in the column. Since not every Material is assigned to a Material Group, I will get the following layout:
    Material_Group A
    Material_Group B
    Material_Group C
    Is it possible to define in query designer so that the column with # will automatically not be displayed?
    Thanks,
    Meng

    Hi Meng,
    I guess we have the same users..
    But there is one thing that is going to make a non sense on the report: if you do not display the "#" for material group, then the total of your query by material group will not be the summation of what is displayed on the screen...and if the user explort the information in Excel (pretty sure they will do so), you will have some calls that your query does not balance....
    Based on that assumption, tell the users to assign a material group to the materials, so that this unassigned column disappears. You could even give them a control report listing all the parts that do not have a material group
    If this is a standard business rule not to have a material group for all parts, then, what you could do is to change the text for empty rows for Material group, then the "#" will disappear and wil be under the text description you defined.
    But keep in mind that your data is made of materials which do not have a material group in their definition, noraml or not ?
    PY

  • Release strategy determination for PO item level characteristic value

    Hi Experts
    I have user material group as release characterstic for PO.
    I have created two line items with two different material groups.
    How the release strategy determination occurs when the two different material groups are linked to two different strategies?
    regards
    ramSiva

    Hi,
    in this case system is NOT able to find the release startegy.
    Please take care of the following explanation (see note 365604)
    o  For OVERALL RELEASE (purchase order and purchase requisition) the
       item fields such as Plant and Material Group will be aggregated
       to header level.
       For example you use Plant/material group
    as one of your characteristics. If all
    items do not belong to the same plant/material group
    then
    *******the relase strategy will not be found***********
    unless you have maintained a blank value as one
    of your allowed values for the characteristic Plant/material group
    . If all items
    belong to the same plant7material group
    then that plant is aggregated to the
    header; if one or more is different then a blank is aggregated to
    the header.
    If you use an overall release strategy all
    characteristics which you have defined in the customizing (CEKKO-MATKL
    must have the same value. If one item has material class x and the
    other y the system does not know with which material class it should
    look for a release strategy. Now the system sets the material class
    to 'blank' and tries to find a release strategy. If you do not have
    defined a blank entry in the customizing (Transaction: OMGS
    : OLME >release procedure for PO > rel. strategy ) the
    system won't find a release strategy.
    you need
    to add a blank value to your allowed characteristic values in your
    release strategy.  To do this you can define a blank value in your
    characteristic (CT04).  On the values screen leave the char.value
    blank and add a description and save.  Now in OMGS you can select
    this value as an allowed value for the characteristic.
    (Example:
    To avoid this you can do the following:
    - go into transaction CT04
    - enter the characteristic 'CEKKO-MATKL'
    - click on the tab 'values'
    - set a flag in 'additional values'
    - in the column 'Char. value' do not enter anything
    - in the column 'Description' enter a text like 'no material class'
    - save this setting
    Now
    - go into transaction OMGS -> button 'release strategy'
    -> button 'classification'
    - double click on CEKKO-MATKL' and set a flag in 'no material class' )
    Please also have a look into the attached note 365604 point  2d).
    BR
    Nadia Orlandi

  • Appending Zeros for Characteristic at query level

    Hi Guys,
    Please find the my requirment below.
    Customer number (say 1234) should be displayed in query output with two zeros prefixed like 001234.
    Is there any way to achieve this at query level.
    Thanks & Regards,
    Fazil

    Hi Fazil,
    I don't think data can be manipulated this way on runtime. You may have to use Virtual Characteristic to achieve the same.
    --Priya

  • Sum up value at query level

    I want to sum up value at query level ]
    at cube level
    Material Year Period Qty
    A 001.2007 100
    B 001.2007 200
    A 001.2007 300
    C 002.2007 400
    at query, I want to show it in this way. How to do that in query? I don't want to make any change in cube.
    Material Year Period Qty
    A 001.2007 400
    B 001.2007 200
    C 002.2007 400
    Thanks.

    Hi,
    You don't need to change cube. Just add year, period and material to row and qty to column.  For period, select 'total' option.
    Viswa

  • Convert characteristic values in key figures in a query

    Hello all,
    i have a query which provides some key figures and also some probabilties (defined as characteristics). I want to multiplicate the probabilities with the key figures and therefore I need to convert the characteristic values for the different probabilities in key figures.
    What is the best wys to do this.
    Any help would be great.
    Best Regards,
    Stefan from Munich/Germany

    Stefan,
    You need to create a formula variable of your characteristic.
    In the Create Formula screen right mouse click on Formula Variable and go through the create process.
    The characteristic needs to stay in your query (you can change it's display to No Display) to pass it's value to the formula.
    Once you have done this you can use the formula Variable in any other formula.
    Regards
    Gill

  • Restrict Characteristic on value range in Query Designer

    Hi,
    In 3.5, it was possible to restrict a filter in the query designer on a value range, even if the start- and end values of that range did not exist in the master data.
    In 2004s, it is possible to restrict single value filters to a non-existing masterdata value. However, for value ranges, this does not seem to be the case. Do you know any workaround for this?
    Regards,
    Daniel

    of course, BI 7.0 support value range for restrict.Please kindly release more information about your case .
    Value Range
    • Instead of selecting single values you can quickly gather multiple characteristic values using this next option. This choice provides the following additional options:
    1. Between
    2. Greater than or equal to
    3. Less than or equal to
    4. Greater than
    5. Less than
    And you can reference following URL on this topic
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm
    Edited by: Brian on Oct 22, 2008 3:08 PM

Maybe you are looking for

  • KT3 Ultra ARU - Restricted Voltages?

    I'm running a MSI KT3 Ultra ARU with an Athlon 1700+ tbred. I was trying to adjust the voltage, but the max I can put it at is 1.6V (the default voltage for my chip is 1.5V). Now, I know the board can go higher for sure, because prior to this tbred,

  • Updated form CS5 to CS5.5 and not playing or recognising media

    Hi, I just upgraded to the new version of CS5.5 and a lot of my media files appear offline / wont load properly and nothing will play back past a few frames in old projects or newly imported files in a new project... this is driving me insane, i've n

  • BEX64 error after updating to CC 2014.1

    I have Premiere Pro CC 2014 in my office, then 2014.1 was release so I was excited to upgrade. Then every project I opened crashes with BEX64 error. Is My specs or something? Intel Core  i7 4770 16gb RAM Intel HD Graphics 4600 please email me at : [e

  • Placing Images on Content Areas in Text

    Hello; I'd like to customize the position of an image on my content area. Adding text- and image-items is no problem, but I can't customize the position of the image so that it is diplayed e.g. on the right-hand side of the text. Adding a text-item a

  • It wont turn on!!!

    OK, so I have the first generation black ipod nano, 2 gig. i have had to reset it in the past (menu and select buttons) multiple times. finally when it really started working, it froze. so i reset it, and it froze during the reset. now it shows nothi