on 05-26-2008 3:24 PM
Hi,
Let's say I am in one of the Web Dynpro components DPR_xxxx.
What is the best way to retrieve a selected object, not as a WD context node, but as a reference to its belonging class (CL_DPR_PARTICIPANT, ...) ?
Should we use the singletons such as : cl_dpr_session_state or cl_dpr_api_core_service_mngr or... ?
Thanks in advance.
Best regards,
Guillaume
Hi Guillaume,
There is no 1 : 1 relationship between them, examples: DPR_TREE, DPR_GANTT etc. Some of them like DPR_DET_DATA_PROJECT_O refers to the project, if you have the guid, you can use CL_DPR_APPL_OBJECT_MAPPER method GET_APPLICATION_OBJECT_BY_GUID to get the corresponding appl. object.
Kind regards,
Zhenbo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
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.