cancel
Showing results for 
Search instead for 
Did you mean: 

When to use CHECK_BEFORE_SAVE Method ?

09-18-2026 8:00 PM
shubhashish_das Discoverer
100 views 1 comments Go to solution
SAP Managed Tags
Subscribe

I hv an unmanaged scenario with draft enabled. I can successfully write validation in my Bdef and validate my data there itself.

Then why to write validation code in check_b4_save method. which one to use and when ?

Accepted Solutions (1)

Accepted Solutions (1)

sravan_aleshwaram
Contributor

Hello @shubhashish_das 

In RAP unmanaged with draft,

Implement validations primarily in BDEF. Use CHECK_BEFORE_SAVE only for final consistency checks and last-minute validations before persistence. This avoids duplicate validation logic while ensuring data integrity.


Thanks,
Sravan

Answers (0)