If you wish to display text in any of your reports that needs to be printed, then you can make use of text elements. It is a good practice not to hard code the text in the programs. If the text is maintained centrally, then it can be called in any report and redundancy can be avoided. Moreover if the text needs to be changed then it can be done at one place rather than changing every instance if it is hard coded.
Text element maintenance can be done in the ABAP Workbench. It is used to maintain program text in different languages. The text that program uses can be maintained centrally for a program.
Transaction SE38 (ABAP Editor)
Menu Path >>>>> Goto--------TEXT ELEMENTS---------------Selection Text
Please check the screen shots below.
Saturday, January 5, 2008
SAP ABAP
ABAP (Advanced Business Application Programming) is a programming language for developing applications for the SAP R/3 system, a widely-installed business application subsystem. The latest version, ABAP Objects, is object-oriented programming. SAP will run applications written using ABAP/4, the earlier ABAP version, as well as applications using ABAP Objects. ABAP is used extensively to build, customize and tune SAP as per the users requirements. ABAP is uswd for developing custom reports, Sap Scripts, Adobe Forms, Smart Forms, Interfaces, and many other applications that are specific to a particular business.
Always use Pretty Printer and Extended Program Check before releasing the code.
Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive.