Comparing  prices for a BOM with selling and distribution price

Good day
I have been working on a query to bring information for  a crystal report required by a client they want to compare the finished BOM with the selling price or distribution price of that BOM. I am not understanding a scenario where this BOM is sold to a particular BP price will definitely vary with BP depending on the terms and special prices. Can anyone help me enhance my query  to have valuable results.
SELECT
Distinct T0.Father AS [BOM Product N0.],
T0.Code AS [BOM Item Component],
T2.ItemName AS [BOM  Description],
T0.Quantity AS [Component Qty],
T0.Price AS [Comp Cost],
(Select (t3.Factor * t0.Price * t0.Quantity)
from OPLN t3
where t3.ListName =  '1.selling price' ) [Selling Price],
(Select (t3.Factor * t0.Price * t0.Quantity)
from OPLN t3
where t3.ListName =  '3.distPriceList' ) [Distribution Price],
T0.PriceList AS [Comp Price List],
T1.ListName AS [Price List Name],
T2.AvgPrice
FROM ITT1 T0
INNER JOIN OPLN T1
ON T0.PriceList = T1.ListNum
INNER JOIN OITM T2
ON T0.Code = T2.ItemCode
Where T2.ItmsGrpCod NOT IN (101,110,105)

Hi,
Special price is in OSPP / SPP1 /SPP2 tables. Check the table to find the link.
Thanks,
Gordon

Similar Messages

  • Hello. It can be a iPhone4 accessories for the one with pictures and other things are transferred wirelessly to a TV? Thank you

    Hello. It can be a iPhone4 accessories for the one with pictures and other things are transferred wirelessly to a TV? Thank you 

    You need an Apple TV to be able to wirelessly send pictures etc. from iPhone.
    However you can buy an adapter if you want to connect to a TV
    http://store.apple.com/us/product/MC953

  • Integration documentation for sap sd with fico and mm

    hi Sappers,
    I need Documentation for SAP SD with FICO and MM Module
    its very urgent.
    mail id : [email protected]

    <b>Some basic information :</b>
    FI-MM: The integration between FI-MM happens in T-code: <b>OBYC</b>
      1. When PO is created :
    No Entry -
      2. When GR is posted 
          Inventory Account dr (Transaction Key BSX in OBYC)
                To GRIR account (T.Key WRX in T-code OBYC)
      3. When Invoice is posted
          GRIR account Dr.
          Vendor account  Cr.
      4. Payment made to Vendor
          Vendor A/c Dr
                To Bank Clearing A/c Cr.
    Points to know : Movement Types, Assignment of Movement types to T-keys (T-code OMJJ), Value string (I also need some information on this) , OMWN and OMWB transactions. 
    There is a close integration b/w FI & MM, actually document flows from MM to FI in the following areas such as,
    <u> 1. Movement Types:</u>
    Used to enable the system to find the predefined posting rules determining how the accounts of financial accounting system are to be posted & to update the stock fields in the matrl master data.(Goods Receipt, Goods Issue, etc)
    <u> 2. Valuation Class:</u>
    Assignment of material to grp of gl account, used to determine the gl accounts that are updated as a result of goods movement.
    <u>3. Transaction/Event key:</u>
    Used to control the storage or filing of documents & assignment of documents.Used to differeniate b/w various transactions such as goods movement tht occur in inventory.
    <u> 4. Material Type:</u>
    Each material should assign mtrl type in mtrl master record used to update whether changes made in qty are updated in material master record & change in value also updated in stock account.
    <u><b> FI-SD Integration:</b></u>
    The integration is done in T-code VKOA
    <u>  1. Sales Order Created</u> 
            -No Entry-
      <u>2. PGI done (Goods issue)</u>
          Cost of Goods Sold     Dr (Configured in OBYC GBB T-Key)
               To Inventory Account
    <u>  3. Billing document released to Accounting</u>
            Customer Account Dr.
                  To Sales Revenue Account (ERL T-key in Pricing procedure)
      Note : The GL account is assigned to this ERL in VKOA
    <u> 4. Payment Received</u>
            Bank Clearing A/c Dr
                           Customer A/c Cr. 
    Points to Know : Good to understand the pricing procedure and how the different transaction keys are used like ERL, ERS etc

  • Laptop monitor choice for photo editing with lightroom and photoshop

    Hi,
    i'm going to buy a laptop, mostly for photo editing with lightroom and photoshop use.
    I'm in trouble with the display choice.
    One laptop has LG LP156WF4 or AUO B156HAN01 display, that should be very similar matte ips display with 55%-60% coverage of AdobeRGB. You can find a review in the "Display" section of these link : http://www.notebookcheck.net/Review-Clevo-W650SJ-Schenker-M504-Barebones-Notebook.114329.0 .html
    The other laptop hasAU Optronics B156HW01 V.4 Matte 95%, that is a TN matte display with  95% coverage of AdobeRGB. You can find a review in these link (the display should be the green bar): http://www.anandtech.com/show/4649/mythlogic-pollux-1400-clevos-w150hr-tested/6
    My question is: which one is better for photo editing with photoshop and lightroom?
    Someone says that ips is better because of the fidelity of color reproduction, view angles and contrast.
    Someone, on the other side, says that the TN 95% is better because of the gamut%.
    Can you help me?
    Thanks,
    Marco Grechi

    Macbook pro is out of budget
    Hp assistance said that in italy they don't sell laptop with dreamcolor (i'll call again tomorrow to be sure ) but i think that it would be out of budget (max 2000 euro).
    They said that the best solution for me is the zbook 15 g2 (2300 euro), but they DON'T know brand and model of the display and if i can have SSD + HD inside the zbook 15 g2.
    The laptop with the lg panel costs 1500 euro. the question is; "i know that the lg display is not the best, but is it almost sufficient for my use?". In this way i may save 500/800 to buy a separated display later.
    I have read that dell xps 15 and dell precision m3800 have great display, but they are glossy and very reflective. Is it a big handicap?
    Do you know the 3k 15,6" display Panasonic VVX16T020G00 ? It should be a 8-bit display with 72%NTSC gamut ( http://www.panelook.com/VVX16T020G00_Panasonic_15.5_LCM_parameter_22014.html )
    Do you sugget me a 3k display for photo editing?
    Thanks

  • Build a product, step by step with visuals and updated price?

    Hello all,
    What I'm looking for has probably been covered but I cannot find it in a search because it's akward to describe. It is also possible that what I'm looking for is more of a javascript than flash...but since I'm more familiar with Flash I wanted to start here. I'm hoping to find some sort of a program or generator (willing to pay) that will build a product on the screen based on sub-categories that a customer would choose. Idealy, the following would take place.
    The customer would see a blank base product on the screen
    They would select the color (color would fill the product in the picture)
    They would select additions to be added to the product and those additions would appear as selected.
    The price would update itself with each selection or extra added to the product build
    They could proceed to checkout from there.
    Here is an example (we're not selling shoes) that I believe is more detailed than what we need...but the process is similar. Time is an issue and we have a good understanding of flash design but none of us are advanced or professional actionscripters. Is there a program out there for purchase (if not freeware.....wishful thinking?.) that could give us a template to use for something like this?
    http://shop.vans.com/catalog/Vans/en_US/category/custom-shoes.html#/selectGenderAndSize
    Any help is greatly appreciated.
    Thanks!
    Jay

    i would code that all on one frame using library movieclips to create the visual display.
    the associative arrays would be used to store data about the next part to be selected given the current state of the construction.
    it's pretty hard to be more specific with such a general topic other than saying, i suspect, you will need to hire someone to do this for you.

  • Multiple sales price for a FG with reference to another FG

    Hi All,
    In the following scenario,we need a solution in sales pricing.
    FG Materials: A, B, C
    price of A is X when sold independently.
    price of A is Y when sold along with B in a sales order
    price of A is Z when sold along with C in a sales order
    How do you maintain pricing in the above scenario, and how it is determined is sales order?
    Pl give your suggestions if you have come across above similar situation.
    Thanks in advance.
    Regards
    Prabhu

    Hi Radha Krishna,
    If i understood correctly
    1) price of A is X when sold independently. in this case one material
    2) price of A is Y when sold along with B in a sales order in this case 2 materials A& B
    3) price of A is Z when sold along with C in a sales order in this case 2 materials A & C
    If this is the scenario, why don't you go for Higher Level BOM for 2nd ad 3rd cases.
    In first case you can maintain price for A material independently
    in 2nd, 3rd cases maintain price for BOM item ( HHHH, LLLL) by combination of A & B ( Create New material with HRH component material as A & B, (LLLL - A & C) ]
    I hope your issue may resolve... Pl revert if you have any query other wise if i understand wrongly...
    Regards,
    Duran Samna
    Edited by: Durgaprasadsana on Apr 13, 2010 9:27 AM
    Edited by: Durgaprasadsana on Apr 13, 2010 9:28 AM

  • WorkFlow get triggered even if we set trigger for item update with SPEmailEventReceiver and workflow attached to same Library

    Hi All,
               I have a situation, SPEmailEventReceiver and WorkFlow is attached to same library, WorkFlow is configured to run after item is updated, but soon as the email is received in library the workflow
    is getting triggered, We have a action to create folder with subject and date and put the attachment with the date folder in SPEmailEventReceiver e.g: once a mail is received in library the SPEmailEventReceiver will create a folder with Subject and then Folder
    with Date and then put the attachment in the date folder so hierarchy will be subject folder/Date folder/attachment
    I have tried to alter the SquenceNumber attribute in Feature Element file to 1 and make the Synchronization as synchronous but no luck.

    Hi,
    Here are some articles for your reference:
    Programmatically creating Folders within SharePoint List
    http://www.mindfiresolutions.com/Programmatically-creating-Folders-within-SharePoint-List-487.php
    How to use SPEmailEventReceiver?
    http://kkryczka.wordpress.com/2010/11/05/how-to-use-spemaileventreceiver/
    Attachments disappear with custom email event handler
    http://blogs.msdn.com/b/malag/archive/2009/05/13/attachments-disappear-with-custom-email-event-handler.aspx?PageIndex=2
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Estimated delivery dates for iPad 4 with wifi and cellular UK

    I have ordered the new iPad 32gb With wifi and cellular data and on my account it just says late November. Is there any way to find out a more specific date as I am going away and want to take it with me?? Would I have to ring Apple and ask?

    No one here will know
    I doubt ringing will change anything as Apple
    will update orders as soon as they can see supply to apply to the orders
    You will find the number for UK on the  order document

  • Anyone know of dock for itouch 4 with charging and audio out

    Anyone know of a decent simple dock for itouch4 with charging and audio out? Searched a bit but can't see one. My old Belkin dock connects audio with adaptors out but no charge.

    I know what you mean. I would love to see Google offer the (email pic from mobile) to post like other sites (FLICKER, FACEBOOK, etc) offer. I did sign up for Facebook just to try it out. Worked great, but I really don't care for Facebook itself (or any social sites like it). Would rather just stick with Google's photo albums (also like their iPhone interface into it). All they need is the ability to upload via mobile and I would for sure use them only.

  • SAP query for asset report with retirement and depreciation retirement

    Hi Expert,
    Can anyone tell me in table ADA which filed is holding the figure of retirement and retirement depreciation?
    Thank oyu

    Hi,
    Max.
    For your question you can check the tables ANEP for asset transactions line items and for asset value fields you can check out ANLC.
    I hope this may help you.
    If you have any doubts feel free to ask.
    Regards,
    Pankaj A Bhalerao.

  • Problem with Report and distribution file

    Hi.
    I have a report that create the paycheck for my customer's employe.
    My first group on the report is the email adresse of the employe, so i can cut the report end send it by mail to the said employe.
    95% of the time it's working perfectly. But when i encouter a blank adresse or simply no result (no line return by the query)
    then the report execute, and crash giving me this error.
    access control disabled, clients can connect from any host
    REP-0177: Erreur au cours de l'exécution sur serveur éloigné
    Paramètre de référence 'REFADRCOU' non valide dans la liste de diffusion
    Sorry i did not find the equivalent in english. It say that the email field (REFADRCOU) that i am using for the TO is invalid and make the whole report crash.
    I'm not sure how i could deal with this.
    I had a idea of executing the query before report, in the afterpform, and if i have no result, add a blank line with select XXX from dual for exemple so it would have at least 1 row and won't crash. but it's not very elegant.
    Any idea or suggestion on how i could handle this problem.

    Hi.
    Thanks for answering.
    I solved the problem.
    First I stored the file into a string variable.
    And on that variable I do
    some processes. (Analyze the read
    bytes and add more text to the original file)
    Before I did that processes on
    .Text property on the object.

  • BAPI_PO_CHANGE to update the Price for the line item not updating the Price

    Hi,
    I am using BAPI_PO_CHANGE to update the Price for the line item. This BAPI is not updating the Price. I am using external cummit also, but the BAPI is not updating price.
    I am passing following data to the BAPI.
    Plant: CQ11
    PO                   Material                Price
    4500002142     TEST_BATCH     12
    Please provide suggestion.
    Regards,
    Jubin.

    Hi,
    check this link...this has sample code
    [http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
    Regards,
    Surinder

  • Reg..selling price for same product by sea and air

    Hi
    i have a basic question pl explain me
    my client selling the product to customer two ways by sea and air.if they sell the product by sea that is one cost(say Rs 12).If they sell by sea that's is one cost (say Rs 10),for same customer, how we define in SAP.
    Are we create two customer code for same customer or any other setting is there?
    Thanks&Regards
    Selva

    Hi Selva,
          This is can be configure easily,by selecting field in you condition table (V/03),here you need to select your org elements (Ex: sales org,Disb channel,Customer ) and also shipping type (VSART), and maintain the access sequence and condition type.In VK11 maintain condition record for that and finally you need to specify the shipping type in your sales order shipping tab (Air,Sea) according to that the price will pick form record.
             You may not find VSART (Shipping type) in standard field catalog it should be add from Conditions: Allowed fields,once you add it will come to filed catalog.
    Thanks
    Ram

  • My ipod touch 4th gen battery only lasts for 3 hours with wifi and brightness fully down

    My ipod touch 4th gen battery life if asful only lasts a maxium of 3 hours with wifi turned off and brightness fully down any suggestions?

    You can try restoring the iPod. However, it could be that the battery is going bad.
    Apple will exchange your iPod for a refurbished onewith a new battery for $79. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the followingwill rplace it for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the battery yourself if you are up to it. You can purchace a replacement battery for about $10
    iPod Touch Repair – iFixit

  • What program can i use to place more than one photo on a slide for a slideshow with music and text? I have my show on powerpoint but can I transfer that to imovie or idvd?

    I am trying to put together a slide show for my son's wedding. I would like to put 2 or more pictures on one slide and add music and some text. I tried Powerpoint for the slides but doesn't seem to be able to export to iphoto or imovie. In imovie and iphoto i can only do one picture / slide. Any thoughts? Thanks

    Alternatives to iPhoto's slideshow include:
    iMovie is on every Mac sold.
    Others, in order of price:
    PhotoPresenter  $29
    PhotoToMovie  $49.95
    PulpMotion  $129
    FotoMagico $29 (Home version) ($149 Pro version, which includes PhotoPresenter)
    Final Cut Pro X $299
    It's difficult to compare these apps. They have differences in capability - some are driven off templates. some aren't. Some have a wider variety of transitions. Others will have excellent audio controls. It's worth checking them out to see what meets your needs. However, there is no doubt that Final Cut Pro X is the most capable app of them all. You get what you pay for.

Maybe you are looking for