Using Code Templates

By Harsh Vardhan Bhalla, Infosys Technologies

Code Templates

Code templates reduce the time spent for routine coding. New Front-End Editor is required for creating and applying code templates. They are suggested by code hints. The New Front-End editor has a number of predefined code templates. Whenever § symbol appears in code hint, we can insert a predefined template by pressing Ctrl + Enter.

Modification Log

Modification logs are used in various objects like reports and function modules to track the changes made in object. Header modification log are used to highlight features, limitations and history of the changes made with purpose of these changes.

Creation of Code Templates

Step 1: Shift to ABAP New Front-End Editor. Execute transaction code SE38 and reach to Editor.  

Step 2: Click on the button “OPTIONS” available at the bottom of the right hand side.  

 

Step 3: Following Pop-up will appear.  

 

Step 4: Go in Code Templates and Press ADD. Below Pop- up will appear for Name and Description of code template.  

 

Step 5: Use Header Modification Log Format, in code window. Refer screen shot for details.    

Click Save. Header Modification Log is created.  

Step 6: Repeat the same and add *m as next template. Type Name and Description.  

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image