‎2008 Dec 18 4:11 PM
Hi Gurus,
In SRM I'm using the R3's function RHF4_RFC_FIELD_VALUE_REQUEST to obtain the HR's position from R3.
The call function is:
CALL FUNCTION 'RHF4_RFC_FIELD_VALUE_REQUEST'
DESTINATION 'RFC_TO_R3'
EXPORTING
tabname = space
fieldname = space
searchhelp = 'HRBAS00OBJID'
shlpparam = 'SEARK'
value = '*'
cbk_plvar = '01'
cbk_otype = 'S '
TABLES
return_tab = i_return_tab
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5.
The result is the display of a help search with the HR structure of R3 to select the position, but the response time until the search help's window appears is between 7 and 10 minutes, this time is too much for my necessity.
How can I to decrease the response time? Thanks
‎2008 Dec 18 4:16 PM
> tabname = space
> fieldname = space
Try to pass Specific Tab/structure and Field names for those two fields for which your are really concern .
‎2008 Dec 18 4:24 PM
In the fm TABNAME & FIELDNAME are mandatory. try to pass these 2
a®
‎2008 Dec 18 4:26 PM
Your search term is wide open ("*"). You should restrict it.
Rob