Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
359

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

2 REPLIES 2
Read only

Former Member
0 Likes
318

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.

Read only

Former Member
0 Likes
318

Hi,

Is there any BAPI for PCA Journal.

Regards

Muthappan