https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/members/developer-advocates/Vitaliy-R.xmlSAP Community - Witalij Rudnicki2025-08-05T11:30:40.232768+00:00python-feedgenWitalij Rudnicki in SAP Communityhttps://community.sap.com/t5/technology-q-a/sap-cap-hdi-and-datasphere/qaa-p/14130013#M4917255Re: SAP CAP, HDI and Datasphere2025-06-17T14:46:50.060000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183Do you plan to only read data from Datasphere, or do you plan to write anything back to Datasphere from the CAP app?2025-06-17T14:46:50.060000+02:00https://community.sap.com/t5/sap-codejam-blog-posts/sap-codejam-topics/bc-p/14134555#M687Re: SAP CodeJam Topics2025-06-23T16:48:03.487000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/166729">@Saikrishna_Sriram</a> thank you for your question. Any particular topics within SAC, Datasphere and/or BDC that you had in mind? As the "CodeJam" event name suggests it is primarily focused on code, not on products. </P>2025-06-23T16:48:03.487000+02:00https://community.sap.com/t5/warsaw-discussions/sap-community-events-in-warsaw-2025/m-p/14139055#M65Re: SAP Community Events in Warsaw - 20252025-06-27T19:48:31.721000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Could you pls add the link to submit talk proposals for SIT?</P>2025-06-27T19:48:31.721000+02:00https://community.sap.com/t5/application-development-and-automation-blog-posts/cloning-a-corporate-github-repository-python-to-vs-code-on-mac/bc-p/14153233#M50122Re: Cloning a Corporate GitHub Repository (Python) to VS Code on MAC2025-07-15T19:42:00.652000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Thanks for sharing this, <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1485764">@SugandhaSachdeva</a> </P><P>While I understand what you are trying to achieve, I think the level of details described in your post are not enough for most of the readers to understand the problem and the solution.</P>2025-07-15T19:42:00.652000+02:00https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367🇵🇹 Foundations of AI applications with the SAP HANA Cloud (Porto, PT)2025-07-16T00:12:22.595000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P><SPAN>This</SPAN><SPAN> </SPAN><A href="https://groups.community.sap.com/t5/sap-codejam/gh-p/code-jam" target="_self" rel="noopener noreferrer">SAP CodeJam</A><SPAN> </SPAN><SPAN>event is on the topic of <STRONG>SAP</STRONG></SPAN><STRONG> HANA Cloud for AI Applications: Machine Learning, Vectors, and Knowledge Graphs</STRONG><SPAN>. You do not need to have any background in the topic, but a lot of curiosity and some basic programming skills!</SPAN></P><P><SPAN>This is a free in-person event and is planned for <STRONG>Friday, September 26th, in Porto, Portugal <SPAN class="lia-unicode-emoji"><span class="lia-unicode-emoji" title=":portugal:">🇵🇹</span></SPAN></STRONG> from 10:00 to 16:00 WEST (UTC+1). The language of the event and the content will be in English. </SPAN></P><P><SPAN>The event is being<SPAN class=""> </SPAN><STRONG>hosted </STRONG>by <STRONG>SAP Inside Track Porto </STRONG>at<BR /><FONT size="2">Forte de Gaia, Autograph Collection</FONT><BR /><FONT size="2">R. de Serpa Pinto 60, 4400-307 Vila Nova de Gaia, Portugal</FONT><BR /></SPAN></P><P><SPAN>Note that spaces are limited: we can only accommodate <STRONG>30 attendees</STRONG>.</SPAN></P><P><SPAN>By the end of the session, you’ll have built examples that demonstrate how SAP HANA Cloud can serve as a versatile back-end for <STRONG>modern Artificial Intelligence applications</STRONG>:</SPAN></P><UL><LI><SPAN>Leverage the <STRONG>SAP HANA Vector Engine</STRONG> to ingest, index and query high‑dimensional embeddings—building a vector store within HANA db that supports semantic similarity search in text.</SPAN></LI><LI><SPAN>Implement <STRONG>Retrieval‑Augmented Generation (RAG)</STRONG> by exploring both HANA‑native and hybrid approaches, understanding SQL, PAL, and 3rd party embeddings to enrich generative outputs with precise, up‑to‑date data.</SPAN></LI><LI><SPAN>Model and Query a <STRONG>Knowledge Graph</STRONG> inside SAP HANA using RDF triples (subject‑predicate‑object), mastering SPARQL alongside SQL interoperability to extract semantic relationships.</SPAN></LI><LI><SPAN>Integrate <STRONG>HANA with LangChain</STRONG> to build AI apps that orchestrate prompt workflows, execute database statements, and navigate knowledge graphs—all directly from Python, in this case.</SPAN></LI></UL><P> </P>2025-07-16T00:12:22.595000+02:00https://community.sap.com/t5/sap-codejam-discussions/request-for-sap-codejam-event-in-the-day-before-of-the-sap-inside-track/m-p/14153373#M851Re: Request for SAP CodeJam Event in the day before of the SAP Inside Track Porto 20252025-07-16T00:54:34.750000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P><A href="https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367" target="_blank">https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367</A></P>2025-07-16T00:54:34.750000+02:00https://community.sap.com/t5/sap-codejam-discussions/request-to-host-a-codejam-in-september-2025-s-hertogenbosch/m-p/14154468#M852Re: Request to host a CodeJam in September 2025 (s'Hertogenbosch)2025-07-16T23:36:37.722000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Sorry for the delay in responding to you <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/171637">@cVi</a> .</P><P>We were busy with all the events until last week. Is this request, month, and topics selection still valid for you?</P><P>Best regards,<BR />--Vitaliy (aka Witalij)</P>2025-07-16T23:36:37.722000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/dashboard-design-best-practices/bc-p/14155054#M182956Re: Dashboard Design Best-Practices2025-07-17T12:33:29.002000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Hi <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1811379">@MarcZauritz</a> . Currently the last link to Best Practices is broken (should be <A href="https://community.sap.com/t5/technology-blog-posts-by-sap/sap-analytics-cloud-best-practices/ba-p/14051467" target="_blank">https://community.sap.com/t5/technology-blog-posts-by-sap/sap-analytics-cloud-best-practices/ba-p/14051467</A>). Regards.</P>2025-07-17T12:33:29.002000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/using-python-in-sap-business-application-studio-my-notes/ba-p/14155516Using Python in SAP Business Application Studio – my notes2025-07-18T13:55:15.744000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>The <STRONG>Python Tools extension</STRONG>, which enhances the Python coding experience, was introduced in SAP Business Application Studio (referred to as "BAS" below) exactly two years ago. Here are my notes from using it.</P><P>This post is not a tutorial or a comprehensive guide to best practices. It’s a collection of personal notes, which I hope you find helpful when working with Python in BAS. The <STRONG>focus here is on</STRONG> <STRONG>running Python code in BAS</STRONG>, not on deploying to SAP BTP runtimes like Cloud Foundry (CF) or Kyma. This is when you are usually working on <A href="https://community.sap.com/t5/technology-blog-posts-by-sap/quot-getting-started-with-machine-learning-using-sap-hana-quot-as-a-new-sap/ba-p/13574098" target="_self">Machine Learning</A> or AI projects in BAS, like during SAP CodeJams.</P><P>I assume you're not an absolute beginner with SAP Business Application Studio—or at least you're familiar with Visual Studio Code.</P><P>For the examples in this post, I’ll be using the SAP Business Application Studio available in the SAP BTP Trial environment.</P><P> </P><H1 id="toc-hId-1606043981">Python runtime</H1><P>In SAP Business Application Studio, the dev space includes a system-level Python 3 binary at <FONT face="terminal,monaco" color="#000080">/bin/python3</FONT>, which is primarily intended for OS-level scripts and tooling. This version is tied to the base container image and is only updated when the image itself is refreshed.</P><H3 id="toc-hId-1667695914">Managing Python versions</H3><P>For application development, developers typically use user-managed Python runtimes. Since <A href="https://help.sap.com/docs/bas/sap-business-application-studio/2024-what-s-new-for-sap-business-application-studio?locale=en-US" target="_blank" rel="noopener noreferrer">January 2024</A>, you can select the Python version with which you want to work.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_0-1752787857188.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288194i63734250F432B502/image-size/medium?v=v2&px=400" role="button" title="VitaliyR_0-1752787857188.png" alt="VitaliyR_0-1752787857188.png" /></span></P><P>SAP Business Application Studio uses <A href="https://asdf-vm.com/guide/introduction.html" target="_self" rel="nofollow noopener noreferrer">asdf</A> to allow you to select which runtime versions to install and use for developing your application. You can check this in the BAS terminal with <FONT face="terminal,monaco" color="#000080">asdf current python</FONT>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_0-1752826029935.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288476i3AA3E4CCAB7C035F/image-size/medium?v=v2&px=400" role="button" title="VitaliyR_0-1752826029935.png" alt="VitaliyR_0-1752826029935.png" /></span></P><P>By default, SAP Business Application Studio provides only one officially supported Python version.</P><P>If you need another version of Python, you can install it with<SPAN> </SPAN><FONT face="terminal,monaco" color="#000080">asdf install python <version></FONT>. If you want the latest minor version, then use<SPAN> </SPAN><FONT face="terminal,monaco" color="#000080">latest:</FONT>, like<SPAN> </SPAN><FONT face="terminal,monaco" color="#000080">asdf install python latest:3.12</FONT><SPAN> </SPAN>in the case of the 3.12 version of Python.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_1-1752826587342.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288479i3F1AFA339D0457AC/image-size/medium?v=v2&px=400" role="button" title="VitaliyR_1-1752826587342.png" alt="VitaliyR_1-1752826587342.png" /></span></P><P>At the time of writing this post, the <FONT face="terminal,monaco" color="#000080">asdf</FONT> version used in BAS is 0.12.0. This version uses the <FONT face="terminal,monaco" color="#000080">asdf global</FONT> and <FONT face="terminal,monaco" color="#000080">asdf local</FONT> commands to set the actual runtime version. If you refer to the <A href="https://asdf-vm.com/manage/commands.html" target="_self" rel="nofollow noopener noreferrer">asdf documentation</A>, these commands have been replaced with <FONT face="terminal,monaco" color="#000080">asdf set</FONT>, so don't get confused.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_4-1752832090379.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288513i2594100CA73554EA/image-size/medium?v=v2&px=400" role="button" title="VitaliyR_4-1752832090379.png" alt="VitaliyR_4-1752832090379.png" /></span></P><H3 id="toc-hId-1471182409">Runtime management from the command palette</H3><P>You can also install different versions from the command palette. Select <STRONG>> Runtime: Install</STRONG>, then Python, and the version you want to install. To set the default version of Python for execution, use the command <STRONG>> Runtime: Set Default</STRONG>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_3-1752831488109.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288507iF7D44FFABFDAC454/image-size/large?v=v2&px=999" role="button" title="VitaliyR_3-1752831488109.png" alt="VitaliyR_3-1752831488109.png" /></span></P><P><A href="https://help.sap.com/docs/bas/sap-business-application-studio/runtime-version-management" target="_blank" rel="noopener noreferrer">These commands</A> are provided by the built-in <STRONG>BAS Framework</STRONG> extension.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_2-1752831268028.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288505i52FE94C88EEC6711/image-size/large?v=v2&px=999" role="button" title="VitaliyR_2-1752831268028.png" alt="VitaliyR_2-1752831268028.png" /></span></P><H3 id="toc-hId-1274668904">You can now run your Python programs in BAS...</H3><P>...using a version of Python accordingly to your requirements.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_0-1752833019314.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288533iF1F4C8ABA0F83A9D/image-size/large?v=v2&px=999" role="button" title="VitaliyR_0-1752833019314.png" alt="VitaliyR_0-1752833019314.png" /></span></P><P> </P><H1 id="toc-hId-819989961">Design-time</H1><P>Being a <STRONG>fork of Visual Studio Code - Open Source ("<A href="https://github.com/microsoft/vscode" target="_self" rel="nofollow noopener noreferrer">Code - OSS</A>")</STRONG>—SAP Business Application Studio provides basic support for Python files and Jupyter notebooks out of the box.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_0-1752835179123.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288559i5DC7A0BAB2529980/image-size/large?v=v2&px=999" role="button" title="VitaliyR_0-1752835179123.png" alt="VitaliyR_0-1752835179123.png" /></span></P><H3 id="toc-hId-881641894">BAS additional extension "<SPAN>Python Tools</SPAN>"</H3><P>To improve your Python coding experience, SAP Business Application Studio provides an additional extension called "<SPAN>Python Tools</SPAN>". This extension includes IntelliSense, formatting, linting, and debugging support for Python files and Jupyter notebooks.</P><P>To add "Python Tools" to your BAS dev space, go to the configuration of a stopped or a newly created dev space, and select <STRONG>Python Tools</STRONG> from <STRONG>Additional SAP Extensions</STRONG>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_1-1752833807354.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288542i4B3C4AE1B211B686/image-size/large?v=v2&px=999" role="button" title="VitaliyR_1-1752833807354.png" alt="VitaliyR_1-1752833807354.png" /></span></P><P>Upon activation, you should see additional extensions listed now as built-in in BAS.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_1-1752835746649.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288580i881221FC5560023D/image-size/large?v=v2&px=999" role="button" title="VitaliyR_1-1752835746649.png" alt="VitaliyR_1-1752835746649.png" /></span></P><P>Note<SPAN> that BAS installs its extensions from <A href="https://open-vsx.org/" target="_self" rel="nofollow noopener noreferrer">Open VSX</A>, an open-source registry for VS Code extensions. <A href="https://github.com/Microsoft/vscode-python" target="_blank" rel="noopener nofollow noreferrer">VS Code's Python extension</A> is available</SPAN> at: <A href="https://open-vsx.org/extension/ms-python/python" target="_blank" rel="noopener nofollow noreferrer">https://open-vsx.org/extension/ms-python/python</A>.</P><P>You can see Python extensions in the file system:</P><pre class="lia-code-sample language-bash"><code>ls -lad /extbin/local/openvscode-server/extensions/ms-py*</code></pre><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_2-1752837415019.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288590iAD09D0AB5EF7209B/image-size/large?v=v2&px=999" role="button" title="VitaliyR_2-1752837415019.png" alt="VitaliyR_2-1752837415019.png" /></span></P><P>These are extensions selected and integrated by the BAS product team at SAP.</P><H3 id="toc-hId-685128389">Additional notes:</H3><P>You can install other versions of the same extensions directly from <A href="https://open-vsx.org/," target="_blank" rel="noopener nofollow noreferrer">https://open-vsx.org/,</A> but there is no guarantee that they have been tested and will properly work with BAS. First of all, the extension version installed directly from the marketplace should be compatible with the version of SAP Business Application Studio (or the "Code—OSS" to be more precise).</P><P>For example, at the time of writing this post, the version of the Python extension at the VSX marketplace is 2025.04...</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_0-1752844419611.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288649i9D1EA9993790B188/image-size/medium?v=v2&px=400" role="button" title="VitaliyR_0-1752844419611.png" alt="VitaliyR_0-1752844419611.png" /></span></P><P>which is compatible with version 1.94.0 of Code-OSS and therefore BAS: <A href="https://github.com/microsoft/vscode-python/blob/v2025.4.0/package.json#L50" target="_blank" rel="noopener nofollow noreferrer">https://github.com/microsoft/vscode-python/blob/v2025.4.0/package.json#L50</A> </P><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_1-1752844619669.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288650i4AACB703E4B1AB99/image-size/medium?v=v2&px=400" role="button" title="VitaliyR_1-1752844619669.png" alt="VitaliyR_1-1752844619669.png" /></span></P><H3 id="toc-hId-488614884">Usage of the Python extension in BAS</H3><P>Upon installation of the Python extension in BAS, you can:</P><P>1/ Execute Python extension's commands from the palette:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_3-1752839390743.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288612iE7D273E2ECA1213B/image-size/large?v=v2&px=999" role="button" title="VitaliyR_3-1752839390743.png" alt="VitaliyR_3-1752839390743.png" /></span></P><P>2/ Trigger an execution of a program from the editor:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_4-1752839526904.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288613i6971D9697275CE7D/image-size/large?v=v2&px=999" role="button" title="VitaliyR_4-1752839526904.png" alt="VitaliyR_4-1752839526904.png" /></span></P><P>...which you can configure by editing the <FONT face="terminal,monaco" color="#000080">python.terminal</FONT> settings:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_0-1753218387860.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/290009i4BCA41DCB5E93013/image-size/medium?v=v2&px=400" role="button" title="VitaliyR_0-1753218387860.png" alt="VitaliyR_0-1753218387860.png" /></span></P><P>3/ modify its <FONT face="terminal,monaco" color="#000080">@ext:ms-python.python</FONT> settings:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_5-1752839680256.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/288616i88C848EA078DDAA6/image-size/large?v=v2&px=999" role="button" title="VitaliyR_5-1752839680256.png" alt="VitaliyR_5-1752839680256.png" /></span></P><P> </P><H1 id="toc-hId-33935941">Python virtual environments</H1><P>To run your code, you usually need additional Python packages, such as the <A href="https://pypi.org/project/hana-ml/" target="_blank" rel="noopener nofollow noreferrer">Python machine learning client for SAP HANA (hana-ml)</A> or <A href="https://pypi.org/project/sap-ai-sdk-gen/" target="_self" rel="nofollow noopener noreferrer">SAP Cloud SDK for AI (Python)</A>.</P><P>If you have experience with Python, then you already know all the advantages of using virtual environments. Although you can think of BAS devspace as an isolated project development environment, there is a good reason to use Python virtual environments there, as I already explained in <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/persisting-python-environment-when-using-jupyter-notebooks-in-sap-business/ba-p/13549863" target="_self">Persisting Python environment in SAP Business Application Studio</A>.</P><P>An additional reason to use a virtual environment is if you plan to test or run your project using different versions of Python managed by <FONT face="terminal,monaco" color="#000080">asdf</FONT>. Each of the installed versions of Python will use their own location to store packages:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="VitaliyR_1-1753198029018.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/289900iDF172F958DDDAA5B/image-size/large?v=v2&px=999" role="button" title="VitaliyR_1-1753198029018.png" alt="VitaliyR_1-1753198029018.png" /></span></P><H4 id="toc-hId-1208218584" id="toc-hId-224670593">You should be ready to work with Python in SAP Business Application Studio now! </H4><P>Please share your tips in the comments!</P><H4 id="toc-hId--469560007">In my other blog posts, I focused on:<BR />🪐 <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/using-jupyter-in-sap-business-application-studio-my-notes/ba-p/14167294" target="_blank">Using Jupyter in SAP Business Application Studio</A>, and<BR /><span class="lia-unicode-emoji" title=":hammer:">🔨</span> <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/using-conda-forge-in-sap-business-application-studio-my-notes/ba-p/14169956" target="_blank">Using conda-forge in SAP Business Application Studio</A>.</H4><P>------</P><P>-Vitaliy, aka <A href="https://bsky.app/profile/sygyzmundovych.bsky.social" target="_self" rel="nofollow noopener noreferrer">@Sygyzmundovych</A> </P>2025-07-18T13:55:15.744000+02:00https://community.sap.com/t5/sap-codejam/build-ai-services-using-the-sap-cloud-application-programming-model-and/ec-p/14156494#M934Re: 🇵🇱 Build AI services using the SAP Cloud Application Programming Model and SAP generative AI H2025-07-18T13:59:07.628000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Sorry, I won't be able to meet and greet you in Wrocław at that time <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1423549">@KevinR</a> </P><P>Enjoy it in Wrocław!</P>2025-07-18T13:59:07.628000+02:00https://community.sap.com/t5/sap-codejam/getting-started-with-generative-ai-hub-on-sap-ai-core/ec-p/14159190#M945Re: 🇩🇪 Getting started with Generative AI Hub on SAP AI Core2025-07-22T15:00:43.722000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>We will be waving to you from Porto <span class="lia-unicode-emoji" title=":portugal:">🇵🇹</span> on that day from HANA AI CodeJam: <A href="https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367" target="_blank">https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367</A> <span class="lia-unicode-emoji" title=":waving_hand:">👋</span></P>2025-07-22T15:00:43.722000+02:00https://community.sap.com/t5/sap-codejam/build-ai-services-using-the-sap-cloud-application-programming-model-and/ec-p/14159191#M946Re: 🇩🇪 Build AI services using the SAP Cloud Application Programming Model and Generative AI Hub2025-07-22T15:01:19.303000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>We will be waving to you from Porto <span class="lia-unicode-emoji" title=":portugal:">🇵🇹</span> on that day from HANA AI CodeJam: <A href="https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367" target="_blank">https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367</A> <span class="lia-unicode-emoji" title=":waving_hand:">👋</span></P>2025-07-22T15:01:19.303000+02:00https://community.sap.com/t5/sap-community-leaders-finder/mio-yasutake/bc-p/14159217#M192Re: Mio Yasutake2025-07-22T15:26:51.245000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Great to see you among SAP Champions <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/789">@MioYasutake</a> <span class="lia-unicode-emoji" title=":clapping_hands:">👏🏼</span></P><P>And it is somewhat difficult to answer your question, "<STRONG>What blog post or answer have you written that you're most proud of—and why?</STRONG>", cause I wrote a lot of them. But I think my fav is my <STRONG>series about understanding containers: <A href="https://community.sap.com/t5/tag/UnderstandContainers/tg-p/board-id/technology-blog-sap," target="_blank">https://community.sap.com/t5/tag/UnderstandContainers/tg-p/board-id/technology-blog-sap</A></STRONG></P><P>Why? Because the best blog posts of yours are those you return to quite often as your own notes <span class="lia-unicode-emoji" title=":nerd_face:">🤓</span></P>2025-07-22T15:26:51.245000+02:00https://community.sap.com/t5/sap-community-leaders-finder/marla-alschweiki/bc-p/14159250#M193Re: Marla Alschweiki2025-07-22T15:45:50.057000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Congrats on joining SAP Mentors <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/7391">@Marla-Schwaiki</a> <span class="lia-unicode-emoji" title=":clapping_hands:">👏🏼</span></P><P>"<STRONG>Collaboration and continuous learning are key.</STRONG>" I love it <span class="lia-unicode-emoji" title=":nerd_face:">🤓</span></P>2025-07-22T15:45:50.057000+02:00https://community.sap.com/t5/artificial-intelligence-and-machine-learning/how-to-use-gemini-2-5-flash-explicit-context-cache-capability-with-genai/m-p/14161805#M540Re: How to use Gemini 2.5 Flash Explicit Context Cache Capability with GenAI Hub SDK2025-07-24T18:32:29.794000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>If you are using Google native integration <A href="https://help.sap.com/doc/generative-ai-hub-sdk/CLOUD/en-US/_reference/gen_ai_hub.html#google-vertex-ai," target="_blank" rel="noopener noreferrer">https://help.sap.com/doc/generative-ai-hub-sdk/CLOUD/en-US/_reference/gen_ai_hub.html#google-vertex-ai,</A> then I can see it is based on Google Vertex AI, not Gemini API, so you'd rather need to reference this doc: <A href="https://cloud.google.com/vertex-ai/generative-ai/docs/context-cache/context-cache-create" target="_blank" rel="nofollow noopener noreferrer">https://cloud.google.com/vertex-ai/generative-ai/docs/context-cache/context-cache-create</A></P><P>But then I see caches are configured at the Google client level, not model: <A href="https://googleapis.github.io/python-genai/genai.html#genai.caches.Caches.create" target="_blank" rel="nofollow noopener noreferrer">https://googleapis.github.io/python-genai/genai.html#genai.caches.Caches.create</A> </P><P>So, by looking just at the code, I cannot see how you can program a cache with the Python Genaihub SDK. But it is just me quickly looking into the code without the definitive answer.</P><P>Maybe someone from the genAI Hub dev team can share more.</P><P>Regards,<BR />--Witalij</P>2025-07-24T18:32:29.794000+02:00https://community.sap.com/t5/sap-codejam-discussions/codejam-request-lisbon-september-2025/m-p/14167092#M862Re: CodeJam Request Lisbon - September 20252025-07-30T15:37:31.118000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Hi <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/4237">@Jorge_Herrero_Blanco</a> </P><P>I will be in Porto that week doing the SAP CodeJam on the topic of AI: <A href="https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367" target="_blank">https://community.sap.com/t5/sap-codejam/foundations-of-ai-applications-with-the-sap-hana-cloud-porto-pt/ev-p/14153367</A></P><P>If you are interested in that topic or in the "Getting started with Generative AI Hub on SAP AI Core" as somewhat more introductory into AI, then I could do these in Lisbon, but on Monday, September 29th.</P><P>Regards,<BR />--Witalij</P>2025-07-30T15:37:31.118000+02:00https://community.sap.com/t5/technology-q-a/sap-hana/qaa-p/14168507#M4921647Re: SAP HANA2025-07-31T18:46:10.219000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>There are several options listed on the page; <A href="https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/bdf055159cbb4f36b26c93ccb0c56066.html?locale=en-US&version=LATEST" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/bdf055159cbb4f36b26c93ccb0c56066.html?locale=en-US&version=LATEST</A></P><P>Is that what you were looking for?</P>2025-07-31T18:46:10.219000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/using-jupyter-in-sap-business-application-studio-my-notes/ba-p/14167294Using Jupyter in SAP Business Application Studio – my notes2025-08-01T17:29:38.575000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>In my previous blog post <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/using-python-in-sap-business-application-studio-my-notes/ba-p/14155516" target="_blank">Using Python in SAP Business Application Studio – my notes</A>, I focused on Python.</P><P>This blog post focuses on running Jupyter notebooks in SAP Business Application Studio <SPAN>(referred to as "BAS" below)</SPAN>. I assume you're not an absolute beginner with SAP Business Application Studio—or at least you're familiar with Visual Studio Code. If you need a general introduction to navigating, coding, and executing code in notebooks using the Jupyter extension, then check: <A href="https://code.visualstudio.com/docs/datascience/jupyter-notebooks#_create-or-open-a-jupyter-notebook" target="_blank" rel="nofollow noopener noreferrer">https://code.visualstudio.com/docs/datascience/jupyter-notebooks#_create-or-open-a-jupyter-notebook</A> </P><P>For the examples in this post, I’ll be using the SAP Business Application Studio, which is available in the SAP BTP Trial environment.</P><H2 id="toc-hId-1736107166">Creating a virtual environment with the Python extension</H2><P>As already discussed in <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/persisting-python-environment-when-using-jupyter-notebooks-in-sap-business/ba-p/13549863" target="_blank">Persisting Python environment when using Jupyter notebooks in SAP Business Application Studio</A>, one of the first things you might want to do, when working with the Python code in BAS, is to create a virtual environment. There, we discussed how to use the `<FONT face="terminal,monaco" color="#000080">python -m venv</FONT>` command to create it. Now, let's use the extension commands.</P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><STRONG><span class="lia-unicode-emoji" title=":nerd_face:">🤓</span> Pro tip:</STRONG> if you want to understand what is happening when extension commands are executed, then:</P><OL><LI>Open the Output panel (eg, <STRONG>View -> Output</STRONG> from the menu).</LI><LI>Choose the output for the <STRONG>Python</STRONG> extension, and then in <STRONG>Settings</STRONG>, set the level to <STRONG>Info</STRONG> and <STRONG>Set As Default</STRONG>:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_0-1753987148253.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/294808iA00DF79EEB2DED50/image-size/large?v=v2&px=999" role="button" title="VitaliyR_0-1753987148253.png" alt="VitaliyR_0-1753987148253.png" /></span><P> </P></LI><LI>Alternatively, if the Python extension has not yet been loaded, then open the command palette and run the command <FONT face="terminal,monaco" color="#000080">>Python: Show Output</FONT>:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_1-1753988104700.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/294816i1A41D1412BCD4050/image-size/large?v=v2&px=999" role="button" title="VitaliyR_1-1753988104700.png" alt="VitaliyR_1-1753988104700.png" /></span></LI></OL><P>Go to the command palette and run the command `Python: Create Environment...`...<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_2-1753988411673.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/294818iA62DBE8BF3AA3AD7/image-size/large?v=v2&px=999" role="button" title="VitaliyR_2-1753988411673.png" alt="VitaliyR_2-1753988411673.png" /></span></P><P>..and select the <STRONG>Venv</STRONG> option to create a virtual environment `.venv` (the name cannot be modified, at least in the current version of the Python extension):<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_3-1753988600004.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/294819i8339A533DC5C36F0/image-size/large?v=v2&px=999" role="button" title="VitaliyR_3-1753988600004.png" alt="VitaliyR_3-1753988600004.png" /></span></P><P>...selecting the required base Python run-time installation (like <FONT face="terminal,monaco" color="#000080">~/.asdf-inst/shims/python</FONT><span class="lia-unicode-emoji" title=":disappointed_face:">😞</span><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_5-1753989146997.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/294824iB54EFA8DE6BA8E9E/image-size/large?v=v2&px=999" role="button" title="VitaliyR_5-1753989146997.png" alt="VitaliyR_5-1753989146997.png" /></span></P><P>If you have set output on the Info level for the Python extension, then you should see (interesting) details on how the environment was created:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_6-1753990222424.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/294829iFFA2B57EB06A3F49/image-size/large?v=v2&px=999" role="button" title="VitaliyR_6-1753990222424.png" alt="VitaliyR_6-1753990222424.png" /></span></P><P><STRONG>One additional note:</STRONG> the <FONT face="terminal,monaco" color="#000080">.gitignore</FONT> file has been automatically created for the virtual environment:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_7-1753990886473.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/294835iB005A7F1F2F0BC57/image-size/large?v=v2&px=999" role="button" title="VitaliyR_7-1753990886473.png" alt="VitaliyR_7-1753990886473.png" /></span></P><H2 id="toc-hId-1539593661">Select the Jupyter kernel</H2><P>To execute code in your Jupyter notebook, you need to select a <A href="https://docs.jupyter.org/en/latest/glossary.html#term-kernel" target="_self" rel="nofollow noopener noreferrer">Jupyter kernel</A> that will be used to execute the code.</P><P>Click <STRONG>Select Kernel</STRONG> and then on <STRONG>Python Environments...</STRONG> category:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_1-1754052597730.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295259i23FB8803DB7F5A0E/image-size/large?v=v2&px=999" role="button" title="VitaliyR_1-1754052597730.png" alt="VitaliyR_1-1754052597730.png" /></span></P><P>...which will show you the list of Python environments that the Python extension found in your BAS dev space. Click on your virtual environment created for your project, like <STRONG><FONT face="terminal,monaco" color="#333399">.venv</FONT></STRONG>:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_2-1754052967744.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295262iB31F805BAEF302B6/image-size/large?v=v2&px=999" role="button" title="VitaliyR_2-1754052967744.png" alt="VitaliyR_2-1754052967744.png" /></span></P><H2 id="toc-hId-1343080156">Execute code in a Jupyter notebook</H2><P>During the first execution of your code, Jupyter will check if the <A href="https://ipython.readthedocs.io/en/stable/install/kernel_install.html#installing-the-ipython-kernel" target="_self" rel="nofollow noopener noreferrer">IPython Kernel</A> executable (the Python package <FONT face="terminal,monaco" color="#333399">ipykernel</FONT>) is installed in the selected Python environment. If not, it will automatically install it, as can be seen in the Jupyter extension's output, and then start it:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_3-1754056502781.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295283i783E48892ACD6FDB/image-size/large?v=v2&px=999" role="button" title="VitaliyR_3-1754056502781.png" alt="VitaliyR_3-1754056502781.png" /></span></P><P>Once started, the Kernel exposes 5 ports for communication with your notebook, which can be seen in the run-time specification in a file <FONT face="terminal,monaco" color="#333399">~/.local/share/jupyter/runtime/kernel-*.json</FONT>. While this information should not be required in most of the basic scenarios, you might find it overwhelming that BAS displays pop-up messages for each port every time the kernel runtime starts:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_4-1754057368976.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295297i85CDC3874404AD19/image-size/large?v=v2&px=999" role="button" title="VitaliyR_4-1754057368976.png" alt="VitaliyR_4-1754057368976.png" /></span></P><P>While information about open ports is relevant when developing front-end applications using SAP Business Application Studio, it might be useless and overwhelming when working with Jupyter notebooks. So, click on the settings icon and turn off notifications from the "Exposing router ports" extension<SPAN> or disable this extension completely:<BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_5-1754057622486.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295325i29F6A95A91A5DBDC/image-size/large?v=v2&px=999" role="button" title="VitaliyR_5-1754057622486.png" alt="VitaliyR_5-1754057622486.png" /></span></P><H2 id="toc-hId-1146566651">Limiting listed Python environments</H2><P>You might also find it quite overwhelming to deal with the list of all the global Python locations when setting the kernel for a notebook. To reduce this list, select the command <STRONG>Jupyter: Filter Kernels</STRONG> from the command palette:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_0-1754060969070.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295350i759F9877C1C4BB3D/image-size/large?v=v2&px=999" role="button" title="VitaliyR_0-1754060969070.png" alt="VitaliyR_0-1754060969070.png" /></span></P><P>...which opens the setting <STRONG><FONT face="terminal,monaco" color="#333399">jupyter.kernels.excludePythonEnvironments</FONT></STRONG>. Switch to the <STRONG>Workspace</STRONG> tab and click <STRONG>Add Item</STRONG> to specify which Python environments to exclude from the list. You might want to add the following items to the list:</P><pre class="lia-code-sample language-python"><code>/bin/python3
/usr/bin/python3
~/.asdf-inst/shims/python3.13
~/.asdf-inst/shims/python3
~/.asdf-inst/shims/python</code></pre><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_1-1754061618539.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295359i09FFA8A1E47B3F08/image-size/large?v=v2&px=999" role="button" title="VitaliyR_1-1754061618539.png" alt="VitaliyR_1-1754061618539.png" /></span></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><STRONG><span class="lia-unicode-emoji" title=":nerd_face:">🤓</span>Pro tip:</STRONG> these values can also be edited in the project's file <FONT face="terminal,monaco" color="#000080">.vscode/settings.json</FONT>.</P><pre class="lia-code-sample language-javascript"><code>{
"jupyter.kernels.excludePythonEnvironments": [
"/bin/python3",
"/usr/bin/python3",
"~/.asdf-inst/shims/python3.13",
"~/.asdf-inst/shims/python3",
"~/.asdf-inst/shims/python"
]
}</code></pre><P>Next time you need to pick the kernel for a Jupyter notebook, you should see only your project's virtual Python environment:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_2-1754062063240.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295361iB582616218E20475/image-size/large?v=v2&px=999" role="button" title="VitaliyR_2-1754062063240.png" alt="VitaliyR_2-1754062063240.png" /></span></P><H4 id="toc-hId-1208218584">You should be ready to work with your Jupyter notebooks in SAP Business Application Studio!</H4><P>Please share your tips in the comments!</P><P>------</P><P>-Vitaliy, aka <A href="https://bsky.app/profile/sygyzmundovych.bsky.social" target="_self" rel="nofollow noopener noreferrer">@Sygyzmundovych</A> </P>2025-08-01T17:29:38.575000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/using-conda-forge-in-sap-business-application-studio-my-notes/ba-p/14169956Using conda-forge in SAP Business Application Studio – my notes2025-08-01T23:07:46.509000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P><SPAN>In my previous blog posts, I focused on </SPAN><A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/using-python-in-sap-business-application-studio-my-notes/ba-p/14155516" target="_blank">Using Python in SAP Business Application Studio</A><SPAN> and <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/using-jupyter-in-sap-business-application-studio-my-notes/ba-p/14167294" target="_blank">Using Jupyter in SAP Business Application Studio</A> with Python's virtual environments. But SAP Business Application Studio (referred to as "BAS" below) also allows you to work with the <A href="https://en.wikipedia.org/wiki/Conda_(package_manager)" target="_self" rel="nofollow noopener noreferrer">Conda</A> environments:<BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_0-1754071912864.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295447i44DA5805AC4D52AD/image-size/large?v=v2&px=999" role="button" title="VitaliyR_0-1754071912864.png" alt="VitaliyR_0-1754071912864.png" /></span></P><P>Usually, Conda is used when one needs binary package management, and installation with <FONT face="terminal,monaco" color="#333399">pip</FONT> fails because of the build requirements that cannot be successfully completed with the tools and authorizations a developer has in their BAS dev space.</P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span> At the time of writing this post, using Conda might require additional commercial licenses from Anaconda, Inc. if downloading their tools and/or packages from their `<FONT face="terminal,monaco">default</FONT>` <A href="https://en.wikipedia.org/wiki/Conda_(package_manager)#Channels" target="_self" rel="nofollow noopener noreferrer">channel</A>. This might be a valid case for you, but this blog post covers only the use of the community-driven `conda-forge` channel and the minimum tools required to use it. To the best of my knowledge, I discuss only the technical setup here, but you might need to check any license implications for the dependencies of a project you are working on.</P><H2 id="toc-hId-1736173353">Install miniforge</H2><P>Miniforge is a minimal installer for Conda and Mamba with the conda-forge channel set as the default (and only) channel.</P><P>Follow the installation steps, for example from <A href="https://github.com/conda-forge/miniforge?tab=readme-ov-file#unix-like-platforms-macos-linux--wsl" target="_blank" rel="noopener nofollow noreferrer">https://github.com/conda-forge/miniforge?tab=readme-ov-file#unix-like-platforms-macos-linux--wsl</A></P><P>Download and run the installation script.</P><pre class="lia-code-sample language-bash"><code>curl --location --remote-name --output-dir ~/tmp "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash ~/tmp/Miniforge3-$(uname)-$(uname -m).sh -b</code></pre><H2 id="toc-hId-1539659848"> Configure conda</H2><P>Activate conda and its <FONT face="terminal,monaco" color="#333399">base</FONT> environment.</P><pre class="lia-code-sample language-bash"><code>eval "$(/home/user/miniforge3/bin/conda shell.$(basename "${SHELL}") hook)"</code></pre><P> Initialize conda (it will add the shell's integration).</P><pre class="lia-code-sample language-bash"><code>conda init</code></pre><P>To prevent the conda's <FONT face="terminal,monaco" color="#333399">base</FONT> environment from being activated on startup (because it will be taken care of by the Python extension), run the following command:</P><pre class="lia-code-sample language-bash"><code>conda config --set auto_activate_base false</code></pre><P>For changes to take effect, close and re-open your current shell.</P><P>Update conda's <FONT face="terminal,monaco" color="#333399">base</FONT> environment to the latest packages from the community-maintained <FONT face="terminal,monaco" color="#333399">conda-forge</FONT> channel.</P><pre class="lia-code-sample language-bash"><code>conda update -n base --all --yes</code></pre><P>You can also use the faster <FONT face="terminal,monaco" color="#333399">mamba</FONT> command instead of <FONT face="terminal,monaco" color="#333399">conda</FONT>. Both are parts of the Miniforge installation.</P><H2 id="toc-hId-1343146343">Point Python extension to your Conda executable</H2><P>In <STRONG>Terminal</STRONG>, check the location of the <FONT face="terminal,monaco" color="#333399">conda</FONT> command, which should be something like <FONT face="terminal,monaco" color="#333399">/home/user/miniforge3/condabin/conda</FONT>:</P><pre class="lia-code-sample language-bash"><code>which conda</code></pre><P> In <STRONG>Settings</STRONG>, open <FONT face="terminal,monaco" color="#333399">python.condaPath</FONT> and switch to the Remote tab. Input the value.</P><H2 id="toc-hId-1146632838"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_1-1754077236838.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295487i523B13F658B4CF31/image-size/large?v=v2&px=999" role="button" title="VitaliyR_1-1754077236838.png" alt="VitaliyR_1-1754077236838.png" /></span></H2><DIV class=""><DIV class=""><DIV class=""><H2 id="toc-hId-950119333">Create a <FONT face="terminal,monaco" color="#333399">.conda</FONT> environment in your project</H2><P>Open your project folder in BAS.</P><P>From the command palette, start the command <STRONG>Python: Create Environment...</STRONG>, then <STRONG>Conda</STRONG> environment type...<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_0-1754071912864.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295447i44DA5805AC4D52AD/image-size/large?v=v2&px=999" role="button" title="VitaliyR_0-1754071912864.png" alt="VitaliyR_0-1754071912864.png" /></span></P><P>...and select the required Python version from the list:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_2-1754078227143.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295497i93854803DCAD9C13/image-size/large?v=v2&px=999" role="button" title="VitaliyR_2-1754078227143.png" alt="VitaliyR_2-1754078227143.png" /></span></P><P>You should see the message that the environment is created and set as the active one for the project.</P><P>Open a new Terminal session, and you should see the <FONT face="terminal,monaco" color="#333399">.conda</FONT> environment set.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_3-1754078590314.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295499iD3EBC13944398F9A/image-size/large?v=v2&px=999" role="button" title="VitaliyR_3-1754078590314.png" alt="VitaliyR_3-1754078590314.png" /></span></P><P>You can check the list of environments with the command:</P></DIV></DIV></DIV><pre class="lia-code-sample language-bash"><code>conda env list</code></pre><H2 id="toc-hId-753605828">Install IPyKernel in your <FONT face="terminal,monaco" color="#333399">.conda</FONT> environment</H2><P>Unlike in a "venv" virtual environment, the Python extension might not automatically install IPyKernel in a conda environment. You need to install it manually.</P><P>In <STRONG>Terminal</STRONG>, with the <FONT face="terminal,monaco" color="#333399">.conda</FONT> environment set in the command line, run the command:</P><pre class="lia-code-sample language-bash"><code>conda install ipykernel --yes</code></pre><P>Check with the command</P><pre class="lia-code-sample language-bash"><code>conda list ipykernel</code></pre><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_4-1754079013971.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295500i6624BBBD3246EFC5/image-size/large?v=v2&px=999" role="button" title="VitaliyR_4-1754079013971.png" alt="VitaliyR_4-1754079013971.png" /></span></P><H2 id="toc-hId-557092323">Select the <FONT face="terminal,monaco" color="#333399">.conda</FONT> env in your notebook</H2><P>Now, you can open your project's Jupyter notebook, select the <FONT face="terminal,monaco" color="#333399">.conda</FONT> environment, and execute the code <span class="lia-unicode-emoji" title=":nerd_face:">🤓</span></P><H2 id="toc-hId-360578818"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VitaliyR_5-1754079340647.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/295501iFC432ED27A836EC4/image-size/large?v=v2&px=999" role="button" title="VitaliyR_5-1754079340647.png" alt="VitaliyR_5-1754079340647.png" /></span></H2><DIV class=""><DIV class=""><DIV class=""><H4 id="toc-hId-1208218584" id="toc-hId-422230751">You should be ready to work with conda-forge in SAP Business Application Studio now! </H4><P>Please share your tips in the comments!</P><H4 id="toc-hId-1208218584" id="toc-hId-225717246">In my other blog posts, I focused on:<BR /><span class="lia-unicode-emoji" title=":snake:">🐍</span><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/using-python-in-sap-business-application-studio-my-notes/ba-p/14155516" target="_self">Using Python in SAP Business Application Studio</A>, and<BR />🪐 <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/using-jupyter-in-sap-business-application-studio-my-notes/ba-p/14167294" target="_blank">Using Jupyter in SAP Business Application Studio</A>.</H4><P>------</P><P>-Vitaliy, aka <A href="https://bsky.app/profile/sygyzmundovych.bsky.social" target="_self" rel="nofollow noopener noreferrer">@Sygyzmundovych</A> </P></DIV></DIV></DIV>2025-08-01T23:07:46.509000+02:00https://community.sap.com/t5/human-capital-management-q-a/from-mechanical-engineering-to-sap-my-journey-challenges-and-the-next-step/qaa-p/14169969#M45424Re: From Mechanical Engineering to SAP: My Journey, Chall...2025-08-01T23:20:52.532000+02:00Vitaliy-Rhttps://community.sap.com/t5/user/viewprofilepage/user-id/183<P>Thanks for sharing your story here <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/2203644">@RACHID_AITBOUALE</a> </P><P>I think you should publish it as well in the <A href="https://community.sap.com/t5/welcome-corner/gh-p/welcome-corner" target="_blank">https://community.sap.com/t5/welcome-corner/gh-p/welcome-corner</A></P><P>Best regards.</P>2025-08-01T23:20:52.532000+02:00