SAP Knowledge Base Article - Public

3715619 - Cost Center is blank in BAdI FIN_ACDOC_ITEM_VALIDATION despite being filled on UI - SAP S/4HANA Cloud Public Edition

Symptom

Cost Center field appears empty in BAdI FIN_ACDOC_ITEM_VALIDATION despite being filled earlier in the user interface.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Implement BAdI FIN_ACDOC_ITEM_VALIDATION to validate cost center value is not empty
  2. Navigate to the 'Create Supplier Invoice' application.
  3. Enter the cost center for the relevant GL account range.
  4. Observe that the validation message still appears, indicating the cost center field is empty.

Cause

Entry View summarization is active in the Configuration activity Activate Entry View Summarization. With this feature enabled, certain fields, including the Cost Center, are cleared to reduce the number of line items in the Entry View. As a result, non-open item management line items remaining in BAdI FIN_ACDOC_ITEM_VALIDATION will have an empty cost center field.

Resolution

  1. Verify that Entry View summarization is active in the Configuration activity Activate Entry View Summarization.
  2. Check the fields in BAdI FIN_ACDOC_VALIDATION instead of BAdI FIN_ACDOC_ITEM_VALIDATION.
  3. Utilize the table UNCOMPRESSEDITEMS within BAdI FIN_ACDOC_VALIDATION to access all relevant information, including the cost center field.
 
 
 

See Also

Refer to SAP Help page Entry View Summarization for more information on the Configuration activity.

Keywords

cost center, badi, fin_acdoc_item_validation, empty field, entry view summarization, create supplier invoice, gl accounts, validation message, uncompresseitems, sap s/4hana cloud , KBA , FI-SL-VSR-2CL , Validation, Substitution and Rules (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions