Skip to Content
0
Former Member
May 12, 2010 at 06:02 AM

Read changed entries of a target group

121 Views

Hi,

I am trying to create a change log of target group entries. Whenever any item is deleted or added to a target group we need to pass this change in a custom table.

Related BSP component is SEGED_TG. View EFTARGETGROUP. Event handler EH_ONSAVE. If you go and check inside code, you will find that changes are assigned to lr_tr_tgh (interface if_bol_transaction_context).

lr_tr_tgh = lr_targetgroup->get_transaction( ).

Here I want to loop on the changes to read only those entries which were actually changed. I could see changed entries in private container of this reference.

Problem is that there is no attribute or method of lr_tr_tgh which can return me list of changes. I do not want to loop onto all the entries of target group so I opted for this particular reference. Can you please provide me your inputs on this issue if possible?

Regards,

Shikha