‎2010 Nov 24 6:24 AM
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
‎2010 Nov 24 12:56 PM
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