02-11-2008 8:14 AM
Hi All
Can any body tell me the steps to update the g/l Accounts data by using the session method in BDC...
02-11-2008 8:37 AM
Hi,
Instead of a BDC, a BAPI is always safer to use.
I normally use the below BAPIs to upload a GL Account.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
DESTINATION lc_dest
EXPORTING
documentheader = lwa_doc_header
TABLES
accountgl = li_accnt_gl
accounttax = li_accnt_tax
currencyamount = li_currency_amt
return = li_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
PS: If your query is answered please reward points and close this question.
Regards.