Skip to Content
0
Former Member
Jul 06, 2009 at 05:01 AM

Problem in updating model node

42 Views

Dear Experts

I have a requirement where I need to add 2 custom fields in the search view and the result view of a compoenent (Funds Management) . I did this by using append structures in the corresponding BOL structures.

Now, during the selection, I need to update these 2 custom fields with some data in the result view. Initially I tried looking for some BADIs. But I couldn't find any.

So I decided to add the logic in the DO_PREPARE_OUTPUT method. I used SET_PROPERTY method to update these custom fields.

But it is not updating any values.

When I debugged, I found out that these fields (in the result view) are set as Read only fields. So the system is not allowing the updation.

I tried applying the below solutions but it didn't work.

1) Used SWITCH_TO_CHANGE_MODE method in the DO_PREPARE method

2) Created separate context nodes with value attributes and then tried context binding

3) Used LOCK method

4) Made the field enabled by making 'RV_DISABLED = 'FALSE' in the GET_I method.

But unfortunately for me, none of the above solutions are working. I spent my whole long weekend on this issue hoping to find a solution. But nothing worked.

Any replies or solutions would be greatly appreciated....

Thanks

Raj