Solution : https://service.sap.com/sap/support/notes/42269 (SAP Service marketplace login required)
Summary :
Due to a redesign of the accounting interface, fields VBRK-BELNR (accounting document number) and VBRK-GJAHR (fiscal year) are omitted in the billing header, affecting billing document printing. The standard system omits these fields, and modifications are required for specific customer needs, facilitated by SAP consultants. Alternative methods include SQL queries for document number fetching and using the FI_PERIOD_DETERMINE function module for fiscal year determination. Additionally, changes in program logic might be necessary for printing functionalities, with advice to use RSNAST00 or VF31 for print operations post-document creation. Reference SAP Note 170183 for related issues.
Key words :
call function 'fi_period_determine' exporting i_budat = vbrk-fkdat i_bukrs = vbrk-bukrs importing e_gjahr = gjahr exceptions error_message = 04, gjahr = vbrk-fkdat, function module fi_period_determine, symptom theaccounting document number, awkey = vbrk-vbeln, fields vbrk-belnr, vbrk-gjahr, customer-specific evaluations, print transaction vf31, create function
Related Notes :
398575 | List of billing docs: Accounting document number is missing |
170183 | |
81687 | Billing document printout - collective note |