ABAP Editors

Shortcuts

  • Ctrl + D:Copy one line downward
  • Ctrl + /:Go to Command Filed at top left corner
  • Ctrl + J:Convert to Proper case where the first letter of every word becomes a capital letter. This is pretty useful when writing comments
  • Ctrl + T:Capitalize the first word of one sentence
  • Ctrl + I&Ctrl + Shift + I:Incremental search. This is a little improved 'Find' (Ctrl + F) function which searches as soon as you type.
  • Ctrl + K:Toggle between Upper case and Lower Case
  • Ctrl + L/U:All text lowercase/uppercase
  • Ctrl + N:Open a new Window in SAP
  • Shift + F1:Execute Pretty Printer
  • Ctrl + F2:Check Syntax
  • Ctrl + F3:Activate Object
  • Ctrl+G:Find next )
  • Ctrl+O:Go to line
  • Ctrl+H:Find and Replace
  • Ctrl+Shift+S:Save your program in Desktop in.abap format.
  • Ctrl+Shift+L/X:Deletes whole line
  • Ctrl+Shift+V:Gives All Paste options
  • Ctrl+Alt+T:Swaps line with Upper case
  • Tab & Shift tab:Increase and Decrease Intend
  • Ctrl + Space:Display options to complete a command
  • Ctrl + ] & Ctrl + [:Jump to previous or next paragraph.,Jump to previous or next paragraph.A paragraph is created by leaving an empty line between statements.

Code Templates

​ this can be set at the bottom right corner of the abap editor

  • *--:--------------------------------------------------------------------

  • case:

    CASE |.
      WHEN .
      WHEN .
      WHEN OTHERS.
    ENDCASE.
  • define:

    DEFINE |.
    %SurroundedText%"default space
    END-OF-DEFINITION.
  • do:

    DO | TIMES.
    %SurroundedText%
    ENDDO.
  • if:

    IF |.
    %SurroundedText%
    ENDIF.
  • ife:

    IF |.
    %SurroundedText%
    ELSE.
    
    ENDIF
  • loop:

    LOOP AT |.
    %SurroundedText%
    ENDLOOP.
  • region:

    "$. Region %Region Name%
    %SurroundedText%
    "$. Endregion %Region Name%
  • try:

    TRY |.
    %SurroundedText%
    CATCH .
    
    ENDTRY.
  • while:

    WHILE |.
    %SurroundedText%
    ENDWHILE.
  • def1:

    %type%:
        BEGIN OF %name%,
            |
        END OF %name%%dot or comma%
  • def2:

    BEGIN OF %name%,
        |
    END OF %name%%dot or comma%

转载于:https://www.cnblogs.com/aurora-cj/p/10969489.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值