SAP Knowledge Base Article - Public

3227690 - Avoid empty Custom Fields on Sales Billing process flow - SAP S/4HANA Cloud Public Edition

Symptom

Validate whether Custom Fields are filled in Billing Documents using a BAdI logic during the process flow.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a Custom Field and create its logic via SD_BIL_DATA_TRANSFER BAdI
  2. Check if proceeding with document posting or saving is allowed even when a custom field is blank

Resolution

There is no BAdI available currently for checking custom fields before saving of billing document. It might be considered to perform the check in the preceding sales or delivery document using the sales BAdI or the incompletion check.

Although there is a BAdI under 'Custom Fields' app for sales called 'Sales document check before save', this BAdI checks sales document data before saving a document or aborts document saving. But there is no similar one for billing document. Also, under Manage Your Solution > Configure Your Solution : 'Incompleteness Procedures' > Configuration step : 'Define Incompleteness Procedures' custom fields can be added to the procedure, but that also cannot be set for the billing document type.

Keywords

Check, Empty, Custom, Field, Logic, Saving, Billing, Before, Posting, Verifies, If, Blank, null , KBA , SD-BIL-IV , Processing Billing Documents , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions