I have a GL posting program which is using BDC for transaction FB01. the requirement has changed as the posting document is now having multiple headers. The existing program is causing my issues so I was asked to develop new program using BAPI.
Well I have manged to get document data in to Header and lineitem internal tables. The mapping look good now. But I am struck with the BAPI.
I am trying to use BAPI_ACC_DOCUMENT_POST.
Can someone please help me with this .
Thank you and regards.