HCM Processes & Forms: The Secrets of Search Helps and OADP….REVEALED! – part 6
This part wraps up the blog series:
OADP in PD Process Start Application
Lastly, one more interesting thing to note. Remember the WDA application we launch to start a PD process ?
Take a guess what is behind all of this screen too? OADP strikes again!!!! This one is not as straightforward.
First, the application sets up “what” objects the user can choose from in the “Object Type” dropdown in WDA component HRASR00_OBJECT_SEARCH in the view OBJECT_SEARCH method WDDOINIT where you see the code:
*Get the corresponsding text for the object type
SELECT otype FROM t5asrobjects INTO CORRESPONDING FIELDS OF otype_struc
WHERE is_used_by_asr = wd_assist->true
AND application EQ if_hrasr00_process_constants=>pd_application.
SELECT SINGLE otext FROM t777o INTO CORRESPONDING FIELDS OF otype_struc WHERE otype = otype_struc–otype
AND langu = sy–langu.
IF sy–subrc EQ 0.
APPEND otype_struc TO otype_tab.
The next part is how to link the selected object type to the correct OADP configuration. This is done in WDA component HRASR00_OBJECT_SEARCH in the view OBJECT_SEARCH method SEARCH_OBJECT where you find this code that reads table t5asrobjprocprp:
* define orgviewgroup
* use the MSS position selection orgviews as example
SELECT * FROM t5asrobjprocprp INTO t5asrobjprocprp_wa
WHERE otype EQ object_type
AND processor_role EQ initiator_role.
IF sy–subrc EQ 0.
l_orgviewgroup = t5asrobjprocprp_wa–orgviewgroup.
After that, it’s all the same kind of things we talked about already! No real magic at all.
Now, after surviving through this torturous read, what have we learned? That OADP really does drive our Search Help window pop-up in almost every way!
Our simple pop-up window…
I hope this has helped. As always….till next time….enjoy!