*---------------------------------------------------------------------* * FORM COMPLETE_SUBSETFIELDS * *---------------------------------------------------------------------* * fill subset comment fields in view-wa from *view-wa (detail screen)* *---------------------------------------------------------------------* FORM complete_subsetfields. FIELD-SYMBOLS: TYPE vimnamtab. LOOP AT x_namtab ASSIGNING WHERE readonly EQ subset AND keyflag EQ space. ASSIGN: COMPONENT -viewfield OF STRUCTURE TO , COMPONENT -viewfield OF STRUCTURE TO . * ASSIGN +X_NAMTAB-POSITION(X_NAMTAB-FLENGTH) * TO . * ASSIGN +X_NAMTAB-POSITION(X_NAMTAB-FLENGTH) * TO . MOVE TO . ENDLOOP. ENDFORM.