Hello Experts,
As per the GL posting and Vendor Invoice posting, I believe we can use BAPI_ACC_DOCUMENT_POST bapi.
I have an input file in which some records need to be posted through FB50 (GL posting) and few others have to be posted through FB60 (Vendor Invoice that has Vendor numbers) though the input file has only one header record.
Can we populate 'accountgl' and 'accountpayable' tables of the BAPI for all the records like for the records to be posted through FB50 we will not have entries in accountpayable whereas for the records to be posted through FB60 we will have entries.
Any help on how we can handle this scenario? Please let me know the mandatory things to consider in the BAPI.
Note: I have searched the sdn but could not get sufficient help on this and hence posting here.
Any help is greatly appreciated.
Thanks!
Sandy.