In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "how to use Visual Studio Code to write and activate ABAP code". In daily operation, I believe many people have doubts about how to write and activate ABAP code using Visual Studio Code. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "how to write and activate ABAP code using Visual Studio Code". Next, please follow the editor to study!
The underlying layer of the application server layer in the above figure is the database server layer, and Netweaver also supports the services of a variety of major database providers. For example, the following figure shows a Netweaver system used by Jerry that supports ten database management systems (DBMS), including SAP HANA.
Let's briefly review the different ABAP development tools that Jerry introduced earlier.
The first is ABAP Development Tool (ADT for short), which provides functions for adding, deleting, querying and activating ABAP programs, which are exposed to external consumers through the SICF service node adt located under the path sap/bc/.
The Java implementation of ABAP Development Tool is an extension of Eclipse, which uses JCO (Java Connector) to connect the adt service in the background of ABAP to realize the operation of ABAP program.
Jerry has introduced the details of ABAP Development Tool in detail before. I will not repeat them here, but you can refer to my articles:
Don't like SAP GUI? Then try Eclipse for ABAP development.
Jerry wrote an article for foreigners on SAP Community: https://blogs.sap.com/2014/08/12/an-example-to-help-you-understand-how-does-adt-work/
There are two ways to write ABAP in a browser, which is usually called ABAP WebIDE. One is through the traditional ITS**** (Internet Trasaction Server), in which the ABAP code displayed in the browser lacks syntax highlighting:
Another technology is that some applications of S/4HANA, such as Custom Logic, support syntax highlighting.
Of course, this grammatical highlight support did not fall from the sky.
Let's go back to the Visual Studio Code we talked about today. Many front-end developers of SAP Chengdu Research Institute have recommended this IDE to me. After the trial of Jerry, what impressed me most was its super fast startup speed, first-class scalability and prosperous ecosystem. Its extended applications are as rich as those of established development tools such as Sublime Text and Eclipse.
Like the ABAP Development Tool idea developed by SAP, the Visual Studio Code extension application, ABAP Remote File System, is also used to remotely consume the addition, deletion, query and modification service of ABAP daemon through another programming language, TypeScript.
The author of the extension is Marcello, a programmer who lives in London (Jerry is reminded of the former darling of the La Liga Real Madrid football team).
This Visual Studio Code extension is open source
The installation and configuration steps are detailed in the readme of the repository. The easiest way is to search Market place directly in Visual Studio Code using abap as the keyword, and then click Install to install.
The contents of the extended configuration file settings.json can be found in the following figure:
After the configuration is completed, you can see the instructions to connect the ABAP system and the two records configured in the settings.json in the command bar of Visual Studio Code. Choose one and log in to the system to display the ABAP program resources under the system. They are operated in much the same way as Eclipse-based ABAP Development Tool.
Of course, there are some features provided by Visual Studio Code, such as the Google-like real-time search shown below.
This extension itself does not provide syntax highlighting for ABAP code, so you need to install another syntax highlighting extension from the Lars Hvam contribution.
After installation, the syntax highlighting of ABAP can also work smoothly in Visual Studio Code.
The following dynamic picture from Marcello demonstrates the basic editing of ABAP code through this extension of Visual Studio Code.
The author also made it clear in his readme that the extension is still in the Beta testing stage and users have to take their own risks.
In Jerry's view, this extension of Visual Studio Code, if used to do ABAP development, the function is still relatively limited, but if you have aesthetic fatigue to SAPGUI or ABAP Development Tool, want to change a tool to read ABAP source code, then it is the same as the Sublime Text in the following figure, is a good choice.
At this point, the study on "how to write and activate ABAP code using Visual Studio Code" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.