Below you can find coding snippets which can be used when the search of an object doesn´t contain the expected results.
Search helps are defined in customizing for each object type in:
Spro > SAP Portfolio and Project Management > Common Functions > Search > Define Search Help for Project Management
Execution of Search
CALL FUNCTION fuba
shlp_tab = shlp_tab
record_tab = record_tab
shlp = shlp_curr
callcontrol = callcontrol
OTHERS = 1.
The parameter "fuba" is filled with the exit which is assigned in search help.
For example search help DPR_ORG_UNIT_OBJID is using search help exit DPR_ORG_UNIT_SHLP_EXIT. In the Exit (function module) a breakpoint can be set for analyze.