‎2011 Nov 09 2:51 PM
Hi,
I am fetching case details using UDM_DC_NOTES_GET function module inside my it_items loop to get the case note details for each item, internally it is calling open_case method.
in side open_case method (IF_SCMG_CASE_API~OPEN_CASE) there is a statement Append ls_case_ref to lt_case_ref .
My problem is lt_case_ref internal table is keep on appending for each and every record, so its causing internal table memory run time error.
Please help how to refresh lt_case_ref internal table after UDM_DC_NOTES_GET function call..
Below is the code i am using in my program.
loop at it_items into wa_items.
notes for given each case guid
CALL FUNCTION 'UDM_DC_NOTES_GET'
EXPORTING
im_guid = wa_items.-case_guid
IMPORTING
es_return = ls_return
et_notes = lt_notes.
......
Thanks
Sireesha
Endloop.
‎2011 Nov 10 7:31 PM
‎2011 Nov 10 7:42 PM
‎2011 Nov 10 7:43 PM
‎2011 Nov 10 8:05 PM