‎2010 Feb 16 12:17 PM
Hi Experts,
Please I need ur advice..
Runtime Errors TSV_TNEW_PAGE_ALLOC_FAILED
Short text:
No more storage space available for extending an internal table.
How to correct the error
The amount of storage space (in bytes) filled at termination time was:
Roll area...................... 16192
Extended memory (EM)........... 4189840
Assigned memory (HEAP)......... 0
Short area..................... " "
Paging area.................... 0
Maximum address space.......... 4294967295
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"TSV_TNEW_PAGE_ALLOC_FAILED" " "
"SAPLHTTP_RUNTIME" or "LHTTP_RUNTIMEU25"
"WRITE_SHM_OBJECT"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Information on where terminated
Termination occurred in the ABAP program "SAPLHTTP_RUNTIME" - in
"WRITE_SHM_OBJECT".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 1633
of the (Include) program "LHTTP_RUNTIMEU25".
Regards,
Amit Nanda
‎2010 Feb 16 12:38 PM
You exhausted all the user context area, then tried to get even more space for an internal table...there are probably lots of threads about internal table sizes, but it is likely that you have accumulated a huge amount of data into internal tables, due to user selections, or trying to process far too many rows of data at one time. Your Basis team can probably give you an idea of what your table space is, whether 32Gb or 64Gb....but more importantly, you will have to figure out how to process your internal tables... some options: enforcing user selection panel entries (no "wide open" executions), processing via package size addition to your select statements, etc.
‎2010 Feb 16 12:45 PM
But this is the standard code...
Method - SET_MODEL_BUFFER
Line SourceCde
44 lr_root ?= lr_shm_handle->get_root( ).
45
46 IF lr_root IS NOT BOUND.
47
48 * Creates the lr_root object
49 CREATE OBJECT lr_root AREA HANDLE lr_shm_handle.
50
51 * Set root object
52 lr_shm_handle->set_root( lr_root ).
53
54 * Set buffer
55 lr_root->mt_model_relations = lt_model_relations.
56 lr_root->mt_model_properties = lt_model_properties.
57
58 ENDIF.
59
60
61 * Delete existing model information
62 DELETE lr_root->mt_model_relations WHERE application_name
63 DELETE lr_root->mt_model_properties WHERE application_name
64
65 * Get new model
66 get_model_by_node( EXPORTING iv_application_name =
67 it_model_relations =
68 it_model_properties =
69 IMPORTING et_model_relations_buffer =
70 et_model_properties_buffer =
71
72 * Fill buffer
73 APPEND LINES OF lt_model_relations_tmp TO lr_root->mt_mod
>>>>> APPEND LINES OF lt_model_properties_tmp TO lr_root->mt_mod
75
76
77 * Commit
78 lr_shm_handle->detach_commit( ).
79
80
81 CATCH cx_shm_error INTO lr_ex.
82 " No need no handle the exception yet...
83
84 ENDTRY.
85
86
87 ENDMETHOD.
‎2010 Feb 16 12:43 PM
Hi,
For these kind of errors raise because an internal table is too large and because the system is unable to allocate more memory.
Please try for some Notes...
Regards,
Aditya
‎2010 Feb 16 12:48 PM
I am trying to find out....but not getting not getting any NOTE...could you please help me to find ??
If you have access to SAP Notes, carry out a search with the following
keywords:
"TSV_TNEW_PAGE_ALLOC_FAILED" " "
"CL_CRM_MKTIB_IL_MODEL_BUFFER==CP" or "CL_CRM_MKTIB_IL_MODEL_BUFFER==CM004"
"SET_MODEL_BUFFER"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
‎2010 Feb 16 12:57 PM
Hi,
Here is an OSS note : Note 1166259 - Problems with shared memory in marketing applications.
Note Content:-
> Summary
> Symptom
> The system dumps with an error message due to shared memory problems.
> Message: No roll storage space of length ... available for OCCURS area.
> Dump TSV_TNEW_PAGE_ALLOC_FAILED
> Other terms
> MKTPL, Marketing Planner, ACCPL, Account Planner, IBOM, MKTIB, IL, CL_CRM_MKTIB_IL_MODEL_BUFFER,
> SET_MODEL_BUFFER, TSV_TNEW_PAGE_ALLOC_FAILED, shared_objects_size_MB, SYSTEM_NO_SHM_MEMORY,
> CX_SHM_OUT_OF_MEMORY
> Reason and Prerequisites
> The setting for the size of shared memory (abap/shared_objects_size_MB) is too low.
> Solution
> Check the current shared memory usage:
> Start transaction SHMA
> Press button Monitor
> Select tab Shared Memory Objects
> Check the values for Occupied/Allocated Size versus Free Memory
> Increase the size of the shared memory accordingly (parameter abap/shared_objects_size_MB). We recommend to increase by steps of 5 MB.
Please take the help of basis ...
Regards,
Aditya