SAP Knowledge Base Article - Public

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

Symptom

Customers would like to validate if Custom Fields are filled on Billing Documents through BAdI during process flow. 

Environment

SAP S/4HANA Cloud All versions

Reproducing the Issue

1. Create a Custom Field and create its logic via SD_BIL_DATA_TRANSFER BAdI

2. Checks if you might proceed with document posting or saving even with custom field blank.

Cause

There is no BAdI available currently for checking custom fields before saving of billing document.

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.

Resolution

There is no BAdI available currently for checking custom fields before saving of billing document. Customer might consider do the check in the preceding sales or delivery document via the sales BAdI or the incompletion check.

Keywords

Check, Empty, Custom, Field, Logic, Saving, Billing, Before, Posting, Verifies, If, Blank, null , KBA , SD-BIL-IV , Processing Billing Documents , How To

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions