cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Context change Log mechanism

Former Member
0 Kudos

Hi Experts,

Am stuck with a weird problem. I had used the concept of Context Change Log within my WDA Component to keep track of the fields changed by the user & it was working perfectly fine until today. It has now all of the sudden stopped keeping track of all the context changes. I am very much calling the ENABLE_CONTEXT_CHANGE_LOG( ) method in my WDDOINIT & then calling the GET_CONTEXT_CHANGE_LOG( ) method within my WDDOBEFOREACTION method. [I did now try check it within the WDDOAFTERACTION as well but it isn't functioning even over there either.] Is there any other setting which might stop/hinder the performance of the context change log? I went through the documentation on help.sap.com but there wasn't anything of that sort mentioned in there.

The context & code within the components methods continues to remain the same as when it was working earlier.

I am not disabling/de-activating the mechanism by calling DISABLE_CONTEXT_CHANGE_LOG( )/ RESET_CONTEXT_CHANGE_LOG( ) anywhere

Also I am only trying to capture the changes made by the user manually. (i.e., no dynamic programming changes.)

Any inputs would be greatly appreciated.

Regards,

Uday

[personal info removed by moderator]

Accepted Solutions (0)

Answers (2)

Answers (2)

uday_gubbala2
Active Contributor
0 Kudos

The issue does still exist but closing off this thread as I have changed my approach to use the method GET_CHANGE_LIST of class CL_WD_CONTEXT_SERVICES instead.

former_member184111
Active Contributor
0 Kudos

Hi Uday,

Did you find a solution to this, I am facing the same issue.

Thanks,

Anubhav

Former Member
0 Kudos

Hi uday ,

Just a wild guess...

Try once by passing the AND_RESET parameter with value abap_false when calling the method GET_CONTEXT_CHANGE_LOG method , so that log is not reset . You may be already doing this or tried with this option.

Other than this , no suggestions.

And do post the solution if you find one.:)

Thanks,

aditya.

uday_gubbala2
Active Contributor
0 Kudos

Hi Aditya,

Thanks for the suggestion but yes I have already tried passing and_reset = '' to the method as well. I did see in the documentation as to how the context log is reset every time we call the get_context_change_log method. But this hasn't resolved the problem.

Regards,

Uday