anchor.diff:  
       IF iv_act IS NOT INITIAL.
         CASE iv_typ.
  -        WHEN action_type-url.
  +        WHEN gc_action_type-url.
             lv_href = | href="{ iv_act }"|.
  -        WHEN action_type-sapevent.
  +        WHEN gc_action_type-sapevent.
             lv_href = | href="sapevent:{ iv_act }"|.
  -        WHEN action_type-onclick.
  +        WHEN gc_action_type-onclick.
             lv_href = | onclick="{ iv_act }"|.
           WHEN OTHERS.
         ENDCASE.
  
positive.code: 
      DATA: lo_toolbar     TYPE REF TO lcl_html_toolbar,
            lv_key         TYPE lcl_persistence_db=>ty_value,
            lo_repo_online TYPE REF TO lcl_repo_online.
  
  
  
negative.code:       IF <ls_item>-sub IS INITIAL.
          CLEAR lv_class.
          IF iv_no_separator = abap_true
              OR lv_last = abap_true
              AND iv_as_droplist_with_label IS INITIAL.
            lv_class = 'menu_end'.
          ENDIF.
          ro_html->add_anchor( iv_txt   = <ls_item>-txt
                               iv_act   = <ls_item>-act
                               iv_opt   = <ls_item>-opt
                               iv_typ   = <ls_item>-typ
                               iv_class = lv_class ).
        ELSE.
          ro_html->add( <ls_item>-sub->render(
            iv_as_droplist_with_label = <ls_item>-txt
            iv_no_separator           = lv_last ) ).
        ENDIF.
  
      ENDLOOP.
  