on 2025 Jan 30 6:47 AM
Hi Expert,
Some custom fields have been created at the header level of the Sales Billing screen (VF01), including a field for the Bill of Lading Date. The user wants a warning popup message to appear after inputting this field, saying: "Please reverify the Date." I have tried multiple BADIs, but it does not seem to be possible. Could you please confirm if this is achievable or suggest any possible solutions?
Request clarification before answering.
Hello @Amit66
A warning pop-up for field input is not supported. Key-user extensions cannot connect a modal dialogue to changes in a header field within the billing UI (VF01 isn’t available in Public Cloud; instead, use the Create Billing Documents (F0798) app).
You can configure a warning message to appear during Save/Check through the Sales Billing “check before save” Cloud Badi. This message will display in the Fiori message area, allowing users to continue, or, if preferred, you can set it as an error to prevent saving.
How to implement
Create the custom field in Custom Fields & Logic under the Sales: Billing Document context, enable it for the UI, and then publish.h.
Implement the Sales Billing check BAdI in Custom Logic; if the custom date is entered, display a warning message: Please re-verify the Date.
(Optional) Utilise Situation Handling to send proactive notifications when the date violates a rule after posting.
Useful SAP documentation
Business Add-Ins (BAdIs) for Sales Billing , lists the billing BAdIs you implement in Custom Logic, including check BAdIs. SAP Help Portal-Business Add-Ins (BAdIs) for Sales Billing
With regards
Chuma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can try the following 2 things.
1. **Custom Logic App**: In SAP S/4HANA Cloud, you can use the Custom Logic app. This app provides you with a platform to implement custom BAdI logic.
2. **Flexible Billing Document Cancellation BAdI**: You may use the `SD_BIL_FLEX_CANCELLATION` BAdI to implement custom validation logic which can potentially trigger messages based on certain conditions if applicable to your requirement. You should investigate if checking this field's value fits into the scope of this BAdI.
Best regards,
Dequan Xu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 16 | |
| 14 | |
| 6 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.