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
427

Hi iam using BAPI_ACC_DOCUMENT_POST to do some GL posting its working fine for FI.

but its not updating the coep table and also uom and quantity are not being updated in CO .

this way iam using the bapi

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'

EXPORTING

DOCUMENTHEADER = v_documentheader

TABLES

ACCOUNTGL = it_accountgl

ACCOUNTTAX = it_accounttax

CURRENCYAMOUNT = it_currencyamount

RETURN = it_return.

iam using commit as well

its working fine for fi postings but not working for CO postings

Moderator Message: Duplicate Post.

Edited by: kishan P on Nov 24, 2010 6:42 PM

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
354

1) is GL-account defined as cost element in CO?

2) is there a CO-assignment in your posting (cost-centre or WBS-element)?

3) what is with tables COSP / RPSCO?

4)not all bapis (I know that from idocs -> searh in SMP) are posting automatically from FI to CO

-> so better try abap RFBIBL00

hope that helps

Andreas