on 2022 Nov 21 11:03 AM
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
Request clarification before answering.
Hi Singh,
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.
Best Regards.
Jerry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jerry,
Sorry for the late response.
For this step do we need to check the Enhanced BO in BOBT?
Yes I tried implementing the CHECK_DELTA and CHECK methods also in the Validation Class but still the validation does not happen.
Thank you for this recommendation, I tried to debug by putting the breakpoint at DO_ACTION method of Class /BOBF/CL_FRW and also checked the CHECK_ACTION method, but the validation is still not called. While debugging I found that the VAL_LIST in Action Configuration (LS_ACTCONF) is empty. It should have the value of our validation right ?
Also I tried to manually call the CHECK_ACTION method of the BO Service Manager Class as mentioned in the blog Navigating the BOPF: Part 4 – Advanced BOPF API Features. Still our validation is not called.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.