Kishore Thutaram
SAP Solution Architect | 16+ Years' Experience in SAP | Sharing Practical SAP Knowledge | Engineering Graduate with Expertise in SAP Architecture
https://fiowelt.comBusiness Scenario:
“Suppress the option of deleting the sales order items to avoid inconsistency”
Steps : Open Include MV45AFZB
Form routine: FORM USEREXIT_CHECK_XVBAP_FOR_DELET USING US_ERROR
US_EXIT.
if t180-trtyp = 'V' and us_error ne space. "Change mode.
us_exit = charx.
message i001(ZZ) with 'Deletion stopped, please use reason for rejection'.
endif.
SAP Solution Architect | 16+ Years' Experience in SAP | Sharing Practical SAP Knowledge | Engineering Graduate with Expertise in SAP Architecture
https://fiowelt.com