SAP Note 7539 - FI transfer does not work using VF04

Component : Account Assignment -

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

Summary :
The FI document for an SD billing document is not created using VF01 or VF04, but it works with VF02. The billing log may indicate discrepancies in tax amounts or disallow certain G/L account assignments. The underlying cause is a discrepancy in tax amounts between SD and FI, triggering errors or warnings based on the tax code verification settings. Warnings behave as errors when invoked via VF04 (program SAPMV60S) but are ignored in VF01. Solution: Ensure consistent tax rates in both SD and FI and refer to Problem Note 21212. Modify programs such as LF012F04 and the 'CALCULATE_TAX_DOCUMENT_N' function module accordingly.

Key words :
import parameters     export parameters      i_anwtyp    bkpf-awtyp            space    - change source text, duerfen keine warnungen mehr kommen    read table xbkpf  index 1, mwstab-mwskz mwstab-wmwst                          mwstab-steuer mwstab-waers                    raising steuerbetrag_falsch, mwstab-mwskz mwstab-wmwst                            mwstab-steuer mwstab-waers                      raising steuerbetrag_falsch, call function 'calculate_tax_document_n'       exporting check_only = char_x                i_anwtyp   = xbkpf-awtyp, mwstab-mwskz btr1ed                            btr2ed mwstab-waers                      raising steuerbetrag_falsch, mwstab-mwskz btr1ed                              btr2ed mwstab-waers                        raising steuerbetrag_falsch, i_anwtyp    bkpf-awtyp            space    - change source text, call function 'calculate_tax_document_n'      exporting i_anwtyp   = xbkpf-awtyp, t_bkpf      = xbkpf                t_bseg      = xbseg                t_dbseg    = xdbseg       exceptions

Related Notes :

429117Collective note advice note SD-FI interface