{"status":"success","message":"","http_code":200,"data":{"type":"message","id":"14384826","href":"/messages/14384826","view_href":"https://community.sap.com/t5/technology-blog-posts-by-sap/enhancing-enterprise-applications-ai-powered-user-experience-with-sap-cap/ba-p/14384826","author":{"type":"user","id":"9300","href":"/users/9300","view_href":"https://community.sap.com/t5/user/viewprofilepage/user-id/9300","login":"rupamaity"},"subject":"Enhancing Enterprise Applications: AI-powered User Experience with SAP CAP AI Plugin","body":"<P><SPAN>In today’s world, users expect their applications to smartly reduce their manual effort and help them complete their tasks quickly. </SPAN></P><P><SPAN>And enterprise applications are no exception. Imagine looking at a huge, blank form that you must fill out to complete a mundane but mandatory task at the office. You can practically feel the energy drain out of your body as the form stares back at you. Suddenly, a coffee break looks enticing <span class=\"lia-unicode-emoji\" title=\":slightly_smiling_face:\">🙂</span></SPAN></P><P><SPAN>But what if your application could generate recommendations based on the data available in the system, and dramatically cut your effort to just eyeballing the correctness of most of the fields, only requiring you to fill in a few? </SPAN></P><P><SPAN>While this may be on every user’s wish list, implementing these AI-driven smart features in existing (or even new) applications can require a lot of development effort. </SPAN></P><P><SPAN>At SAP Cloud Application Programming (CAP), we believe in reducing boilerplate code and letting developers focus on intent. Hence, in the April release of CAP, we have released the SAP <A href=\"https://github.com/cap-js/ai\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">CAP AI plugin for node.js</A>. (Watch this space for the Java version, which will be released soon).</SPAN></P><P>This plugin will enable existing and new CAP applications to use recommendations generated by the&nbsp;<A href=\"https://www.sap.com/products/artificial-intelligence/sap-rpt.html\" target=\"_blank\" rel=\"noopener noreferrer\">RPT-1</A> Generative AI model provided by SAP AI Core.&nbsp;<SPAN>The recommendations will then be pre-filled in the UI of the application. All this is out-of-the-box, without writing a single line of code.</SPAN></P><P><SPAN>The CAP AI plugin does three main things:</SPAN></P><OL><LI><SPAN>Simplifies AI Core configuration</SPAN></LI><LI><SPAN>Provide recommendations on the UI coming from RPT-1</SPAN></LI><LI><SPAN>Inherits the best of CAP </SPAN></LI></OL><P><STRONG><SPAN>Simplifying AI Core configuration</SPAN></STRONG><SPAN> – </SPAN></P><P><SPAN>Admin tasks such as creating a new SAP AI Core resource group per tenant</SPAN> and creating an RPT-1 deployment are automated using the “AICore” service created by the plugin.</P><P><STRONG><SPAN>Recommendations in the UI application</SPAN></STRONG><SPAN> – </SPAN></P><P><SPAN>Any entity with a value help (@Common.ValueList</SPAN> on the property or&nbsp;<a href=\"https://community.sap.com/t5/user/viewprofilepage/user-id/1434188\">@CDS</a>.odata.valuelist&nbsp;on the association target) will be used by the plugin to show the recommendations.</P><P><SPAN>&nbsp;</SPAN></P><pre class=\"lia-code-sample language-javascript\"><code>entity Books {\n  key ID : Integer;\n  title  : String(111);\n  descr  : String(1111);\n  genre : Association to one Genres;\n  status : Association to one Status;\n}\nannotate Genres with @cds.odata.valuelist;\nannotate Books with {\n    status @Common.ValueList : {\n        CollectionPath : 'Status',\n        Parameters: [\n            {\n                $Type: 'Common.ValueListParameterInOut'\n                ValueListProperty : 'code',\n                LocalDataProperty : status_code\n            }\n        ]\n    }\n}</code></pre><P>&nbsp;</P><P><span class=\"lia-inline-image-display-wrapper lia-image-align-center\" image-alt=\"rupamaity_1-1777368471237.png\" style=\"width: 999px;\"><img src=\"https://community.sap.com/t5/image/serverpage/image-id/403833i0E429A44B6FDF3A5/image-size/large?v=v2&amp;px=999\" role=\"button\" title=\"rupamaity_1-1777368471237.png\" alt=\"rupamaity_1-1777368471237.png\" /></span></P><P>&nbsp;</P><P><STRONG><SPAN>The best of CAP </SPAN></STRONG></P><P><SPAN>All the battle-tested enterprise readiness of CAP is inherently part of the plugin. It also supports multi-tenancy, and local testing without an SAP AI Core instance.</SPAN></P><P><SPAN>You can read more about the plugin here - <A href=\"https://github.com/cap-js/ai\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">https://github.com/cap-js/ai</A> </SPAN></P><P><SPAN>We are excited to have you try out this plugin.&nbsp; If you have any feature requests or suggestions, please feel free to reach out to us. </SPAN></P><P><SPAN>Till then, happy coding!</SPAN></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P>","teaser":"<P><SPAN>This article introduces the SAP Cloud Application Programming (CAP) AI plugin for Node.js (released in the April CAP update). It explains how the plugin can connect CAP apps to SAP AI Core’s RPT-1 generative AI model and help it use its recommendations out of the box, aiming to minimize boilerplate work and let developers focus on application intent.</SPAN></P>","board":{"type":"board","id":"technology-blog-sap","href":"/boards/technology-blog-sap","view_href":"https://community.sap.com/t5/technology-blog-posts-by-sap/bg-p/technology-blog-sap"},"conversation":{"type":"conversation","id":"14384826","href":"/conversations/14384826","view_href":"https://community.sap.com/t5/technology-blog-posts-by-sap/enhancing-enterprise-applications-ai-powered-user-experience-with-sap-cap/ba-p/14384826","style":"blog","thread_style":"blog","messages_count":1,"solved":false,"last_post_time":"2026-04-29T09:23:04.310+02:00","last_post_time_friendly":"2026 Apr 29"},"topic":{"type":"message","id":"14384826","href":"/messages/14384826","view_href":"https://community.sap.com/t5/technology-blog-posts-by-sap/enhancing-enterprise-applications-ai-powered-user-experience-with-sap-cap/ba-p/14384826"},"post_time":"2026-04-29T09:23:04.310+02:00","post_time_friendly":"2026 Apr 29","depth":0,"read_only":false,"edit_frozen":false,"language":"EN","can_accept_solution":false,"placeholder":false,"is_solution":false,"solution_data":{},"metrics":{"type":"message_metrics","views":1859},"current_revision":{"type":"revision","id":"14384826_6","last_edit_author":{"type":"user","id":"9300","href":"/users/9300","view_href":"https://community.sap.com/t5/user/viewprofilepage/user-id/9300","login":"rupamaity"},"last_edit_time":"2026-04-29T11:34:16.028+02:00"},"kudos":{"query":"SELECT * FROM kudos WHERE message.id = '14384826'"},"tags":{"query":"SELECT * FROM tags WHERE messages.id = '14384826'"},"labels":{"query":"SELECT * FROM labels WHERE messages.id = '14384826'"},"images":{"query":"SELECT * FROM images WHERE messages.id = '14384826'"},"videos":{"query":"SELECT * FROM videos WHERE messages.id = '14384826'"},"attachments":{"query":"SELECT * FROM attachments WHERE message.id = '14384826'"},"replies":{"query":"SELECT * FROM messages WHERE parent.id = '14384826'"},"ratings":{"query":"SELECT * FROM ratings WHERE message.id = '14384826'"},"custom_tags":{"query":"SELECT * FROM custom_tags WHERE messages.id = '14384826'"},"moderation_status":"approved","visibility_scope":"public","user_context":{"type":"user_context","kudo":false,"read":false,"can_reply":false,"can_kudo":false,"can_delete":false},"message_type":"blog_topic_message","popularity":2.0947139844851676E-5,"excluded_from_kudos_leaderboards":false,"latest_version":{"type":"friendly_version","major":"2","minor":"0"},"include_hidden_messages":true,"content_workflow":{"type":"content_workflow","state":"publish","message_draft_history":{"query":"SELECT * FROM message_draft_history WHERE message.id = '14384826'"},"user_context":{"type":"message_workflow_context","can_edit":false,"can_schedule":false},"view_href":"https://community.sap.com/t5/blogs/blogworkflowpage/blog-id/technology-blog-sap/article-id/190010"},"is_promoted":false},"metadata":{}}