Skip to Content
0
Former Member
Jul 02, 2008 at 01:29 PM

Get context changes

72 Views

Hi together,

i`ve got a problem with the context change log.

In my view INIT method i wrote the coding :

  DATA: obj_context TYPE REF TO if_wd_context.

* Activate context log
  obj_context = wd_context->get_context( ).
  obj_context->enable_context_change_log( ).

And in my get_change_log method i wrote the code :

  DATA: lt_changes TYPE wdr_context_change_list.
  DATA: obj_context TYPE REF TO if_wd_context.

* Get context changes
  obj_context = wd_context->get_context( ).
  lt_changes = obj_context->get_context_change_log( ).

But i didn`t get any context changes.

Has anybody an idea why?

Regards,

Anton