Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Likes
722
  1. instantiate the ALV component as below

  

   DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.

   lo_cmp_usage =   wd_this->wd_cpuse_alv( ).

  IF lo_cmp_usage->has_active_component( ) IS INITIAL.

    lo_cmp_usage->create_component( ).

  ENDIF.

  2.  then call get model class of ALV component

  

data lo_interfacecontroller type ref to iwci_salv_wd_table .

lo_interfacecontroller =   wd_this->wd_cpifc_alv( ).

   data lv_value type ref to cl_salv_wd_config_table.

   lv_value = lo_interfacecontroller->get_model(

   ).

3. now add below line to add Header in ALV Column

4. we will get output is as below

1 Comment