Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to decrease response time in call function?

alonso_valenzue
Participant
0 Likes
492

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

3 REPLIES 3
Read only

Former Member
0 Likes
452

> tabname = space

> fieldname = space

Try to pass Specific Tab/structure and Field names for those two fields for which your are really concern .

Read only

former_member194669
Active Contributor
0 Likes
452

In the fm TABNAME & FIELDNAME are mandatory. try to pass these 2

a®

Read only

Former Member
0 Likes
452

Your search term is wide open ("*"). You should restrict it.

Rob