Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

UDM_DC_NOTES_GET - run time error - TSV_TNEW_PAGE_ALLOC_FAILED

Former Member
0 Likes
788

I am getting below run time error while program executing ( program execution time one hour ) .

" No more storage space available for extending an internal table."

suspecting below code causing issue:

LOOP AT IT_ITEMS INTO WA_ITEMS.

CALL FUNCTION 'UDM_DC_NOTES_GET'

EXPORTING

im_guid = WA_ITEMS-case_guid

IMPORTING

es_return = ls_return

et_notes = lt_notes.

LOOP AT lt_notes INTO ls_notes TO 2.

CONCATENATE p_p_wa_output_notes ls_notes-tdline INTO p_p_wa_output_notes.

ENDLOOP.

ENDLOOP.

****************************************

More ST22 Details::__

**********************************

5052 PAR2 00 0000 0001 0000 CL_SCMG_CASE_API==============CM01O 78

5054 ABOO 03 0000 C007 0000 CL_SCMG_CASE_API==============CM01O 78

5056 mvqk 40 8081 0058 0000 CL_SCMG_CASE_API==============CM01O 86

5058 MOVE FF 024B C01C C007 CL_SCMG_CASE_API==============CM01O 87

5060 mvqs 04 8000 00A0 0001 CL_SCMG_CASE_API==============CM01O 88

>>>>> TAPP 00 0248 C011 C012 CL_SCMG_CASE_API==============CM01O 89

5064 MOVE FF 0244 0062 C011 CL_SCMG_CASE_API==============CM01O 90

5066 METH 13 0001 006A 8011 0000 0000 0000 0000 CL_SCMG_CASE_API==============CM01O 92

5070 PAR1 C5 C016 CL_SCMG_CASE_API==============CM01O 92

5071 PAR2 00 0000 0001 0000 CL_SCMG_CASE_API==============CM01O 92

5073 METH 13 0005 006B 8012 0000 0000 0000 0000 CL_SCMG_CASE_API==============CM01O 93

5077 PAR1 01 C007 CL_SCMG_CASE_API==============CM01O 93

Active Calls/Events

Chosen variables

No. 7 Ty. METHOD

Name CL_SCMG_CASE_API=>IF_SCMG_CASE_API~OPEN_CASE

IM_CASE_GUID

IT_DISPUTE_CASES

Table IT_5934[30017x344]

\PROGRAM=ZFR_185334_COLL_MGMT_EXTRACT\DATA=IT_DISPUT

Table reference: 61

TABH+ 0(20) = 000000011372F8B0000000000000000000000

TABH+ 20(20) = 0000003D0000172E0000754100000158FFFFF

TABH+ 40(16) = 040000000000158000102C9401800000

store = 0x000000011372F8B0

ext1 = 0x0000000000000000

shmId = 0 (0x00000000)

id = 61 (0x0000003D)

label = 5934 (0x0000172E)

fill = 30017 (0x00007541)

leng = 344 (0x00000158)

loop = -1 (0xFFFFFFFF)

xtyp = TYPE#000100

occu = 16 (0x00000010)

access = 1 (ItAccessStandard)

idxKind = 1 (ItIndexLinear)

ABAP Control Blocks (CONT)

No. Ty. Program Include Line

Name

7 METHOD CL_SCMG_CASE_API==============CP CL_SCMG_CASE_API==============CM01O 89

CL_SCMG_CASE_API=>IF_SCMG_CASE_API~OPEN_CASE

6 METHOD CL_SCMG_CASE_API==============CP CL_SCMG_CASE_API==============CM001 6

CL_SCMG_CASE_API=>IF_SCMG_CASE_API~GET_CASE

5 FUNCTION SAPLUDM_DC_INTERFACES LUDM_DC_INTERFACESU09 38

UDM_DC_NOTES_GET

4 FORM ZFR_185334_COLL_MGMT_EXTRACT ZFR_185334_COLL_MGMT_EXT_FORM 666

F_GET_NOTES

3 FORM ZFR_185334_COLL_MGMT_EXTRACT ZFR_185334_COLL_MGMT_EXT_FORM 619

F_GET_CASE_ATTR

2 FORM ZFR_185334_COLL_MGMT_EXTRACT ZFR_185334_COLL_MGMT_EXT_FORM 104

F_PROCESS_DATA

1 EVENT ZFR_185334_COLL_MGMT_EXTRACT ZFR_185334_COLL_MGMT_EXTRACT 93

START-OF-SELECTION

Please help how to fix this and let me know if you few more details..

or let me know if there any alternative for getting note..

Thanks

Sireesha

I am getting below run time error while program executing ( program execution time one hour ) .

" No more storage space available for extending an internal table."

suspecting below code causing issue:

LOOP AT IT_ITEMS INTO WA_ITEMS.

CALL FUNCTION 'UDM_DC_NOTES_GET'

EXPORTING

im_guid = WA_ITEMS-case_guid

IMPORTING

es_return = ls_return

et_notes = lt_notes.

LOOP AT lt_notes INTO ls_notes TO 2.

CONCATENATE p_p_wa_output_notes ls_notes-tdline INTO p_p_wa_output_notes.

ENDLOOP.

ENDLOOP.

****************************************

More ST22 Details::__

**********************************

5052 PAR2 00 0000 0001 0000 CL_SCMG_CASE_API==============CM01O 78

5054 ABOO 03 0000 C007 0000 CL_SCMG_CASE_API==============CM01O 78

5056 mvqk 40 8081 0058 0000 CL_SCMG_CASE_API==============CM01O 86

5058 MOVE FF 024B C01C C007 CL_SCMG_CASE_API==============CM01O 87

5060 mvqs 04 8000 00A0 0001 CL_SCMG_CASE_API==============CM01O 88

>>>>> TAPP 00 0248 C011 C012 CL_SCMG_CASE_API==============CM01O 89

5064 MOVE FF 0244 0062 C011 CL_SCMG_CASE_API==============CM01O 90

5066 METH 13 0001 006A 8011 0000 0000 0000 0000 CL_SCMG_CASE_API==============CM01O 92

5070 PAR1 C5 C016 CL_SCMG_CASE_API==============CM01O 92

5071 PAR2 00 0000 0001 0000 CL_SCMG_CASE_API==============CM01O 92

5073 METH 13 0005 006B 8012 0000 0000 0000 0000 CL_SCMG_CASE_API==============CM01O 93

5077 PAR1 01 C007 CL_SCMG_CASE_API==============CM01O 93

Active Calls/Events

Chosen variables

No. 7 Ty. METHOD

Name CL_SCMG_CASE_API=>IF_SCMG_CASE_API~OPEN_CASE

IM_CASE_GUID

IT_DISPUTE_CASES

Table IT_5934[30017x344]

\PROGRAM=ZFR_185334_COLL_MGMT_EXTRACT\DATA=IT_DISPUT

Table reference: 61

TABH+ 0(20) = 000000011372F8B0000000000000000000000

TABH+ 20(20) = 0000003D0000172E0000754100000158FFFFF

TABH+ 40(16) = 040000000000158000102C9401800000

store = 0x000000011372F8B0

ext1 = 0x0000000000000000

shmId = 0 (0x00000000)

id = 61 (0x0000003D)

label = 5934 (0x0000172E)

fill = 30017 (0x00007541)

leng = 344 (0x00000158)

loop = -1 (0xFFFFFFFF)

xtyp = TYPE#000100

occu = 16 (0x00000010)

access = 1 (ItAccessStandard)

idxKind = 1 (ItIndexLinear)

ABAP Control Blocks (CONT)

No. Ty. Program Include Line

Name

7 METHOD CL_SCMG_CASE_API==============CP CL_SCMG_CASE_API==============CM01O 89

CL_SCMG_CASE_API=>IF_SCMG_CASE_API~OPEN_CASE

6 METHOD CL_SCMG_CASE_API==============CP CL_SCMG_CASE_API==============CM001 6

CL_SCMG_CASE_API=>IF_SCMG_CASE_API~GET_CASE

5 FUNCTION SAPLUDM_DC_INTERFACES LUDM_DC_INTERFACESU09 38

UDM_DC_NOTES_GET

4 FORM ZFR_185334_COLL_MGMT_EXTRACT ZFR_185334_COLL_MGMT_EXT_FORM 666

F_GET_NOTES

3 FORM ZFR_185334_COLL_MGMT_EXTRACT ZFR_185334_COLL_MGMT_EXT_FORM 619

F_GET_CASE_ATTR

2 FORM ZFR_185334_COLL_MGMT_EXTRACT ZFR_185334_COLL_MGMT_EXT_FORM 104

F_PROCESS_DATA

1 EVENT ZFR_185334_COLL_MGMT_EXTRACT ZFR_185334_COLL_MGMT_EXTRACT 93

START-OF-SELECTION

Please help how to fix this and let me know if you few more details..

or let me know if there any alternative for getting note..

Thanks

Sireesha

3 REPLIES 3
Read only

Former Member
0 Likes
681

Hi,

It could be because the code is selecting data and keeping all the data in internal table and finally allocated run time memory is full and there is no more space for further run time.

Please free or clear internal tables after using them i.e. no need to keep the irrelevant data for the whole program execution.

Keep on freeing the memory duirng program execution as far as possible ..otherwise these kind of error will keep on coming.

Regards,

Pranav.

Read only

0 Likes
681

Thanks fro your reply... some internal table i am refilling inside the loop in the program..

do you want me to clear it every time using FREE command.

please help.

Thanks

Sireesha

Read only

koolspy_ultimate
Active Contributor
0 Likes
681

Hi sireesha,

Check SAP OSS NOTe : [1470549 |https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3134373035343926]

Resolution

Split the selection criteria and therefore the memory consumption of the report : Look at the definition of the reports causing the short dump and the number of drill down characteristics selected. If all or most of the characteristics are selected, then this will lead to many records in internal tables that contain the aggregated data.

Enlarge the user quote for Heap (abap/heap_area_dia) and re-start the R/3 instance (note 103747)

Change the memory parameters dynamically with report RSMEMORY - You can refer to the Online Documentation for the detail: [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/b52963524c307be10000000a42189b/frameset.htm |http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/b52963524c307be10000000a42189b/frameset.htm ]

Regards,

koolspy.