Friday, 27 December 2013

ABAP Shot Cuts Part 1


·        Comment/UN-comment lines
Comment allows you to apply a comment from a selected block.
UN-comment removes the comment from a selected block.
You can set these features by clicking with the secondary mouse button in the code and choosing Format -> Comment Lines or UN-comment lines.
You can also set them using:
  • CTRL+ < for Comment
  • CTRL+ > for UN-comment.
·        Indent/UN-indent lines(Increase and Decrease tab space)
This feature allows you to indent lines in the code by a certain number of spaces. 
You can increase or decrease line indent by clicking with the secondary mouse button in the code and choosing Format -> Increase Line Indent  or Decrease Line Indent.
You can also by using TAB and decrease the line indent by using SHIFT+TAB.
You can also Use:
  • TAB for increase the line indent
  • SHIFT+TAB for decrease the line indent
·        Case changing (upper/lower/capitalize/invert)
This feature allows you to switch between cases when you code.
You can switch between cases by clicking with the secondary mouse button in the code and choosing Format -> Change Case.
You can also change cases using:
¡        CTRL+L for Lower Case
¡        CTRL+U for Upper Case
¡        CTRL+J for Capitalize
¡        CTRL+T for Sentential
¡        CTRL+K for Invert Case
·        Sort lines
This feature allows you to select lines in your source and sort them alphabetically.
You can set it by clicking with the secondary mouse button in the code and choosing Format -> Sort Lines.

EX:


 


·        Join lines
This feature allows you to merge the text of two or more lines.
You can set it by clicking with the secondary mouse button in the code and choosing Format -> Join Lines.

EX: