How to set value for table lines in web dynpro ?
I'm new in webdynpro. My requirement is to set value to the second line when user press expand on first line.
In method ONACTIONLOAD_CHILDREN , I use get_static_attributes_table to get the current table records and change return table value .
Then i user bind_table to pass table to the screen.
It works fine for first time i press expand and collaps, but when i expand it again it throw out a dump 'OBJECTS_OBJREF_NOT_ASSIGNED'.
Could any one please help to solve that?
Ramakrishnappa Gangappa replied
I suggest you to read only the context element of 2nd line and modify the same rather re-binding whole table data back.
Also, place an EXTERNAL break point at source code where dump occurred in ST22 and try again.
Now, second time you will be able reach the break point where dump occurs. In debugging window, use the tab "STANDARD" and you can see call stack. Open the method of your component from that call stack and you would be able to figure out the point of exception and also cause for the issue.
Hope this helps you.