on 10-19-2010 1:40 PM
Hi Guys,
I have used CL_WD_UTILITIES class in my view , its working perfectly but I want to know the exact usage n functionality flow of the methods of this class . Most impodrantly about processing/flow of method GET_OTR_TEXT_BY_ALIAS.
Regards,
Vishesh
hi, Vishesh.
CL_WD_UTILITIES has many useful method. From my experience, i share you with one of them:
CL_WD_UTILITIES=>CONSTRUCT_WD_URL
This is very helpful when you want to redirect to another WD application from one WD application, using "Create_external_window" passing the URL .
* get the URL of the called application
CALL METHOD CL_WD_UTILITIES=>CONSTRUCT_WD_URL
EXPORTING
APPLICATION_NAME = 'ZTEST_CALLED'
IMPORTING
OUT_ABSOLUTE_URL = lw_url.
lo_window = lo_window_mg->create_external_window( url = lw_url ).
lo_window->open( ).
Also in SE24, you can also read the other 3 methods the class provides, and for detail, you can search them in Google or other place like SDN.
Best wishes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishesh,
the class is mainly used to do at runtime actions/creation of ui elements.
The method you describe is to fetch the text at runtime and reuse this to
e.g. add the found text as a label text. It comes down to do the otr selection
for the attribute in the develoment area at runtime, where the framework would
do this if you declared it at design time.
Greetz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.