11-20-2008 4:24 PM
Hi All,
I am fetching all the available segments for a perticular IDOC with the help of function module "EDI_SEGMENTS_GET_ALL".
In production i am getting dump because of large no. of segments for the IDOC.
The short dump is as follows:
Runtime error TSV_TNEW_PAGE_ALLOC_FAILED
Opgetreden op 11.11.2008 om 23:11:41
-
No storage space available for extending the internal table.
-
What happened?
-
You attempted to extend an internal table, but the required space was
not available.
-
Error Analysis
-
The internal table (with the internal identifier "IT_11") could not be
enlarged any further. To enable error handling, the internal table had
to be deleted before this error log was formatted. Consequently, if you
navigate back from this error log to the ABAP Debugger, the table will
be displayed there with 0 lines.
When the program was terminated, the internal table concerned returned
the following information:
Line width: 1062
Number of lines: 351368
Allocated lines: 351368
New no. of requested lines: 8 (in 1 blocks)
-
Information about breaking off
-
The termination occurred in the ABAP program "SAPLEDI1" in
"EDI_SEGMENTS_GET_ALL".
The main program was "SAPMSSY1 ".
The termination occurred in line 39 of the source code of the (Include)
program "LEDI1U03"
of the source code of program "LEDI1U03" (when calling the editor 390).
-
Is there any other function module or method sothat i can fetch all the segments without causing dump.
Thanks in advance
Taj
11-20-2008 5:01 PM
Try to call fm EDI_DOCUMENT_CLOSE_READ after fm call EDI_SEGMENTS_GET_ALL?
* procedure to read idoc (open - read - close)
call function 'EDI_DOCUMENT_OPEN_FOR_READ'
if sy-subrc = 0.
" <<<<< clear your internal table
call function 'EDI_SEGMENTS_GET_ALL'
endif.
* close idoc after usage
call function 'EDI_DOCUMENT_CLOSE_READ'
a®
11-21-2008 7:12 AM
Hi,
I have used the FMs to open the IDOC and close the IDOC.
Regards
Taj
11-21-2008 7:15 AM
Hi,
I have already used the FMs to open and close the IDOC before and after getting the segments.
Regards
Taj
11-25-2008 7:06 AM
11-25-2008 7:24 AM
Hi Tajuddeen,
This basically seems to be a memory space issue. The FM may be returning huge number of records, and dump is occurring due to lack of space on application server. You need to contact BASIS team for the same.
Regards
Vatsala.