cancel
Showing results for 
Search instead for 
Did you mean: 

UI Config Tool: Not able to retain a modification for custom configuration

Former Member
0 Kudos

Hello,

I am trying to add a field from "Available" to "Displayed" in the component BT127I_ACTI, view ActIEFJournal. I copied the default configuration into a custom one with my Role Config Key. Now, I'm trying to modify the view by moving one field out of the displayed and adding another to displayed. In the UI Config tool everything works just fine. I am able to save a modified configuration and attach it to a transport (I checked the transport - it contains the correct entries.) At this moment, everything is as expected.

However, when I run my UI, and call the view in the browser, my modifications aren't seen as if they never got carried out: everything resets to the prior state of the view (of course, I checked F2, and it showed me the correct Config Key, so it's not a reason.) Moreover, when I'm opening the UI Config tool again, all the changes that I have just made are gone!!!!! What's going on? It didn't happen with other components/views.

FYI, the view doesn't have an iterator as in IS-U components; hence, it's not the iterator that overwrites the UI config changes.

Has anyone seen anything like it before. If so, could you please, share your experience, especially if you had solved the problem

Thank you

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

In your case, you have to code to render the new configuration you have created. By default the DEFAULT configuration would be rendered for all the SAP components. In the view controller class, there would be a method called DO_CONFIG_DETERMINATION. In this method , depending on your condition, make a call to the method SET_CONFIG_KEYS for which you would have pass the attributes of new configuration like ROLE_KEY, OBJECT_TYPE etc..

This should resolve the problem. Let me know if you have any queries.

Regards,

Nag

Former Member
0 Kudos

Hello Nag,

Thank you for taking your time answering my question. I followed your suggestion, i.e. I redefined the method DO_CONFIG_DETERMINATION where I embedded a call to SET_CONFIG_KEYS with my OBJECT and SUB_OBJECT.

Unfortunately, it did not help. Besides, how'd you explain the fact that my configuration changes are being reset back to the previous state in the UI Config toolaf after returning from the browser?

Personally, I think it's a bug for which I have already submitted an OSS message