https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Build-Code-qa.xml SAP Community - SAP Build Code 2024-05-20T17:00:37.613799+00:00 python-feedgen SAP Build Code Q&A in SAP Community https://community.sap.com/t5/technology-q-a/sap-btp-deploy-error-in-cap-project/qaq-p/13607571 SAP BTP Deploy Error in CAP Project 2024-02-16T09:43:50.271000+01:00 Kunal_Chauhan https://community.sap.com/t5/user/viewprofilepage/user-id/1399150 <P>Hello Everyone,</P><P>I got error in Deploying the Cap project in Business Application Studio .<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_in_CAP.PNG" style="width: 820px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66411i6D8B8283F62058A6/image-size/large?v=v2&amp;px=999" role="button" title="error_in_CAP.PNG" alt="error_in_CAP.PNG" /></span>&nbsp;#SAP CAP</P> 2024-02-16T09:43:50.271000+01:00 https://community.sap.com/t5/technology-q-a/how-to-debug-the-incident-management-app-tutorial/qaq-p/13608034 How to debug the incident-management app [Tutorial] 2024-02-16T16:42:04.514000+01:00 JoKoh https://community.sap.com/t5/user/viewprofilepage/user-id/1399492 <P>I have been following the tutorial incident-management and came across the deployment process as described here <A href="https://developers.sap.com/tutorials/deploy-to-cf.html" target="_blank" rel="noopener noreferrer">https://developers.sap.com/tutorials/deploy-to-cf.html</A></P><P>At the end it is mentioned, that one will not be authenticated when opening the app from the CAP start page due to missing JSON Web Token. In order to start and use the app, one needs the Work Zone. I implemented the work zone and finished the tutorial. Everything works as it should when opening the app from the work zone.</P><P>Now I want to debug this app. However, when debugging I cannot open the app from the CAP start page due to the aforementioned missing JSON Web Token [there is the expected 403 error]. How would one go about debugging this app?</P><P>Thanks in advance!</P><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV> 2024-02-16T16:42:04.514000+01:00 https://community.sap.com/t5/technology-q-a/sap-build-app-bug/qaq-p/13616106 SAP Build App Bug 2024-02-22T17:19:45.128000+01:00 navalega0109 https://community.sap.com/t5/user/viewprofilepage/user-id/678283 <P>Hi Everyone,</P><P>I'm testing my application in web browser and it is working fine, able to post the data in database.</P><P>But same application if I test in SAP Build Preview App then in that case I'm getting oAuth 2 authorization issue.</P><P>I'm calling google firestore database API.</P><P>Also after login in web browser I can see all the content getting loaded successfully. But after logging in Mobile Device I'm getting logged in but not data getting displayed.</P><P>Refer below screen shot.</P><P>REST API</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="navalega0109_0-1708677532484.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/69791iE8ECD38F2F329E67/image-size/medium?v=v2&amp;px=400" role="button" title="navalega0109_0-1708677532484.png" alt="navalega0109_0-1708677532484.png" /></span></P><P>Data Variable Using : Bearer Token</P><P>This app works in web browser but not in SAP Build Preview App.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="navalega0109_1-1708677832760.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/69794iCE3F3D9BFA6B169E/image-size/medium?v=v2&amp;px=400" role="button" title="navalega0109_1-1708677832760.png" alt="navalega0109_1-1708677832760.png" /></span></P><P>Information is given in this page about signing in with oAuth 2 in <A href="https://firebase.google.com/docs/reference/rest/auth#section-sign-in-with-oauth-credential" target="_self" rel="nofollow noopener noreferrer">firebase</A> doc.</P><P>But does anyone have idea how to get [Google_Id_Token] then please drop your answer.</P><PRE><SPAN class="">curl </SPAN><SPAN class="">'https://identitytoolkit.googleapis.com/v1/accounts:signInWithIdp?key=[API_KEY]'</SPAN> <SPAN class="">\</SPAN><SPAN class=""><BR /></SPAN><SPAN class="">-</SPAN><SPAN class="">H </SPAN><SPAN class="">'Content-Type: application/json'</SPAN> <SPAN class="">\</SPAN><SPAN class=""><BR /></SPAN><SPAN class="">--</SPAN><SPAN class="">data</SPAN><SPAN class="">-</SPAN><SPAN class="">binary </SPAN><SPAN class="">'{"postBody":"id_token=[GOOGLE_ID_TOKEN]&amp;providerId=[google.com]","requestUri":"[http://localhost]","returnIdpCredential":true,"returnSecureToken":true}'</SPAN></PRE><P>Any idea then please let us know.</P><P>Regards,</P><P>Ganesh N.</P> 2024-02-22T17:19:45.128000+01:00 https://community.sap.com/t5/technology-q-a/error-while-adding-subscription-for-sap-build-apps-service-in-btp-free/qaq-p/13620115 Error while adding subscription for SAP Build Apps service in BTP Free trial account 2024-02-27T04:32:01.917000+01:00 gpooja https://community.sap.com/t5/user/viewprofilepage/user-id/823064 <P>Hi Team,</P><P>I am facing error while adding subscription for SAP Build Apps service in BTP Free trial account. Below mentioned error is showing. Can someone provide solution for this.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gpooja_0-1709004537900.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71572iA0B22DDEC309D764/image-size/medium?v=v2&amp;px=400" role="button" title="gpooja_0-1709004537900.png" alt="gpooja_0-1709004537900.png" /></span></P><P><a href="https://community.sap.com/t5/c-khhcw49343/SAP+Build+Code/pd-p/73555000100800004372" class="lia-product-mention" data-product="1208-1">SAP Build Code</a>&nbsp;</P> 2024-02-27T04:32:01.917000+01:00 https://community.sap.com/t5/technology-q-a/re-error-while-adding-subscription-for-sap-build-apps-se/qaq-p/13620234/comment-id/4819887#M4819887 Re: Error while adding subscription for SAP Build Apps se... 2024-02-27T07:12:13.954000+01:00 Abdul_Malik51 https://community.sap.com/t5/user/viewprofilepage/user-id/1401359 <P>Hi Pooja,</P><P>Incase you are using the Free&nbsp;<SPAN>Trial account, the Sap build apps service is only available in region&nbsp;</SPAN><SPAN class="">AWS&nbsp;</SPAN><SPAN class="">US&nbsp;East&nbsp;(VA).</SPAN></P><P><SPAN class="">Please follow these steps steps shown in this video&nbsp;<A href="https://youtu.be/ZpQM2B1v2GY" target="_self" rel="nofollow noopener noreferrer">https://youtu.be/ZpQM2B1v2GY&nbsp;&nbsp;</A></SPAN></P><P><SPAN class="">these steps are clear and I have followed them and It's working.</SPAN></P><P>&nbsp;</P><P><SPAN class="">Regards,</SPAN></P><P><SPAN class="">Abdul Malik</SPAN></P><P>&nbsp;</P> 2024-02-27T07:12:13.954000+01:00 https://community.sap.com/t5/technology-q-a/vba-code-automation/qaq-p/13645558 VBA Code - Automation 2024-03-21T12:44:36.158000+01:00 Jordan2 https://community.sap.com/t5/user/viewprofilepage/user-id/1421719 <P>Hi All,</P><P>How to insert an IF function into SAP VBA Code so that IF a pop up comes up&nbsp;<SPAN>"Data has been changed:", "Do you want to save the changes?" Yes, No or Cancel and I want to Press Yes and enter to continue but I can't seem to figure this out</SPAN></P><P>&nbsp;</P><P>TIA.</P> 2024-03-21T12:44:36.158000+01:00 https://community.sap.com/t5/technology-q-a/sap-build-code-joule-403-in-trial-account/qaq-p/13652898 SAP Build Code Joule 403 in Trial Account 2024-03-28T19:49:02.375000+01:00 MichaelR https://community.sap.com/t5/user/viewprofilepage/user-id/1419162 <P>I was trying out this tutorial&nbsp;<A title="Create a Full-Stack SAP Fiori Application with Joule in SAP Build Code" href="https://developers.sap.com/tutorials/build-code-test-drive.html#61b6d7a8-81b6-42b5-9342-dd7cb06c312d" target="_self" rel="noopener noreferrer">https://developers.sap.com/tutorials/build-code-test-drive.html#61b6d7a8-81b6-42b5-9342-dd7cb06c312d</A>&nbsp;for Build Code with a Trial Account but when I entered the prompt into Joule I got <SPAN>Error: Request failed with status code 403. How can I solve this?</SPAN><BR /><BR /></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelR_0-1711651597432.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88219iB07384544523F426/image-size/medium?v=v2&amp;px=400" role="button" title="MichaelR_0-1711651597432.png" alt="MichaelR_0-1711651597432.png" /></span></P><P>&nbsp;</P> 2024-03-28T19:49:02.375000+01:00 https://community.sap.com/t5/technology-q-a/sap-build-code-purpose-of-code-files/qaq-p/13654984 SAP Build Code: purpose of .code files 2024-04-01T22:57:23.430000+02:00 MioYasutake https://community.sap.com/t5/user/viewprofilepage/user-id/789 <P>Hi experts,</P><P><SPAN>I have completed</SPAN> <A href="https://developers.sap.com/mission.sap-build-code-test-drive.html" target="_self" rel="noopener noreferrer">SAP Build Code Test Drive</A> tutorials. <SPAN>During the development process</SPAN>, <SPAN>I noticed several files with the extension '.code'.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MioYasuatke_0-1712004714636.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89345i6101C11099799585/image-size/medium?v=v2&amp;px=400" role="button" title="MioYasuatke_0-1712004714636.png" alt="MioYasuatke_0-1712004714636.png" /></span></P><P>Could you please clarify the purpose of these files and the potential consequences of editing or removing them?</P><pre class="lia-code-sample language-json"><code>{ "version": "2.0", "codes": [], "configuration": { "phase": "on", "events": [ "CREATE" ], "entity": "loyaltyProgramSrv.Purchases" }, "hash": "710aa051dcacd2609053c4d3517c688c4b4792abad4454d7bc203bfd5f6b5a56ef7e620d7e7db9ad922c7c6eae302cc6fc98da704728746cdc31459744fe5dd8" }</code></pre><P>Best regards,</P><P>Mio Yasutake</P> 2024-04-01T22:57:23.430000+02:00 https://community.sap.com/t5/technology-q-a/sap-build-code-java-support/qaq-p/13654986 SAP Build Code: Java support 2024-04-01T23:03:13.118000+02:00 MioYasutake https://community.sap.com/t5/user/viewprofilepage/user-id/789 <P>Hi experts,</P><P>Can we select Java when adding application logic within SAP Build Code?&nbsp; The <A href="https://www.sap.com/products/technology-platform/developer-tools.html" target="_self" rel="noopener noreferrer">product page</A>&nbsp;states :</P><P><EM>Generative AI-based code development with Joule copilot, optimized for Java and JavaScript application development.</EM></P><P>However, I couldn't find an option for selecting languages when creating a project or adding application logic.</P><P>Best regards,</P><P>Mio Yasutake</P><P>&nbsp;</P><P>&nbsp;</P> 2024-04-01T23:03:13.118000+02:00 https://community.sap.com/t5/technology-q-a/type-generator-is-not-installed-in-your-cds-project/qaq-p/13656970 Type generator is not installed in your CDS Project 2024-04-03T10:49:00.916000+02:00 SrihariC https://community.sap.com/t5/user/viewprofilepage/user-id/1430389 <P>Hello All,</P><P>Using Joule, in SAP Build - Business Application Studio, when I try to generate an Entity and service using AI Joule, I am getting the error message: "TyperNotInstalledError: Will not attempt to generate types as the Type generator is not installed in your CDS Project. Install <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/163398">@cap</a>-js/code-typer as dependency of your project to enable type generation for this project."</P><P>Is Joule not going to install the necessary files by itself?</P><P>What are the steps to be taken to overcome this issue?</P><P>Thanks,</P><P>Srihari</P> 2024-04-03T10:49:00.916000+02:00 https://community.sap.com/t5/technology-q-a/sap-build-code-create-application-logic-with-joule/qaq-p/13657497 SAP Build Code - Create Application Logic with Joule 2024-04-03T15:42:00.928000+02:00 samshenrogers https://community.sap.com/t5/user/viewprofilepage/user-id/1428433 <P><A href="https://developers.sap.com/tutorials/build-code-test-drive.html" target="_blank" rel="noopener noreferrer">https://developers.sap.com/tutorials/build-code-test-drive.html</A></P><P>When I Open in Graphical Modeler, I got a blank screen, do you know why :</P><P>"<SPAN>In the Storyboard, click on the&nbsp;</SPAN><STRONG>Purchases</STRONG><SPAN>&nbsp;entity under&nbsp;</SPAN><STRONG>Services</STRONG><SPAN>, and select&nbsp;</SPAN><STRONG>Open in Graphical Modeler"</STRONG><SPAN>.&nbsp;</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="samshenrogers_0-1712151695993.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90553iB4F976677207DF4E/image-size/medium?v=v2&amp;px=400" role="button" title="samshenrogers_0-1712151695993.png" alt="samshenrogers_0-1712151695993.png" /></span></P><P>&nbsp;</P> 2024-04-03T15:42:00.928000+02:00 https://community.sap.com/t5/technology-q-a/getting-quot-joule-not-available-quot-in-sap-build-code/qaq-p/13657825 Getting "Joule not available" in SAP Build Code 2024-04-03T19:12:37.405000+02:00 Ron_Hagan https://community.sap.com/t5/user/viewprofilepage/user-id/114921 <P>I have created a Dev space for Full-Stack Application Using Productivity Tools (screenshot below).</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ronhagan_0-1712164217379.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90668i16BA9F13B406AD14/image-size/medium?v=v2&amp;px=400" role="button" title="ronhagan_0-1712164217379.png" alt="ronhagan_0-1712164217379.png" /></span></P><P>When I click on the Joule icon, I get this message:</P><H2 id="toc-hId-990831269">Joule Not Available</H2><P>Joule is only available for projects created in a Full-Stack Application Using Productivity Tools dev space.<BR />Open a Full-Stack Application Using Productivity Tools project.</P><P>Am I doing something wrong or is there a workaround for this?</P><P>Thanks!</P><P>Ron</P><P>&nbsp;</P> 2024-04-03T19:12:37.405000+02:00 https://community.sap.com/t5/technology-q-a/ai-prompt-limit-in-sap-trial-version/qaq-p/13660210 AI Prompt limit in SAP Trial version 2024-04-05T11:03:15.374000+02:00 pankajgupta1992 https://community.sap.com/t5/user/viewprofilepage/user-id/713280 <P>Hello Team ,</P><P>I understand there is a limit on AI usage in SAP BTP trial .Can you please let me know what is the limit of prompts for daily usage</P> 2024-04-05T11:03:15.374000+02:00 https://community.sap.com/t5/technology-q-a/will-joule-also-be-soon-supported-in-vs-code/qaq-p/13661540 Will Joule also be soon supported in VS Code 2024-04-07T17:26:39.183000+02:00 AZAK https://community.sap.com/t5/user/viewprofilepage/user-id/1433199 <P>Is it foreseen that Joule going to be available for usage in VS Code ?</P> 2024-04-07T17:26:39.183000+02:00 https://community.sap.com/t5/technology-q-a/what-is-capacity-units-for-sap-build-code/qaq-p/13673909 What is Capacity Units for SAP Build Code? 2024-04-18T03:00:43.249000+02:00 MioYasutake https://community.sap.com/t5/user/viewprofilepage/user-id/789 <P>Hi experts,</P><P>I have a question about the price of SAP Build Code. <A href="https://discovery-center.cloud.sap/serviceCatalog/sap-build-code?region=all&amp;tab=service_plan" target="_self" rel="nofollow noopener noreferrer">Discovery Center</A>&nbsp;states that it is 1.00 EUR per Capacity Unit, but what is included in one Capacity Unit? I would appreciate it if you could share any information on this.</P><P>Best regards,</P><P>Mio Yasutake</P> 2024-04-18T03:00:43.249000+02:00 https://community.sap.com/t5/technology-q-a/sap-build-andriod-app-displays-black-screen-after-logging-in/qaq-p/13690987 Sap Build Andriod app displays black screen after logging in 2024-05-03T16:44:13.552000+02:00 KiranMaliipudi https://community.sap.com/t5/user/viewprofilepage/user-id/159961 <P>Hello Sap Builders,</P><P><SPAN>I am trying to build a sample android app using my trail account to fetch products from Northwind. I configured all the required configurations following this link. I am able to view the data while previewing the data in Lunch application. However, when I build the apk package and installed it on android mobile, I got a build login screen and when I entered username and password, the screens go on loading forever without any log messages and after sometime, the app crashes saying that is "not responding". I tried building the app several times and every time getting stuck at the same screen. Can you help me if I am missing anything here?</SPAN></P><P>In brief, below activities are performed.</P><P>1. Ran booster to create build apps, custom identity provider and other required subscriptions<BR />2. Created destination for Northwind in btp cockpit<BR />3. Enabled the btp destination in build app and used the odata in UI canvas.<BR />4. Preview app is successful<BR />5. Create java keystore file in business application studio and used in build.<BR />6. Enabled mobile services for the app and build the android app.<BR />7. Installed the apk file and authenticated using build custom idp credentials/<BR />8. After authentication, the screen goes black and eventually, "app not responding" with options either to wait or close the app.</P><P>&nbsp;</P><P><a href="https://community.sap.com/t5/c-khhcw49343/SAP+Build/pd-p/73555000100700001491" class="lia-product-mention" data-product="1181-1">SAP Build</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+Build+Code/pd-p/73555000100800004372" class="lia-product-mention" data-product="1208-1">SAP Build Code</a>&nbsp;</P> 2024-05-03T16:44:13.552000+02:00 https://community.sap.com/t5/technology-q-a/business-application-studio-bas-is-not-opening-instead-it-is-redirecting/qaq-p/13694920 Business Application Studio (BAS) Is Not Opening Instead It Is Redirecting SAP Build Code 2024-05-08T11:03:08.100000+02:00 AadityaSAPUser https://community.sap.com/t5/user/viewprofilepage/user-id/1004973 <P><STRONG>Business Application Studio (BAS) is Not Opening, Instead It Is Opening SAP Build Code When It Is Clicked From BTP Cocopit. (Occuring Since 7 May 2024)</STRONG></P><P>Hi,<BR /><BR />I Am Facing A Problem To Open Business Application Studio (BAS) From The Cockpit. Whenever I Try To Click On The Link from Cockpit, It Always Redirect To SAP Build Code. Different Web Browsers (Chrome &amp; Opera)Were Also Used With Incognito Mode But No Luck.</P><P>In The BAS I Am Using trial Account And There Are Already Deployed Project Exist.<BR /><BR />#BAS<SPAN>&nbsp;#</SPAN><A class="" href="https://community.sap.com/t5/c-khhcw49343/SAP+Business+Application+Studio/pd-p/67837800100800007077" target="_blank">SAP Business Application Studio</A><SPAN>&nbsp;</SPAN>&nbsp;<SPAN>&nbsp;#</SPAN><A class="" href="https://community.sap.com/t5/c-khhcw49343/SAP+Build+Code/pd-p/73555000100800004372" target="_blank">SAP Build Code</A></P><P>&nbsp;</P> 2024-05-08T11:03:08.100000+02:00 https://community.sap.com/t5/technology-q-a/error-while-creating-sap-build-code-full-stack-application/qaq-p/13704347 Error while creating sap build code full stack application 2024-05-17T08:24:12.946000+02:00 gpooja https://community.sap.com/t5/user/viewprofilepage/user-id/823064 <P>Hi,</P><P>Learning through the below mentioned learning about sap build code full stack application.</P><P><SPAN>&nbsp;</SPAN><A href="https://developers.sap.com/mission.sap-build-code-test-drive.html" target="_blank" rel="noopener noreferrer">SAP Build Code Test Drive</A></P><P>But facing this error "<SPAN>Insufficient privileges to perform this action.</SPAN></P><P class="">Correlation Id: 32ffbdfc-ffe0-4922-4c13-e0c0059ffd5c" Can someone suggest any solution for this. Thanks in advance.</P> 2024-05-17T08:24:12.946000+02:00 https://community.sap.com/t5/technology-q-a/re-error-while-creating-sap-build-code-full-stack-applic/qaq-p/13705579/comment-id/4829839#M4829839 Re: Error while creating sap build code full stack applic... 2024-05-18T11:27:50.814000+02:00 king04aman https://community.sap.com/t5/user/viewprofilepage/user-id/1445789 <DIV class=""><DIV class=""><DIV class=""><P>Make sure you have the necessary roles assigned. Specifically, check if you have the “<STRONG>Build Code Administrator</STRONG>” and “<STRONG>Build Code Developer</STRONG>” roles.</P><UL><LI>To assign these roles:</LI><LI>Log in to SAP Build Code.</LI><LI>Navigate to the user management section.</LI><LI>Select “Build Code Administrator” and “Build Code Developer,” then click “Assign Role Collection.” This action will assign the roles to your user.</LI></UL><P>Hopefully, this will resolve the issue. If you encounter any further problems, feel free to ask.<span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:">😊</span></P></DIV><DIV class="">&nbsp;</DIV></DIV><DIV class="">&nbsp;</DIV></DIV> 2024-05-18T11:27:50.814000+02:00 https://community.sap.com/t5/technology-q-a/missing-files-in-full-stack-app-generated-by-build-code/qaq-p/13705853 Missing files in full-stack app generated by Build Code 2024-05-18T17:04:41.996000+02:00 Cocquerel https://community.sap.com/t5/user/viewprofilepage/user-id/754 <P>Hello, I'm surprised that when generating a Full-Stack application with SAP Build Code, it does not generate files like mta.yaml , xs-security.json and xs-app.json . Are all those files supposed to be created manually or via cds commands ?</P> 2024-05-18T17:04:41.996000+02:00