In most cases this phenomenon occurs when an invoice is being posted to accounting after a system upgrade. The reason is note 1490708.
With note 1490708, the system behavior concerning the transfer of the business area of the invoice item (field VBRP-GSBER) to the accounting document (field BSEG-GSBER) had been changed radically. The business area is no longer taken over from the invoice.
Note 1490708 is automatically implemented into the system with the following Support Packages:
By applying the note following source code is introduced in FORM ACCOUNTING_HEAD_LINE which is responsible for the missing business area:
If the business area is flagged as required field (tr. FBKP) for the field status group assigned to the G/L account, the error message F5808 (Field business area is a required field fo G/L account) appears.
To overcome the situation it is possible to fill XACCIT-GSBER by using Userexit EXIT_SAPLV60B_002:
- Open the transaction CMOD.
- Create a project in the Enhancement SDVFX002.
- Implement the userexit, so that the field GSBER will be filled in include ZXVVFU02.
- Save and activate the project.
An example for the source code within this userexit:
Source code of ZXVVFU02
IF xaccit-gsber is initial.
xaccit-gsber = cvbrp-gsber.
For more information concerning SD-FI userexits check following note: