Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Friday, April 18, 2008

Creating new program via ABAP SAP ABAP INTERVIEW Questions

*
* Creating new program via ABAP

*
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'.

*-- End of Program

No comments:

Post a Comment

Content

Recent Topics