cancel
Showing results for 
Search instead for 
Did you mean: 

I have created UI5 Application in SPA BAS using Odata service generated from consumption CDS view.

FP
Discoverer
0 Kudos

UI5 app deployed successfully. Now I did changes to CDS view. Changed views to have input parameter. I see Odata service now has Results added as below.

FP_0-1706560992690.png

When I do Preview Application of this App on BAS it displays the changes and displays records.

But when I try to Test SICF service it throws error as below.

FP_1-1706561177716.png

So I thought to deploy the App again but deployment gives error as below.

FP_2-1706561338241.png

I am a beginner in UI5 applications development. I am not sure if parameterized views are not allowed then how does preview application work as expected. Or I am not deploying it correctly.

Any suggestions would be helpful pls.

Accepted Solutions (0)

Answers (2)

Answers (2)

FP
Discoverer
0 Kudos

This is the entire deployment log.

info abap-deploy-task ZENH_RESERVN_WB Creating archive with UI5 build result.
info abap-deploy-task ZENH_RESERVN_WB Archive created.
info abap-deploy-task ZENH_RESERVN_WB Starting to deploy.
info abap-deploy-task ZENH_RESERVN_WB ZENH_RESERVN_WB found on target system: true
error abap-deploy-task ZENH_RESERVN_WB Request failed with status code 400
error abap-deploy-task ZENH_RESERVN_WB SAPUI5 application ZENH_RESERVN_WB was not uploaded or registered successfully
error abap-deploy-task ZENH_RESERVN_WB SAPUI5 application ZENH_RESERVN_WB was not uploaded or registered successfully
info abap-deploy-task ZENH_RESERVN_WB Please copy/paste this URL in a browser for more details:
info abap-deploy-task ZENH_RESERVN_WB http://sap2onprem:8000/sap/opu/odata/iwbep/message_text/
info abap-deploy-task ZENH_RESERVN_WB ***** Upload of SAPUI5 App or Library from ZIP-Archive into SAPUI5 ABAP Repository *****
info abap-deploy-task ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB Running in regular mode, brief log
info abap-deploy-task ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB 11 Files found in Archive.
info abap-deploy-task ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB * Parameters *
info abap-deploy-task ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB The text files are identified using the standard settings.
info abap-deploy-task ZENH_RESERVN_WB The binary files are identified using the standard settings.
info abap-deploy-task ZENH_RESERVN_WB The files and folders to be ignored are determined from the built-in standard settings.
info abap-deploy-task ZENH_RESERVN_WB The name of the SAPUI5 repository "ZENH_RESERVN_WB" has been determined from the corresponding import parameter.
info abap-deploy-task ZENH_RESERVN_WB The package of the SAPUI5 Application "ZOTC" has been determined from the corresponding import parameter.
info abap-deploy-task ZENH_RESERVN_WB Transport Request "DE7K903689" has been determined from the corresponding import parameter.
info abap-deploy-task ZENH_RESERVN_WB The external Code Page Name "UTF8" has been determined from the corresponding import parameter.
info abap-deploy-task ZENH_RESERVN_WB The acceptance of Unix style end of line markers in text files has been determined from the corresponding import parameter.
info abap-deploy-task ZENH_RESERVN_WB Unix style end of line markers in text files get accepted.
info abap-deploy-task ZENH_RESERVN_WB The delta mode has been turned on.
info abap-deploy-task ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB Updating existing SAPUI5 ABAP repository ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB
error abap-deploy-task ZENH_RESERVN_WB Changes to repository or cross-client customizing are not permitted
info abap-deploy-task ZENH_RESERVN_WB Please copy/paste this URL in a browser for more details:
info abap-deploy-task ZENH_RESERVN_WB http://sap2onprem:8000/sap/opu/odata/iwbep/message_text/
error abap-deploy-task ZENH_RESERVN_WB Text file Component-preload.js has not been uploaded
error abap-deploy-task ZENH_RESERVN_WB Changes to repository or cross-client customizing are not permitted
info abap-deploy-task ZENH_RESERVN_WB Please copy/paste this URL in a browser for more details:
info abap-deploy-task ZENH_RESERVN_WB http://sap2onprem:8000/sap/opu/odata/iwbep/message_text/
error abap-deploy-task ZENH_RESERVN_WB Text file manifest.json has not been uploaded
info abap-deploy-task ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB * Updating the Application Index *
info abap-deploy-task ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB
error abap-deploy-task ZENH_RESERVN_WB SAPUI5 application ZENH_RESERVN_WB was not uploaded or registered successfully
info abap-deploy-task ZENH_RESERVN_WB Please copy/paste this URL in a browser for more details:
info abap-deploy-task ZENH_RESERVN_WB http://sap2onprem:8000/sap/opu/odata/iwbep/message_text/
info abap-deploy-task ZENH_RESERVN_WB
info abap-deploy-task ZENH_RESERVN_WB * Done *
error abap-deploy-task ZENH_RESERVN_WB SAP_Transaction:
error abap-deploy-task ZENH_RESERVN_WB SAP_Note: See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)
error abap-deploy-task ZENH_RESERVN_WB Deployment has failed.
error abap-deploy-task ZENH_RESERVN_WB Change logging level to debug your issue
error abap-deploy-task ZENH_RESERVN_WB (see examples https://github.com/SAP/open-ux-tools/tree/main/packages/deploy-tooling#configuration-with-logging-en...)
ERR! builder:custom deploy-to-abap Request failed with status code 400
Command deploy failed with error Request failed with status code 400

WouterLemaire
Active Contributor
0 Kudos
Are you deploying to the correct client? It fails because of this error "Changes to repository or cross-client customizing are not permitted", which means you are deploying to a client which is not open for changes anything.
WouterLemaire
Active Contributor
0 Kudos

Which version of ui5 do you use? Might be that cds views with parameters are not yet supported for your version. Can you try generating a fiori element app with the latest version?

Can you also provide more details of the deployment log?

FP
Discoverer
0 Kudos
I want to push down filter (like plant, date) to basic cds view, so I added input parameters to CDS view. But to answer your question-I have sap.ui.version 1.84.28 and Odata V2.
WouterLemaire
Active Contributor
0 Kudos
Version should be supporting this in fiori elements. Have you tried generating fiori elements with a higher version?