09-16-2014 4:44 PM
Hi abapers
I am facing an issue for BDC f-02 for g/l acct and vendor upload. The requirement is to upload data more than 1 document.
i.e
Header data1
item data1
item data2
Header data2
item data1
item data2
item data2
Header data3
item data1
item data1
item data1
item data2
I am not able to solve the issue. Kindly let me know.
Thanks a ton.
09-16-2014 4:52 PM
Hi
There's the standard BI program RFBIBL00 in order to post an accounting document or you can use the BAPI BAPI_ACC_DOCUMENT_POST
I mean it should be easier to use the method above, instead of to create a bdc program by yourself
Anyway if you need to do a bdc program by your self, you need to call the transaction F-02 for every document from your input file (I suppose the data are from a file).
The record with header data indicates you've a new document so you need to repeat all flow for BDC
Max