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 not commiting to database

Former Member
0 Likes
1,651

HI all ,

I am posting an accounting document using BAPI_ACC_DOCUMENT_POST . I am getting the document number with the Fisical period and Company code. that document is getting commited with BAPI commit. But that document is not in database whenever i am searching it using FB03. Can any one help me how to process that.

Thanks & Regards

sreehari p

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,289

"that document is getting commited with BAPI commit" - This ensures that you have used bapi_transaction_commit. What is the flow your are using to call this bapi.( program logic ). ?

Does BAPI_TRANSACTION_COMMIT returns any error ?

8 REPLIES 8
Read only

Former Member
0 Likes
1,289

CALL BAPI_TRANSACTION_COMMIT with WAIT = 'X' and check.

Read only

Former Member
0 Likes
1,289

This message was moderated.

Read only

former_member189779
Active Contributor
0 Likes
1,289

Check in SM13 if there are any update failures during the process.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,290

"that document is getting commited with BAPI commit" - This ensures that you have used bapi_transaction_commit. What is the flow your are using to call this bapi.( program logic ). ?

Does BAPI_TRANSACTION_COMMIT returns any error ?

Read only

0 Likes
1,289

Hi

BAPI transaction commit is not returning any error i am getting return as null

Read only

0 Likes
1,289

Try passing blank to the field OBJ_KEY,OBJ_TYPE,OBJ_SYS,COMP_CODE ( even though its mandatory ) . Please check the related notes 561175,1372327 etc.

Read only

0 Likes
1,289

HI ,

still its not commiting to database. i am using all the records in account receivable.

its giving posting message in BAPI . But  while i am committing it to database it is not getting commited to the database through the program. Can any one know whats the problem is

Thanks & regards

sreehari p

Read only

0 Likes
1,289

Check if thread helps you - its related to currency mapping. http://scn.sap.com/thread/1519723