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:
“Raise an error message when the user tries to change the delivery via the VL02N transaction based on a condition.”
Steps : – Transaction code SE19
Create a BADI implementation on a standard BADI LE_SHP_DELIVERY_PROC
Implement the method IF_EX_LE_SHP_DELIVERY_PROC~READ_DELIVERY
Implement the logic below.
IF ( sy-tcode EQ 'VL02N' ) AND sy-batch IS INITIAL.
IF likp-zz1_pck_dlh EQ '3'. "Business condition
MESSAGE 'Delivery is in PICK Status 3, no changes allowed' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
ENDIF.
SAP Solution Architect | 16+ Years' Experience in SAP | Sharing Practical SAP Knowledge | Engineering Graduate with Expertise in SAP Architecture
https://fiowelt.com