cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Possible Issue with SAP Fiori Generator v1.16.0 (OData V4 Service Detection)

dnnunes97
Explorer
0 Likes
1,615

Hello @SAPSupport ,

I'm experiencing unexpected behavior with the SAP Fiori Generator (@sap/generator-fiori version 1.16.0) in the SAP Business Application Studio (BAS) when trying to create a List Report application based on an OData V4 UI service. Even though I'm selecting an OData V4 service, the generator seems to be defaulting to V2 templates, causing the generated application to render only a blank page.

dblackwood_0-1734537974376.png

dblackwood_1-1734535134940.png

Is this a known issue, or is there a workaround to ensure the generator adheres to OData V4 templates?

I would appreciate any insights or guidance on resolving this behavior.

Best regards,

Accepted Solutions (1)

Accepted Solutions (1)

JungHeeChan
Newcomer

Hi all.

We encountered the same issue as well. While it is not certain if this is a bug in version 1.16.0, the issue is resolved by downgrading using the following command:

npm install -g @sap/generator-fiori@1.15.7

 

saurabh__khare38
Participant

Yep SAP confirmed, its a bug. They would be releasing a hotfix.

Hello customer,

I'm sorry that you are having this issue, and I can confirm that we can recreate the issue internally, so it is unfortunately a regression bug that was introduced in 1.16.0 of the Fiori generator.

We are in the process of fixing this, and hope to have a hot-fix released in the coming days.  In the meantime, you could work around this by doing the following:

  1. In SAP Business Application Studio, select `Terminal -> New Terminal` from the menu options.
  2. In the new terminal, type `npm i -g @SAP/generator-fiori@1.15.7`.  This will install the previous version of the SAP Fiori generator without this bug.
  3. Then please refresh your browser.

Once you refresh your browser, the older version of the Fiori generator should be available and you can create your application successfully.  Please note that you may have to re-install the older version again if your dev space starts and stops.

cesar_gr
Participant
0 Likes
Thanks guys for share the solution!. This workaround works for me. I use both commands in the previous comments Regards!
dnnunes97
Explorer
0 Likes
Thank you, JungHeeChan and saurabh__khare, for sharing the solution! Downgrading with the suggested command worked perfectly for me as well. Much appreciated!

Answers (0)