Create Custom UI for S/4HANA on SAP Cloud Platform

本文档指导如何使用SAP Web IDE从模板创建UI,根据需求进行适应性开发,测试UI,并将其部署到S/4HANA云系统的SAPUI5 ABAP Repository。步骤包括:从模板创建UI项目,配置S/4HANA云应用磁贴,使用SAPUI5视觉编辑器编辑UI,测试UI,以及将UI部署为应用程序。

You will learn

  • How to create a UI from template in SAP Web IDE
  • How to adapt that UI to your needs
  • How to test that UI
  • How to deploy that UI as application to the S/4HANA Cloud system’s SAPUI5 ABAP Repository

As building UIs in SAP Cloud Platform (Side-by-Side Extensibility) offers more possibilities than UI Adaptation within S/4HANA Cloud (In-App-Extensibility), this tutorial shows you roughly how to build an UI based on a S/4HANA Cloud Custom Business Object’s OData service in Web IDE and how to get it to the S/4HANA Cloud system.


Step 1: Create UI project from template in SAP Web IDE

In your SAP Cloud Platform Subaccount go to Services, search for SAP Web IDE and select it.

Open SAP Web IDE service overview in SAP Cloud Platform

Click Go to Service to open SAP Web IDE.

Open SAP Web IDE

Select New Project from Template to start wizard for UI project creation.

Select new project

If you don’t see this welcome page then follow the alternative way:

File > New > Project from Template

Select the List Report Application template and click Next to create a new UI of this type.

Select UI Project Template

Enter basic information for the project, like Bonusplan as name and title.

Enter basic information

Click Next.

To add a data connection click Service Catalog and set the destination SAP_DEV_SYSTEM which you have previously created on your SAP Cloud Platform. Choose YY1_BONUSPLAN_CDS as service and click Next.

Choose data connection for list report application

Choose all annotations in this view and move on with Next.

Select annotation

Customize the template by selecting YY1_BONUSPLAN as OData collection and click Finish.

Customize template

完成

Log on to answer question

Step 2: Configure S/4HANA Cloud application tile

To configure the tile that will appear in your S/4HANA Cloud Fiori Launchpad later, do the following:Open the webapp folder and manifest.json file, and make sure to be in descriptor mode of the editor.

Then go to navigation

Configure application tile data

Add the following information:

Inbound
Semantic ObjectBonusplan
Actionmantain
Inbound Tile
TitleBonusplan
Iconsap-icon://money-bills

Click Save.

完成

Log on to answer question

Step 3: Edit UI in SAPUI5 Visual Editor

Open the SAPUI5 Visual Editor for your project Bonusplan via context menu.

Open SAPUI5 Visual Editor

Switch via Edit button to edit mode.

SAPUI5 Editor Edit button

Click the column header area for the “Validity Start Date” column to mark it. On the right the marked control’s properties will appear. You can see that you marked the whole column and not only the header cell’s text, if the control property area has the heading “Column” instead of “Text”. Scroll down in the column’s properties to “Visibility” and set it to false.

Adapt UI in SAPUI5 Editor

Make the “Validity End Date” column invisible as well.

Save your changes with CTRL+S.

完成

Log on to answer question

Step 4: Test UI

Although the Preview in SAPUI5 Editor already gives you an idea on how the UI will look and behave like a test in an own browser window is started this way.

Having just chosen a file of your project in the navigation tree or editor, click the play button to run your application in the test environment of SAP Web IDE.

Run application

Now you get the UI previewed in an own browser window. It has functionality already. For example by pressing the Go button, you’ll get the list of Bonusplans from your S/4HANA Cloud system.

Running application in full screen preview

完成

Log on to answer question

Step 5: Deploy as application to S/4HANA Cloud

Right click your project Bonusplan and deploy it to your S/4HANA Cloud system via context menu Deploy > Deploy to SAPUI5 ABAP Repository.

Deploy UI to S/4HANA system

A wizard opens. Set the destination to your S/4HANA Cloud system ones. Ensure that the UI is deployed as a new application. Click Next.

Set options for deployment as new application

Give an application name and description, click Next and Finish.

Set application name

完成

Log on to answer question

Step 6: Test yourself

In which UI project file can you configure the tile for your S/4HANA Cloud application? Component.js manifest.json neo-app.json

内容概要:本文围绕可变桨叶四旋翼无人机的规范控制与点对点运动模拟展开,重点研究优化推力分配策略在翻转动作中的应用与性能比较。通过Matlab代码实现,构建了四旋翼动力学模型,并设计了多种控制算法以实现精确的姿态调整与轨迹跟踪。研究对比了不同推力分配方案在执行高机动性翻转动作时的稳定性、能耗效率与响应速度,旨在提升无人机在复杂飞行任务中的动态性能与控制精度。该仿真研究为无人机飞控系统的设计与优化提供了理论依据和技术支持。; 适合人群:具备一定自动控制理论基础和Matlab编程能力,从事无人机控制、飞行器动力学或机器人系统研究的科研人员及研究生。; 使用场景及目标:① 实现四旋翼无人机在三维空间中的精确点对点运动控制;② 对比分析不同推力分配策略在执行翻转等高难度动作时的控制效果与能耗表现,优化飞行性能;③ 为无人机自主飞行、特技飞行及复杂环境下的机动控制提供算法验证平台。; 阅读建议:此资源以Matlab仿真为核心,建议读者结合相关控制理论知识,深入理解代码实现细节,重点关注动力学建模、控制律设计与推力分配模块。在学习过程中,应动手调试参数,复现文中翻转动作的仿真结果,并尝试拓展至其他复杂飞行任务,以加深对无人机控制机理的理解。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值