2013 May 07 2:58 PM
We have a strange situation where we have an invoice with over 40000 line items and we are trying to get this invoice cancelled in production.
/n VF11 times out in foreground. We created a Wrapper program that calls the BAPI_BILLINGDOC_CANCEL1. It worked for a whole. But lately this also fails - 'Internal session terminated with runtime error EXPORT_TOO_MUCH_DATA (see ST22) ' error.
This is the ST22 log :
Can we somehow skip this FM call MCV_STATISTICS_INVOICE in debug mode in prod ? Not sure what this function module does. Can this be skipped during the BAPI_BILLINGDOC_CANCEL1 call ? Any tips is welcome.
Thanks,
S
2013 May 08 2:40 PM
Guys.We tried all the above . Finally, SAP suggested us to skip 'MCV_STATISTICS_INVOICE’ in debug mode and increased the dialog timeout period from 10 mins to 1 hours and that did the trick. We canceled this invoice with 40000 line items.
Guys.We tried all the above . Finally, SAP suggested us to skip 'MCV_STATISTICS_INVOICE’ in debug mode and increased the dialog timeout period from 10 mins to 1 hours and that did the trick. We canceled this invoice with 40000 line items.
2013 May 07 4:30 PM
Hi
It's related with the update of SIS (sales information system). Can you copy or upload the dump? Check also the tcode SM13.
Regards
Eduardo
PD: I forgot, surely it is a SIS updated syncronous.
2013 May 07 6:00 PM
2013 May 08 8:43 AM
Hi
Try to do it again when you are alone in the system, perhaps there was a strong concurrence of users/processes in the system, before to do new settings in the system.
I hope this helps you
Regards
Eduardo
2013 May 08 9:23 AM
Hi
I forgot it. Run tcode MCVV for the original invoice and check what happens. It tells you what SIS tables will be updated for this billing document. Do the same with a cancellation invoice.
Regards
Eduardo
2013 May 08 4:43 AM
Hi,
Its a buffer overflow issue. This occurs when data selected exceeds max size of 2GB. If possible please split the input data and process. Should help.
Cheers,
Arindam
2013 May 08 6:02 AM
This is something new, i have came across......
I hope the correction are itself given in the dump file you have attached may work for you.
| How to correct the error | |
| 1. Data must be distributed into portions of 2GB | |
| 2. 3 possible solutions: | |
| - Either increase the sequence counter (field SRTF2) to include INT4 | |
| or | |
| -export less data | |
| or | |
| -distribute the data across several IDs |
Regards,
Rahul
2013 May 08 2:40 PM
Guys.We tried all the above . Finally, SAP suggested us to skip 'MCV_STATISTICS_INVOICE’ in debug mode and increased the dialog timeout period from 10 mins to 1 hours and that did the trick. We canceled this invoice with 40000 line items.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |