‎2009 Apr 03 2:11 PM
HI guys,
I have a requirement where I have to use a search help available in another client in one of my input parameters on a selection screen.
My report is in SRD system but the search help is in ECC.
The search help is actually PRPM <== Matchcode for WBS elements
...Is it possible to do so?
I hope you guys can guide me . Thanks guys!
‎2009 Apr 03 2:16 PM
It's not in another client - it's in another instance. It's important to get terminology right, since search helps are client independent objects.
I think you'd need to write a search help on your SRD system, that calls an RFC enabled function module on your ECC system, that gets the data from the search help there.
‎2009 Apr 03 2:26 PM
Thanks guys
Well, the reason being...they want to use PRPM because they would like to allow users to search for the WBS element as well as filter by Person Responsible.
Currently, I'm doing it like this
CALL FUNCTION 'BBP_GET_BACKEND_SYSTEMS'
TABLES
et_logical_systems = lt_logical_sys
et_messages = lt_logical_msg.
IF lt_logical_msg IS INITIAL.
READ TABLE lt_logical_sys INTO ls_logical_sys INDEX 1.
IF sy-subrc = 0.
MOVE ls_logical_sys-logsys TO lw_logical_sys.
ENDIF.
ENDIF.
CALL FUNCTION 'RFC_GET_TABLE_ENTRIES'
DESTINATION lw_logical_sys
EXPORTING
table_name = 'PRPS'
TABLES
entries = lt_entries.
IF lt_entries[] IS NOT INITIAL.
LOOP AT lt_entries INTO ls_entries.
ls_wbs-posid = ls_entries+11(24).
ls_wbs-post1 = ls_entries+35(40).
APPEND ls_wbs TO lt_wbs.
ENDLOOP.
* F4 for WBS pop up.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'POSID'
window_title = text-012 "WBS Element
value_org = 'S'
TABLES
value_tab = lt_wbs
return_tab = lt_return_tab.
‎2009 Apr 05 6:43 AM
Any example guys?
Is it possible to use a search help from another instance?
I'm trying to access a search help in ECC while my report is in SRD.
Thanks alot
‎2009 Apr 03 2:21 PM
Hi,
tables and data are client independent.
so if you find no data is present in your system and want to get data from another system.
try to use FM --RFC_READ_TABLE using RFC destination and put in one internal table.
and write manual F4 help for that field.
Regards,
Prabhudas
‎2010 Jan 11 8:02 AM