on 08-03-2008 10:54 AM
Hai All,
I want to call a Javascript from ABAP-Webdynpro application. If anyone has done this. Please let me know.
Thanks & Regards,
H.K.Hayath Basha.
tes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Abhi,
Thanks for the suggestion.
Regards,
H.K.Hayath Basha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Abhi,
I want the javascript to set value in a cookie which is at client, which is a client side cookie. That means this approach will not work is it.
Any suggestion to achieve this.
Regards,
H.K.Hayath Basha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
as i have suggested in my first reply, you can achieve this with BSP.
you can navigate to BSP page which has nothing and after executing the javascript you can call the return URL.
User gets the BSP page and java script gets executed and automatically redirected to WDA page, user can not see this effect as the the page is redirected to WDA as soon as the script gets executed
Abhi
Dead Abhimanyu,
Suppose i have a login button in my WD app. In the login action, i have some processses to do. In between these processes i have to call a BSP and resume the remaining code after i press the backbutton from BSP (or JS Event to press back). Can i achive such a scenario ?
Thanks in Advance
Regards
Sreehari Pillai
Hai Abhi,
Whether the BSP can be launched in background without any user interaction. That is when a user invokes a ABAP-Webdynpro application, webdynpro application should be shown in the screen and in the background BSP should be called which in turn should call java script.
Regards,
H.K.Hayath Basha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Abhi,
You mean from ABAP-Webdynpro call a BSP and from BSP call a Javascript is it.
Can you let me know how to call a BSP from ABAP webdynpro.
Regards,
H.K.Hayath Basha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go to window
create suspend outbound plug and resume inbound type
when create an outbound plug of Suspend type a parameter Url is automatically created,
fire the outbuond plug with the Url to a BSP page where you have JavaScript.
and fromt he BSP navigate back to WDA again which you can do using by reading the url parameter sap-wd-resumeurl, which contains the WDA URL
Abhi
framework will not allow you to write JavaScript in WDA, however you can navigate to a BSP page and execute and then navigate back
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.