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: 12-Dec-2019

398 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements