For the SAP standard Action SET_EXM_STATUS_IN_EXECUTION (Set Execution Status to in Execution) of Standard Business Object /SCMTMS/TOR (Transportation Order) of BOPF in SAP TM, there was a need to add Action Validation. I have added the Custom Action Validation in the custom enhanced Business Object (in /BOBF/CUST_UI), but the Action Validation is not getting triggered/ not getting called when I am changing the Execution Status of the Transportation Order to 'In Execution' in NWBC.
The steps are same as mentioned Section 3.3.7 (Creating Action Validations) in the SAP Transportation Management 9.x Enhancement Guide. Also after creating the Action Validation, I tried manually calling the CHECK_ACTION method (as mentioned in the blog Navigating the BOPF: Part 4 – Advanced BOPF API Features) of the BO Service Manager to check if the custom Action Validation gets triggered but it also does not trigger the custom Action Validation.
Any help would be appreciated
No issue can be found from your setting, some points you can try.
If above doesn't work, you can try to find the cause via debug.
you can put one break-point at /bobf/cl_frw->do_action(not interface method) line 480 where check_action is involved.
And in check_action, line 313, you can verify whether your validation is considered or not.