SAP for Automotive Discussions
Connect with fellow SAP users in discussions to troubleshoot challenges, share best practices, and fuel each other's success. Join a conversation or start your own.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to put validation on vehicle action - "VEH_SAVE"

Former Member
0 Kudos

Dear Experts, We have implemented a BADi on action "VEH_SAVE" We need to put a validation on the number plate (LICEXT). We are getting the updated value in the BADI private method MS_IOBJ_MULTI_TXT_PREV table DBM_V_IREGHIST. But when we read the data using the GET method it returns the old value which should not be the case, Kindly suggest. Regards, T.R.S.Praveen

3 REPLIES 3

SachinX
Advisor
Advisor
0 Kudos

Hi Praveen,

You implemented the BADI in the Execution or in the preparation stage.

In my opinion if you put the validation in the preparation BADI interface /DBM/IF_OCF_ACTION_PRE then it would work.

Please check.

Regards,

Sachin Balmiki

SachinX
Advisor
Advisor
0 Kudos

Is your query resolved, please do let me know the solution..

Regards,

Sachin Balmiki

Former Member
0 Kudos

Hi Sachin, The issue got resolved by implementing default fallback class /DBM/CL_DEF_IM_VEHICLE_API. Regards, T.R.S.Praveen