SAP Note 1319334 - POLAND: transfer VAT due date from SD to FI (VATDATE)

Component : Logistics - Financial Accounting

Solution : https://service.sap.com/sap/support/notes/1319334 (SAP Service marketplace login required)

Summary :
To manage VAT due dates effectively in Poland, SAP introduces functionality to derive VAT due dates from SD documents and transfer them to FI correctly using BAdi and user-exit adaptations. Depending on certain conditions regarding invoice dates, sales date, special material index, and invoice corrections, different rules apply. For example, if the invoice date is no later than seven days after the sales date, the VAT due date matches the invoice date. More specific conditions, like the handling of special indices or invoice corrections, are catered for distinctively. Utilization of enhancement SDVFX008 and user exit EXIT_SAPLV60B_008 is recommended for custom implementation needs.

Key words :
call function 'sd_print_terms_of_payment'       exporting            terms_of_payment            = cvbrk-zterm            bldat                        = lv_fkdat            budat                        = lv_fkdat            cpudt                        = lv_fkdat             language                    =            country                      = cvbrk-land1        importing             payment_split                = vbdkr-p_split             zfbdt                        = vbdkr-zfbdt       tables            top_text                    = zterm       exceptions            terms_of_payment_not_in_t052 = 1, call function 'fi_document_read'       exporting            i_awtyp     = 'vbrk'            i_awref     = cvbrk-sfakn            i_awsys     = cvbrk-logsys            i_bukrs     = cvbrk-bukrs            i_gjahr     = cvbrk-gjahr       tables            t_bkpf      = lt_bkpf          t_bseg      = xbseg       exceptions            wrong_input = 1            not_found   = 2, call function 'fi_company_code_data'  exporting    i_bukrs = cvbrk-bukrs  importing    e_t001  = ls_t001, call function 'fi_country_data'  exporting    i_land1 = ls_t001-land1  importing    e_t005  = ls_t005, payment  lv_fkdat = cvbrk-fkdat + cvbrk-valtg, vat date calculation simplest case  lv_vat_date = cvbrk-fkdat, lv_brutto = cvbrk-netwr + cvbrk-mwsbk, lv_fkdat = cvbrk-valdt, describe table lt_bkpf lines sy-tabix, read table zterm index 1

Related Notes :

1023317Legal Change: Vat Due date