To prepare VAT Register -India Localization , how / from where to pull data

A VAT Register report is required as featured below with the selection criteria/parameters and column names.
1.     Output VAT Register Report Detailed with From Date and To Date Selection Range
Document Number     Document Date     Customer Name     Customer VAT Reg No     Base Document Total     Vat Amount     Vat Rate     Gross Total
Which table (s) has / have the VAT information stored under India localization - 2007B running on MSSQL 2005.
Thank you

HI Joy,
We are using this SP as Purchase Register to get the details of not only vat, but BED, Ecess, Cess and Cst. I have called this SP in SAP through Biz-reporter add on.
Create PROC [dbo].[PurchaseRegister1]
  @DATEFROM  datetime,
  @DATETO    datetime
AS
SELECT DISTINCT T0.DOCENTRY, T0.[DOCNUM], T1.[DSCRIPTION],T1.[ITEMCODE],
CONVERT(VARCHAR(10), T0.[DOCDATE], 3) AS DOCDATE , T1.[QUANTITY], T1.[PRICE], T1.[TAXCODE], T1.[VATSUM],
( T1.LINETOTAL +T1.[VATSUM]) AS 'ROW TOTAL', (  T1.LINETOTAL) AS 'BASIC' , T0.[CARDCODE] AS 'VENDOR CODE',
(SELECT DISTINCT ISNULL(SUM(PCH4.TAXSUM),0) FROM PCH4 WHERE PCH4.STATYPE=-90 AND PCH4.DOCENTRY=T0.DOCENTRY AND PCH4.LINENUM = T1.LINENUM )BED,
(SELECT DISTINCT ISNULL(SUM(PCH4.TAXSUM),0) FROM PCH4 WHERE PCH4.STATYPE=-60 AND PCH4.DOCENTRY=T0.DOCENTRY AND PCH4.LINENUM = T1.LINENUM )CESS,
(SELECT DISTINCT ISNULL(SUM(PCH4.TAXSUM),0) FROM PCH4 WHERE PCH4.STATYPE=8 AND PCH4.DOCENTRY=T0.DOCENTRY AND PCH4.LINENUM = T1.LINENUM)HCESS,
(SELECT DISTINCT ISNULL(SUM(PCH4.TAXSUM),0) FROM PCH4 WHERE PCH4.STATYPE=4 AND PCH4.DOCENTRY=T0.DOCENTRY AND PCH4.LINENUM = T1.LINENUM)CST,
(SELECT DISTINCT ISNULL(SUM(PCH4.TAXSUM),0) FROM PCH4 WHERE PCH4.STATYPE=1 AND PCH4.DOCENTRY=T0.DOCENTRY AND PCH4.LINENUM = T1.LINENUM)VAT,(SELECT DISTINCT ISNULL(TAXID11,0) FROM CRD7  WHERE CRD7.CARDCODE =T0.CARDCODE AND TAXID11 IS NOT NULL)  AS TINNO,DISCSUM,
T0.[CARDNAME] AS 'VENDOR NAME' , T0.[COMMENTS] FROM OPCH T0
INNER JOIN PCH1 T1 ON T0.DOCENTRY = T1.DOCENTRY
--INNER JOIN OITM T2 ON T1.ITEMCODE = T2.ITEMCODE
INNER JOIN PCH4 T3 ON T1.DOCENTRY =T3.DOCENTRY AND T1.LINENUM=T3.LINENUM
INNER JOIN CRD7 T4 ON T0.CARDCODE = T4.CARDCODE
WHERE   (T0.Docdate>=@DATEFROM AND T0.Docdate <=@DATETO)
You can check the statype of the tax types in the OSTT table.
Hope this helps.
Thanks,
Joseph

Similar Messages

  • 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

  • India Localization - How to Distribute Tax Amount between 2 Accounts

    Hi Please help me.
    I have a scenario:
    My Client want to take 50% Tax amount to Tax Account and 50% Tax Amount to Expense Account in case of VAT/Excise Duty.
    Example: Transaction Amount is 10000 INR TAX @10% (then tax amount would be 1000) when we calculate the tax 500 should hit Tax Account & 500 should hit Expense Account.
    How to Implement this solutions please help me on this.
    Thanks
    Bharath

    To distinguish between no submission and zero, have 2 keyfigures in your layout. One for Amount, the other for valid value.
    If the user enters zero in amount, they have to put 1 in the keyfigure "valid value" to indicate zero is avalid value. Put this as a check while saving the data. Also, when the data is saved, automatically put a value of 1 in "valid value" keyfigure, for nonzero Amount. In otherwords , all valid amounts 0 and non zero have value 1 in the "valid value" keyfigure.
    this way you can differenciate between 0 and null.
    Hope this helps
    -NS

  • VAT claim India Localization, Puzzle

    Let me know if these cases are correct:
    I received quantity(100) and paid VAT 500.
    Returned half quantity (No debit memo gets created, right?)
    and then created invoice so total invoice is created for quantity(50) and VAT 250.
    When I claim VAT, I still claim 500?
    I received quantity(100) and paid VAT 500.
    then created invoice so total invoice is created for quantity(100) and VAT 500.
    Returned half quantity
    so debit Memo created for half quantity(50) and VAT 250.
    When I claim VAT, I still claim 500?
    Edited by: 822304 on Mar 30, 2011 10:33 PM

    Noone can answer this? quite surprising

  • How/from where do I download SendKey.ll​b

    I'm fairly new to LV.  I've been tasked to rebuild this LV app that has many, many files including subvi's and libraries.  I did not have a lot of the instrument drivers and libraries but I've manage to obtain most of them from the web or the ni website except for "SendKey.llb".  This seems to be the only thing I'm missing to build the application.  From other forum postings I read about the Open G site.  I downloaded the VIPM from that site but none of the packages seem to have this llb file.  Can anyone help?  By the way how reliable are these Open G packages/files? 

    Hello,
    Where did you hear about the library "SendKey.llb"? What version of LabVIEW are you using?
    Regards,
    Juan Galindo
    Juan Galindo
    Applications Engineer
    National Instruments

  • How / from where to start on Solaris Driver developement?

    Hi,
    'm a User domain developer, want to also learn about driver developement.
    Please give me pointers so that I can start with
    Thanks,
    -Vikrant

    First of all you should download the following two documents:
    - Writing Device Drivers
    - STREAMS Programming Guide
    If you want to develop USB drivers you must have USBA 1.0 installed (Solaris 8/9 has 0.8 as default) and additionally download the "USB DDK" from Sun.
    A device driver is an object file (created by "ld -r ..."). You cannot decide if you use 32 or 64 bit. On a 64 bit OS you MUST use 64 bit code.
    If you use GCC: On Sparc machines 64 bit code is generated using "-m64", not using "-xarch=v9".
    The driver must provide three functions: "_init", "_info" and "_fini" (see first document).
    There are two types of drivers:
    1) Streams drivers (described in the second document) are drivers for stream devices. These are all devices that implement a character stream and can be used with "streamio" ioctls. Examples are: All terminals and serial ports, printer ports, mice, keyboards, ...
    These devices communicate with the system calls (e.g. read, write, ioctl) using special data packets. Therefore programming Streams drivers is very different from writing other drivers.
    All streams devices are character devices.
    You can also write streams modules (see man streamio, I_PUSH). Such modules are "filters" that can modify the data between the device driver and the application.
    2) Other drivers. They may be character or block devices. These drivers have different functions for different function calls. Example: The "ioctl" function call will call the function "MyDriver_Ioctl" of your driver.
    I think writing a non-streams driver is way more simple than writing a streams driver. I had some system crashes when running instable self-written streams drivers. However some drivers must be streams drivers e.g. if you want to use the device as a terminal device or if you want to push modules using I_PUSH.
    Unlike Linux the OS detects the presence of hardware and decides when to load a driver. You create the file /kernel/drv/NameOfYourDriver.conf with driver settings. This file also contains the information that your driver does not require hardware (e.g. ram disks). You must add your driver to the system by typing "add_drv NameOfYourDriver". Use the "-i" option to tell the system which hardware is handled by your driver.
    Martin

  • SCOM2012 dashboard from where is the data

    I wonder which data is used in dashboard on SCOM2012? Is it from
    OperationsManager db or OperationsManagerDW db? Important to understand when you tuning the MPs.

    Data within the console, including dashboards will come from the opsman db.  The opsmandw db is used only for reporting, and aggregates data at 1 hour intervals for its highest frequency.

  • How and where does Delivery Date get calculated in ME51N

    Hi,
    Can anyone please let me know the point where the delivery date is calculated in ME51N ?
    i enter the Material and Plant and press enter and Delivery Date ( = Current Date ) gets populated automatically. I need to find out where it happens.
    Because there is a requirement that the Delivery Date should be equal to the Current Date + some Lead Time, instead of the current Date. So, I need to find a BADI or exit.
    For the transaction ME51N, there is only one Customer Exit - MEREQ001. And if I put a break-point at the compnents of this exit, the control doesnt go to these exits when I press Enter.
    And there is a BADI 'ME_REQ_POSTED', which gets triggered when we save ME51N, but it should be triggered even when we press enter.
    Please help me with all the above details.

    Hi Dagny,
    This is related to PO stuff. Probably the logic may be useful for you.
    You can try out enhancements:
    LMEKO001
    LMEKO002
    And you try out below code.
    FIELD-SYMBOLS: <beket> TYPE ANY TABLE.
    DATA: l_date        TYPE d
         l_ebelp       TYPE ebelp,
         w_beket       TYPE beket,
         t_beket       TYPE STANDARD TABLE OF beket,
         w_data        TYPE ty_data.
    * Get the item number in the correct format.
    l_ebelp = komp-kposn+1(5).
    * Get the tabe with Delivery Schedule data.
    ASSIGN ('(SAPLMEPO)ETT[]') TO <beket>.
    t_beket[] = <beket>[].
    READ TABLE t_beket INTO w_beket WITH KEY ebelp = l_ebelp.
    *l_data = w_beket-eindt.*
    Here l_data has the delivey date field you can even modify this data and update what ever u want.
    Thanks,
    Raj
    Edited by: Raja gurrala on Jul 23, 2009 3:24 PM

  • ADF Struts UIX - how write where clause whith date in ViewObject

    Hello
    I need to write a search form with two date fields and then query a where clause between to_date('date 1') and to_date('date 2').
    the query may be writed in ViewCriteria class or using Application module method like this
    AssureViewImpl assureView=getAssureView1();
    assureView.applyViewCriteria(null);
    assureView.setWhereClause("NUM_ASSU = :1");
    assureView.setWhereClauseParam(0,numAss);
    thanks a lot for your help

    Does the user always specify both start and end dates?

  • India localization from 11i to R12

    Hi,
    We have India localization in 11i.  Now, we have upgraded to R12.1.3.
    From DBA perspective, Is the below step enough to do in R12 for India localization?
    Latest Oracle HRMS Legislative Data Patch Available (HR Global / hrglobal) (Doc ID 145837.1)
    As per this, need to apply patch 12730429 and then followed by Datainstall and running hrglobal.drv
    Let me know if anything needs to be done apart from this.
    Regards,
    RKA

    Hi,
    Thanks.  We followed the steps as per Doc ID 954143.1.
    Also, We installed all preinstall patches as per
    Pre and Post Upgrade Requirements from 11i to R12.1 for Oracle Financials for India (India Localization) (Doc ID 1590646.1)
    But, Still after upgrade we are havings issues like TDS year is not migrated, Access some forms has errors saying "Table does not exist".
    Can you please let us know what are the other steps needs to be performed apart from installing preinstall patches before upgrade with respect to India localization?

  • How system updating the delivery dates in sale order schedule line

    Hello
    i created a sales order with 2 line items. For the first line item the confirmed delivery date in the schedule line is 06.02.2012 and for the second line item the confirmed delivery date in the schedule line is 14.02.2012 . Both the line items are third party items and the PR created against the line items in the sales order .
    We created the PO with reference to the PR of the SO and we find there are different delivery dates coming in the PO document for the 2 line items . For the first line item the delivery date is coming as 14.11.2011 and for the second line item in the PO , the delivery date coming as 11.11.2011 . Firstly we are not understanding from where the delivery dates are picking in the PO.
    Secondly , once we saved the Purchase order and once we come back to the sales order , the schedule line dates are getting changed automatically in the sales order . For the first line item in the sales order the delivery date is changing to 22.11.2011 and for the second line item in the sales order the delivery date is changing to 22.11.2011.
    Now my question , is from where the delivery dates are updating in the Purchase order and once we save the purchase order how the delivery dates in the schedule line are getting changed .

    Now my question , is from where the delivery dates are updating in the Purchase order and once we save the purchase order how the delivery dates in the schedule line are getting changed .
    For third party processing, the delivery dates are updated in the purchase order based on the settings in the field Planned delivery time in the MRP2 view of the material master(defined in purchase info record in t.code ME11/ME12) and purchasing processing time defined in t.code OMEW. This means, since the date of PO created, it will take the days mentioned in the planned delivery time field and purchasing processing times to determine the delivery date, which will be copied into the sales order as delivery date. In your case, the purchase order delivery date is not copied into the sales order, hence you may need to check OSS note. How the PO is handled? Any confirmation control functionality is used?
    Regards,

  • How to get two separate data in a single excel file

    I have a VI from where i get data in 3 columns.I have added a subVI & wants the data coming out of it to be stored in the 4th column along with the initial data real time.How can i do that?

    Hi Labfreak,
    your question title is only loosely related to the explanation in the message body... It doesn't need to be an Excel file?
    Anyway the attachment shows two ways of adding a 4th column...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    test_array.vi ‏9 KB

  • Oracle B2B 11g question about pulling data from remote TP sftp server

    Hi,
    We would like replace our custom b2b solution with oracle b2b, but without resulting much changes in remote TP side. To do that the following issues are to be resolved.
    1) in the existing custom b2b, host tp is pulling data from remote TP location. How does oracle b2b pull data from remote location using sftp(AS1 1.1)? Oracle document says that by using global listening channel, we can make oracle b2b listen to the sftp server? Is that correct? Is there any sample about how to configure and test it.
    2) For outbound file we would like to preserve the file name. If you use sftp for sending the file out, is it possible to preserve the filename?
    3) Some incoming files which are datafiles , does not have any identification pattern. Is there any other way to identify the document type? For example from which location we are pulling the file can tell us the document type.

    1) in the existing custom b2b, host tp is pulling data from remote TP location. How does oracle b2b pull data from remote location using sftp(AS1 1.1)? Oracle document says that by using global listening channel, we can make oracle b2b listen to the sftp server? Is that correct? Is there any sample about how to configure and test it. I am not sure what do you mean by AS1 1.1 but yes, SFTP is supported in Oracle B2B and if you want to poll a SFTP location, then you need to create a listening channel in Oracle B2B. For creating a listening channel, please refer -
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10229/bb_listen_chan.htm#BAJJICJJ
    2) For outbound file we would like to preserve the file name. If you use sftp for sending the file out, is it possible to preserve the filename?Yes, it is possible. There is a setting "Preserve Filename" in transport protocol parameter of a SFTP channel which should be enabled for this purpose.
    3) Some incoming files which are datafiles , does not have any identification pattern. Is there any other way to identify the document type? For example from which location we are pulling the file can tell us the document type. In case of FTP/FILE/SFTP, file name can be used to pass document type and revision information to Oracle B2B. Please refer "Filename format" setting on the above mentioned link.
    I figured it out from another thread about how to pull the file. I configured the listening channel so that it reads from a remote server using sftpo protocol. And I have given the filename format as %FROM_PARTY%.dat. I am putting a file like TESTBC.dat. TESTBC is the name of the remote TP. B2B is reading the file but, recognizes the document tupe, but says that FromTP null. What is the solution?
    Make sure that TP name is same as what you are giving in filename (cross-check for spelling). You may also try with default naming convention (do not mention anything in Filename format in listening channel configuration) - %FROM_PARTY%_%TIMESTAMP%.dat
    for eg -
    Acme_12345.dat
    Regards,
    Anuj

  • From where the systeme proposes the Delivery date in the PO

    Dear All,
    Please let me know from where the Delivery date gets proposed in the PO?
    It is not releated to the MRP views parameters, isn't it?
    Regards
    Ahmad

    yes it is right its in MRP but can be used for both external and internal procurement. but if that material is not subjected to MRP then you can also define the planned delivery time in vendor master purcahsing view.
    regards,
    qsm sap

  • Want to pull data from multiple sheets by lookup (I think...)

    Hello All,
    I have been tasked with determining benefits which some employees are entitled to receive, however, the eligibility data comes from different sheets. I'd like to request help in automate data collection from several sheets within the spreadsheet to create a final top level data sheet. Here are the steps I'm trying to automate in some fashion:
    Each employee has an employee number. On the top sheet, each employee is listed by number. I need to search each employee's number on a lower sheet which lists their number and 2011 earnings in a row. Rinse and repeat for 2012 earnings, which are on a third sheet in a row. Rinse and repeat for address data on yet another sheet in a row.
    I am no spreadhseet wizard, hardly even a novice. Is there a tutorial or explanation which will help me to automate searching for a cell with the employee number and retrieving data from other cells within that row?
    If this were a couple of hundred employees, I would probably slog it out and cut and paste until my fingers bleed. But this time it is 4000 people, so I really could use a hand trying to automate this clunker a bit. Otherwise, I will never see daylight again, being chained to my desk in a windowless room (and missing the deadline, too.)
    Thanks in advance for your expertise and assistance-
    Air

    It was actually simple, though finding the information was difficult because I lacked the correct terminology.
    Essentially, the [LOOKUP] function allows you to select a field and one sheet, search for it on another sheet, and when it finds a match, you can select which cell within the row from which to pull data. So, in my case, I had employee numbers on each sheet. Select the employee number, then head to the sheet you're searching and select a column to look within, then select the data you want when there is a match. Easy peasy!
    There are tons of free videos on the subject, so I won't bore everyone with my exact method and cell references- just search for "lookup function in numbers (or excel)" and you'll receive far better instruction than I can provide.
    Best to all,
    Air

Maybe you are looking for