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

performance from BAPI_IDENTIFICATION_REMOVE

former_member227595
Active Participant
0 Likes
1,291

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!!!

1 ACCEPTED SOLUTION
Read only

former_member227595
Active Participant
0 Likes
1,049

use FM BUP_MEMORY_CENTRAL_INIT this increase a little bit before call BAPI_IDENTIFICATION_REMOVE

1 REPLY 1
Read only

former_member227595
Active Participant
0 Likes
1,050

use FM BUP_MEMORY_CENTRAL_INIT this increase a little bit before call BAPI_IDENTIFICATION_REMOVE