on 08-19-2011 12:57 PM
Hi Experts,
I'm having a javacrpit in one of the web ui Component(UICMP_LTX -> PAGES WITH FLOWLOGIC -> LaunchTransactionAdmin.Js). I'm able to enhance views, but not able to enhance java scrpit. Could anyone please suggest me on how to enhance the standard javascrpit.
Thanks & Regards,
S.Gangireddy
HI S.Gangireddy ,
I have very urgent requirement to change size of transaction launcher screen .
I will really be very thankful to you if you please share me how you did this requirement .
Thanks & Regards,
Rishi verma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Michael ,
Thanks for your quick response . It would really very help full if you please explain what you did exactly . I am writing my approach below as well .
1. I have enhance UICMP_LTX component ( Z Component : ZUICMP_LTX)
2. I have Copy the Java script under page with flow logic : LaucnTransactionAdmin.js in my Z-Component
3. After copying i am able to see at se80 transaction under my package that i used while doing this component enhancement
4. Then i made changes in my JS file but is it not calling then i get idea from "Sigrid" , she told to add JS file path at SPRO .
5. As per her solution , i activate business function to enable "Define file path for JS" under spro
6. Now i am able to write JS file path but now i struct what path i have select from SICF transaction ??
So Michael , did you followed same approach or any other approach ...Please help me...
HI Sigrid ,Can you please help me , how you get path from SICF transaction .
Please help..i would really be very thankful to you...
Thanks & regards,
Rishi verma
Hi Rishi,
as pointed out by Michael, you are able to identify the relative path in SICF (without /default_host/) and your service name.
According to the SPRO documentation of the customizing path "Define Path for JS Files", you can use the following formats to enter the URL for the JavaScript file:
According to the coding identified by Andrew CL_THTMLB_CONTENT, method LOAD_CUSTOMIZED_JS_FILES, it seems as if only an absolute path is considered and customizing with relative pathes are ignored but I am no expert in this area, so I am not sure.
You might open an incident for SAP. There might be a bug.
Best Regards,
Sigrid
Thanks Sigrid & Michael for your quick response .
I have follow step to get path ..cab you please check , is am on right track...
Step 1. Open SICF transaction and Enter my Enhanced component name
Step 2. A new window open and i click on last option
Step 3. Then i get the path ,
Step 4 . THen i open SPRO and Define path for JS
I have created new entries and
Priorty URL
1 /default_host/sap/bc/bsp/sap/ZUICMP_LTX/Pages with Flow Logic/LaunchTransactionAdmin.js
Please
Please check.. is am on right track...
Thanks & regards,
Rishi verma
Hi Rishi,
Thank you for your replies on this topic, those are really helpful. But i need one more help after all those replies
I try your way to supress standard JS with my own. I took my JS file with your way but on "CRMCMP_IC_FRAME/HiddenView" for "header_jscripts.js". How can i exclude this JS file from bsp's rendered page?
Thank you.
sloved by myself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I just managed to enhance a JS function by using path
SAP Customizing Implementation Guide
Customer Relationship Management
UI Framework
UI Framework Definition
Define Path for JS Files
by
Best Regards,
Sigrid
Hi Gangireddy
I think it is not possible to enhance the standard java script , after enhancing the component you can directly edit the javascript file.
Thanks & Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.