Professional Documents
Culture Documents
Tax Reporting in SD Note
Tax Reporting in SD Note
Tax Reporting in SD Note
Symptom
As per the Poland Legal change that comes into effect on January 1, 2014, the tax reporting date(VATDATE)
that appears on the accounting documents
Usually, the delivery of goods/services to customer happen prior to the invoicing of the same and the
VATDATE that appears in the financial accounting document that is generated as part of invoicing has
VATDATE set as invoice date or as per the customer specific rules.
The following cases are affected as per the change in the law, as can be foreseen now.
• The goods are delivered to a customer after they have been invoiced.
• The services are delivered to a customer after they have been invoiced.
Other Terms
BKPF-VATDATE, Tax Reporting Date, Poland, Goods issue, outgoing delivery document, VL01N, VF01.
Pre-requisites
1. The SAP solution to move the VAT DATE as 31.12.9999 when an invoice is posted as per the
information provided in the SAP note 1947124.
2. If the delivery happens after the invoicing, the VATDATE in the accounting document is populated with
the date 31.12.9999 when the outgoing invoices are being captured in the SAP system.
3. There is only one outgoing delivery to an invoice that has already been sent to the customer. In case
there are multiple deliveries linked to an invoice, this requires a change in business for the solution to
be working in the customer landscape or a customer specific BAdI implementation needs to be created
and activated by the customer.
4. Tax reporting date is activated for the company code.
5. Supplied BADI implementation changes VAT data in FI document headers only in case it’s set to
31.12.9999. VAT date can be filled out automatically by SD-FI interface (sample implementation is
supplied in consulting note 1947124; this sample implementation sets VAT date to 31.12.9999 in case
of order-related billing of items with delivery status A or B).
6. The program is invoked at the time of good issue posting for delivery.
7. The program changes VAT date only in documents of type (VBRK-VBTYP): M (Invoice), O (Credit
memo), P (Debit memo), 5 (Intercompany invoice), 6 (Intercompany credit memo).
8. The program does not change VAT date in cancelled documents. Cancelled documents are recognized
with help of filed VBRK-FKSTO (Billing document is cancelled).
9. Documents to be changed are read from document flow. The program reads all subsequent documents
(of type M, O, P, 5 and 6) related to delivery and related to reference document (LIPS-VGBEL).
10. The program does not change back VAT date in case of goods issue cancellation.
Solution
The latest legal change needs the automatic update of the VATDATE as per the business case and also
based on the actual incoming/outgoing goods /service dates.
In case of VATDATE being captured at time of capturing of outgoing invoices for goods, the BKPF-VATDATE
should be provided with the date 31.12.9999 for the automatic update to be triggered. The SAP note 1947124
should be implemented prior to this solution for the streamlined to ensure VATDATE be populated with
31.12.9999.
In case the VATDATE does not correspond to 31.12.9999, the VATDATE is not updated with the actual
Goods Issue date as per the outgoing delivery document.
The date that is being considered for the VATDATE depends on the configuration maintained in SPRO:
Please refer the attachment for creation of the enhancement implementation for the BAdI.
Case 1: Tax Determination based on document date is already set for the company code.
In this case, the document date will be taken. The corresponding accounting document that was generated
when sales invoice information was captured will be updated with the outgoing delivery document date.
Case 2: The company code follows the default configuration of using posting date of documents as
tax determination date
In this case of the delivery, posting date will be considered for the update process. The corresponding
accounting document that was generated when a sales invoice information was captured will be updated with
the outgoing delivery document's posting date.
Assumptions
1. The date that forms the basis of the legal change is the delivery date of the document that is being
linked to the invoice(through sales order in SD module). In case the invoice has a delivery already
linked to it, then the legal change will not be applied.
2. Each sales invoice has and will have only 1 delivery document linked to it(through sales order in SD
module).
3. An invoice already has no delivery date/ Tax reporting date linked to it and has the Tax reporting date
Exceptions
If a customer needs to have an enhanced of the standard logic delivered / a different date to be considered
for updating the Tax reporting date, then the customer should create their own customer specific
implementation of the BAdI; for the issue of goods/services.
In case of services, if the automatic VATDATE cannot be triggered, the customer should manually update the
VATDATE in the corresponding accounting document via FI transactions.
Customer enhancements to this solution is to be done, if a customer wants to override the standard
functionality of the automatic update delivered via this note .A few examples are cited below for reference .
• Override the date conditions currently set for the date determination for VATDATE
A company code has document date set as tax determination in the transaction : OBCK, but for
some reasons the VATDATE that needs to be updated automatically ( under the context of the
current legal change) is the posting date . In such cases, the customer needs to create own
implementation of BAdi and copy& change the standard solution / include own logic. No change
should be done in the standard implementation delivered by SAP via this note.
For the current solution for the automatic update of the VATDATE , w.r.t the legal change solution
delivered via this note, in case a company has multiple deliveries linked to an invoice posted to a
customer, then they need to adjust the business process to ensure that one invoice has only one
goods issue(delivery document)document linked to it. In case the company prefers to follow the 1:N
relationship between customer invoice posted / sent and subsequent goods issue, then the
customer should proceed to have the customer implementation of the BAdi and deactivate the
standard implementation. In the customer implementation, customer can include the logic they
would need to have the legal compliance adhered.
To create the customer implementation for implementing customer specific corrections/ enhancements that
are out of scope from the standard solution , following steps needs to be followed
Step 1: Go to transaction code : SE18 (BAdi builder : Initial Screen for definitions).
Step 3: Navigate to the option of Enhancement Implementation on the Menu bar and select the option of
"Create".
Step 3.1 : A new popup appears where in the new customer specific implementation name has to be
provided. Provide a name that lies in the customer namespace and press "Enter" button
Step 3.2 : In the subsequent screen that appears, provide an appropriate text for the Implementation .
Step 3.3 : Navigate to the tab- "Interface" and check if the implementation class name has been assigned by
the system and it complies with a naming convention which is in line with customer namespace .
Step 3.5 : A new popup appears prompting to save the BAdi implementation steps completed till this SOint .
Press "Yes" and continue
Step 3.6 :Assign the package name which is not the SAP standard package but, one that is in the customer
namespace.
Step 3.7 :Press "Save" icon to save the changes in the customer package
Step3.8 : A new information popup appears. Press "Enter" and continue with the process.
Step 4. A new popup window appears listing all the enhancement implementations that are available, where
the current implementation can be linked to
Step 4.1 : Create a new enhancement implementation by clicking on the "Create" icon that appears at the
right hand side ( bottom of the popup).
Step 4.2: A new popup window appears for creating the new customer specific enhancement implementation.
Step 4.3: Provide an appropriate name for the new Enhancement Implementation and a short text for the
same .Press "Enter" and continue .
Step 4.4: Save it in the same package as was assigned in the step 3.6. Press "Save" icon to save the same
and continue.
Step 4.6: The implementation name would appear in the list of enhancement implementation available in the
landscape in the popup window that appears .
Step 4.7 : Select the implementation that was created using steps 4.1 to 4.4.
Step 5: The class builder is now available for editing the method for further enhancements .
Step 5.1 : Add in customer specific logic here and activate the class after saving the same in a workbench
request.
Step 7 :The system takes you back to the Business Add-In Builder : Change window
Step 7.1: Press "Ctrl+F3" or press the "Activate" the button to activate the implementation created.
Step 7.2:Check the value in the "Runtime Behavior" .It should be "The implementation will be called".
Step 8 : Deactivate the standard implementation, if the standard implementation delivered via this note is
already available in system.
Step 8.1: Press "Back" button to navigate to the initial screen of the BAdi builder (SE18).
Step 8.3:Navigate to the option of Enhancement Implementation on the Menu bar and select the option of
""Change".
Step 8.4: All implementation linked to this BAdi appear in a SOp-up window.
Step 8.5: From the list select "FIPL_SD_VATDATE_UPD", if this note was already implemented .
Step 8.7:Press "Ctrl+F4" or press the Deactivate icon on the toolbar to de-activate the standard
implementation .
Step 8.8: Check the value in the "Runtime Behavior".It should be "The implementation will not be called".A
status message stating that the BAdi implementation has been deactivated will appear confirming that the
standard implementation will not be invoked during the posting of the goods issue(delivery
document)documents for automatic update of VATDATE in the underlying accounting document.
Software Components
Correction Instructions
Other Components
Component Описание
XX-CSC-PL Poland
Support Package
SAP
Title
Note/KBA
Poland Legal Change : Update Tax Reporting Date (Sale of goods/services)-Only for
2008420
SAP_FIN(700)
Attachments