‎2007 Jul 30 2:41 AM
Hi everyone!
Anyone out there already made a BDC program for posting FI documents with this concept:
User will upload a spreadsheet file with the line items per row
User will input which TCODE user will use for posting
BDC program will then post the document using the line items in the spreadsheet file
I need to make a BDC program with that concept but having a hard time to think of a good algorithm to make my program very flexible.
Thanks!
‎2007 Jul 30 3:03 AM
May be this way
Create a selection with
Transaction code : XXXX (like FB50, FB50L, F-02)
Input File : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
According to transaction code in the you can control the flow of
BDC transaction calling
otherwise use BAPI
BAPI_ACC_GL_POSTING_POST
aRs
‎2007 Jul 30 3:03 AM
May be this way
Create a selection with
Transaction code : XXXX (like FB50, FB50L, F-02)
Input File : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
According to transaction code in the you can control the flow of
BDC transaction calling
otherwise use BAPI
BAPI_ACC_GL_POSTING_POST
aRs
‎2007 Jul 30 3:51 AM
you can use batch input program RFBIBL00 to pasrk document. Please check these links for more information.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFADM/CAGTFADM-FI.pdf
http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/CAGTFADM-FI.pdf
Have a processing routine defined for the specific Idocs that come into SAP.
So, as and when the idocs are in, the routine triggers and you can codeappropriately in the routine for parking the idocs.
Check these threads
You can use message type INVOIC, IDoc Type INVOIC01/02 with process code INVF (FM IDOC_INPUT_INVOIC_FI) for FBV1 transaction.
See if there are any BAPI/FMs for parking an FI document.
1.. Use INVOIC01 IDOC with INVF process code (This works for Vendor Line Items only). I read the documentation somewhere that, this would work even if the line items are > 999
2.. BAPI_ACC_INVOICE_RECEIPT_POST (This works for Vendor Line Items only)
3.. BAPI_ACC_DOCUMENT_POST (Tax jurisdiction allocation not calculated properly)
4.. BAPI_ACC_GL_POSTING_POST (No tax line items allowed for this BAPI)