Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Usage of WDDOMODIFYVIEW in View

$
0
0

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.

Capture5.PNG

 

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


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>