on 08-18-2013 4:52 AM
Hello,
I have developed a custom WDA, well, for some reason i need to get the current WDA's complete, pls. let me know do we have any class / method or FM?
I am awarre of that building URL based on the current environment /port by using classes, but, just checking do we hv any easy / ready-made class for reading the current WDA's URL
Thank you
Hi,
Use method CONSTRUCT_WD_URL of class CL_WD_UTILITIES and pass the Web Dynpro Component to get the complete URL.
As far i knew there is no other class which reads the url in the address bar, however you can get the url parameters using class cl_http_request method get_uri_parameters.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding to 's response, you don't have to hard code the WDA application name when using CL_WD_UTILITIES=>CONSTRUCT_WD_URL. You can find out the name of the WDA application dynamically by using IF_WD_RR_APPLICATION=>GET_NAME. See the attached link for details.
http://help.sap.com/saphelp_nw73/helpdata/en/46/9c786b77922c0ee10000000a114a6b/frameset.htm
Thank you for your help. Just now i saw your site, multi skilled, g8, impressive. I am just ABAP, recently started WDA.
When you get a chance, pls. check my other thread/question,
http://scn.sap.com/thread/3412042
Thank you
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.