Purchase report for Supplier

Hi Experts
I would like to creat a report that shows all items purchased from a specific supplier
amount and price sum per item
I try using the default purchase report in the system but it doesnt show the frozen/non active items.
could you help me with this issue?
thanks & regards.
d.Medalion.

Hi........
You need to use Union All function.......
SELECT T0.DocEntry, T0.[DocNum] As 'PO No.', T0.[DocDate], T0.[DocDueDate],
T5.DocEntry 'DownPayment No.', T0.[CardCode], T0.[CardName], T0.[NumAtCard],
T1.[ItemCode], T1.[Dscription], T1.FreeTxt,T1.[Quantity], T1.Price as 'PO Price',
T4.[PymntGroup] 'Payment terms', T3.DocNum As 'GRN No.', T2.Quantity  As 'Total Rcvd',
T1.[OpenQty], T1.ShipDate FROM OPOR T0  INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
LEFT Join PDN1 t2 On T1.DocEntry=T2.BaseEntry and T1.LineNum=T2.BaseLine LEFT Join OPDN T3 On T2.DocEntry=T3.DocEntry Left Join OCTG T4 On T0.GroupNum = T4.GroupNum LEFT JOIN DPO1 T5 On T5.BaseEntry=T0.DocEntry LEFT JOIN ODPO T6 On T5.DocEntry=T6.DocEntry
Where (T0.Docstatus='[%0]' or '[%0]'='') And (T1.LineStatus='[%1]' or '[%1]'='')
And (T6.Canceled != 'Y' or T6.Canceled Is Null) And T0.CardName='[%2]'
Group By T0.[DocNum], T0.[DocDate], T0.[DocDueDate], T0.[CardCode], T0.[CardName],
T0.[NumAtCard], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[OpenQty], T3.DocNum,
T2.Quantity, T1.Price, T4.[PymntGroup], T1.FreeTxt, T0.DocEntry, T1.ShipDate, T5.DocEntry
Union All
SELECT Null, T0.DocNum, Null, Null,
Null 'DownPayment No.', Null, '', '',
Null, Null, '', Sum(T1.[Quantity]) , Sum(T1.LineTotal)/Sum(T1.[Quantity]) as 'PO Price',
Null, Null, Sum(T2.Quantity)  As 'Total Rcvd',
Sum(T1.[OpenQty]), Null FROM OPOR T0  INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
LEFT Join PDN1 t2 On T1.DocEntry=T2.BaseEntry and T1.LineNum=T2.BaseLine LEFT Join OPDN T3 On T2.DocEntry=T3.DocEntry Left Join OCTG T4 On T0.GroupNum = T4.GroupNum LEFT JOIN DPO1 T5 On T5.BaseEntry=T0.DocEntry LEFT JOIN ODPO T6 On T5.DocEntry=T6.DocEntry
Where (T0.Docstatus='[%0]' or '[%0]'='') And (T1.LineStatus='[%1]' or '[%1]'='')
And (T6.Canceled != 'Y' or T6.Canceled Is Null) And T0.CardName='[%2]'
Group By T0.[DocNum]
Order By T0.DocNum
Regards,
Rahul

Similar Messages

  • Purchasing Report for invoice and stock

    Hi guys,
    in your opinion does it exist a unique report which contains the following informations for suppliers:
    -          invoice codes from supplier not yet paid
    -          POu2019s to supplier not yet delivered
    -          ATH stock at supplier
    At the moment my customer separates informations per supplier  via FBL1N (invoices not paid), ME2L or ME2M (open for delivery), and MB52 (special stock, type O)
    Iu2019m looking for a solution were this 3 information will show on 1 screen by entering the supplier.I have tyed with ME2M but it is not sufficient...
    Thanks in advance best regards
    Massimiliano

    hi,
    What are you trying to get is an Updates from three different area, which are not connected to each other..
    FBL1N will get updated once the Payement is done,
    ME2M would be updated once the GR is done, (ME2M does have any selection Parameter which will include 'Payement done')
    MB52 would be cumulative Stock on Hand (this stock deoesnt link to PO)
    However, you can go for a small Z program to built a customised Report.

  • Purchase reports for components of production BOM Based on Its Sales BOM

    Hi all
    I have sales BOM and the components of Sales BOM are production items having Production BOM and the components of production BOM are purchase items
    My problem is when i create a sales order for my Sales BOM, i should be able to get a report for purchase items that is how much i have to purchase with out using MRP
    pls anyone help me with approbriate queries
    Thanks and Regards
    Boopathi.T

    Hi Boopathi,
    You may try this one:
    SELECT Distinct T1.Code, SUM(T0.Quantity * T1.Quantity) 'PO Qty', T2.DocNum
    FROM dbo.RDR1 T0
    INNER JOIN dbo.OITT T3 ON T3.TreeType = 'S' AND T3.Code = T0.ItemCode
    INNER JOIN dbo.ITT1 T1 ON T1.Father = T3.Code
    INNER JOIN dbo.ORDR T2 ON T2.DocEntry = T0.DocEntry
    WHERE T2.DocNum LIKE '[%0\]%'
    GROUP BY T1.Code, T2.DocNum
    Thanks,
    Gordon

  • Purchasing report for one time vendor

    Hi,
    I am using ECC 6.0
    What standard report is available to display purchase order, GR and invoice belonging to one time vendor (CPD account group) ?
    Thanks for your help.
    Kind regards,
    Yann

    Special GL transactions (like down payments) are not allowed for one-time vendors.  Please refer to the following SAP Note.
    https://service.sap.com/sap/support/notes/19638

  • Purchasing report for orders with GR

    Hi All,
    I need to do reporting on the purchasing values only for PO item with movement type 101,102 and few other related to GR.
    Objective is only PO items where item goods receipt has happened.
    Will the 2LIS_01_ITM do with BWVORG? Or any other extractor needs to be used
    Regards,
    Pal

    You can do it either in data loading level using routine or at Report level.
    I prefer doing it at data load level  ,like manasi said..write routine to filter out unwanted movement types.
    Better keep dso in your model and between dso to cube you write this so that in future you enhance it then you just need to modify the logic between the dso and cube..
    Regards,
    RK

  • Report for Supply/Demand informaion

    Hello,
    we need to know all items which are listed in the supply/demand form.
    I already checked the tables mtl_supply and mtl_demand but without success.
    Does anyone has a sql query for this issue or does ther exist a standard report?
    Thanks in advance,
    Josef

    ANSWER FROM ORACLE SUPPORT
    ==========================
    We do not have a separate script for this. The summarization information displayed in the form is a result of a complicated process where information from multiple cursors is temporarily stored in MTL_SUPPLY_DEMAND_TEMP ONLY when the form is open. When the form is closed, the data in this table is truncated. Please see below:
    INVDVDSD - Troubleshooting Issues With The Inventory Supply/Demand Form [ID 286755.1]
    "How the Data is Gathered to be Displayed in the Form"
    The Form code is responsible only for passing the information about the item to a concurrent manager and then displaying the returned values.
    When the information is passed by the form, it calls the INV Remote Procedure Manager (INV RPC Mgr), which in turn calls a worker to execute the ProC code contained in $INV_TOP/bin/INCTM. The ProC code executes a number of queries (currently 20+) to ascertain the current status of an item from all areas of the transactional system. This information is loaded into the MTL_SUPPLY_DEMAND_TEMP table where it is used by the form to display the data. After the form is closed the data is removed from the table.

  • What is equivalent ASCP report for Planned Order&Order Reschedule Report

    What is equivalent report for Supply Chain Planned Order Report & Supply Chain Order Reschedule Report
    We are currently on MRP and running Supply Chain Planned Order Report successfully. We are planning to go to ASCP(Decentralized) next month ,what is the equivalent reports in ASCP?
    Edited by: SanDan on Jan 9, 2013 1:57 PM

    Hi ,
    You can explore the Planning Detail Report which you can run against your ascp plan. However there are few standard reports available in ascp. I suggest you can explore option of building custom report which will be best suited to your business needs (i.e. using Discoverer or if you are also implementing obiee you can build a custom report based on standard views or noitex views (- for ascp)
    Regards
    narendra

  • Standard report like Supplier/Vendor Ledger in AP R-12?

    Dear All,
    Can anyone let me know standard report like Supplier/Vendor Ledger in AP R-12?
    regards,
    Abdul Hafeez

    Hi,
    You can also try "Account Payable Trial Balance Report" for supplier liability and reconciliation with GL.

  • Report for list of po

    Dear all
          Let me know for List of PO,How to get the following data.
    1. OPen PO
    2.List of Good receipts,With GR done, total GR quantity,
    3.IR done

    Hi,
    Try with T.Code ME2N and selection parameters RECHNUNG. You may also try transaction ME2M or ME2L, you choose selection parameter WE101.
    You can check also PO's Number by following T.Code:
    ME2B POs by Requirement Tracking Number
    ME2C Purchase Orders by Material Group
    ME2J Purchase Orders for Project
    ME2K Purch. Orders by Account Assignment
    ME2L Purchase Orders by Vendor
    ME2M Purchase Orders by Material
    ME2N Purchase Orders by PO Number
    ME2O SC Stock Monitoring (Vendor)
    ME2S Services per Purchase Order
    ME2V Goods Receipt Forecast
    ME2W Purchase Orders for Supplying Plant
    If helpful then rewards.
    Regards,
    Biju K

  • SAP Report for Material purchased from Vendors

    Can anyone tell me if there is a report in SAP that we can use to list all suppliers for a given material?   We are operating in SAP ECC6.0 and need a report that will list all  vendors that the company has used for a given part.   Is there a standard report in SAP that pulls information from purchasing info records?
    Also does anybody know of any SAP consultants that can help us create custom reports?
    Edited by: TonyMart on Oct 20, 2011 2:46 PM
    Edited by: TonyMart on Oct 20, 2011 2:47 PM

    Hi,
         There is not standard report for ageing... You have to develop a custom one if you are talking in terms of GR/IR...
    Raghav

  • Report for open purchase order quantity

    Dear experts,
    Is there any report for showing open purchase order quantity for which goods are not yet received?
    Regards
    babu

    Hi
    ref the blw link which will have the complete sap std reports
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/sapStandardReports

  • Report to view pending Purchase Order for Release

    Hi,
    Is there any sap standard report through which we can view pending Purchase Order for Release.
    Regards,

    Hi,
    you can use transaction ME28, this can give information of pending purchase order for release on release level.
    but this transaction is used for releasing the collective release for purchase order. this is not an report.
    if you want transaction for reporting purpose only, you need to create a report or query on EKKO table. based on release indicator.
    vikas,

  • Centralised Report for Sales/Purchase

    Hi guys,
    One of my client needs a Centralised report for Sales & Purchase for a particular period .
    Like we are mainting multiple taxcodes  like
    BED,eCess,HeCEss,
    VAT 4,VAT 2,VAT12.5,
    VAT10.3,TAXEXEMPTED,ETC...
    So every month they need to know total sales and purchase value in a single report to be displayed respective of each tax code
    lie
    Taxcode 1 = tax Value1,total value
    Taxcode 2 = tax value 2,total value
    Total Sales value = Sum of all tax values, sum of total values
    Total Purchase value = Sum of all tax values, sum of total values
    And  needs Item Wise Sales For Each customer.
    I tried in system defined Sales and Purchase analysis report but our client needs the above type of report..
    Pls give us some solution for this..
    Regards,
    Vams

    Hi VamSam......
    Try the below query for purchase details alongwith tax amt.....
    SELECT T0.[DocNum], T0.[DocDate], T0.NumAtCard As 'Bill No.', T0.[CardName], T1.[Dscription], T1.[Quantity], T1.Price As 'Rate', T1.[LineTotal] As 'Value', T0.[DocTotal] As 'Total Value', (ISNULL((SELECT SUM(T2.QUANTITY) FROM rpc1 T2 WHERE T2.DocEntry=T0.DocEntry),0)) RetQTY, (ISNULL((SELECT SUM(T2.LineTotal) FROM RPC1 T2 WHERE T2.DocEntry=T0.DocEntry),0)) RetValue, (isnull((SELECT SUM((case when upper(t4.STACode) like 'BED%' then T4.TaxSum else 0 end))
          FROM PCH4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) ExciseDuty,
         (isnull((SELECT SUM((case when upper(t4.STACode) like 'eCess%' then T4.TaxSum else 0 end))
          FROM PCH4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) ECess,
         (isnull((SELECT SUM((case when upper(t4.STACode) like 'hes%' then T4.TaxSum else 0 end))
          FROM PCH4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) HEdCess, (isnull((SELECT SUM((case when upper(t4.STACode) like 'VAT%' and t4.TaxRate=12.5 then T4.TaxSum else 0 end))
    FROM pch4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) As 'VAT12.5',
    (isnull((SELECT SUM((case when upper(t4.STACode) like 'VAT%' and t4.TaxRate=4 then T4.TaxSum else 0 end))
    FROM pch4 T4 WHERE T4.DocEntry=T0.DocEntry ),0))VAT4, (isnull((SELECT SUM((case when upper(t4.STACode) like 'VAT%' and t4.TaxRate=2 then T4.TaxSum else 0 end))
    FROM pch4 T4 WHERE T4.DocEntry=T0.DocEntry ),0))VAT2, (isnull((SELECT SUM((case when upper(t4.STACode) like 'CST%' and t4.TaxRate=2 then T4.TaxSum else 0 end))
    FROM pch4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) As 'CST2',
    (isnull((SELECT SUM((case when upper(t4.STACode) like 'CST%' and t4.TaxRate=4 then T4.TaxSum else 0 end))
    FROM pch4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) As 'CST4', T2.TransCat As 'Form No.'  FROM OPCH T0  INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN PCH12 T2 ON T0.DocEntry = T2.DocEntry WHERE (T0.[DocDate]>='[%0]' and T0.[DocDate]<='[%1]')
    Regards,
    Rahul

  • Report for Purchase Orders didnt reach target through ALE

    Hi Experts,
    we are sending Purchase Orders to Third party system using XI.
    But some of the orders when we save its automatically  system generating output medium is PRINT so these orders not going through ALE.
    1)Can anyone please tell me why the system is generating PRINT instead of ALE distribution.
    2) is there any report for how many purchase orders created for the day and how many of them gone through successfull using ALE distribution.
    Answer will be rewarded.
    Kiran

    Hi
    Have you configured the PO Output type/messages with the Medium as 'A'(ALE)
    otherwise the system willd efualt take 1(print) as default medium.
    Check the NAST table entries for that date created Output type of PO's
    for all of them the Medium(NACHA) field should be A
    then all will go through ALE
    check them.
    Regards
    Anji

  • Report for Open Purchase Orders

    how to develop a report which lists all open purchase orders for given period & plant ? plz idoint want coding .. but give me guidlines & suggestions to develop my own  plz tell where could i nstart & end for this report help me sdn
    Edited by: Alvaro Tejada Galindo on Jun 5, 2008 11:32 AM

    Either you can use ME2N with selection parameter WE101 & Scope of list BEST
    or
    Go to SE16
    Use Table EKPO
    Use Filed name ELIKZ
    If you give X list of all the delivery completed items.
    If you leave blank list of all Open PO items will display.
    Report  showing the open Purchase orders
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jun 5, 2008 11:32 AM

Maybe you are looking for

  • Satellite Pro L40 - What is a average battery runtime?

    Hi there, I just recently received my Satellite Pro L40 and am just wondering what the average battery runtime is? Once fully charged it only seems to be able to handle 1hour max. Is this normal? The laptop I had before was the same, but my friends l

  • BOE XI 3.0 SDK connection

    Hi all, I am trying to connect via SDK to BO Edge 3.0, with the following code: import com.crystaldecisions.sdk.exception.SDKException; import com.crystaldecisions.sdk.framework.CrystalEnterprise; import com.crystaldecisions.sdk.framework.CrystalEnte

  • Can we configure the no of days an instance stay in engine db/workspace

    Oracle BPM 10.3 MP2 WL Version Can we configure the no of days , instance needs to stay in engine db after going to end. In process admin, under alengine - services tab - we have Disposer Latency and Instance Expiration properties. If Disposer Latenc

  • HT4623 my installation of itunes 64 keeps getting interupted...and doesnt install..how do i fix this?

    my installation of the latest version of itunes keeps getting interupted how do i fix this??? also i have iphone 3g which i cant update please help

  • Add Filter at the Play Head Position

    Hello. I have a selection of custom filters, saved as favourites. I would like to apply them at different points to a long clip. Is there a way to drag them into position from the favourites library to the timeline without it snapping the filter back