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)

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