VAT Value in Purchase Register

Dear Friends,
I have a problem in Purchase Register,  I have made customised Purchase Register , most of my entries in it are going correctly ,except for VAT value in case of Dealer PO, where I dont know the Excise Rate while making the PO, so make PO with rate inclusive of excise , and during MIGO , I mark MRP in the header , & in the item level  I change the Excise assesable value , & enter the excise value,Ecess, SE cess value .
Than I do MIRO of the PO , the excise & the VAT enteries shown during the MIRO by the system , is correct , but when I check the Purchase Register for the VAT value , its calculating the VAT amount on the value exclusive of the excise duty & not inclusive of the excise duty.
Friends can you tell from which table , should I pick the VAT value so that the correct enteries get picked up in the Purchase Register.
Regards,
DGN

Check this links for VAT tables
purchase register
Purchase Register Report
also check this links for VAT Reports
Std t -code for input VAT Register
Purchase and VAT details
Sales tax register and purchase tax register

Similar Messages

  • VAT-Purchase Register

    Hi Experts,
    I have got requirements for a user about VAT purchase register.As I am new to this module....
    Can u please provide me some sample code or any other info. on this....... the details are some thing like this.....
    Internal document reference no.     Internal document date     Inventory Type     PO number     PO date     Vendor     Invoice no. of vendor     Invoice date     Invoice amount     VAT registration No.     CST registration number     State in which Vendor is registered     Value of purchases from out of Gujarat State against C form                    Value of purchases from out of Gujarat State - other than C form                    Value of purchases from Gujarat State                         Import     Purchase from unregistered dealer

    F.12 or S_ALR_87012357 , Hope this reports may fulfill your requirements.

  • Purchase Register Report

    Hi Friends,
             I need to develop the Purchase Register Report with Vendor details, TIN number, Invoice details, E1 purchases with purchase base value and VAT and CST percentages. But Iam new to the Purchase module. I know the basic tables for purchasing. but can anybody guide me the tables for TIN number with VAT and CST percentages and how to proceed?
    Thanking you in advance
    Regards,
    Murali

    I don't know the fields but a few pointers that might be helpful:
    1) Ask your functional analyst - it's part of their job to provide you with the field location or any guidance on that
    2) At least someone should be able to point you where the fields are on the screen. Then you should be able to go the usual route - F1 -> Technical info, etc.
    3) Respective functional forum might be a better place for such questions if for some reason p. 1 and 2 above are not feasible.
    4) You can always use SQL Trace (ST05) to find where the information is being read from or written to. Start the trace, run the transaction, stop the trace and analyze the list. Voila - no need to ask anyone ever again.

  • Purchase register from XL reporter Proplem

    HI
    In purchase register  form as per indian excise dept. in purchase register the fields where need correction are Purchase value(Document),Purchase value(row).
    I need Prchase Value(row)=PurchaseValue(Document) - VAT Paid
    But right now Prchase Value(row)=PurchaseValue(Document)
    How should I do  for the same.
    Thanks & regards
    _Dinesh
    Edited by: Rui Pereira on Jan 27, 2009 3:30 PM

    Hey Dinesh
    That doesn't look like XLR.    You can combine fields if they are in the Metadata or use Get Other Data and bring them in with vLookup.
    Jim

  • How to prepare  Raw metarials item wise purchase register

    Hi,
    I need your assistance regarding for generate of this purchase register report.
    please check link below where i upload xls file of my report.
    http://www.sendspace.com/file/4bmse5
    For making this report all data will come from Vendor info, GRPO info. or OINM table
    Remember, when i put any date range, it will show Opening Qty and OP Value  which one was the Closing Qty and value for last date.
    like put the date range 01-10-2010 and 31-10-2010 and itemname ABC it will show 30-09-2010 closing QTY and value
    for 01-10-2010 Opening QTY and Value
    Please help me about this report.
    Regards,
    Mizan
    Edited by: mizan700 on Jan 26, 2011 4:56 PM

    Hi Mizan........
    Please have a look on this report and just give your Raw Material Item Group Code as condition.....
    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

  • Z report for purchase register

    Hello Friends,
    My client is having Z report for running purchase register. but if he runs reports, conditional values are not flowing to the report.
    Only quantity, amt, net order price, UOM are appearing, vat, duties, freight are not displaying in the report. Please tell me what to do?
    Regards,
    nr s

    Hi,
    For the conditions of freight,etc, you may try picking them from tables KOMV and KOMP for PO conditions. This should help you resolve your problem of conditions not getting picked up and since its a z-program, you may have to check the code written for any hardcoding done.
    Regards,
    Ancy

  • Tax conditions in purchase register report

    Hi all,
    I am developing a Purchase Register Report, I have a small doubt regarding Tax conditions.
    From which tables we will get the Tax Conditions like CST, SERVICE TAX, VAT etc.
    Previously I have developed Purchase Requisition Report,in that I have used the FM    'CALCULATE_TAX_ITEM' to get the Tax Condition Values. But in this purchase register report I am getting wrong values for the same FM.
    Please suggest me.
    Regards,
    Pradeep.

    Hi Pradeep,
    First of all let me clarify that you are generating report for Purchase orders generated or for MIRO posted documents
    If you are generating for purchase orders
    First use FM 'REFRESH_TAX_TABLES' for updating tax tables with latest changes
    Next use FM 'FIND_TAX_SPREADSHEET' to find out tax procedure or schema
    Then use FM 'CALCULATE_TAX_ITEM' to get taxes
    If you are generating report for MIRO documents
    Use BSET table for accounting document generated against MIRO
    Regards
    Krishna

  • Inputs or tables required for customizing purchase register

    Hi,
          I have encountered a problem regarding Purchase Register.
    The requirement of the Client is that, he wants to have the Tax Details populated in the Purchase Register with reference to Tax Code in the Invoice Screen.
    This should happen, once the Client enters the Details related to Invoice Document in the Selection Screen.
    I searched for Table and Field related to Tax code.
    I found the Field for Tax Code and it is MWSKZ.
    But, the Table is a Structure.
    So, please guide me how to find the link so as to fetch the Tax Details with respect to Tax Code in the Invoice Screen?
    Please reply as soon as possible.
    Waiting for your responsw,
    Thanks in advance.
    Thanks & Regards
    Srinivasa M.S
    +91-9910077829
    Edited by: Jeyakanthan A on Jul 4, 2011 4:36 PM

    hi
    Logic For tax register
    Table
    EKBE
    1)     BELNR=MATERIAL DOC= HERE MOVEMENT TYPE  BWART=101
    2) GJAHR=MATERIAL DOC YEAR=2011
           3) BUZEI=ITEM OF MATERIAL DOC=1 and 2
        4)  BUDAT=posting date of material doc=28.2.2011
       5) MENGE=GRN QTY=1 FOR LINE ITEM 1,1 FOR LINE ITEM 2
    FOR ABOVE COMBINATION IN TABLE EKBE
    WE WILL GET FOLLOWING FIELDS
    1)     Po number= =EBELN
    2)     Po line item=10 and 20=EBELP
    TABLE
    EKPO
    NOW PASS THIS FIELD EBELN AND EBELP INTO TABLE EKPO AND GET FOLLOWING FIELDS
    1)     MATERIAL CODE=MATNR
    2)     MATERIAL DICRIPTION=EMATN
    3)     MATERIAL GROUP=MATKL
    4)     ITEM CATEGORY=PSTYP
    5)     ACCOUNT ASSIGEMENT=KNTTP
    6)     TAX CODE=MWSKZ
    7)     PLANT=WERS
    8)     COMPANY CODE=BUKRS
    TABLE
    EKKO
    NOW PASS EBELN FROM EKPO INTO TABLE EKKO AND GET FOLLOWINGS
    1)     VENDOR CODE=LIFNR
    2)     PURCHASING GROUP=EKGRP
    TABLE
    LFA1
    NOW PASS LIFNR FROM TABLE EKKO INTO TABLE LFA1 AND GET FOLLOWINGS
    1)     VENDOR NAME=NAME1
    2)     CITY=ORT01
    TABLE
    MSEG
    NOW PASS  MATERIAL DOCBELNR=
    MATERIAL DOC YEAR=GJAHR=2011
    MATERIAL DOC ITEM= BUZEI=1 AND 2
    PO NUMBER =EBELN=
    PO ITEM NUMBER=EBELP=10 AND 20
    ALL FROM TABLE EKBE AND GET FOLLOWING FIELDS
    1)     PROFIT CENTER=PRCTR
    2)     WBS ELEMNT=PS_PSP+PNR
    TABLE
    RSEG
    PASS FROM TABLE EKPO
    PO NUMBER =EBELN
    PO ITEM =EBELP
    INTO TBALE RSEG AND GET FOLLOWING FIELDS
    1)     INVOICE DOC NUMBER=BELNR=
    2)     FISCAL YEAR=GJAHR=2010
    3)     INVOICE ITEM=BUZEI
    4)     VALUVATION CLASS=BKLAS=7900
    5)     REFERNCE =XBLNR=156
    TABLE
    T025T
    PASS VALUVATION CALSS FROM TABLE RSEG INTO TABLE T025T ,USE LANUAGE KEY EN AND GET  FOLLOWINGFIELD
    1)     VALUVATION CALSS DISCRIPTION=BKBEZ=SEMIFINISH PRODUCT
    TABLE
    BKPF
    NOW PASS BELNR+GHJAR ( 51056016262010) ,FIELD AWKEY OF TABLE BKPF
    FISCAL YEAR=GHJAR INTO TABLE BKPF FROM TABLE RSEG AND GET FOLLOWING FIELDS
    1)     FI DOC NUMBER=5100001482
    2)     FISCAL YEAR=GHJAR=2010
    3)     DOC TYPE=BLART=RE
    4)     DOC DATE=BLDAT=23.2.2011
    5)     POSTING DATE=BUDAT=28.2.2011
    6)     TRASNCTION CODE=TCODE=MIRO
    7)     REFERNCE=XBELNR=156
    TABLE
    BSET
    NOW PASS
    FI DOC NUMBER=BELNR
    FISCAL YEAR=GHJAR=2010
    AND GET FOLLOWING VALUES
    1)     CONDITION TYPE =KSCHL
    A)     VAT=JVRD=12127.29
    B)     JVRN=CST
    C)     SERVICE TAX=JSRT
    D)      ECESS ON SERVICE=JEC3
    E)     HECESS ON SERVICE=JES3
    HERE APPLY LOGIC TAXPS FIELD =1=ONE LINE ITEM FOR BELNR
    Table
    BSAK
    NOW PASS BELNR,GHJAR ,BEART FROM TABLE BKPF AND VENDOR NUMBER LIFNR FROM TABLE  EKKO
    AND PASS THIS INTO TABLE BSAK
    AND GET FOLLOWING FIELDS
    1)     CLEARING DOC NUMBER=AUGBAL
    2)     CLEARING DATE=AUGDT
    I)Logic For excise values flow
    B.E.D,=
    A.E.D=
    S.E.D. =
    ECESS=
    HECESS=
    Pass GRN number From EKBE field MBLNR ,material doc year= MJAHR ,AND BUZEI=ITEM OF MATERIAL DOC=1 and 2
    into table J_1IPART1 and get
    Following
    a)     Excise group=field EXGRP=30
    b)     EXCISE REGISTER TYPE=REGTYP=A
    c)     INTERNAL DOC NUMBER=DOCNO=8100000013
    d)     Year=DOCYR=2011
    e)     ITEM=ZEILE
    TABLE
    J_1IEXCDTL       
    PASS DOCNO, EXGRP, RGTYP,DOCYR,ZEILE  INTO TABLE J_1IEXCDTL        AND GET values
    B.E.D, =field EXBED =8772
    A.E.D=field EXAED
    S.E.D. =field EXSED
    ECESS=field ECS=175.44
    HECESS=field EXADDTAX1=87.72
    TABLE J_1IEXCHDR
    NOW PASS EXGRP AND DOCNO,DOCYR FROM TABLE J_1IPART2  AND VENDOR CODE LIFNR FROM TABLE EKKO INTO TABLE J_1IEXCHDR AND GET FOLLOWING VALUES
    VENDOR ECC NUMBER=EXCCD
    CST NNUMBER=CST NO
    TABLE
    J_1IMTCHID
    CHAPTER ID LOGIC FOR MATERIAL
    From table EKPO
    Pass material number=MATNER and Plant=WERS into table J_1IMTCHID and get following field
    Chapter id=J_1ICHID
    Selection parameter for tax registers
    1)     Company code( mandatory)
    2)     Plant
    3)     Fi doc fiscal year( mandatory=GHJAR)
    4)     Fi doc posting date( mandatory=BUDAT from table BKPF)
    5)     Doc type from table BKPF( Mandatory field BLART)
    6)     Excise group
    7)     Vendor number
    8)     Fi doc number ( BELNR FROM TABLE BKPF)
    9)     Purchasing group
    10)     Material doc =BELNR from ekbe
    11)     Tax code
    HERE
    FISCAL YEAR=2010
    FI DOC PSOTING DATE=28.2.2011
    FI DOC TYPE =BLART=RE
    COMPANY CODE=
    Regards
    kailas
    Edited by: kailasugale on Jul 4, 2011 5:47 PM

  • Purchase Register India Localization

    Hi Experts,
    We are facing a issue in Purchase Register, i have confusion on generating report, there are two dates are available in input parameters, posting date and invoice date, whichever date i am selecting for generating report, the data and figures which i am getting which is not matching with my vat returns for that same period.
    even the purchase returns are not reflecting in purchase register, it should reflect in negative figure in purchase register, now i am confused that this purchase register report is relible or not. can we use it for audit.
    Pls. guide me for the same, i am facing this issue will my all clients.
    Regards
    Kamlesh Vagal
    [email protected]
    Tel : +91 9920691906

    Hi Neetu,
    Do you wish that at all customer site all concern involved in implemtation do the same work ?
    I believe ERP is meant for single entry system, and it should be true for implementation also, why to invest man hours for the same task ?
    I expect it standard reports should be released by SAP, so that speed of implementation improve, we have more nos. of satisfied customers.
    customised reports is all together different and it is understood that it is needed to be developed after study the exact requirement.
    Best Regards,
    Samir Gandhi

  • Purchase Register with Item

    Hi Friends,
                    I want purchase register report in which i can see all row on each docentry, I have a query like
    SELECT
    M.DocNum as 'A/P Invoice No.',
    M.DocDate as 'Inv. Date',
    M.CardName as 'Vendor Name',
    M.NumAtCard as 'Vendor Ref. No.',
    (Select Sum (isnull (LineTotal,0)) FROM pch1 L Where L.DocEntry=M.DocEntry) - isnull (((Select Sum (isnull(LineTotal,0)) FROM rpc1 r Where R.baseEntry=L.DocEntry)),0) as 'Base Amt(Rs.)',
    (SELECT AVG (TaxRATE) FROM pch4 where statype=1 and DocEntry=M.DocEntry) - isnull (((SELECT Sum(TaxRATE) FROM Rpc4 R4 where statype=1 and R4.DocEntry=R.DocEntry)),0) as ' VAT_RATE ',
    (SELECT Sum(TaxSum) FROM pch4 where statype=1 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(TaxSum) FROM Rpc4 R4 where statype=1 and R4.DocEntry=R.DocEntry)),0) as ' VAT(Rs.)',
    (SELECT avg(TAXRATE) FROM pch4 where statype=4 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(Taxrate) FROM Rpc4 R4 where statype=4 and R4.DocEntry=R.DocEntry)),0) as ' CST_RATE ',
    (SELECT Sum(TaxSum) FROM pch4 where statype=4 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(TaxSum) FROM Rpc4 R4 where statype=4 and R4.DocEntry=R.DocEntry)),0) as ' CST(Rs.) ',
    (Select Sum(LineTotal) From pch3 Q Where Q.DocEntry=M.DocEntry) - isnull(((SELECT Sum(Linetotal) FROM Rpc3 R3 where R3.DocEntry=R.DocEntry)),0) AS 'Freight(Rs.)' ,
    (M.DocTotal - isnull(M.PaidToDate,0)) as 'Total (Rs.)'
    from opch M
    LEFT OUTER JOIN pch1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN pch4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN pch5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN pch3 Q ON M.DocEntry = Q.DocEntry
    left outer join RPC1 R On R.Baseentry = L.Docentry
    left outer join RPC4 R4 On R.docentry = R4.Docentry
    left outer join RPC3 R3 On R.docentry = R3.docentry
    left outer join ORPC RP On R.docentry = RP.docentry
    WHERE M.DocDate >= [%0] AND M.DocDate <= [%1] and m.doctype = 'I'
    GROUP BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,
    M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.docentry,R.docentry,RP.Doctotal, M.Paidtodate
    ORDER BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,
    M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal
        My requirement is to show all row items corresponding to docnumber.
    Thanks
    Andy

    Hi Andy,
    Try:
    SELECT
    M.DocNum as 'A/P Invoice No.',
    M.DocDate as 'Inv. Date',
    M.CardName as 'Vendor Name',
    M.NumAtCard as 'Vendor Ref. No.',
    (Select Sum (isnull (LineTotal,0)) FROM pch1 L Where L.DocEntry=M.DocEntry) - isnull (((Select Sum (isnull(LineTotal,0)) FROM rpc1 r Where R.baseEntry=L.DocEntry)),0) as 'Base Amt(Rs.)',
    (SELECT AVG (TaxRATE) FROM pch4 where statype=1 and DocEntry=M.DocEntry) - isnull (((SELECT Sum(TaxRATE) FROM Rpc4 R4 where statype=1 and R4.DocEntry=R.DocEntry)),0) as ' VAT_RATE ',
    (SELECT Sum(TaxSum) FROM pch4 where statype=1 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(TaxSum) FROM Rpc4 R4 where statype=1 and R4.DocEntry=R.DocEntry)),0) as ' VAT(Rs.)',
    (SELECT avg(TAXRATE) FROM pch4 where statype=4 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(Taxrate) FROM Rpc4 R4 where statype=4 and R4.DocEntry=R.DocEntry)),0) as ' CST_RATE ',
    (SELECT Sum(TaxSum) FROM pch4 where statype=4 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(TaxSum) FROM Rpc4 R4 where statype=4 and R4.DocEntry=R.DocEntry)),0) as ' CST(Rs.) ',
    (Select Sum(LineTotal) From pch3 Q Where Q.DocEntry=M.DocEntry) - isnull(((SELECT Sum(Linetotal) FROM Rpc3 R3 where R3.DocEntry=R.DocEntry)),0) AS 'Freight(Rs.)' ,
    (M.DocTotal - isnull(M.PaidToDate,0)) as 'Total (Rs.)',
    L.ItemCode,L.Quantity,L.LineTotal
    from opch M
    LEFT OUTER JOIN pch1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN pch4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN pch5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN pch3 Q ON M.DocEntry = Q.DocEntry
    left outer join RPC1 R On R.Baseentry = L.Docentry
    left outer join RPC4 R4 On R.docentry = R4.Docentry
    left outer join RPC3 R3 On R.docentry = R3.docentry
    left outer join ORPC RP On R.docentry = RP.docentry
    WHERE M.DocDate >= [%0\] AND M.DocDate <= [%1\] and m.doctype = 'I'
    GROUP BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,
    M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.docentry,R.docentry,RP.Doctotal, M.Paidtodate,
    L.ItemCode,L.Quantity,L.LineTotal
    ORDER BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,
    M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal
    Thanks,
    Gordon

  • Purchase register report problem

    Hi experts - please help
    we have a requirement to create a purchase register for material from PO- to Invoice.
    we have PO number -> GRnumber -> Invoice number in our rows . In our keyfigures we have PO Quantity, PO value , GR quantity,GR Value, Invoice quantity and invoice amount .
    Becoz of invoice and GR number relationship which is m: m in our report we see that the key figure values are showing up like
    for 1 purchase order multiple line items , with multiple gr's, with multiple  invoices , becoz of which we see PO quantity field showing like say if it is 30 for 1 PO it is showing 30 for all the invoice numbers in the report which not want , the same case is with Gr quantity and invoice quantity
    PO.no  / po item / gr no / inv number / po quanitity / po value
    1000/10,20,30,40/1000/2000,3000,4000,5000/ 30,30,30,30,30/ 120,120,120,120,120
    this way for 1 PO the report is showing same po quantity based on say if 10 invoices it is showing same P0 Quantity 10 times which is not want and the result row shows up (POvalue *10).
    how to get rid of this situation..
    please suggest any way if anyone has done a similiar report..
    any documents related to such purchase register report is highly appreciated.
    thanks & regards
    krishna

    Hi Krishna,
    Your PO DSO will have records like this.
    PO      Item    POquantity GR Quantity
    PO1      1           100              35
    Your GR DSO will have information as shown below.
    GR Doc      Item      Posting date   GR Quantity   PO     PO Item
    DOC1           1         01.07.2011          20            PO1       1
    DOC2           1         10.07.2011          15            PO1       1
    If the report is based on PO, ( Document date of PO ), then you can show information from the first DSO. If the user wants to have the details of GR documents that constitute GR quantity of 35, you can create a 'Jump to' report on the second DSO and in the RRI Connection map the PO and Item numbers.
    This way you will be able to store the information at different granularity and combine them in reporting.
    Hope this explains,
    Thanks,
    Krishnan

  • Purchase register query based on down payment invoice

    Hai All,
    I am creating an invoice based on purchase order.The vat  tax is being calculated in the downpayment. I want the vat to be displayed in the downpayment invoice as well as the a/p invoice but i m not getting it in the a/p invoice. Pls guide me with the linking of tables to get the query working. I have formatted the fields req but could not link the tables...Pls guide me with that...
    Thanks & Regards,
    Neela

    Hi Neela,
    Check the thread.
    Re: Purchase register query based on down payment invoice
    FROM PCH1 T0
    INNER JOIN OPCH T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    LEFT OUTER JOIN PCH12 T3 ON T1.DocEntry = T3.DocEntry
    LEFT JOIN ODPI T4 ON T1.CardCode = T4.CardCode
    INNER JOIN DPO1 T5 ON T0.ItemCode = T5.ItemCode
    Close the thread, if issue solved.
    Regards,
    Madhan.

  • Vendorwise Purchase Register

    Hi Gurus,
    Is there any standard report / Tcode for Purchase register. I wanna know purchases done from all venders for the financial year. Be it cleared item or open item, I want to know it in same report.
    Madhu.

    Hi,
    Use Transaction code ME2L, choose ALV and enter the document from and to date.
    there are few check box options, choose closed PO. then system will display the open and cleared items. in this report you can check where the PO is delivered or not yet, Invoiced or not yet with values.
    Regards,
    Padma
    Edited by: Padma J on Jun 23, 2009 10:19 AM

  • Customized Query for purchase register

    Hi All,
    I need a query for purchase register which gives excise information with biferication.
    OPCH, PCH1, ORPC, RPC1 and IEI4
    In excel reporter we get the purchase register report But excise amount does not come in that report.
    So, I need Customised report for that.
    Regards
    Shashi

    hi shashi,
    SELECT M.DocNum AS 'AP Inv. #', M.DocDate as 'Date', M.CardName as 'Vendor Name',M.NumAtCard as 'Bill No. & Dt.',
    (Select Sum(LineTotal) FROM PCH1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-90 and DocEntry=M.DocEntry) as 'ED (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=7 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=10 and DocEntry=M.DocEntry) as ' CVD (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=5 and DocEntry=M.DocEntry) as ' Ser.Tax (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=6 and DocEntry=M.DocEntry) as 'CS on Ser.Tax (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=8 and DocEntry=M.DocEntry) as 'HECS_ST (Rs.)',
    (Select Sum(LineTotal) From PCH3 Q Where Q.DocEntry=M.DocEntry) AS 'Freight (Rs.)',
    M.WTSum AS 'TDS (Rs.)',
    M.DocTotal as 'Total (Rs.)'
    FROM OPCH M LEFT OUTER JOIN PCH1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN PCH4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN PCH5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN PCH3 Q ON M.DocEntry = Q.DocEntry
    WHERE (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]') AND (T.TrgetEntry = ' ')
    GROUP BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.[DiscSum],M.WTSum,M.DocTotal
    ORDER BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.[DiscSum],M.WTSum,M.DocTotal
    Jeyakanthan

  • Purchase Register query

    Hi
    I wrote query for Purchase register
    SELECT M.DocNum AS 'AP Inv. #', M.DocDate as 'Date', M.CardName as 'Vendor Name',M.NumAtCard as 'Bill No. & Dt.',L.ItemCode, L.Dscription,
    (Select Sum(LineTotal) FROM PCH1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-90 and DocEntry=M.DocEntry) as 'ED (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=7 and DocEntry=M.DocEntry) as 'ACD (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-55 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=10 and DocEntry=M.DocEntry) as ' CVD (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=5 and DocEntry=M.DocEntry) as ' Ser.Tax (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=6 and DocEntry=M.DocEntry) as 'CS on Ser.Tax (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=8 and DocEntry=M.DocEntry) as 'HECS_ST (Rs.)',
    (Select Sum(LineTotal) From PCH3 Q Where Q.DocEntry=M.DocEntry) AS 'Freight (Rs.)',
    M.WTSum AS 'TDS (Rs.)',
    M.DocTotal as 'Total (Rs.)'
    FROM OPCH M LEFT OUTER JOIN PCH1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN PCH4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN PCH5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN PCH3 Q ON M.DocEntry = Q.DocEntry
    WHERE (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]')
    GROUP BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.ItemCode,L.Dscription
    ORDER BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal
    I want the row level amount for Base amount field But it is giving me the total amount including every line item. excluding of tax.
    Same with the tax amount. I tried removing sum but it is not helped
    Regards
    Shashi
    Edited by: shashi mantripragada on Dec 29, 2008 10:11 AM
    Edited by: shashi mantripragada on Dec 29, 2008 12:05 PM
    Edited by: shashi mantripragada on Dec 29, 2008 2:14 PM

    Hi Shashi,
    You could use this query for tax amount and row level base amount
    SELECT M.DocNum AS 'AP Inv. #', M.DocDate as 'Date', M.CardName as 'Vendor Name',M.NumAtCard as 'Bill No. & Dt.',L.ItemCode, L.Dscription,L.LineTotal,L.vatsum,
    (Select Sum(LineTotal) FROM PCH1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-90 and DocEntry=M.DocEntry) as 'ED (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=7 and DocEntry=M.DocEntry) as 'ACD (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=-55 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=10 and DocEntry=M.DocEntry) as ' CVD (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=5 and DocEntry=M.DocEntry) as ' Ser.Tax (Rs.) ',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=6 and DocEntry=M.DocEntry) as 'CS on Ser.Tax (Rs.)',
    (SELECT Sum(TaxSum) FROM PCH4 where statype=8 and DocEntry=M.DocEntry) as 'HECS_ST (Rs.)',
    (Select Sum(LineTotal) From PCH3 Q Where Q.DocEntry=M.DocEntry) AS 'Freight (Rs.)',
    M.WTSum AS 'TDS (Rs.)',
    M.DocTotal as 'Total (Rs.)'
    FROM OPCH M LEFT OUTER JOIN PCH1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN PCH4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN PCH5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN PCH3 Q ON M.DocEntry = Q.DocEntry
    WHERE (M.DocDate >= %0 AND M.DocDate <= %1)
    GROUP BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.ItemCode,L.Dscription,L.LineTotal,L.vatsum
    ORDER BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.LineTotal,L.vatsum
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

Maybe you are looking for

  • Is there a way to upload/download photos anonymously?

    Is there a way to anonymously upload/download photos to the web without any sort of identification? For example, if I'm using something like TOR to browse, and I find an icon on a site or Google Images that I want to use as my avatar for a social net

  • Error while testing the BAPI

    Hey all, when am testing the bapi BAPI_LOAN_CONTRACT_CREATE (standard BAPI FOR LOAN CREATION) for creation of loan i am facing with an error saying TR0100 : ROLE TYPE DOES NOT EXIST. Role Type is an entry for which the master data is TR0100and is in

  • Possible to Change the Order Status

    Hai When i am booking the sales order the status is showing the Booked is it possible to change the Booked status according to the customer requirement .... thanks in advance M.Meenashi Sundaram

  • ACR 5.5 vs ACR 6.3 LAB values differ!

    Hi, My work requires me to run sampling of LAB values on images. I used to work on CS4 ACR 5.5 and now CS5.1 ACR 6.3. However, i realize the same RAW image with the exact same setting .XMP was appearing different in both platform! ie. the LAB values

  • More complex Samples for BC4J/Jdeveloper

    Hello oracle, I'm looking for some more complex examples on JDev. and BC4J than available on the common resources (Auctions, hotel, ...). I finally found, that the .Com-Suite should contain a bigger JSP/BC4J application in source code called '.ComUni