Skip to Content
author's profile photo Former Member
Former Member

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.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 03, 2012 at 09:20 AM

    Hello Radhika,

    It might not be the most recommended thing to do, but,

    Since the file you wish to change is a Java Script, you can change it locally on each and every server node by opening the deployed file on the file system and replacing the JS file with a file with the same name.

    That way you will avoid the deployment exception.

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Nadar,

      In NW 7.0 we could deploy a standard par file after making hte changes in the components but in NW 7.3 is it not possible to change the standard file without undeploying the same ?

      Also what is the standard way of updating SAP standard file in NW 7.3?



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.