ABAP直接修改程序代码

*&---------------------------------------------------------------------*
*& Report Y_MOD_PRG
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT y_mod_prg.
DATABEGIN OF srctab1 OCCURS 1,
        txt(255TYPE c,
      END OF srctab1.

PARAMETERS: rep LIKE trdir-name.

AT SELECTION-SCREEN.

START-OF-SELECTION.
  READ REPORT rep INTO srctab1.
  EDITOR-CALL FOR srctab1.
  IF sy-subrc 0.
    INSERT REPORT rep FROM srctab1.
  ENDIF.
posted @ 2022-08-17 14:51  别忘了带红领巾  阅读(165)  评论(0)    收藏  举报