Hi all,
In my req.....need to change the status field based on the updated values of other fields in the ALV.
If not gs_final-matnr is initial or not gs_final-erdat is initial or not gs_final-ernam is initial.
gs_final-status = 'CLOSED'.
Elseif not gs_final-org_id is initial or not gs_final-item is initial.
gs_final-status = 'OPEN'.
endif.
Is that possible to use CASE statement instead of IF or ELSEIF. Since the condition is carried out inside LOOP & ENDLOOP there is performce issue.
Regards,
Meenakshi.