cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI inside LOOP having Performance Issue

viva_kd
Participant
0 Likes
1,619

Dear Experts,

My Report taking 8 hours to execute , as it has 3 Lakhs of Data. and inside loop its runing BAPI

"BAPI_CTRACCONTRACTACCOUNT_GBAL" , along with this many loops there. but when i find out exact reason, is this FM and specially thru SAT/SE30 got to know "WAIT for RFC" process taking much time,

any idea , how to suppress this "WAIT for RFC" processing.

Note : All Peformance Improvement Logic already applied and i looking answer regarding this BAPI and my functional told , if we go thru daa fetching from Database table, it will will again painstaking job.

viva_kd_1-1720509963147.png

 

View Entire Topic
RaymondGiuseppi
Active Contributor

Could you reduce the number of call of FM SAPGUI_PROGRESS_INDICATOR (RFC connexion to SAP GUI)

  • e.g. Only call it when percentage actually changed
  • Else identify any other RFC call by filtering on performance/trace display
viva_kd
Participant
0 Likes
thanks Raymond, will do that and update once again.
RaymondGiuseppi
Active Contributor
0 Likes

Also consider some parallelization to execute so many records