Hi,
i have the following situation: i have built my own POWL feeder class with reading workflows dynamicly.
I also have build my own web dynpro component for showing the details. See Screenshot: the part in the first half is the list of items inside the POWL query. The part in the second half is the Detail view for every selected item.
so far so good, BUT: i have included my conding for build the detail view dynamicly inside the WDDOMODIFYVIEW method of my view. now i am wondering about the usage of the import parameter FIRST_TIME. When i set an "IF FIRST_TIME = ABAP_TRUE" as FIRST statement of my conding the first selected item is showed in detail. when i click on a new line in the item list, the details keeps unchanged and still shows the first entry.
well, this is because FIRST_TIME is only set to abap_true only the "real first time". But it is NOT set when changing the selected line.
I have tried to remove the "IF FIRST_TIME = ABAP_TRUE" statement for testing. But then i get a runtime error saying "ERROR: Subnode MAIN. does not exist (termination: RABAX_STATE)" when selecting a item the second time. it only works for the first selected one.
So now i am a little bit confused of how to handle this parameter.
br Martin