‎2011 Nov 09 6:30 AM
HI experts,
i am working on statistics file and found PF_READ_STAT_REC functino module is reading statistics file
in sap release 701 there is a dump
___________________________________________________________________________
TSV_TNEW_OCCURS_NO_ROLL_MEMORY
Termination occurred in the ABAP program "SAPLPFFB" - in "PF_READ_STAT_REC".
The main program was "SAPMSSY1 ".
In the source code you have the termination point in line 94
of the (Include) program "LPFFBU05".
______________________________________________________________________________
as it is sap standard program i am not able to know how to solve this.
is it because stat file is too large and PF_READ_STAT_REC function module is not able to read whole file?
if i restrict the file size of stat file will it solve issue.
or is there any other function module for SAP Release 701 for statistics.
kindly advice.
‎2011 Nov 09 8:47 AM
Hello,
in 7.01 please use the function module SWNC_STAD_READ_STATRECS.
If the function for reading statistical records dumps with no memory dump, it means that you are trying to read too many statistical records. Reduce the reading interval (start date/time, read time parameters). In large systems even 1 hour interval may contain up to millions of statistical records.
Regards,
Yuri
‎2011 Nov 09 8:47 AM
Hello,
in 7.01 please use the function module SWNC_STAD_READ_STATRECS.
If the function for reading statistical records dumps with no memory dump, it means that you are trying to read too many statistical records. Reduce the reading interval (start date/time, read time parameters). In large systems even 1 hour interval may contain up to millions of statistical records.
Regards,
Yuri
‎2011 Nov 09 9:55 AM
Hi Yuri,
thank you for the quick reply.
I was using SWNC_GET_STATRECS_FRAME function module and as you mentioned SWNC_STAD_READ_STATRECS
both are using same internal function module PF_READ_STAT_REC
calling kernel
read the statrec with the kernel C-call
CALL 'PfCall' ID 'OPCODE' FIELD PF_OPCODE_READ_REC
Is there any particular change in SAP Release 701 <SAP kernel....... 701 > because this shortdump is happening only in this version.
Thankyou once again.
‎2011 Nov 09 10:01 AM
> Is there any particular change in SAP Release 701 <SAP kernel....... 701 > because this shortdump is happening only in this version.
Not that I am aware of. The dump is not because of the kernel version, but because you read too much data!
Please restrict your selection.