Change in Standard VAT Report :  S_alr_87012385

Dear All,
In  VAT summary report - S_ALR_87012385
I need some additions and changes as listed below-
1. Document wise line level tax detail is displayed - need at document level
2. Vendor TIN number is not getting displayed in the standard VAT report
Kindly suggest...
Regards,
Prashant

Find enclosed the replies:
1. Details at Document Level - May not be practical. You may have line items in a document with different rates of Tax. In such case, you have to show the details seperately only
2. Vendor TIN Details - There are implicit enhancements in the Program RFUMSV00. Check with the help of your ABAP Colleague. Go to SE38 and from menu get implicit enhancement. When you find the enhancement spot, pass LIFNR in Vendor Excuise Details Table to get the Vendor TIN Number
Regards
Sanil Bhandari

Similar Messages

  • Standard VAT report  bug (s_ALR_87012357 )

    Hi all,
    the standard report s_ALR_87012357 might be creating confusion..
    in that report there is 6 report blocks available that is input tax out put tax...and so on....
    our one document having  I2 and I5 tax code but why this tax is calculation in output tax even this should be calculate in input tax block.....
    our problem is when it showing in output tax block here it not calculation any tax on tax base amount...but simultaneously it also showing in input tax block..why it is showing in output tax also.....it should not be shown there because tax code is I5....
    please help...

    copy the above report and do necessary changes.

  • Vat reports available in sap  for india

    Hi,
    Any one please tell me about the  VAT reports available in standard sap system for INDIA.

    Dear,
    S_ALR_87012400 and S_ALR_87012357 which are the standard VAT reports.
    Go to Main MENU-AccountingFinancial Accounting-General LedgerReporting--Tax Report and select your desirable country.
    General Ledger Report is best option in that case F.12.
    Regards,
    R.Brahmankar

  • How can change standard BW- reports

    Hi ,
    i nee small chnges  to BW standard reports ..
    plz tell me , how can change standard BW- reports...
    i assign points ..
    regards
    PSR

    PSR,
    You can make changes to them directly. But it is a best practice not to disturb them, but save as a new report and then make necessary changes. So you can save as them and make necessary changes.

  • Why it returns ERROR after I changed some Standard Reports output to XML?

    Our EBS is a 11.5.10 CU2 instance.
    We just upgrated the XML Publisher to 5.6.1 and did all the work described in section "Post-install Steps" of "About Oracle XML Publisher 5.6.1"(Doc ID: Note:357308.1)
    Now we are do the testing.
    I changed the Standard Report "Journals - General (132 Char)" output type to XML, then ran it.
    It returns ERROR
    Logs is as flows:
    General Ledger: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    GLGENJRN module: Journals - General(132 Char)
    Current system time is 25-AUG-2006 11:39:25
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_SET_OF_BOOKS_ID='1001'
    P_KIND='L'
    P_POSTING_STATUS='U'
    P_CURRENCY_CODE='CNY'
    P_PERIOD_NAME='AUG-06'
    P_PAGESIZE='132'
    XML_REPORTS_XENVIRONMENT is :
    /global/d01/applprod/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /global/d01/applprod/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_AMERICA.UTF8
    REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    ORA-06502: PL/SQL: numeric or value error
    Report Builder: Release 6.0.8.25.0 - Production on Fri Aug 25 11:39:26 2006
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 301650.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 25-AUG-2006 11:39:27
    Anybody know why?
    Thanks!

    Hi,
    The log file says that the RDF report actually errored out
    and its not a problem in XML Publisher.
    REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    ORA-06502: PL/SQL: numeric or value error
    what you can do to debug is change the output type to text and run the report.
    See, if the report runs successfully. I guess, there might be some problem with the report itself.
    If the text report runs fine, change the output type to xml and run it.
    Hope it helps

  • VAT Report - legal form

    Hi SAP experts!
    I´m customizing the VAT Report for Poland and I use the transaction S_ALR_87012385 - VAT Register (Poland) to generate the values for each month, but I need to fill the legal document (VAT-7) which has fields that are the sum of several tax codes. Is there a standard way to have this sum in a report, like using the OBCH and OBCH transactions, for example?
    Many thanks!

    Hi  Appana Prabhakar!
    I already try it but the report RFIDPL06 it´s not preparer for fill the legal declaration directly, i always must to export  values to excel and then make the correct sum to fill the fields in the declaration.
    Perhaps SAP does not have any kind of solution to fill directly the legal declaration for Poland, yet.
    Maybe i will try to add a note to sap.
    Thank you!
    Edited by: Vaz Tiago on May 21, 2010 9:02 AM

  • I need VAT Report

    Dear All,
             My collegue had developed a VAT Report which consist of A/P,A/P Credit memo,A/R credit memo & A/R Invoice.I need a report which can retrieve journal entries which has posted manually too with A/P,A/P Credit memo,A/R credit memo & A/R Invoice.can any one send me the format.

    Hi Kesevan
    Getting an accurate VAT report is complex and for this reason SAP uses 5 views to generate the standard report. I have consolidated these into a SELECT statement which I have added below:
    Create a query in SAP as follows:
        DECLARE @FromDate DATETIME
        DECLARE @ToDate DATETIME
        SELECT @FromDate = T0.F_RefDate FROM dbo.OFPR T0 WHERE T0.F_RefDate = '[%0]'
        SELECT @ToDate = T1.T_RefDate FROM dbo.OFPR T1 WHERE T1.T_RefDate = '[%1]'
        EXEC VAT_RepByDate @FromDate, @ToDate
    Then create a stored procedure as follows:
    USE [DATABASE_NAME]
    GO
    /****** Object:  StoredProcedure [dbo].[VAT_RepByDate]    Script Date: 04/24/2009 13:51:40 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER proc [dbo].[VAT_RepByDate]
         @FromDate varchar(12) OUTPUT,
         @ToDate varchar(12) OUTPUT
    as
    set nocount on
    begin
    --IF OBJECT_ID(N'tempdb..#VATOUTPUT', N'U') IS NOT NULL
    --drop table #VATOUTPUT
    SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq], T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code], T1.[IsLiable], T1.[TaxType],
    T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent], T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs], T1.[BaseArrTyp], T1.[BaseLinNum], T1.[BaseGrpNum],
    T1.[BaseSum], T1.[VatSum], T1.[DeductSum], T1.[EqSum], T2.[Name], T2.[IsEC], T2.[Indicator] AS 'TriangularDeal', T2.[GoddsShip], T2.[Category], T3.[DocType], T3.[DocDate],
    T3.[TaxDate], T3.[VatDate], T3.[DocNum], T3.[LicTradNum], T3.[NumAtCard], T3.[Series], T3.[DocCur], T3.[DocRate], T3.[FinncPriod], T3.[Address], T3.[CANCELED], T3.[JrnlMemo],
    T4.[WTCode], T4.[CardCode], T3.[CardName], T4.[CardType], T4.[City], T4.[Country], T4.[LicTradNum] AS 'BPLicTradNum', T4.[VatIdUnCmp], T4.[AddID], T3.[Indicator], T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry]   INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode] 
    INNER  JOIN [dbo].[B1_MarketingDocumentsView] T3  ON  T3.[DocEntry] = T0.[SrcObjAbs]  AND  T3.[ObjType] = T0.[SrcObjType]  
    INNER  JOIN [dbo].[OCRD] T4  ON  T4.[CardCode] = T3.[CardCode]
    WHERE T3.[DocDate] >= @FromDate AND T3.[DocDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq], T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code], T1.[IsLiable],
    T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent], T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs], T1.[BaseArrTyp], T1.[BaseLinNum],
    T1.[BaseGrpNum], T1.[BaseSum], T1.[VatSum], T1.[DeductSum], T1.[EqSum], T2.[Name], T2.[IsEC], T2.[Indicator], T2.[GoddsShip], T2.[Category], T3.[DocType], T3.[DocDate],
    T3.[TaxDate], T3.[VatDate], T3.[DocNum], T4.[LicTradNum], N'', T3.[Series], T3.[DocCurr], T3.[DocRate], T3.[FinncPriod], T4.[Address], T3.[Canceled], T3.[JrnlMemo],
    T3.[TransCode], T4.[CardCode], T4.[CardName], T4.[CardType], T4.[City], T4.[Country], T4.[LicTradNum], T4.[VatIdUnCmp], T4.[AddID], N'', T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry] INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode] 
    INNER  JOIN [dbo].[B1_PaymentsView] T3  ON  T3.[DocEntry] = T0.[SrcObjAbs] AND  T3.[ObjType] = T0.[SrcObjType]   
    LEFT OUTER  JOIN [dbo].[OCRD] T4  ON  T4.[CardCode] = T3.[CardCode]   WHERE T0.[OrdinLNum] = (-1 ) AND  T1.[Isdeferred] = (N'N' )  AND T3.[DocDate] >= @FromDate AND T3.[DocDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq], T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code], T1.[IsLiable],
    T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent], T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs], T1.[BaseArrTyp], T1.[BaseLinNum],
    T1.[BaseGrpNum], T1.[BaseSum], T1.[VatSum], T1.[DeductSum], T1.[EqSum], T2.[Name], T2.[IsEC], T2.[Indicator], T2.[GoddsShip], T2.[Category], T3.[DocType], T3.[CancelDate],
    T3.[TaxDate], T3.[VatDate], T3.[DocNum], T4.[LicTradNum], N'', T3.[Series], T3.[DocCurr], T3.[DocRate], T3.[FinncPriod], T4.[Address], T3.[Canceled], T3.[JrnlMemo],
    T3.[TransCode], T4.[CardCode], T4.[CardName], T4.[CardType], T4.[City], T4.[Country], T4.[LicTradNum], T4.[VatIdUnCmp], T4.[AddID], N'', T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry]   INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode]  
    INNER  JOIN [dbo].[B1_PaymentsView] T3  ON  T3.[DocEntry] = T0.[SrcObjAbs]  AND  T3.[ObjType] = T0.[SrcObjType]  
    LEFT OUTER  JOIN [dbo].[OCRD] T4  ON  T4.[CardCode] = T3.[CardCode]   WHERE T0.[OrdinLNum] = (0 )  AND  T1.[Isdeferred] = (N'N' )  AND T3.[DocDate] >= @FromDate AND T3.[DocDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq], T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code],
    T1.[IsLiable], T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent], T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs],
    T1.[BaseArrTyp], T1.[BaseLinNum], T1.[BaseGrpNum], T1.[BaseSum], T1.[VatSum], T1.[DeductSum],
    T1.[EqSum], T2.[Name], T2.[IsEC], T2.[Indicator], T2.[GoddsShip], T2.[Category], T3.[DocType], T1.[ValueDate], T3.[TaxDate],
    T3.[VatDate], T3.[DocNum], T4.[LicTradNum], N'', T3.[Series], T3.[DocCurr], T3.[DocRate], T3.[FinncPriod], T4.[Address], T3.[Canceled], T3.[JrnlMemo], T3.[TransCode],
    T4.[CardCode], T4.[CardName], T4.[CardType], T4.[City], T4.[Country], T4.[LicTradNum], T4.[VatIdUnCmp], T4.[AddID], N'', T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry]   INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode]  
    INNER  JOIN [dbo].[B1_PaymentsView] T3  ON  T3.[DocEntry] = T0.[SrcObjAbs]  AND  T3.[ObjType] = T0.[SrcObjType]   
    LEFT OUTER  JOIN [dbo].[OCRD] T4  ON  T4.[CardCode] = T3.[CardCode]   WHERE T1.[Isdeferred] = (N'Y' )   AND T3.[DocDate] >= @FromDate AND T3.[DocDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq], T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code], 
    T1.[IsLiable], T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent], T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs],
    T1.[BaseArrTyp], T1.[BaseLinNum], T1.[BaseGrpNum], T1.[BaseSum], T1.[VatSum], T1.[DeductSum],
    T1.[EqSum], T2.[Name], T2.[IsEC], T2.[Indicator], T2.[GoddsShip], T2.[Category], N'', T4.[RefDate], T4.[TaxDate], T3.[VatDate],
    T3.[Number], T6.[LicTradNum], N'', T3.[Series], T4.[FCCurrency], T4.[SystemRate], T3.[FinncPriod], T6.[Address], T6.[CmpPrivate], T3.[Memo], T3.[TransCode], T6.[CardCode],
    T6.[CardName], T6.[CardType], T6.[City], T6.[Country], T6.[LicTradNum], T6.[VatIdUnCmp], T6.[AddID], T3.[Indicator], T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry]   INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode]  
    INNER  JOIN [dbo].[OJDT] T3  ON  T3.[TransId] = T0.[SrcObjAbs]   INNER  JOIN [dbo].[JDT1] T4  ON  T4.[TransId] = T3.[TransId]  AND  T4.[Line_ID] = T1.[SrcLineNum]  
    LEFT OUTER  JOIN [dbo].[JDT1] T5  ON  T5.[TransId] = T4.[TransId]  AND  T5.[ShortName] <> T5.[Account]    LEFT OUTER  JOIN [dbo].[OCRD] T6  ON  T6.[CardCode] = T5.[ShortName]
      WHERE T0.[SrcObjType] = (N'30' )  AND  (T5.[Line_ID] IN((SELECT MIN(U0.[Line_ID]) FROM  [dbo].[JDT1] U0  WHERE T5.[TransId] = U0.[TransId]
    AND  U0.[ShortName] <> U0.[Account]  ))   OR  T5.[Line_ID] IS NULL  )   AND T4.[RefDate] >= @FromDate AND T4.[RefDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq],
    T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code], T1.[IsLiable], T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent],
    T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs], T1.[BaseArrTyp], T1.[BaseLinNum], T1.[BaseGrpNum], T1.[BaseSum], 
    T1.[VatSum], T1.[DeductSum], T1.[EqSum], T2.[Name],
    T2.[IsEC], T2.[Indicator], T2.[GoddsShip], T2.[Category], T3.[DocType], T3.[DocDate], T3.[TaxDate], T3.[VatDate], T3.[DocNum], T7.[FedTaxID], T3.[NumAtCard], T3.[Series],
    T3.[DocCur], T3.[DocRate], T3.[FinncPriod], T3.[Address], T3.[CANCELED], T3.[JrnlMemo], T5.[WTCode], T5.[CardCode], T3.[CardName], T5.[CardType], T5.[City], T5.[Country],
    T6.[FedTaxID], T5.[VatIdUnCmp], T5.[AddID], N'', T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry] 
    INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode]   INNER  JOIN [dbo].[OWTR] T3  ON  T3.[DocEntry] = T0.[SrcObjAbs]  AND  T3.[ObjType] = T0.[SrcObjType]  
    INNER  JOIN [dbo].[WTR1] T4  ON  T4.[DocEntry] = T3.[DocEntry]  AND  T4.[LineNum] = T1.[SrcLineNum]    LEFT OUTER  JOIN [dbo].[OCRD] T5  ON  T5.[CardCode] = T3.[CardCode] 
    INNER  JOIN [dbo].[OWHS] T6  ON  T6.[WhsCode] = T4.[WhsCode]    LEFT OUTER  JOIN [dbo].[OWHS] T7  ON  T7.[WhsCode] = T3.[Filler]  
    WHERE T3.[DocDate] >= @FromDate AND T3.[DocDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry],
    T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq], T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code], T1.[IsLiable],
    T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent], T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs], T1.[BaseArrTyp], T1.[BaseLinNum],
    T1.[BaseGrpNum], T1.[BaseSum], T1.[VatSum], T1.[DeductSum], T1.[EqSum],
    T2.[Name], T2.[IsEC], T2.[Indicator], T2.[GoddsShip], T2.[Category], N'', T3.[ReconDate], T3.[ReconDate], T3.[ReconDate], T0.[SrcObjAbs],
    T6.[LicTradNum], N'', T5.[Series], T5.[TransCurr], T5.[TransRate], T5.[FinncPriod], T6.[Address], T3.[Canceled], T5.[Memo], T6.[WTCode], T6.[CardCode], T6.[CardName],
    T6.[CardType], T6.[City], T6.[Country], T6.[LicTradNum], T6.[VatIdUnCmp], T6.[AddID], N'', T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry]  
    INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode]   INNER  JOIN [dbo].[OITR] T3  ON  T3.[ReconNum] = T0.[SrcObjAbs]  AND  T0.[SrcObjType] = N'321'  
    INNER  JOIN [dbo].[ITR1] T4  ON  T4.[ReconNum] = T3.[ReconNum]  AND  T4.[LineSeq] = T1.[SrcLineNum]   INNER  JOIN [dbo].[OJDT] T5  ON  T5.[CreatedBy] = T0.[SrcObjAbs] 
    AND  T5.[TransType] = T0.[SrcObjType]   INNER  JOIN [dbo].[OCRD] T6  ON  T6.[CardCode] = T4.[ShortName] 
    WHERE  T3.[ReconDate] >= @FromDate AND T3.[ReconDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq], T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code], 
    T1.[IsLiable], T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent], T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs], T1.[BaseArrTyp], T1.[BaseLinNum],
    T1.[BaseGrpNum], T1.[BaseSum], T1.[VatSum], T1.[DeductSum], T1.[EqSum], T2.[Name], T2.[IsEC], T2.[Indicator], T2.[GoddsShip], T2.[Category], N'', T3.[CheckDate], T3.[TaxDate], T3.[TaxDate],
    T3.[CheckKey], N'', N'', 0, T3.[Currency], 0, 0, T4.[Address], T3.[Canceled], N'', T4.[WTCode], T4.[CardCode], T4.[CardName], T4.[CardType], T4.[City], T4.[Country], T4.[LicTradNum] AS 'BPLicTradNum',
    T4.[VatIdUnCmp], T4.[AddID], N'', T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry]   INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode]  
    INNER  JOIN [dbo].[OCHO] T3  ON  T3.[CheckKey] = T0.[SrcObjAbs]  AND  T3.[ObjType] = T0.[SrcObjType]    LEFT OUTER  JOIN [dbo].[OCRD] T4  ON  T4.[CardCode] = T3.[CardOrAcct]
    WHERE  T3.[CheckDate] >= @FromDate AND T3.[CheckDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq], T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code],
    T1.[IsLiable], T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent], T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs],
    T1.[BaseArrTyp], T1.[BaseLinNum], T1.[BaseGrpNum], T1.[BaseSum], T1.[VatSum], T1.[DeductSum],
    T1.[EqSum], T2.[Name], T2.[IsEC], T2.[Indicator], T2.[GoddsShip], T2.[Category], N'', T3.[DeposDate], T3.[TaxDate], T3.[TaxDate],
    T3.[DeposNum], N'0', N'', T3.[Series], T3.[DeposCurr], T3.[DocRate], T3.[FinncPriod], N'', T3.[Canceled], N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', T3.[CreateDate]
    FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry]   INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode] 
    INNER  JOIN [dbo].[ODPS] T3  ON  T3.[DeposId] = T0.[SrcObjAbs]  AND  T3.[ObjType] = T0.[SrcObjType]    LEFT OUTER  JOIN [dbo].[OINV] T4  ON  T4.[DocEntry] = T0.[AbsEntry] 
      LEFT OUTER  JOIN [dbo].[OCRD] T5  ON  T5.[CardCode] = T4.[CardCode]  
    WHERE  T3.[DeposDate] >= @FromDate AND T3.[DeposDate] <= @ToDate
    UNION ALL SELECT T0.[AbsEntry], T0.[SrcObjType], T0.[SrcObjAbs], T0.[OrdinLNum], T1.[LineSeq],
    T1.[SrcArrType], T1.[SrcLineNum], T1.[SrcGrpNum], T2.[Code], T1.[IsLiable], T1.[TaxType], T1.[IsAcq], T1.[Isdeferred], T1.[VatPercent],
    T1.[NdPercent], T1.[EqPercent], T1.[CrditDebit], T1.[BaseObjTyp], T1.[BaseAbs], T1.[BaseArrTyp], T1.[BaseLinNum], T1.[BaseGrpNum], T1.[BaseSum], 
    T1.[VatSum], T1.[DeductSum], T1.[EqSum], T2.[Name], T2.[IsEC],
    T2.[Indicator], T2.[GoddsShip], T2.[Category], N'', T3.[DeposDate], T3.[TaxDate], T3.[TaxDate], T3.[DeposId], N'0', N'', 0, T3.[DeposCurr], T3.[DocRate], T3.[FinncPriod],
    N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'' FROM  [dbo].[OTAX] T0  INNER  JOIN [dbo].[TAX1] T1  ON  T1.[AbsEntry] = T0.[AbsEntry]  
    INNER  JOIN [dbo].[OVTG] T2  ON  T2.[Code] = T1.[TaxCode]   INNER  JOIN [dbo].[ODPT] T3  ON  T3.[DeposId] = T0.[SrcObjAbs]  AND  T3.[ObjType] = T0.[SrcObjType]   
    LEFT OUTER  JOIN [dbo].[OINV] T4  ON  T4.[DocEntry] = T0.[AbsEntry]    LEFT OUTER  JOIN [dbo].[OCRD] T5  ON  T5.[CardCode] = T4.[CardCode]
    WHERE T3.[DeposDate] >= @FromDate AND T3.[DeposDate] <= @ToDate
    END
    You are welcome to make changes, but be careful as the data is pulling from views, so maybe create you own views first and change the Select statement to use your own views.
    Kind regards
    Peter Juby

  • Enhancement request for VAT Report of Customer and Vendor.

    Hello SAP Gurus,
    Have enhancement request for adding new fields in existing VAT report of Customer and Vendor like user id, GL account etc.
    As I am fresher, can you please help me that how I need to approach. Thanks for your support.
    Regards,
    Saleem

    Hello Saleem,
    Almost all fields required for VAT reporting are available in standard tax report
    S_ALR_87012357 .
    You have to configure the layout from the selection screen as below
    regards
    pb

  • Additional Field in VAT report : s_alr_87012357

    Hi Experts,
    I wish to add 1 more fields in VAT report s_alr_87012357.
    Please dont suggest to copy the standard program in Z Program. I am looking for alternate option.
    Thanks
    Ganesh

    Hi Ganesh How did you add extra field .

  • VAT report - upload historical data

    Hi,
    The "VAT register Poland" report has been issued for July & August.
    I have carried out a master data change (for VAT register no.) and I need to re-produce the VAT reports for these 2 months.
    Can I re-run the report?
    Will it pick up the modified master data?
    Thank you for your feedback.
    Kind regards,
    Linda

    I am not sure whether it will work, because these reports depend on tables (which you can not modify) and the tables depend on the i.e sales order, FI document etc...
    Kind regards
    hakan

  • How to push custom infotype details to Standard Log Report

    Hi Experts,
    i am using S_AHR_61016380 SAP Standard Report for Log Change Data in
    the report development. However, the standard report for logged changes
    does not capture the long term documents run for the custom infotype.
    it is only giving the logged changes for the standard SAP infotypes
    and it doesnot capture any details for the custom infotype.
    We are looking a possibility on how to push custom infotype details to S_AHR_61016380.
    Pls suggest in case you have any inputs for the same.
    Thanks & Regards,
    Kishore.

    Hello Amith,
    As u said i have created a Z program, and also i have used the following FMs.
    1. 'HR_INFOTYPE_LOG_GET_LIST'
    2. 'HR_INFOTYPE_LOG_GET_DETAIL'
    Using these FMs i am able to get log records from the standard infotypes but i am unable to fetch data from the custom infotype tables.
    Please give me any solution to read the log records from the custom infotype tables.
    Thanks,
    Kishore

  • How to copy standard SAP report to a Z report?

    Hi All,
    Guys, I have a requirement to copy an standard SAP report and make some changes to it. Please let me know how to copy a standard SAP report as a Z report. Is there any simple way or will I have to open the source code and copy it into the new Z program? If that is the case, how will I copy the screens and related PBO/PAI events?
    Please provide me a step-by-step solution.
    Thanks & Regards,
    Madhur

    Hello Madhur,
    As Raja had said, yuo could just copy the program from SE38. But just remember a few points:
    1. If the standard report is being used in some other programs, then there's no way you can make your Z-report get used in all such instances. I suspect that you may not want to do that anyways, but just in case.
    2. Just also check out if the standard report you're talking about has any INCLUDE programs within it. If there are too many standard INCLUDEs in the main report, then you might have to decide whether you need to copy all of them too, or let them be as they are.
    3. You are likely to have some problems with the text-elements and translation that may have been maintained for the original report.
    I have experienced some problems with respect to the second and third points in the past, so it is worth it to be a bit careful.
    Regards,
    Anand Mandalika.
    Regards,
    Anand Mandalika.

  • Looking for Standard SAP report

    Hello forum,
    Can some one tell me if there is a standard SAP report that would compare or can be used to compare a delivery order with a sales order and show the changes made in terms of quantity? I am looking for the report name
    Thanks in advance,
    K

    Hello,
    Can some one tell me if there is a standard SAP report that would compare or can be
    used to compare a delivery order with a sales order and show the changes made in
    terms of quantity? I am looking for the report name
    I think your requirement can't be met with standard functionality. The best way to for mapping this requirement would be to create a Custom Report involving two below things.
    Use the program which is called when we access Sales Order --> Environment --> Changes.
    Use the table for delivery item level LIPS for Quantity comparision.
    Kindly try out this approach and let us know if any further issues comes into picture.
    Regards,
    Sarthak

  • Changes to Create expense report

    Hi everyone!
          Could anyone fill me up on how to change the "create expense report" standard application hosted on in portal(Java). I have no experience on Netweaver studio. a step-by step procedure to change some basic functionalilty will help.
    Thanks!

    check the note 1977668    Web: country & region as separate fields Apply the note and make the entry in TA20SWITCH view as described. in the Webdynpro application you can choose: - either you take the combined dropdownbox for all country / region   combinations - or you can take the seperate fields but then you must have for all   countries an entry with region space.

  • Standard ECC report RHCDOC_DISPLAY

    Can anybody give an overview about Standard ECC report RHCDOC_DISPLAY ???

    This report enables you to display the change documents created for changes made to Personnel Planning infotypes.
    For more information about this report, see the Report selection screen under Help ® Application Help.
    Also check this link.
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/2843401a306f13e10000000a1550b0/content.htm
    Regards,
    Maha

Maybe you are looking for