Modification not working for both internal table and control table in SAP ABAP

There seems to some mistake in your update modle. PFB the updated one

Example

MODULE update INPUT.  
    MODIFY snctab INDEX ctrl-current_line.
    IF sy-subrc <> 0.
       APPEND snctab.
    ENDIF.
 ENDMODULE.
Updated on: 2019-12-12T08:22:29+05:30

736 Views

Advertisements