Programming Elegance - H. Klein MGT475 Programming Elegance...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
H. Klein MGT475 Programming Elegance Basic Program Structure - Put Data Declarations before Procedural Code - If there are several reports being produced, you can put Data Declarations just before the Procedural Coding of each report - Don’t put Data Declarations inside of Selects - To facilitate coding in longer programs, use a split screen to allow you to see Data Declarations while coding Procedures. Formatting your code - Consider using Pretty Printer - You can use it to capitalize ABAP commands and to indent Selects, If’s, Loops of all sorts - If you wish, you can turn off the capitalization feature and use just the indenting feature by changing the settings SE38 - String out DATA, WRITE and other statements using a colon (i.e. DATA: or WRITE:) then use indenting to format these so that code following these show up on individual lines. - Example: WRITE: / matnr, arktx, whatever. - Separating out sections of code using the following Patterns: - Z475F_AUTHOR/PGM - Use at the top of the program under the Standard ABAP heading
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/05/2011 for the course MGT 475 taught by Professor Klein during the Winter '11 term at Grand Valley State University.

Page1 / 2

Programming Elegance - H. Klein MGT475 Programming Elegance...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online