Hi All
I want to enhance 2LIS_13_VDKON with the field Plant. I have appended the datasource in the include for MC13VD4KON (MCVBRP). And I wrote the following code in CMOD
DATA: L_MC13VD0KON LIKE MC13VD0KON.
WHEN '2LIS_13_VD0KON'.
LOOP AT C_T_DATA INTO L_MC13VD0KON.
L_TABIX = SY-TABIX.
SELECT SINGLE WERKS FROM VBRP INTO L_MC13VD0KON-ZZWERKS
WHERE AUBEL = L_MC13VD0KON-AUBEL.
MODIFY C_T_DATA FROM L_MC13VD0KON INDEX L_TABIX.
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
But for some reason , it is not updating the field. Pls advice