Skip to Content
0
Apr 21, 2020 at 07:41 AM

ABAP CEWB ABAP_IF_CONDITION_MATERIAL_NUMBER

140 Views

Hello

My name is Marko and i have a problem with IF function in transaction cewb/sap_item/items overview/mass change. I want to create a IF statement in ABAP editor when certan material is listed the field Quantity (ITM_CLASS_DATA-MENGE) changes.

Materail 11111


* X is the value you must return
form GET_NEW_ITM_CLASS_DATA_MENGE
using segment structure ITM_CLASS_DATA
changing X.

IF MBM_CLASS_VIEW-MATNR ='11111'.  
   write '2222'.  
ELSE.  
   write ''.
  
ENDIF.