Showing posts with label quick abap tips. Show all posts
Showing posts with label quick abap tips. Show all posts
Thursday, January 31, 2008
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
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.