Solution : https://service.sap.com/sap/support/notes/1296949 (SAP Service marketplace login required)
Summary :
Upon modifying the VAT date (BKPF-VATDATE) in a document header via a line item, users encounter the termination of the transaction with error message F5 165 stating "Company code & is not defined." This issue, affiliated with transaction codes like FB02, arises due to a defect in Note 1162771 linked to display settings in account processing options (FB00). Users are advised to resolve this by importing a Support Package or applying a manual correction.
Key words :
relevant support package, manual advance correction, alv classic list, classic display, bkpf-vatdate, document header, transaction terminates, message f5 165, company code &, terms fb02
Related Notes :
| 1489350 | FB02: Problems after changing tax reporting date |
| 1366172 | FB02: Update termination after changing row and VATDATE |
| 1232484 | How to use the VAT due date, tax reporting date VATDATE |
| 1023317 | Legal Change: Vat Due date |