I have a to upload the GL using bapi BAPI_ACC_GL_POSTING_POST..the exact requirement is as below..
1. Read the flat file from the specified location(may be from Apllication server or a file of Presentation layer) into internal table.
2. Read the internal table and perform the upload activity. Create the GL's using BAPI_ACC_GL_POSTING_POST.
3. send all error records to BDC session.
4. Display the created GL account in the report (cal be ALV).
The flat file layout contains Header record, Detail record, and Trailer record.
can i any one suggest me on this regard.(If it will be any code similler to above requirement that would be a gr8 help).
Thank you a lot in advance!!!