cancel
Showing results for 
Search instead for 
Did you mean: 

Create Extension Wizard to Create SAP UI5 Extension

Vipin_V
Participant
0 Kudos
654

Hi,

Greetings!

As per https://help.sap.com/docs/bas/developing-sap-fiori-app-in-sap-business-application-studio/create-new... for creating SAP UI5 extensions Create Extension wizard can be used.

Created SAP Fiori Dev Space in BAS and while accessing available wizards via File -> New Project from Template - Basic Multitarget Application, SAP UI5 Adaptation Project,  SAP Fiori application are only available. 

Am I looking at the wrong place or missing something, pls guide.

Note - SAP UI5 Adaptation project doesn' t meet the requirement hence looking for alternative solution of using Extension Project and above is for creating extension project.

Regards,

Vipin.

junwu
Active Contributor
0 Kudos
is the app to be extended fiori element app or free style app? extension project is more for free style app. although I am not able to find that wizard either.
OliverGraeff
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Vipin_V,

Please see here: For all supported SAPUI5 applications, adaptation projects are used. This is the strategic, default way of extending an SAP Fiori app. For certain legacy applications not fulfilling the prerequisites, an SAPUI5 extension project is used (when creating an adaptation project).

Can you share why SAPUI5 adaptation projects do not meet the requirement?

Regards, Oliver

Arushi
Explorer
0 Kudos
did you find the 'Create Extension' wizard? I am also looking to extend fiori application that is not supported by adaptation project but unable to do so

Accepted Solutions (0)

Answers (4)

Answers (4)

RaminS
Active Participant
0 Kudos

There is no "Create Extension Wizard", you just use Adaptation project wizard and if the app does not qualify for adaptation, it will automatically create extension project for you. The SAP document that mentions "Create Extension Wizard" is misleading and should be corrected.

What is the app id you are trying to adapt? And what is your S4 version?

Arushi
Explorer
0 Kudos
App is Post Goods Receipt for Inbound delivery F2502, this does not appear in the application list when I select adaptation project.. S4 Version is S4COREOP 105 0002 SAPK-10502INS4COREOP
RaminS
Active Participant
0 Kudos

Hi @Arushi ,

You are right, the app F2502 does not show up in the Adaptation wizard list. 

I checked the UI software package UIS4HOP1-600 and we do have it installed, so it should really come up in the list. And I even checked in SE80 and the BSP application is indeed installed in our system, so we do have the app in our system.

RaminS_0-1727188682686.png

RaminS_1-1727188699615.png

So... I think either SAP did not intend for this app to  be adaptable (which can't be right, since the Fiori App library shows a section for extensibility for this app), or  SAP's just missed putting this in the list of Adaptation wizard.

I would create an SAP ticket and ask them about this.

 

Arushi
Explorer
0 Kudos
Yes, seems like a bug, I had written to SAP, they said this app does not support adaptation project, so I am wondering, is it advisable to use SAP Web IDE to extend this app? what do you think
RaminS
Active Participant
0 Kudos

You should not have to use Web IDE. Even if the app doesn't qualify for Adaptation project, the wizard in BAS still shows the app and creates an extension project for you, with a .extconfig.json.

Then you right-click on that and WebIde menus show up to let you extend the app. See this blog.

SAP's answer to your ticket is not an acceptable answer. See if you can get passed the first-level support and get a developer engaged.

 

Vipin_V
Participant
0 Kudos

Hi @OliverGraeff - Thanks for your inputs. Was looking into possibility of using Extension project as pre-requisites to use Adaptation Project was not met.

Hi @Arushi - Pls select Adaptation Project template, post providing project name and other details including selecting version of UI5, an option will show up asking "Do you want to create an Extension Project with name "zapp.f<>.variant1" instead? It will give you the ability to create controller extensions for the synchronous views as well as the asynchronous." Here pls try selecting as Yes.

Regards,

Vipin.

Arushi
Explorer
0 Kudos
Hi @Vipin_V when I select adaptation project and search for my app, it does not appear in application list itself.
Vipin_V
Participant
0 Kudos
Hi Arushi, pls ensure destination is correct and standard app is available in the SAP system.
Arushi
Explorer
0 Kudos
hi Vipin, its not a standard app, its app F2502- Post goods receipt for Inbound delivery, which is not supported by adaptation project, in that case, how do we enhance the app
RaminS
Active Participant
0 Kudos

To clarify, the Create Extension wizard that the SAP document is referring to is only available in BAS if the app you are trying to extend does NOT meet the Adaptation Project prerequisite. If it does, then you cannot do the traditional controller extension and you are stuck with Adaptation Projects, which give you very limited override capabilities. Ex. you won't have access to override extended controller functions (which most SAP FE apps have) and local controller model.

Unfortunately. 😐 

umasaral
Active Participant
0 Kudos

Hi 

It sounds like you're trying to create an SAP Fiori UI5 extension project using SAP Business Application Studio (BAS), but you're not finding the option you need in the wizards available under "File -> New Project from Template". The SAP UI5 Adaptation Project isn't suitable for your requirements, so you're looking for an alternative to create an Extension Project.

Here are a few things to consider and steps you can take:

1. **Extension Project Availability**: SAP Business Application Studio (BAS) should provide a way to create SAP Fiori UI5 Extension Projects, typically through the SAP Fiori Dev Space. The option might not be directly under "File -> New Project from Template" as you described, but rather it could be accessed through a different route or view within BAS.

2. **Exploring Project Templates**: Sometimes, project templates for specific SAP Fiori extensions or UI5 projects may not be visible under the default project creation options. In BAS, explore other menu options or views that list all available templates or project types. Look for options related to Fiori or UI5 development specifically.

3. **SAP Fiori Dev Space**: Ensure that you are in the correct SAP Fiori Dev Space within BAS. Different Dev Spaces may offer different sets of templates and wizards. Switch to or verify that you are in the correct Dev Space where Fiori extension projects are supported.

4. **Consult SAP Documentation or Community**: If you're still unable to find the appropriate project template or wizard, consult the SAP documentation specific to BAS or Fiori development. Additionally, SAP Community forums or SAP support might provide insights or guidance from other developers who have encountered similar challenges.

5. **Custom Project Configuration**: If necessary, consider configuring a custom project in BAS by starting with a basic UI5 application template and then adapting it for extension purposes manually. This may involve setting up the necessary Fiori and UI5 dependencies, configurations, and folder structures.

In summary, while BAS should support creating SAP Fiori UI5 extension projects, the exact location or naming of the template might not be immediately obvious. Continue exploring BAS's options, ensure you're in the correct environment, and refer to SAP's documentation or community resources for additional assistance.

junwu
Active Contributor
that sounds like chatgpt
RaminS
Active Participant

Agreed. This is a chatgpt response.

I also am looking for the promised "Create Extension" wizard in BAS and cannot find it.

I want to set the default value of a date field to today's date in a standard SAP List Report app F2876, and make the field read-only. But because the field is not bound to an odata context from backend (it's a local JSON model field used for input), the Adaptation Project does not give me the hooks I need to manipulate this field. 

RaminS_0-1723729093660.png

But I cannot find the "Create Extension" wizard that the help document mentions. They don't say where it is, they just say use it.