cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Program - RFBIBL00

Former Member
0 Kudos

Hi,

I am facing an issue while running program RFBIBL00 for accouting document creation through FB01, the program will execute perfectly if my file contains less than or equal to 950 lines, once the number of lines are exceeded, the Batch Input Session is not created at all, have anybody come across this error, kindly provide me the solution for this issue.

Thanks in Advance,

Santosh.D

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Looks like that is how it is. If the document has more than 950 document items (and system allots another 49 for automatically generated line items such as tax line items, etc.), it will fail because there cannot be more than 999 line items in an accounting document. I agree that there should be a proper message when the batch input session is not created. Check the following SAP Notes.

https://service.sap.com/sap/support/notes/213458

https://service.sap.com/sap/support/notes/391037

Former Member
0 Kudos

Thanks for the reply, is there any mechanism to split documents into 950 each and create multiple accounting documents.

Thanks

Santosh

Former Member
0 Kudos

Nothing in standard SAP. There are two workarounds - split the upload file manually by using a dummy clearing account as under. Lets say your accounting document has 1000 line items. You need to split them into two documents as under and then upload.

Dr. 949 different line items 1000

Cr. Dummy account -1000

Dr. Dummy account 1000

Cr. 51 different line items -1000

The other workaround is to enhance the code to automatically split the upload file into multiple documents (each document consisting of a maximum of 950 line items and use dummy account just as in the example above).

PS: We use workaround 1 above for manual journal entry upload via excel and workaround 2 above for accounting documents coming through interface from legacy. They work perfectly well.

Former Member
0 Kudos

Tried this option, but 2 Batch Input Sessions are getting created, 1 session for every 950 line items, any other options kindly let me know.

Thanks

Santosh

Answers (1)

Answers (1)

Former Member
0 Kudos

Copied program RFBIBL00 to Z and done the changes by adding logic, it is working fine now thanks everybody

Former Member
0 Kudos

Hi Santosh,

Could you please send send me solution to this issue.

I am also facing a similar issue and need to make changes standard code similarly.

Thanks,

Daya.