The Features of ABAP New Editor Part 2

...Previous

Creating custom code template:

Now we would work on creating our own code template for our future use. 

As observed in the earlier screenshots, there is no code template available for subroutine. Let us create a code template for the same.

 

Select your code and click on right button. Select Format -> Extract template 

 

Enter the name for your code template. 

Click on OK.

 

 

Now we need to define the position where the selected text (surrounded text) to appear.  

Click on the empty line between “form” and “endform” and click on “Insert tag”  

Select Surrounded Text from the given options.

 

Save and exit.

To test our code template, write a sample code in our program. 

 

Right click and select our code template.

 

Our code template is displayed as below: 

 

Now just enter the form name to complete your subroutine definition. 

Setting Break-points

Open the new ABAP editor and write some sample code in it.

 

Activate your program. 

To set the break-point, click on indicator margin, available on the left side of the line numbers. (See the screenshot below): 

 

Break-point in set now. 

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