03-20-2007 9:09 AM
I want to move FI documents from old company code to new company code and generating new document numbers in the new company code. i know how to do it when there are no document numbers to be generated in the new company code(this causes duplication of document numbers).i can also do it when i'm having only 2 line items per document. i am having a problem when the document to be moved contains more than 2 line items. i am using BDC and data extracted from tables BKPF(header data) and BSEG(line items)
Please help, its urgent
03-20-2007 9:28 AM
Hi,
You can post the document using the FM BAPI_ACC_DOCUMENT_POST. If you want to post 'N' lineitems at a time, please use the above BAPI.
I hope you are doing using BDC. Please try it.
If helpful,plz reward points.
Regards
Bhupal Reddy
03-20-2007 9:51 AM
Hi Willard,
For FI posting you can use standard SAP program RFBIBL00 for posting of the FI documets.
This program reads the data from the server and posting is done in SAP.
or you can use the BAPI 'BAPI_ACC_DOCUMENT_POST' for posting the documents.
Thanks,
Sugeet.
03-20-2007 9:55 AM
Try to use theses FM they will build the BDC for you
POSTING_INTERFACE_START
POSTING_INTERFACE_DOCUMENT
POSTING_INTERFACE_END
You won't have to worry about screen, just put all the data you have in header then in post and it will build the BDC for you.
Regards
03-20-2007 9:57 AM
You can find valuable information at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFADM/CAGTFADM-FI.pdf">FI Financial Accounting: Data Transfer Workbench</a>
Regards