‎2008 Mar 27 4:54 PM
Hi
I have one question, I want to simulate FB50 through BAPI BAPI_ACC_GL_POSTING_POST is this BAPI the correct?
In FB50 I have a field called D/C (Debit / Credit) but the field doesn't exist in BAPI internal table ACCOUNTGL.
Any idea?
Thanx in advanced
‎2008 Mar 27 5:11 PM
Hi
The debit/credit flag is automatically setted by the BAPI in order to the sign of the amount (CURRENCYAMOUNT structure):
- H if the amount is less than 0 (sign -),
- S if the sign is greater than 0 (sign +).
Max
‎2008 Mar 27 5:14 PM
Hi There,
You could use bapi BAPI_ACC_DOCUMENT_POST to post to FB50. The debit/credit indicator is in the table - accountgl in the bapi.
Thanks nina.