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

BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
1,015

Hello All,

Does anyone know or have experienced any performance issue with BAPI_ACC_DOCUMENT_POST FM? I'm using this bapi wrapped in ABAP code but is very slow, each document posting takes almost up to 3.5 sec.

Thanks in advance,

8 REPLIES 8
Read only

Former Member
0 Likes
892

That's a bit slow - but I'd look at the ABAP code submitting the BAPI first.

Rob

Read only

Former Member
0 Likes
892

There is very little you can do with BAPIs and BDCs. They usually take time to execute.

1) Is this program run online or by a batch job?

2) How many posting are involved on an average?

3) Is your program doing anything after the posting like checking the processing message returned by the BAPI?

Read only

0 Likes
892

Hi Mark,

1) Run online

2) 5000

3) Yes, checks the processing messages and logging them in a internal table for screen dump at the end

After putting some logging in the ABAP, the most consumed time is the BAPI call it self.

Read only

0 Likes
892

Take it to the basis people. There may be something that they can do.

Rob

Read only

0 Likes
892

Just one question. If this program updates 5000 records why is it being run online instead of in the background (batch processing).

Read only

0 Likes
892

Hi Arash,

Can u send the code of this . I am facing a problem that it is not updating in database.

Thanks

Kumar

Read only

0 Likes
892

Use commit after your bapi call.

Arash

Read only

Former Member
0 Likes
892

the slow time is due to that we are using an external tax system.