Application Development 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: 

BAPI_ACC_DOCUMENT_POST - error after posting 999 Records

SandySingh
Active Contributor
0 Kudos

Hi Guys,

I am trying to post more than 999 records using the BAPI 'BAPI_ACC_DOCUMENT_POST'. I have about 1005 records in a file. I splitted my records till 998 records and created an entry at 999 record for the Suspense account to balnace it and posted it in 1st batch. But when i tried posting the left out records by creating a balace entry for the suspense account along with the left out records, i am getting the error " RW 612 No currency line exist for line item 0000001"

Could you please help me in this.

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Sam

In FI you cannot post an FI document containing more than 999 line items even when you split.

You could go through note 1124245 which is in line with this problem you are facing.

Hope this helps

Thanks

Shivika

14 REPLIES 14

Former Member
0 Kudos

Hello Sam

In FI you cannot post an FI document containing more than 999 line items even when you split.

You could go through note 1124245 which is in line with this problem you are facing.

Hope this helps

Thanks

Shivika

0 Kudos

Hi did you have any luck with this note 1124245 - i have installed in on our Dev system but nothing is happening and I am trying to work out what I am missing.

I have entere in a Transaction SPL as indicated in T030 and T030b with GL PL account and also set to the same account in SPL via OBX2 however it makes no difference to the release of my SD billing document into FI as I still get the Max FI line items reached. I had presumed it would create 2 accounting documents.

Any help would be greatly appreciated.

Regards,

0 Kudos

Hi,

maybe this weblog can help:

( Restriction of Maximum 999 FI Document Items During MM transactions )

/people/jimmy.zhang/blog/2010/03/22/restriction-of-maximum-999-fi-document-items-during-mm-transactions

Best regards.

Former Member
0 Kudos

Hi,

You have to split at the 998 and then add one line item for suspense account to balance the amount for the other 998 items and post the document.

Rest of the line items remaining also need to be sent out to the BAPI posting as the second lot..with the suspense account to balance the same.

You need to fill the respective structures of the GL, Currency

Hope this helps

Regards

Shiva

0 Kudos

Hi,

thanks for the weblog we are aware of this new note but its for a higher release than we are on so we are forced to try the older pilot one. I was under the impression the pilot one I am trying will do the same thing i.e. create 2 accounting documents once go over 999 lines - we have many billing conditions so even 50 line items on an invoice can put us over this FI restricition and is causing us hugh problems.

regards,

0 Kudos

When you say have to split at 998 - how do i do that?

0 Kudos

Hi,

please check this wiki :

http://wiki.sdn.sap.com/wiki/display/ABAP/Postingmorethan999recordsthroughBAPI

Best regards.

0 Kudos

Thanks but my posting is and SD billing document not a BAPI upload document.

0 Kudos

>

> You have to split at the 998 and then add one line item for suspense account to balance the amount for the other 998 items and post the document.

SAP recommends 950 items to allow for any items (like tax) that may be automatically generated.

Rob

0 Kudos

I will try this but not sure how to put the split in - is it another note or something that already exists.

0 Kudos

Hi,

another point of confusion for me - I only want 1 source Billing document but 2 accounting documents is my understanding of note 1124245 correct that this will do this just like notes 1353827 but with more intervention to make it happen?

Or does any one know of a way I could find out what is in note 1353827 to apply it to an earlier release?

Thanks

0 Kudos

Hi Shiva ,

Could you please guide me in processing first 998 records in the file and then processing bext 998 records based on a suspense account.

my requiremnt goes like : A file with numerous record have 1 Header Document and multiple item documents to be posted to FI.

the file conatins only GL header & Line item documents.

use of Bapi to post a documnet is fine.But how do we break a tablea 998 and add a suspense account to balance the lineitems for the header record.

Thanks

Trina

SandySingh
Active Contributor
0 Kudos

Dear Friends,

Thanks a lot for your suggestions. I managed to solve the problem using Suspense account.

0 Kudos

Sam would you mind telling me what step you did before putting int the suspense account - did you carry out the document split?