Skip to Content
0
Former Member
Feb 25, 2009 at 05:20 AM

Field not updating after datasource enhancement

46 Views

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