Query - Comparing Characteristics

In out customer sales area master data there is a default plant or shipping point. We would like to compare the ship point on the delivery to the ship point on the master data to display the delivery's not using the default. Can a query be written to display records that the default plant is not equal to the plant on the delivery. The plant key is alphanumeric. I tried with a formula but it did not work. The cube has the delivery as a line item dimension. I am not sure what other info would be needed.
Any help appreciated.

srinu
I guess am looking for a way to compare 2 characteristics - one characteristic that is an attribute of master data and the other in the transaction data. I am looking for results of the query like this
Delivery #  default Plant     Plant Used
            (from master data)  (from tansaction)
1000            plt1           plt1
1001            plt2           plt3
I would like to only display the delivery 1001 - that delivery used a different plant than the default.
Hope this helps

Similar Messages

  • Query - Compare Goods receipt to AP Invoice

    Can anyone help wiht a query comparing the total of a goods receipt (doctotal) and the total of the AP Invoice it is linked to.
    Display GR docnum, GR docdate, GR doctotal, AP docunum and AP doctotal

    You may check this one first:
    SELECT DISTINCT T1.DOCNUM GRPO#, T1.DOCDATE 'GR Date', T1.DocTotalSy, T3.DOCNUM Invoice#, T3.DocTotalSy
    FROM PDN1 T0
    INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN PCH1 T2 ON T2.BASEENTRY = T0.DOCENTRY
    LEFT JOIN OPCH T3 ON T2.DOCENTRY = T3.DOCENTRY
    WHERE T3.DOCNUM like '[%0\]%'
    Happy New Year!
    Gordon

  • Fiscal Year Period - Query Designer - Characteristics Value

    Hi Experts,
    In query designer, characteristics value for 0FISCPER by default shows value of fiscal year variant V9. But for Fiscal year variant V9, 002.2014 is November 2013.
    Now user want to display the correct period and its description (002.2014 is February 2014) which implies need to use different variant. Please let me how this can be changed.
    Regards
    Suresh Kumar

    Hi Suresh,
    Try this
    Path: Financial Accounting >> Financial Accounting Global settings >> Fiscal Year >> maintain Fiscal year variant (maintain shortened fiscal year)
    Transaction Code: OB29
    Regards,
    Amit

  • Query comparing two version

    Hi ,
    I have a small query comparing two vesions in java . my version like
    *1st one Version Name : swv-ora-tes-4.5*
    *2nd one Version Name :swv-ora-tes-4.6*
    How can we compare this version and 2nd one is latest version
    Regards
    Pattanaik

    Here's something you would have found by yourself in about 15 seconds if you'd bothered to do any work:
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#compareTo(java.lang.String)

  • Compare characteristics in a query

    Hello,
    we have an InfoCube for FI transactional data and a Master data InfoObject for 'Terms of Payment'. We would like to create a query which compares the 'Terms of Payment' values in the transactional data, as booked by users, with the 'should-be' values of 'Terms of Payment' in the master data, i.e. how the value was posted compared to the value that should be posted.
    Using an infoset our query lists the data of the infocube and infoobject for characteristic 'Terms of Payment'.
    However, we would only like to see the values that are not equal to eachother. If 'Terms of Payment' was a keyfigure, we could use conditions or exceptions but the field in question is a characteristic.
    We could run a macro in Excel and run the report in BEx but the requirement is for web.
    Has anyone an idea how we can compare the characteristic values in a query so that only the unequal values are displayed?
    Thank you,
    Florian

    Hi Florian,
    In that case you will have to use virtual Key figure. Include it in the cube. Since, it is populated at query runtime, no need to refresh data in the cube.
    In the BADI u can check the terms of payment from transaction data and master data and if found equal u can set the virtual KF as 1. And then u can apply a condition in the query not to show records where the KF is 1.
    Best Wishes,
    Mayank

  • Crystal Report-BW Query free characteristics missing

    Hello,
    I am working on a crystal report against BW query, I am using SAP menu to build the report. I see that free characteristics not coming into the crystal report.
    Question1: Is this an issue or is it designed to work this way?
    Question2: As an alternative for this In BW query I have changed all the free characteristics into rows, now I am able to see all the fields but the data is becoming flat, when I try to role up the data for cretain fields it does not work correctly. Example: Role up of Rates (%). With database delegation option in webi role up work fine there but what about in crystal?
    Thanks

    Hi,
    you are most likely using the old driver. make sure in the Settings in the SAP Toolbar you activate the option to use the MDX Driver.
    ingo

  • Formula in query for Characteristics?

    Dear all,
    regarding customer service we report on a multicube. The query contains the keyfigures and among other characteristics the "Original confirmend delivery date" ZGUEDATU and the "Actual goods issue date" 0ACT_GI_DTE.
    How is it possible to build a formula to show the difference between those two characteristics in days?
    Thanks in advance for explaining the nessecary steps.
    Marc

    Hi,
    So many tims this question was asked in the forums .So you can get more than required info , if you search the forums.
    Here you need to create 2 formula variables.Both of them should have Replacement path as the preocessing type.
    So one variable should get the Key value of ZGUEDATU and other one should get the key value of 0ACT_GI_DTE.And then use a formula to do the difference above 2 formula varibles.
    With rgds,
    Anil Kumar Sharma .P

  • How to use SAP BEX query Free characteristics in BO Universe?

    Folks,
    I have a BEX query which has lots of objects listed under free characteristics.
    When I create a Universe these objects are not brought in the Universe.
    Is there any way to bring those objects into our Universe?
    Thanks
    Bashir

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/03/24/businessobjects-and-sap-part-5
    Ingo

  • Query with characteristics and NO Key figures

    Hi Everyone,
    I need to create a query with 3 char ... customer segment, customer type, climate zone. All are characteristics and there are no key figures.
    I went through the forum reading similar posts but couldn't figure out the best way.
    It can be done using Replacement path, Create formula variable with replacement path of your characteristic. Some posts also talked about writing some code.
    Like to know the best way of making this query.
    Can you please give me step by step procedure.
    Thanks,
    Kumar.

    I thought, if there are no key figures the query designer might give an error while saving, like "no key figures defined" or something like that. Thats why I came up with the question.
    I still have to document the detail requirement of user and he is not available. So just figuring out all the possibilities.

  • Query - compare answers to the same questions from only ID-X in first table to all ID's in second table

    Hello!
    I am designing a database for a summer exchange school. There are two main tables – Students and Host Families. I am struggling to create a command that would connect any chosen student with possible suitable host families.
    To determine, who is suitable, I created a table of 15 Yes/No questions, which are answered both by students and families. Now I would like to add a command button to the student form to create a query which would (1) search through all of the families and
    their answers and (2) compare these with the ones the chosen student gave (e.g. the student whose form is open). In the end it should (3) list all the families according to number of matching answers and also (4) show where they don’t match.
    Basically, I am completely lost here.
    Any help would be much appreciated! Thank you in advance,
    Vit

    The reason this is harder than it needs to be is because you have violated important database design rules by creating what's called a Repeating Group.
    Rather you should have a couple of tables:
    Stock list of questions:
    tblQuestions
    QuestionID autonumber PK
    QuestionText text(255) required uniqueindex
    Answers given by students:
    tblAnswers_Students
    QuestionID long int required PK
    StudentID long int required PK
    Answer yesno required default=false
    Similar for tblAnswers_GuestFamilies
    Then put the tables on the Relationships diagram, draw the relations, and in the dialog that comes up check the box to enforce the relation.
    Then see if you can figure it out with this correct database design.
    -Tom. Microsoft Access MVP

  • How to display in query Designer in a query the characteristics values of an infoObject in one cell

    Hello Community Members,
    I have query with 3 characteristics and 2 key figures, and
    want to expand the key figures values only with 2 characteristics, and display the different values of the 3. characteristic in the first cell at the corner of the query cell:
              C31,C32             C21                       C22                      C23        
              C33, C34
               C11                  KF11    KF21           KF12    KF22      KF13    KF23
              C12                   KF14    KF24           KF15    KF25      KF16    KF26
              C13                   KF17    KF27           KF18    KF28      KF18    KF28
              C14
    How to set the characteristic C3 in query designer, so that their values will all be displayed in the cell in the corner.
    many thanks for helping
    Arnaud

    Hi Arnaud,
    Your query structure is not dependent on your aggregation level (I guess you are referring to the Exception aggregation or just the results and not AL in IP).
    Number of columns will depend on the combination of C2 and C3 in this case. So columns will not be 6 but 24.
    So I suggest you to create a work book based on two queries. One will just give you the values of C3. Use Macro to take its values and concatenate it and display in a new table along with the data of other query.
    This solution is not flexible as workbooks usually have some restrictions on Bex Features. But your requirement is also not simple.
    Regards,
    Sujit.

  • Compare Characteristics value to calculate keyfigure.

    Hi all,
    I have a characteristics named 0EXTMATGRP , now if the value of this characteristics is "A" then i have to take 1% value , if it is "B" then 2% . Means based on the value of this characteristic i have to take diffrenet percentage for a keyfigure .. How it could be possible in BEX query designer. I did the same thing in another query but in that query i have to check the divison whose values are number but here the values are letters rather than numbers..
    Could anybody hel[p me in this regard ..
    Thanks in advance.

    Hi,
    PLease check out this PDF it might be helpful in your case.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2056ef93-2004-2d10-21ae-f973bb48d7a1?quicklink=index&overridelayout=true
    Regards,
    AL

  • Query regarding characteristics and key figures

    Hi All,
    Can anybody pls tell me in what scenarios a key figure can be used as a attribute of a characteristic?
    what are the scenarios in which each type of DSO can be use?

    Hi,
    Can anybody pls tell me in what scenarios a key figure can be used as a attribute of a characteristic?
    if  your key figure in trasnctional data level it's give you the Fact.
    If you use your key figure in your master data lvel it's give you the present truth.
    Like this you have 0Material and Material price has the attribute of 0Material.
    read below link
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/f470375fbf307ee10000009b38f8cf/content.htm
    what are the scenarios in which each type of DSO can be use?
    We have 3 DSO in BI 7.
    1. Standard DSO : it's contaions 3 tables (New,Active,Change log tables) : If you want overwrite funcationality go for this dso
    2. Direct Update DSO : It's Contaion only Active Table : If you want write some data using with  APD and BAPI go for this dso.
    3. Write Optimized DSO : It's Contaion only Active Table : If you want load mass uploads and stageing purpose we use this dso.
    Hope it helps you.
    Regards,
    Venkat.

  • How to compare two different characteristics at the same time in polestar

    Hi Gurus,
    I would like to analyse the e fashion universe in polestar with comparison of previous year product line with current year product line at the same time.
    is there any way to do that we can compare two years of the product line sales revenue at the same time with comparison chart like 2003 T shirts vs 2002 T shirts 
    in polestar we can compare the two measures at the same time but i want to compare the sales revenue of product lines of two years in a comparison chart at the same time.
    Regards and thanks
    Abid Paul

    Hi Stratos,
    I am actually able to compare the Measures  but i want the comparison between the two different characteristics like this year  productline  vs last year productline at the same time with say one measure like sales revenue or any other.
    Is it possible to compare the both and it should represent in the chart as well at the same time.
    In the polestar i can compare three measures at the same time but i want to compare characteristics like year  2009 productline VS 2008 productline with one measure say sales revenue.
    I would really appreciate if you could help me out.
    Regards and thanks
    Abid

  • What would be the best way to use a list in a textarea to compare to values in a column in a database table?

    I'm trying to move a table from a MS Access database to a datasource online so I don't have to be the only one that can perform a specific task.
    Right now I regularly am having to assess change requests to determine if it impacts the servers my team supports.  Currently I copy and paste the text list into a temporary table in MS Access then hit a button to run a query comparing what was in that list to my server inventory.  Works fine but now I need to move this online so others can do this in a place where we can also keep everyone using the exact same inventory and am planning on using a ColdFusion server.
    So what I believe would be easiest is to create a form that has a textarea where I can just copy and paste what is in the change request and then hit a submit button and go to the next page where it would list all the servers that matched (with all the other info I also need).
    Almost always the info would hit the textarea with a separate row for each server with no other delimiters, etc.
    Example info in textarea:
    servername1
    servername2
    servername3
    What is the best/easiest way in the SQL code on the following page to take the values from the textarea the way they are listed and return results of any that match the server name column from that list?  What CF functions and SQL coding are needed?
    I've done something in the past where I did WHERE Server IN (#PreserveSingleQuotes(Form.ServerList)#)...
    But I had to input 'servername1', 'servername2', 'servername3' in the text box and with how often we'll be copying lists as show above from a text area or from an excel column I'd really like a way to get from the example above to the results I need without having to manipulate.  Sometimes the list I'm comparing against may be 300+ servers and adding that formatting is not desirable.
    Any help would be appreciated.

    So here is a solution I came up with
    <cfoutput>
    <cfset Servers="#StripCR(Form.ServerList)#">
    <cfset Servers2="'#Replace(Servers, "
    ", " ", "All")#'">
    <cfset Servers3="#ToString(Servers2)#">
    <cfset Servers4="#Replace(Servers3, " ", "', '", "All")#">
    </cfoutput>
    Then in the cfquery SQL I used
    WHERE Server IN (#PreserveSingleQuotes(Servers4)#)
    Right now this is working but it seems very cumbersome.  If anyone can come up with a way to simplify this please let me know.

Maybe you are looking for

  • How to implement role control in my WebDynpro application?

    Hi,     I am new to WebDynpro development. And now I create a simple application PMS which uses the WebDynpro Client for client page, Mysql and iBatis for database layer.     Now, I want to add role to my application to control the user accessing iVi

  • IMOVIE 6 won't recognize DV camera while IDVD is encoding or burning

    I am in the process of encoding and burning a dvd in idvd 6. Given the length of this process, I want to also import some video into an imovie 6 project. However, while idvd is encoding, imovie won't recognize my camera. I understand I can stop idvd,

  • I can't use my internet connection. Why?!

    I need a help. I don't know what to do. My 3g is dead and i'm so angry.

  • Why can't i use command F in Notes?

    Hi all, i recently upgraded my to a newer macbook. i used to be able to use command f to search my notes. i'm now using 10.8.2  and for some reason i can't search/find. i hit 'command f' i get the bleep sound. when i look at Edit > Find > Find, the w

  • Urgent..................External third party security provider

    Hello! I am trying to deploy a web module in home OC4j on Oracle application server v.10.3.1.0 using Windows 2003 Active Directory. Knowing that in active directory I have a group whose DN is :CN=Administrators,CN=Builtin,DC=SWSERVER,DC=DGET,DC=COM a