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

Suitable code is not getting generated when using Wizard in web dynpro

$
0
0

Hi ,

 

I want to create simple web dynpro application to display contents in my z db table.

for that i have added attributes from dictionary to node but when i am trying generate code using wizard in WDDOINIT Method it is generating the below code.

 

 

 

 

 

  DATA LO_ND_N_ALV TYPE REF TO IF_WD_CONTEXT_NODE.



  DATA LT_N_ALV TYPE WD_THIS->ELEMENTS_N_ALV.



* navigate from <CONTEXT> to <N_ALV> via lead selection

  LO_ND_N_ALV = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_N_ALV ).



* @TODO handle non existant child

* IF lo_nd_n_alv IS INITIAL.

* ENDIF.



** @TODO compute values

** e.g. call a model function

*

  LO_ND_N_ALV->BIND_TABLE( NEW_ITEMS = LT_N_ALV SET_INITIAL_ELEMENTS = ABAP_TRUE ).

 

 

I dont think this is the correct code.

Can anyone help me on this?


Viewing all articles
Browse latest Browse all 3667

Latest Images

Trending Articles



Latest Images

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