' INTO ls_html.
APPEND ls_html TO ct_html.
IF NOT lt_tabstrip IS INITIAL.
READ TABLE lt_tabstrip TRANSPORTING NO FIELDS
WITH KEY firstrow = abap_true
hidden = abap_false
parent_id = space.
IF sy-subrc = 0.
CONCATENATE
''
''
''
''
INTO ls_html.
APPEND ls_html TO ct_html.
LOOP AT lt_tabstrip ASSIGNING
WHERE hidden = abap_false
AND firstrow = abap_true
AND parent_id IS INITIAL.
IF -disabled = abap_true.
l_class = 'contentTabDisabled'.
ELSEIF -active = abap_true.
l_class = 'contentTabOn'.
ELSE.
l_class = 'contentTabOff'.
ENDIF.
IF -disabled = abap_false.
CONCATENATE ''
-text ' | ' INTO ls_html.
APPEND ls_html TO ct_html.
ELSE.
CONCATENATE ''
-text ' | ' INTO ls_html.
APPEND ls_html TO ct_html.
ENDIF.
ENDLOOP.
CONCATENATE
' '
' '
' | '
'
'
INTO ls_html.
APPEND ls_html TO ct_html.
ENDIF.
CONCATENATE
''
''
''
''
INTO ls_html.
APPEND ls_html TO ct_html.
LOOP AT lt_tabstrip ASSIGNING
WHERE hidden = abap_false
AND firstrow = abap_false
AND parent_id IS INITIAL.
IF -disabled = abap_true.
l_class = 'contentTabDisabled'.
ELSEIF -active = abap_true.
l_class = 'contentTabOn'.
ELSE.
l_class = 'contentTabOff'.
ENDIF.
IF -disabled = abap_false.
CONCATENATE ''
-text ' | ' INTO ls_html.
APPEND ls_html TO ct_html.
ELSE.
CONCATENATE ''
-text ' | ' INTO ls_html.
APPEND ls_html TO ct_html.
ENDIF.
ENDLOOP.
CONCATENATE
' '
' '
' | '
'
'
INTO ls_html.
APPEND ls_html TO ct_html.
ENDIF.
APPEND '' TO ct_html.
APPEND '' TO ct_html.
ENDFORM. "html_main_header
*-----------------------------------------------------------------------
* form: html_main_js
*-----------------------------------------------------------------------
FORM html_main_js
USING
value(i_title)
value(i_onresize)
it_tabstrip TYPE it_tabstrip
CHANGING
ct_html TYPE it_string.
DATA:
ls_html TYPE string.
FIELD-SYMBOLS:
TYPE st_tabstrip.
CONCATENATE
'' TO ct_html.
ENDFORM. "html_main_js
*-----------------------------------------------------------------------
* form: html_main_footer
*-----------------------------------------------------------------------
FORM html_main_footer
CHANGING
ct_html TYPE it_string.
DATA:
ls_html TYPE string.
CONCATENATE
' | '
'
'
'
'
'' TO ct_html.
CONCATENATE
''
''
INTO ls_html.
APPEND ls_html TO ct_html.
ENDFORM. "mainAddHTMLFooter
*-----------------------------------------------------------------------
* form: html_main_iFrameHeader
*-----------------------------------------------------------------------
FORM html_main_iframeheader
USING
value(i_title)
CHANGING
ct_html TYPE it_string.
DATA:
ls_html TYPE string,
l_laiso TYPE laiso,
l_sptxt TYPE sptxt.
FIELD-SYMBOLS: