BADI implementation for transaction CS01

...Previous

 Step 7:

Enter implementation short text

Step 8 :

Click on interface tab.

Step 9 :

Double click on the method in which you want to write code as decided. You will see the following.

Step 10 :

Write the following code in the method.

method IF_EX_BOM_UPDATE~CHANGE_AT_SAVE.

if I_STLAL > 1.
  
message 'Alternative BOM cannot be created for this particaular material' type 'W'.
  
endif.

  
LEAVE PROGRAM.

endmethod.

Step 11 :

Save and activate the code and come back.

Step 12 :

Activate the Implementation and go to CS01 and try to create BOM for second time.

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image