Display error message based on User Action - 'SAVE', 'CHECK' or 'Order' on SRM UI5 screen
Application Detail -> SRM Shopping Cart - SRMNXP New UI5 Screen: Whenever the user clicks on ‘CHECK’, ‘SAVE’ or ‘ORDER’ on shopping
carts, a set of validations must be performed at the shopping cart item level as per custom logic and criteria which should display corresponding error messages on the screen
Issue - > This requirement is implemented using BBP_DOC_CHECK BADI in which user action can be accessed using transaction
context, but these transaction contexts does not get populated when action is triggered from the SRM UI5 screen .
As in the SRMNXP UI5 Screen when user clicks on ‘CHECK’, ‘SAVE’ or ‘ORDER’ onshopping carts , this trigger respective ODATA method of data provider class /SRMNXP/CL_INTL_PDO_SC .
These method does not populate transaction context details for BBP_DOC_CHECK BADI as there were no event based execution at UI5 screen , all the execution is based on ODATA service call due to which our custom validation is not get executed
Can some one please let me know , if there is way to find the user action on the UI screen if yes please let us know the way to capture the action. If no please provide suggestion so that the requirement can be achieved.
Thanks and regards.