SAP Note 1334240 - Functional area not rederived for account assignment change

Component : Basic Functions -

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

Summary :
In SAP New General Ledger Accounting, when activating cost of sales accounting across one or multiple company codes, a recognized issue occurs where the system does not rederive the functional area after manual entry or subsequent changes in the entry screen's account assignment. The system originally determines the functional area based on the V_FAGL_ACTIVECFC view and either master data or substitution logic. To address inconsistencies, a solution involving FI validation at event 2 has been suggested. This utilizes a user exit (example: U110) to compare the derived functional for discrepancies before posting, ensuring accuracy in functional area recording.

Key words :
call function 'fagl_func_area_frm_cobl_derive'    exporting      i_cobl         = ls_cobl    importing      e_cobl         = ls_cobl    exceptions      error_occurred = 1      not_found      = 2, call function 'move_bseg_to_cobl'    exporting      i_bseg         = bseg    changing      c_cobl         = ls_cobl    exceptions      internal_error = 1, user exit u110  exits-param = c_exit_param_none, functional area ----------------------------------------------------------------------       -->b_result   false = error message / posting, check bkpf-awtyp eq 'cajo', check bkpf-awtyp ne 'auak', check sy-uname ne 'smitha', ls_cobl-fkber <> bseg-fkber, specific account assignment objects, enter syst-tcode = 'fbcj'

Related Notes :

1398943Always Determine BAdI functional area automatically
1275756New G/L: Error in CO documents (functional areas, and so on)
1135452Incorrect functional area after account assignment change
1024480New general ledger: Error in CO documents (functional area)
115840Correcting functional areas in special purp.ledgers