SAP ABAP IMG Activity WCF_V_CUST_JS (Define Path for JS Files)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI (Application Component) WebClient UI
     WCF_IMG_STRUCTURE (Package) Structure and Activities for WEBCUIF IMG
IMG Activity
ID WCF_V_CUST_JS Define Path for JS Files  
Transaction Code S_A0F_96000088   (empty) 
Created on 20090427    
Customizing Attributes WCF_V_CUST_JS   Define Path for JS Files 
Customizing Activity WCF_V_CUST_JS   Define Path for JS Files 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WCF_V_CUST_JS    

Use

In this Customizing activity, you can add your own JavaScript (JS) files on top of the JavaScript files provided in the SAP system.

Instead of changing backend files, you can simply create a JS file and change, for example, quick info texts or create your own mini-calendar, which is started when you click the date selection.

You can add several JavaScript files and define the priority that determines the ascending order in which the files are loaded. This means that the JavaScript file with the highest priority is added at the bottom of the HEAD section. This ensures that any variable or function defined in this file is not overwritten by files with lower priority or by the standard JavaScript files provided by SAP.

In this Customizing activity, you can define the path (URL) where your JavaScript file is located. If you add a JavaScript file, it overwrites the standard JavaScript file provided by SAP. You can use the following formats to enter the URL for the JavaScript file:

  • Absolute path: http://test.com/tooltip.js
    Note
    Be aware of protocol warning messages issued by the browser if used with https sessions
  • Relative path: /sap/bc/bsp/sap/zcust_js/calendar.js


Note
If you add your own JavaScript files, you need to ensure that the syntax of these files is correct. Otherwise the WebClient UI cannot be displayed correctly and the user is informed of syntax errors.

Requirements

Standard settings

Activities

Example

Business Attributes
ASAP Roadmap ID 201   Make global settings 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG WCF_V_CUST_JS 0 PNF0000011 WebClient UI 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
WCFV_CUST_JS C - View cluster SM34  
History
Last changed by/on SAP  20090427 
SAP Release Created in 701