Introduction
If you are an ABAPer you must be using the TAB key in your keyboard a lot to Auto Fill Keyword Commands. Last year Google have taken this TAB Key concept in writing emails which is awesome. This Blog will help in saving Code Templates that you can use in any ABAP Program.
Code Templates can be used for the following
- Generate ALV Grid of Report
- Sending email to External Email
- Upload File from Presentation Server.
- Download File to Presentation Server
- Upload File from Application Server.
- Download File to Application Server
Above are a few examples. Please note that this concept is not eliminating creation of reusable Function Module and Class as this will also help then in using those Classes. I have saved a lot of time using this concept and it is a Hidden Treasure for ABAPers.
Also check below Blog for enabling Code Hints for Non Keywords
https://blogs.sap.com/2020/09/30/how-can-we-enable-code-hints-for-non-keywords-in-abap-editor-se38-s...
Solution
This solution is available in all SAP Netweaver all Options.
After the above is Selected now let us check the following option and Click Below.
Click on Add
Below I am creating a Code Template for ALV
After you Paste your favorite ALV Code Sample click on Save
Now when we type alv we get this Prompt and hit TAB Key in Keyboard. Wala Magic happens.
Conclusion
This is available in both SAP ECC and SAP S/4HANA
Below is the video version
https://youtu.be/TLiITygwZ3o