abap shortcut
TRANSCRIPT
-
8/12/2019 ABAP Shortcut
1/4
Shortcut What it does
Ctrl + D
Duplicate any line.
eg. i_vbap TYPE STANDARD TABLE OF vbap+ Ctrl-D = i_vbap TYPE STANDARD TABLE OF vbap
i_vbap TYPE STANDARD TABLE OF vbap
Ctrl + /
Jump to the "command field" where we enter t-codes. This comes really handy and saves a jump from keyboard to mou
on the box.
Ctrl + J
Convert to Proper casewhere the first letter of every word becomes a capital letter. This is pretty useful when writing c
eg. * this is a comment which will give absolutely no useful information will be changed to
* This Is A Comment Which Will Give Absolutely No Useful Information
Ctrl + I &
Ctrl + Shift + I
Incremental search. This is a little improved 'Find' (Ctrl + F) function which searches as soon as you type. Useful for im
backwards.
Ctrl + K Toggle between Upper case and Lower Case.
Alt + Selection
This is useful in situation where you need to select only the field names of a particular table.
eg.
caufv-aufnr,
caufv-werks,
caufv-objnr,
caufv-plnbez,
caufv-gamng,
caufv-gasmg,
caufv-gmein,
caufv-plnnr,caufv-plnal,
caufv-dispo,
caufv-fevor,
caufv-cy_seqnr ,
caufv-aufpl,
caufv-gstrp,
caufv-gltrp,
caufv-gstrs,
caufv-gltrs,
caufv-gstri,
caufv-gltri,
In these values, u can select only the field names by pressing Alt key and get the clipboard filled like this.
aufnr,
werks,
objnr,
plnbez,
gamng,
gasmg,
gmein,
-
8/12/2019 ABAP Shortcut
2/4
plnnr,
plnal,
dispo,
fevor,
cy_seqnr ,
aufpl,
gstrp,
gltrp,
gstrs,
gltrs,
gstri,
gltri,
Tab & Shift tab Increase and Decrease Intend
Ctrl + O Goto a particular line in the program
Ctrl + Shift + S Save your program in Desktop in .abap format. I came know about .abap only after learning this short cut.Ctrl + Selection When you do a selection with **** + -> or
-
8/12/2019 ABAP Shortcut
3/4
like,
Code Templates
Here I use a template for the text. This could be a text that is used for marking modifications or Defenition and
implementation of local classes etc.
* Begin of Insertion K12345
* End of Insertion K12345
i.e when I press i* in the editor, it will prompt for code completion..
When I press Tab for completion, it pops up for TR Number
http://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280754/pastedImage_26.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283018/pastedImage_4.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283016/pastedImage_3.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280754/pastedImage_26.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283018/pastedImage_4.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283016/pastedImage_3.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280754/pastedImage_26.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283018/pastedImage_4.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283016/pastedImage_3.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280754/pastedImage_26.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283018/pastedImage_4.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283016/pastedImage_3.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280754/pastedImage_26.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283018/pastedImage_4.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-283016/pastedImage_3.png -
8/12/2019 ABAP Shortcut
4/4
The TR number that we give will be added in the comment.
Variable Name Suggestions
This is just a small setting but it will save you from Copy pasting or re-typing small words.
When you check this box, it will suggest even for variable names like
http://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280761/pastedImage_51.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280818/pastedImage_0.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280755/pastedImage_29.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280761/pastedImage_51.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280818/pastedImage_0.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280755/pastedImage_29.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280761/pastedImage_51.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280818/pastedImage_0.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280755/pastedImage_29.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280761/pastedImage_51.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280818/pastedImage_0.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/38-92898-280755/pastedImage_29.png