Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDC for F-02

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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