‎2006 Sep 14 2:23 PM
Hi there,
Our journals with multiple (ie 999) line items post successfully using the above bapi. However, when the journal is rejected due to errors on one or more of the line items, the Return structure does not indicate which line items where in error. The Return structure just reflects a general error message. This posses a big challenge to the project.
The above also applies to BAPI_ACC_DOCUMENT_CHECK
Assistance in the area would be much appecaited.
Kind regards
Nazlie
‎2006 Sep 14 7:10 PM
had the same problem. Nothing much can be done about it so i sorted the lines based on account, cost center, profit center and summarized the debit and credits posted them as smaller chunks (which was fine with the users). Some of the errors are generalized such as the account, cost center, profit center and so the line numbers are not indicated.
so the errors are summarized for those lines.
PS: Tried to debug the bapi and found that the accounts / costcenters / profit centers etc are passed to general FM to check the existence and other errors so in such cases the line number were not indicated.
hope this is helpful to some extent.
‎2006 Nov 03 4:25 PM