Skip to Content
Former Member
May 03, 2012 at 12:39 AM

Updating standard SAP file sapbi_comp.js


Hi Experts,

We need to overwrite a standard SAP .js file which exists in the war

file file.The sapbi_comp.js is the

file that is to be overwriten in the component.We have been updating

the .js file successfully in NW 7.0 by making the changes in the js

file in par file and deploying on the server.

But in NWDS 7.3 we imported the war file in NWDS 7.3 and updated the js

file.Post that created an ear file and while deploying the ear file the

following excpetion is thrown:

"Cannot deploy two applications with identical application aliases

(context roots). Your application

[] defines an application

alias (context root) [] that is already

in use by application []. There

are two possibilities in order to proceed with deployment: 1) Define

different application alias (context root) for your application

[] (this is the preferred

option). 2) Undeploy the application "

We are not able to deploy the file

as it says the alias already exists but in NW 7.0 we could overwrite

the par file for the same component thus updating the js file.

Please let us know how can we overwrite a standard SAP .js file.