Hello,
In this blog we will learn How to create CBO Tile (Custom Business Object Tile ) with BAS , also learn about fiori app tile creation in launchpad designer, and Git.
What is CBO ?
CBO (Custom Business Object) is a SAP ui5 fiori application in which we can define the custom business object as per the requirement.
Custom business objects can be accessed from outside SAP S/4HANA via an automatically generated OData service. You can use this app to create custom business objects and to generate database tables, services, UIs, and applications based on custom business objects. The fields can be used as table columns on the initial page of a custom application that you create based on a custom business object.
What we can do in Custom Business Object:
- Create your own business objects and the corresponding database tables
- Copy already published custom business objects
- Add fields to business objects
- Generate UIs based on custom business objects
- Create associations between custom business objects for reuse
- Track changes in a custom business object with change documents
- Generate OData services for custom business objects to work with and modify custom business objects from externally
- Publish business objects
- Edit business objects that have already been published
- Create multiple sub nodes for one business object
- Implement custom logic on node level
- Reset business objects to their last published version
- Delete custom business objects that have not yet been transported to your production system
- Refer to custom libraries and custom code lists
Steps to create CBO tile in SAP BAS :
1. Launch the SAP Business Application Studio from the Cloud Cockpit
![](https://blogs.sap.com/wp-content/uploads/2023/02/BAS-1.png)
2. To create a Tile, select new Project from Template. –> Select Template and Target location.
![](https://blogs.sap.com/wp-content/uploads/2024/01/1-8.png)
Select the worklist type template.
![](https://blogs.sap.com/wp-content/uploads/2024/01/2-7.png)
3. Select the Data source, system and OData service.
![](https://blogs.sap.com/wp-content/uploads/2024/01/4-5.png)
4. Select the Entityset (Main Entity) and Navigation Entity (Navigation Entity: When you click on the table row, it will navigate to another page, where you can see the information of the selected row.)
![](https://blogs.sap.com/wp-content/uploads/2024/01/5-5.png)
5. Provide the required information for Project attributes and finish.![](https://blogs.sap.com/wp-content/uploads/2024/01/6-6.png)
6. Run the Fiori app using command: npm run start
![](https://blogs.sap.com/wp-content/uploads/2024/01/7-5.png)
7. Deploy the CBO Tile :
To deploy the CBO Tile follow the below attached sap blog.
https://blogs.sap.com/2023/02/24/deploy-the-ui5-fiori-app-on-sap-abap-repository-with-bas-webide-create-fiori-app-tile-using-launchpad-designer/
8. how to create git repository and push the code on GIT.
8.1. Login your account
8.2. Click on New Project and select Blank Project.
![](https://blogs.sap.com/wp-content/uploads/2024/01/8-5.png)
![](https://blogs.sap.com/wp-content/uploads/2024/01/9-5.png)
8.3. To upload the Ui5 project follow the below steps.
![](https://blogs.sap.com/wp-content/uploads/2024/01/10-6.png)
9. Steps to create a Tile and Target mapping in Fiori launchpad Designer
https://blogs.sap.com/2023/02/24/deploy-the-ui5-fiori-app-on-sap-abap-repository-with-bas-webide-create-fiori-app-tile-using-launchpad-designer/
To learn more about the CBO, read below attached Links.
- https://blogs.sap.com/2023/02/24/deploy-the-ui5-fiori-app-on-sap-abap-repository-with-bas-webide-create-fiori-app-tile-using-launchpad-designer/
- https://blogs.sap.com/2019/06/24/fiori-elements-object-page-table-items-context-based-edit-ability/
- https://help.sap.com/docs/SAP_EXTENSIBILITY_EXPLORER/b0e8d558ba2f47f5b02a3fc0ac9edc34/6bd534db33694eba9ddde788ef717dfd.html?locale=en-US&state=PRODUCTION&version=SHIP&q=Custom%20Business%20object
- https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/b45696ca0d9143cba040797e9c71aa44.html?locale=en-US&state=PRODUCTION&version=2308.504&q=Custom%20Business%20object
Conclusion
The Custom business application tile has been created using Fiori. The Fiori app tile has been created on Fiori Launchpad.
With this we come to an end of this blog. Hope you find it useful.
Keep learning & Keep Sharing!!
文章来源: https://blogs.sap.com/2024/01/08/create-cbo-tile-using-bas-in-sap-ui5/
如有侵权请联系:admin#unsafe.sh