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_GL_POSTING_POST No db commit

jakob_steen-petersen
Contributor
0 Likes
856

Hi,

I´m using FM BAPI_ACC_GL_POSTING_POST followed by and FM BAPI_TRANSACTION_COMMIT. But nothing is in database despite the message: Document posted with no errors

Any ideas?

I have tried with a plain Commit Work but no change...

Jakob

6 REPLIES 6
Read only

Former Member
0 Likes
804

What version of SAP are you on?

What have you done so far to confirm that it is not posted?

What all are you getting in the RETURN table?

Can you provide snippets of you code?

Cheers

John

Read only

0 Likes
804

Hi,

I'm on ERP 6.0

I get the message in the return telling me that the doc. no is posted. And i get the doc.no.

I can see that the number range is updated so i´m pretty sure thats it´s about a misisng commit somehow.

Jakob

Read only

0 Likes
804

Are you doing a COMMIT AND WAIT? You might check to see if there are any Express Update Terminations. Can you provide some snippets of your code?

Cheers

John

Read only

0 Likes
804

Hi Jakob,

I had exactly the same issue. After i ran the FM i get the DOC3 but in BSEG and in BKPF i did not see any entry with that number. The issue is we need to send the 15 and 40 as posting keys.

I am positive this will resolve your issue. Please try this out and let us know.

Regards,

Karuna.

Read only

former_member217544
Active Contributor
0 Likes
804

Hi Jakob,

Just check if this link helps you in anyway:

Regards,

Swarna Munukoti.

Read only

Former Member
0 Likes
804

Hi

Firstly you should run your code in debug and check content of the tables.

Then check the Note 561175 - BAPI posting in accounting with FI as reference-

It would be useful if you show what parametres you fill and code extract from your program.

Regards,

Nihad