06-07-2006 2:55 AM
Hi All,
I am posting an invoice from a flat file. First of all i will execute the program RSEINB00 and input the file name. This program will create an idoc from the flat file.
Next, I will execute the program RBDAPP01 to process the idoc and post an invoice.
The problem i am facing is, When there are more no of lines (G/L accounts) in the file ( Say 5948 lines ) the created IDoc data records are as follows.
it has total 47872 segments. And it splits the idoc and each segment block is having 993 lines (G/L accounts).
Segments 000001 007951 - 993 lines
Segments 007952 015951 - 993 Lines
Segments 015952 023951 - 993 Lines
Segments 023952 031951 - 993 Lines
Segments 031952 039951 - 993 Lines
Segments 039952 047872 - 983 Lines.
It will create a BDC session and whn i process the session error comes "No batch input data for screen SAPMF05A 0700" after 949th line. When i see th OSS note it says "Invoices with more than 949 G/L account line items must be split".
My Question is Where can i do this setting inorder to restrict the G/L account lines to <949 in each segment block??
Any insights will be appreciated.
06-07-2006 6:29 AM
Hi Tushar,
You can add your own codes in user exit to restrict the G/L account lines to < 949 during creation each segment block.
Please search any user exits available in the function module which is used for inbound IDoc creation.
In this case, your BDC will not give an error message because you already handled the max lines for G/L account during creation an IDoc for batch input process.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.