Skip to Content
Technical Articles
Author's profile photo Andrew Lunde

Xtending Business Application Studio : 4 of 3

Since my last installment of this blog post series, I’ve learned how to publish Theia extensions!  You can find out how to publish your own by getting started with this wiki page.

When you publish extensions to the Open-VSX marketplace, they will appear in the EXTENSIONS plugin within BAS.  So for a little encore, I created an extension that makes it even easier to perform the steps mentioned in blog post 1 (NOTROOT) and blog post 3 (Python).

Search for an extension that starts with Partner and select the SAP Partner Engineering BAS Installer extension.

Now that the installer extension is installed, it provides 2 new commands that you can find in the View -> Find Command…  function.  First, to install Python by typing BAS: Install Python.  Open up the output and select the Python Installer occurrence to see that it completed without issues.  Then verify that python is available by opening a new terminal and issuing the command.

python -V

Second, install NOTROOT by typing BAS: Install NOTROOT.  Open up the output and select the NOTROOT Installer occurrence to see that it completed without issues.  Then verify that NOTROOT is available by opening a new terminal and issuing the command.

jq -V

Currently there is no uninstall option for Python or NOTROOT, but by packaging what is effectively some scripts into an extension, I can make it way easier to install these “and other” tools into BAS.

Let me know if you have and questions or issues by leaving me a question below or better yet, asking it on the SAP community.

-Andrew

Partners: If you have a question, click here to ask it in the SAP Community . Be sure to tag it with Partnership and leave your company name in the question so that we can better assist you.

 

Assigned tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Andrew Lunde
      Andrew Lunde
      Blog Post Author

      See Also Ohad's blog post...

      https://blogs.sap.com/2020/12/28/extending-sap-business-application-studio-development-environment/

      -Andrew

      Author's profile photo Gaurav Chaudhar
      Gaurav Chaudhar

      Hey Andrew,

      Nice Post.

      I was able to perform these step and could run python scripts as well. However, when I do PIP Install, the command always runs into error. I even tried nonroot but no luck.

      Any idea if it has something to do with user privilages? or anything else?

       

      Regards,

      Gaurav

      Author's profile photo Yuan Zhuang
      Yuan Zhuang
      Hey Gaurav,
      
      You can at first try to reinstall pip package by using this command in your terminal:
      
      curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
      python get-pip.py pip==19.3.1
      
      And then, use pip install to install your modules. I hope that could work for you.
      
      Regards,
      
      Yuan
      Author's profile photo Gaurav Chaudhar
      Gaurav Chaudhar

      Hi Yuan,

       

      Great. It worked 🙂 Thanks.