I want to run the 'FB01' thru a report whose input data will inserted from an external file. BDC wud be the last option , I want to do it using BAPI.
I have tried it thru BAPI 'BAPI_ACC_GL_POSTING_POST' but in that case no document no is generated
and nothing gets updated in BKPF table even using 'BAPI_TRANSACTION_COMMIT'.
While using the BAPI_ACC_DOCUMENT_POST what shud i use the object type when i use BSEG it says 'FI/CO interface: Object type BSEG not defined'..
Pl help what to do???
thanks in advance