rEPORT ZCREATE_NEW_PROGRAM_VIA_ABAP.
* Type of an editor line: rssource-line
DATA: code TYPE TABLE OF rssource-line.
* Report Name
APPEND 'REPORT ZTESTING.'
TO code.
* Report Code
APPEND 'WRITE / ''Program created via ABAP!''.'
TO code.
* Report Name in SE38
INSERT REPORT 'ZTESTING' FROM code.
WRITE: / 'Report created (old report with same name overwritten).'.
WRITE: / 'Please check via transaction SE38'.
No comments:
Post a Comment