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.
* 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.