In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what is the enhanced way of Fiori standard application". In daily operation, I believe that many people have doubts about the enhanced way of Fiori standard application. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubt of "what is the enhanced way of Fiori standard application?" Next, please follow the editor to study!
The Extension point reserved in the UI5 XML view is used, and the enhancement of the background logic is achieved through the extension hook in UI5 JavaScript controller and the BAdI in the background of ABAP.
I had a very pleasant cooperation with customers for four months, and finally the project went online smoothly. I also received a thank-you note from German customers by email, and the customers also sent me all the enhanced code they had done in this project into a compressed package. I hope SAP can analyze these logic well, evaluate whether some needs are universal, and whether it can achieve the SAP standard Fiori application in the future, so that more customers can benefit. I was deeply impressed by the professionalism and meticulous attitude of this German client in the implementation of the project.
One of the actual needs of customers at that time was to create a new custom field and enable it to be enabled in the end-to-end business process (support for addition, deletion, modification and query). Although this requirement seems common now, it took a long time to implement in the era of Fiori 1.0 five years ago, because some enhancements had to be made in both the front and background.
At that time, I blogged the complete enhancement implementation steps on the SAP community, and because there were so many steps, I wrote a total of four articles to introduce them:
An example of End to End extension on CRM Fiori application-part1
An example of End to End extension on CRM Fiori application-part2
An example of End to End extension on CRM Fiori application-part3
An example of End to End extension on CRM Fiori application-part4
Recently, Jerry came across a menu item called Adaptation Project in the newly built menu in WebIDE:
After searching the Internet, I found a blog introducing its usage. Here Jerry describes the summary of the article in Chinese and shares it with you. The blog introduces another way to enhance certain behaviors of Fiori applications without programming, and if you are interested in its details, you can click on the "read original" link at the end of the article to read the English version of the SAP community blog.
SAP Fiori for SAP S/4HANA-Adding Export to Excel to a standard SAP Fiori elements app using an Adaptation Project
This new enhancement is done through Fiori Adaptation Project and is introduced by an actual requirement.
When we say the SAP application, the most typical way to use it is to use the search interface as the entry point, and click on a record in the table control of the search results to enter the details page.
For a variety of reasons, not all table controls provide the ability to export data to excel format.
If the table of search results is drawn using SAP Fiori Elements technology, you can use Fiori Adaption Project in WebIDE to enable excel export.
Create a new Fiori Adaptation Project in WebIDE:
The next step is to choose which Fiori application of which SAP system to enhance. If the Fiori application to be enhanced is located on an On-Premises system, you need to pre-configure Destination on SAP Cloud Connector and SAP cloud platforms, otherwise the system will not be seen in the SAP UI5 ABAP Repository drop-down list.
After the On-Premises system is determined, the Fiori application to be enhanced is found in the system, and the location is located by inputting the technology ID of the application. Click Next to complete the Fiori Adaptation Project creation wizard, and here we name the project s4demo.
Email the project in WebIDE, select SAPUI5 Visual Editor, and open the WYSIWYG view editor
It is opened in Preview mode by default. Click the Edit button in the upper right corner to enter edit mode:
In edit mode, select the table control on the view and prepare to start making changes to the properties.
We note the hint of this security mode, and the intention of introducing this mode is similar to that of Android systems and Windows operating systems. Under the safe mode of SAP UI5 Visual Editor, developers can only make restricted property changes for controls.
There is a reward for effort, although the modification is limited, but the changes made in safe mode are upgrade security, that is, after the future S/4HANA system upgrade, these changes will still be retained.
To enable excel export of tables, we have to turn off safe mode:
Then set the flag bit of Use Export to Excel from the default false to true:
Save the changes and generate a folder called changes under the project folder, which records the details of the property changes. This idea of saving attribute changes through a separate file is consistent with the idea that SAP C4C uses Change Transaction to record the modification details after modifying the UI view through Key User Tool or Cloud Application Studio.
After modifying and saving, open the application again, and you can test the excel export function.
After passing the local test, deploy the Adaptation Project to the corresponding S/4HANA system in the same way as deploying the SAP standard Fiori application.
Click Show Details to find out which resources have been successfully deployed.
Tips for successful deployment: Folder XXXX (CUSTOMER_BASE) created in LRep.
This LRep is a tiered storage system in Layed Repository,S/4HANA. The so-called Layed is reflected in the hierarchical concept introduced by this storage system, that is, Customer Layer,Partner Layer,SAP Layer and so on. Different operators-customers, Partner and SAP standards developers-have different read and write permissions to these tiered storage resources.
In the S/4HANA system, execute the report / UIF/GET_FILES_4_NS, and you can view these resources deployed from WebIDE to S/4HANA LRep:
When the Fiori application enhanced with Fiori Adaptation Project is run for the first time, the UI5 application modification information described in the Fiori Adaptation Project of LRep Customer Layer will be merged with the resources of the Fiori standard application to produce the last Fiori application with the Export to Excel button that the customer sees in the browser.
At this point, the study on "what is the enhancement of Fiori standard application" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.