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

lt_case_ref internal table not refreshing in IF_SCMG_CASE_API~OPEN_CASE

Former Member
0 Likes
604

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.

4 REPLIES 4
Read only

Former Member
0 Likes
554

Solved myself

Read only

0 Likes
554

Please mark this question as answered.........

Read only

0 Likes
554

Please mark this question as answered.........

Read only

Former Member
0 Likes
554

marked