‎2019 May 01 4:42 PM
Hi Gurus,
I'm currently using FM BAPI_IDENTIFICATION_REMOVE in order to remove the identification records from BUT0ID.
my requirement, build a report to remove about 1.000.000 records. The issue is that FM BAPI_IDENTIFICATION_REMOVE is taking a lot of time.
i.e. for 2000 records is taking that 350 seconds.
for each FM call
CALL FUNCTION 'BAPI_IDENTIFICATION_REMOVE'
EXPORTING
businesspartner = <fs_but000>-partner
identificationcategory = <fs_but0id>-type
identificationnumber = <fs_but0id>-idnumber
TABLES
return = li_return[].
for 100 records I'm calling FM
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = abap_false
each 100 records ..
and this is taking 350 seconds (for total 2000 records) in background task which is quite a lot.
Do you've any idea in which report's performance could be improved ?
Any help is useful
Thanks in advace
Regards!!!
‎2019 May 01 7:33 PM
use FM BUP_MEMORY_CENTRAL_INIT this increase a little bit before call BAPI_IDENTIFICATION_REMOVE
‎2019 May 01 7:33 PM
use FM BUP_MEMORY_CENTRAL_INIT this increase a little bit before call BAPI_IDENTIFICATION_REMOVE