cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically create FI postings based on the IDOC FI posting for a different company code

deepakms1711
Explorer
0 Kudos
403

Hi,

Business req: Automatically Post FI document for another company code based on the FI posted via IDOC.

I am trying to post FI document using BAPI_ACC_DOCUMENT_POST using BTE1050 but that ends in an error. SAP confirms that an Accounting interface cannot be used while another document posting is in progress.

Question: Is there anyway to understand an FI document is posted so that i can trigger the posting of the new document. I tried SWE2 but not sure which BOR to use. Any suggestions are highly appreciated. Thankyou.

View Entire Topic
lucy_gray2
Active Participant
0 Kudos

Hi Deepak,

I think the surest way to confirm if an FI doc. has been successfully posted is to check ACDOCA table. So, though I'm not sure about the details of your requirement, the simplest way seems to be to just have a specific document type for the documents to be posted by IDOCs, and then have an Add-on program which will post new FI docs in the desired company code based on ACDOCA records.

The trigger of this add-on program execution can be the successful completion of the Job which processes the IDOCs in SAP system.

Lucy

deepakms1711
Explorer

Thanks Lucy for your response. I found an exit to trigger without using BTE.