i had written the following code as below
LOOP AT IT_WEMNG INTO WA_WEMNG WHERE EBELN = WA_EKPO-EBELN
AND EBELP = WA_EKPO-EBELP.
IF SY-TABIX = 1.
MOVE WA_WEMNG-EINDT TO WA_EKPO-EINDT.
W_WEMNG = W_WEMNG + WA_WEMNG-WEMNG.
MOVE W_WEMNG TO WA_EKPO-WEMNG.
but in the extended code check it is giving an error.
Please correct me.
Thanks in advance