Skip to Content
0
Former Member
May 17, 2010 at 04:26 PM

Perfomance issue with BUPA_ADDRESS_ADD

35 Views

I am currently using BUPA_ADDRESS_ADD to add new addresses to a business partner but the program is running a long time. I am using the following code below. Is there any way that I can improve the performance of this function module? It is working but the performance is very slow. I currently added about 10,000 new addresses

CALL FUNCTION 'BUPA_ADDRESS_ADD'

EXPORTING

IV_partner = wa_cs009_infle-buspartner

is_address = aperdatab

IV_ACCEPT_ERROR = 'X' " no errormessages for regional structure

IV_X_SAVE = 'X'

IMPORTING

ev_addrnumber = ev_addrnumber

ev_addrguid = ev_addrguid

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

WAIT = 'X'.