Ansicht
Dokumentation

VATDATE_RULES - Define and Check Tax Reporting Date

VATDATE_RULES - Define and Check Tax Reporting Date

rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

You use this Business Add-In (BAdI) in the Financial Accounting (FI)component to have the system propose a value for the tax reporting date field during document entry.

The method VATDATE_DETERMINE determines the default value proposed on the screen, for example, during document entry in the dialog box for taxes. The method VATDATE_DETERMINE proposes the posting date, the document date, or another value according to customer-defined rules.

You can change this date in the transaction for changing documents (FB02). But first you need to allow for the date to be changed in Customizing for Document Change Rules under Document Change Rules, Document Header. You can use the method VATDATE_CHECK of this BAdI to verify the changes to the tax reporting date in the document.

The BAdI is activated in the standard delivery. The default implementation takes effect only after you activate the function for the tax reporting date in Customizing for the global parameters of the company code. To do this, go to Enter Global Parameters and set Tax Reporting Date Active.

The standard programs of Financial Accounting only call up the method VATDATE_CHECK.

In Financial Accounting, the BAdI is implemented in the following places:

  • Function group TAX1 (taxes)
  • Program SAPMF05A (entry of accounting documents)
  • Program SAPMF05L (display and change of financial accounting documents)
  • Function group RWCL (general interface to accounting)
  • Function group SAPLFCJ_PROCESS_MANAGER (cash journal)

The default implementation for Releases starting at SAP ERP 6.0 is called VATDATE_VALUES_DEFAULT_SAP.

Within the default implementation, the system always calls the method VATDATE_DETERMINE when the document requires a tax reporting date (VATDATE) but no value is available or a value could not yet be entered. By default, the system proposes either the posting date or the document date. Which date the system proposes depends on your Customizing settings for the company code, which you make under Assign Company Code to Document Date for Tax Determination.

Method VATDATE_CHECK checks whether a provided value, a proposed value, or an entered value fulfills certain conditions or rules.

You also can create your own implementation in which these special rules are defined. The standard rule states that the tax reporting date (VATDATE) must not be prior to the posting date and the document date. If it is earlier, the system issues the message FF785; you can change this message in Message Control.

The BAdI is not filter-dependent. And it is not usable more than once.

Methods:

Determine Tax Reporting Date (VATDATE_DETERMINE)

Check Tax Reporting Date (VATDATE_CHECK)

SAP Note: 1232484






RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.

Length: 3675 Date: 20240523 Time: 163418     sap01-206 ( 60 ms )