HTML Business Function Library

Table of Contents
  1. General
  2. Body
  3. Headerbar
  4. Fields
  5. Buttons
    • Button support functions
  6. Tables
    • Simple Table
    • Table Rows
    • Table Cells
    • Dynamic Table
    • Dynamic Table Display
    • Scroll Table
    • Dynamic Page Table
  7. Tabstrip
  8. GroupBox
  9. Tray
  10. Bevels
  11. Lists
  12. Text Display
  13. Toolbox
  14. Icons
  15. Inorder Tree
  16. Helper functions

 

 

General

SAP_Protocol
Description: Returns the current protocol (http or https)
back    top

SAP_TemplateProtocol
Description: only to use with MiniApps
back    top

SAP_StyleSheet
Description: Includes the SAP standard style-sheet
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

4.6D

SAP_TemplateStyleSheet
Description: Includes the SAP standard style-sheet
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

SAP_TemplateJavaScript
Description: Inserts standard SAP JavaScript Functions
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

Body

SAP_TemplateBodyAttributes
Description: Creates the document body attributes for SAP webapps
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
isTrayApplication: [optional default value is "" (""/ X)] special attributes for miniapps
back    top   

4.6D

SAP_TemplatePageBegin
Description:
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
title: [optional default value is ""
back    top   

4.6D

SAP_TemplatePageEnd
Description:
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

Headerbar

SAP_TemplateHeader
Description: Creates the alternative header for Easy Web Transactions (without CUA-menus and system toolbar)
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
applicationTitle: [optional default value is ~windowtitle] application title
logoffOnclick: [optional default value is] customized 'LogOff-JavaScript'
back    top   

4.6D

SAP_TemplateScreenIndependentHeader
Description: Creates the alternative header for screen-independent Web Transactions
Parameters: applicationTitle: [optional default value is ~windowtitle] application title
type: [optional default value is "SAP_WEBGUI"] Type of design
logoffOnclick: [optional default value is] customized 'LogOff-JavaScript'
target: [optional default value is " "]
customLink: [optional default value is " "]
customOnClick: [optional default value is " "]
helpOnClick: [optional default value is " "]
back    top   

Fields

SAP_TemplateLabel
Description: Creates a label field
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
labelText: [optional default value is empty] text for the label
labelIconName: [optional default value is empty; possible values are all bitmap names to be found in Available R/3 icons] ]
back    top   

SAP_TemplateEditableField
Description: Creates the tripple of fieldlabel, entryfield and descriptiontext
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
name: [optional default value is ""] name of the Field
fieldLabel: [optional default value is ""] label for the field
fieldLabelWidth: [optional default value is ""] width of the field label
value: [optional default value is ""] field value
size: [optional default value is 20] size of the Field
maxlength: [optional default value is 20] maximum length of the field
inspectionText: [optional default value is ""] field description text
align: [optional default value is ""] field content alignment
onchange [optional default value is ""] 'onchange-JavaScript Function Name'
4.6D accesskey [optional default value is ""]
4.6D tabindex [optional default value is ""]
4.6D title [optional default value is ""]
4.6D inputtype [optional default value is ""] available value is: password
back    top   

SAP_TemplateNonEditableField
Description: Creates the tripple of fieldlabel, outputfield and descriptiontext
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
fieldLabel: [optional default value is ""] label for the field
fieldLabelWidth: [optional default value is ""] width of the field label
value: [optional default value is ""] field value
size: [optional default value is 20] size of the Field
inspectionText: [optional default value is ""] field description text
4.6D accesskey [optional default value is ""]
4.6D tabindex [optional default value is ""]
4.6D title [optional default value is ""]
back    top   

SAP_TemplatePulldownField
Description: Creates the tripple of fieldlabel, dropdownlist and descriptiontext
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
name: [optional default value is ""] name of the field
fieldLabel: [optional default value is ""] label for the field
fieldLabelWidth: [optional default value is ""] width for the field
key: [optional default value is ""] key for pull down options
content: [optional default value is ""] content of pull down
selIndex: [optional default value is 1] index of field to be displayed in pulldown
size: [optional default value is 20] size of pulldown
inspectionText: [optional default value is ""] field description text
width: [optional default value is ""] width of pulldown
onchange: [optional default value is ""] 'onchange-JavaScript Function Name'
4.6D contentdim [optional default value is ""]
4.6D disabled [optional default value is ""]
4.6D accesskey [optional default value is ""]
4.6D tabindex [optional default value is ""]
4.6D title [optional default value is ""]
back    top   

SAP_TemplateSimpleEntryField
Description: Creates a simple entry field
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
name: [optional default value is empty]
value: [optional default value is empty] EntryField Value
size: [optional default value is 10] length of field
maxlength: [optional default value is 10] max number of characters
align: [optional default value is empty] field content alignment
4.6D accesskey [optional default value is ""]
4.6D tabindex [optional default value is ""]
4.6D title [optional default value is ""]
back    top   

4.6D

SAP_TemplateTableEntryField
Description: Creates a simple entry field within a tablecell
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
name: [optional default value is empty]
value: [optional default value is empty] EntryField Value
size: [optional default value is 10] length of field
maxlength: [optional default value is 10] max number of characters
align: [optional default value is empty] field content alignment
width: [optional default value is empty] width of field
accesskey [optional default value is ""]
tabindex [optional default value is ""]
title [optional default value is ""]
back    top   

SAP_TemplateSimpleEntryFieldWithButton
Description: Creates a simple entry field and a button
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
name: [optional default value is empty]
value: [optional default value is empty] EntryField Value
size: [optional default value is 15] length of field
maxlength: [optional default value is 15] max number of characters
ButtonLabel: [optional default value is empty] button text
buttonOnClick: [optional default value is empty] JavaScript Function Call
4.6D accesskey [optional default value is ""]
4.6D tabindex [optional default value is ""]
4.6D title [optional default value is ""]
back    top   

SAP_TemplateF4EntryField
Description: Creates a F4 Entry Field
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
name: [optional default value is empty]
value: [optional default value is empty] Entry Field Value
size: [optional default value is 10] length of field
maxlength: [optional default value is 10] max number of characters
onclick: [optional default value is empty] JavaScript Function Call
back    top   

SAP_TemplateFieldgroupBegin
Description: Creates a fieldgroup having the FieldLabelWidth set to that of maximum FieldLabelWidth
Parameters: id: handle to object
back    top   

SAP_TemplateFieldgroupEnd
Description: Creates the end of a fieldgroup
back    top   

Buttons

SAP_TemplateLargeActionButton
Description: Creates a large action button
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
buttonLabel: [optional default value is ""] button text
onclick: [optional default value is ""] 'onclick-JavaScript'
4.6D quickinfo: [optional default value is ""]
back    top   

SAP_TemplateDownstateButton
Description: Creates a down state button
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
buttonLabel: [optional default value is ""] button text
onclick: [optional default value is ""] 'onclick-JavaScript'
back    top   

SAP_TemplateUpstateButton
Description: Creates a up state button
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
buttonLabel: [optional default value is ""] button text
value: [optional default value is ""] Entry Field Value
onclick: [optional default value is ""] onclick-JavaScript
quickinfo: [optional default value is ""] quick information text
disableOnClick: [optional default value is ""] disable on click
4.6D enableDownState [optional default value is ""]
4.6D state [optional default value is "enabled"]
4.6D width [optional default value is ""]
back    top   

SAP_TemplateUpstateButtonOver
Description: Creates a up state button over
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
buttonLabel: [optional default value is ""] button text
onclick: [optional default value is ""] onclick-JavaScript
4.6D width [optional default value is ""]
back    top   

SAP_TemplateInactiveButton
Description: Creates a up inactive button
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
buttonLabel: [optional default value is ""] Button text
onclick: [optional default value is ""] 'onclick-JavaScript'
back    top   

SAP_TemplateCheckBox
Description: Creates a template based checkbox
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
name: [optional default value is ""] checkbox name
checked: [optional default value is ""] checked
text: [optional default value is ""] Checkbox text
value: [optional default value is ""] checkbox value
disabled: [optional default value is ""] disable checkbox
4.6D oncklick [optional default value is ""] 'onclick-JavaScript'
back    top   

SAP_TemplateRadioButton
Description: Creates a template based radio button.
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
name: [optional default value is ""] radiobutton name
check: [optional default value is ""] check radiobutton
text: [optional default value is ""] radiobutton text
value: [optional default value is ""] radiobutton value
onclick: [optional default value is ""] 'onclick-JavaScript'
disabled: [optional default value is ""] disable radiobutton
back    top   

Button support functions

SAP_TemplateButtonRowBegin
Description: Creates Template Button Row Begin
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

SAP_TemplateButtonRowEnd
Description: Creates Template Button Row End
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

SAP_TemplateButtonRowSpacer
Description: Creates Template Button Row Spacer
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

Tables

Simple Table

SAP_TemplateTableBegin
Description: Creates the begin of a table
Parameters: id: handle to object
type: [optional default value is "SAP_WEBGUI"] Type of design
attributes: Additional attributes can be appended
title: [optional default value is empty] Table title
skipHeader: [optional default value is empty] Rendering without table header
bgcolor: [optional default value is empty] table border color
width: [optional default value is ""] table width
selectedRow: [optional default value is "-1"] selected Row
back    top   

SAP_TemplateTableEnd
Description: Creates the end of a table
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

Table Rows

SAP_TemplateTableRowBegin
Description: Creates the begin of a table row
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
attributes: Additional attributes can be appended
isSelectable: [optional default value is empty] enables to select the row
width: [optional default value is ""] row width
back    top   

SAP_TemplateTableRowEnd
Description: Creates the end of a table row
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
back    top   

Table Cells

SAP_TemplateTableCellBegin
Description: Creates the begin of a table cell
Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
subtype: [optional default is "Header"]
available subtypes:
  • HEADER
  • TEXT
  • CELLTEXT
  • INPUT --> SAP_TemplateTableEntryField
  • NONEDIT
  • NONEDIT1
  • NONEDIT2
  • title: [optional default is ""] cell title
    attributes: Additional attributes can be appended
    nowrapDisabled: [optional default is ""] disables no wrap
    paddingDisabled: [optional default is ""] disables cell padding
    width: [optional default is ""] cell width
    height: [optional default is ""] cell height
    align: [optional default is ""] align cell data
    valign: [optional default is ""] valign cell data
    colspan: [optional default is ""]
    back    top   

    SAP_TemplateTableCellEnd
    Description: Creates the end of a table cell
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    subtype: [optional default value is "Header"]
    paddingDisabled: [optional default value is ""] control Cell padding
    back    top   

    Dynamic Table

    SAP_TemplateDynamicTableBegin
    Description: Creates the begin of a dynamic table
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    attributes: Additional attributes can be appended
    title: [optional default value is empty] Table title
    status: [optional default value is "open"]
    collapseMode: [optional default value is 0]
    collapsable: [optional default value is 1] used to enable or disable collapsable
    width: [optional default value is ""] table width
    back    top   

    SAP_TemplateDynamicTableEnd
    Description: Creates the end of a table
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    Dynamic Table display

    SAP_TemplateDynamicDisplayTableBegin
    Description: Creates the begin of Dynamic Display Table
    Parameters: id: handle to object
    pageCount: [optional default value is 1] Number of pages
    type: [optional default value is "SAP_WEBGUI"] Type of design
    attributes: Additional attributes can be appended
    title: [optional default value is ""] Table title
    status: [optional default value is "open"]
    collapseMode: [optional default value is 0]
    collapsable: [optional default value is 1] used to enable or disable collapsable
    width: [optional default value is ""] table width
    back    top   

    SAP_TemplateDynamicDisplayTableEnd
    Description: Creates the end of Dynamic Display Table
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateDynamicDisplayTablePageBegin
    Description: Creates begin of a Dynamic Display Table Page
    Parameters: id: handle to object
    status: [optional default value is "open"]
    isVisible: [optional default value is ""] used to enable or disable Visiblity
    attributes: Additional attributes can be appended
    width: set Dynamic Display Table Page width
    back    top   

    SAP_TemplateDynamicDisplayTablePageEnd
    Description: Creates end of Template Dynamic Display Table Page
    Parameters: id: handle to object
    status: [optional default value is "open"]
    pageCount: [optional default value is 1] Number of pages
    back    top   

    Scroll Table

    SAP_TemplateScrollTableBegin
    Description: Creates the begin of Scroll Table
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    headers: [optional default value is ""]create header array
    title: [optional default value is ""] Table title
    bodyHeight: [optional default value is 30] Table body height
    4.6D collapsable [optional default value is ""]
    4.6D status [optional default value is "open"]
    4.6D skipHeader [optional default value is ""]
    4.6D headerAlign [optional default value is ""]
    4.6D borderColor [optional default value is ""]
    back    top   

    SAP_TemplateScrollTableEnd
    Description: Creates the End of Scroll Table
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    Dynamic Page Table

    SAP_TemplateDynamicPageTableBegin
    Description: Creates the begin of Dynamic Page Table
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    pageCount: [optional default value is ""]Number of pages
    colCount: [optional default value is ""]Number of columns in Table
    title: [optional default value is ""] Table title
    collapsable: [optional default value is ""] used to enable or disable collapsable
    status: [optional default value is "open"]Table status
    back    top   

    SAP_TemplateDynamicPageTablePageBegin
    Description: Creates the Begin of Dynamic Page Table Page
    Parameters: id: handle to object
    isVisible: [optional default value is ""] Type of design
    colCount: [optional default value is "2"]Number of columns in Table Page
    back    top   

    SAP_TemplateDynamicPageTableEnd
    Description: Creates the End of Dynamic Page Table
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateDynamicPageTablePageEnd
    Description: Creates the End of Dynamic Page Table Page
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    pageCount: [optional default value is ""] Number of pages
    pageNr: [optional default value is "SAP_WEBGUI"] Page number
    back    top   

    Tabstrip

    SAP_TemplateTabstripBegin
    Description: Creates the begin of a tabstrip
    Parameters: id: handle to object
    height: height of tabstrip
    width: width of tabstrip
    type: [optional default value is "SAP_WEBGUI"] Type of design
    headers: [optional default value is ""] String with tabstrip headers
    beforePageChange: [optional default value is ""]beforePageChange JavaScript
    curPage: [optional default value is 1] currently open tabstrip page
    back    top       

    SAP_TemplateTabstripEnd
    Description: Creates the end of a tabstrip
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top       

    SAP_TemplateTabstripPageBegin
    Description: Creates begin of Template Tabstrip Page
    Parameters: id: handle to object
    isVisible: [optional default value is ""]used to enable or disable visibility
    type: [optional default value is "SAP_WEBGUI"] Type of design
    4.6D width [optional default value is ""]
    4.6D height [optional default value is ""]
    4.6D pageName [optional default value is ""]
    4.6D jsOnActivate [optional default value is ""]
    4.6D jsOnDeactivate [optional default value is ""]
    back    top       

    SAP_TemplateTabstripPageEnd
    Description: Creates end of Template Tabstrip Page
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top       

    SAP_TemplatePageStackBegin
    Description: Creates begin of Template Tabstrip Page Stack
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    curPage: [optional default value is "1"] current page definition
    back    top       

    SAP_TemplatePageStackEnd
    Description: Creates end of Template Tabstrip Page Stack
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top       

    SAP_TemplatePageStackPageBegin
    Description: Creates begin of Template Page Stack Page Begin
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplatePageStackPageEnd
    Description: Creates begin of Template Page Stack Page End
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    GroupBox

    SAP_TemplateGroupBoxBegin
    Description: Creates begin of GroupBox
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    groupBoxLabel: [optional default value is ""] Label of groupbox
    attributes: Additional attributes can be appended
    width: [optional default value is ""] Width of groupbox
    height: [optional default value is ""] Height of groupbox
    back    top   

    SAP_TemplateGroupBoxEnd
    Description: Creates end of GroupBox
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    Tray

    SAP_TemplateTrayBegin
    Description: Creates the begin of a tabstrip
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    trayLabel: tray text
    attributes: Additional attributes can be appended
    trayButtonLabel: [optional default value is ""]tray button label
    trayButtonOnClick: [optional default value is ""]trayButtonOnClick JavaScript
    status: [optional default value is closed]tray status
    width: [optional default value is ""]Width of tray
    height: [optional default value is ""]Height of tray
    back    top       

    SAP_TemplateTrayEnd
    Description: Create end of Template tray
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top       

    Bevels

    SAP_TemplateBevelBegin
    Description: Create begin of Bevel
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateBevelEnd
    Description: Create end of Bevel
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    Lists

    SAP_TemplateOrderedListBegin
    Description: Create begin of Ordered List
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    title: [optional default value is ""] List title
    back    top   

    SAP_TemplateOrderedListEnd
    Description: Create end of Ordered List
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateUnorderedListBegin
    Description: Create begin of UnOrdered List
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    title: [optional default value is ""] List title
    back    top   

    SAP_TemplateUnorderedListEnd
    Description: Create end of UnOrdered List
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateListItemBegin
    Description: Create begin of List Item
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateListItemEnd
    Description: Create end of List Item
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    Text Display

    SAP_TemplateTextDisplayBegin
    Description: Create begin of Text Display
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    headline: [optional default value is ""] Text for headline
    width: [optional default value is "450"] width of Text Display
    back    top   

    SAP_TemplateTextDisplayEnd
    Description: Create end of Text Display
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateTextDisplayContentBegin
    Description: Create begin of Text Display Content
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    headline: [optional default value is ""] Text for headline
    back    top   

    SAP_TemplateTextDisplayContentEnd
    Description: Create end of Text Display Content
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateTextDisplayContentColumnBegin
    Description: Create begin of Text Display Content Column
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    headline: [optional default value is ""] Text for headline
    back    top   

    SAP_TemplateTextDisplayContentColumnEnd
    Description: Create end of Text Display Content Column
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateTextDisplayImageColumnBegin
    Description: Create begin of Text Display Image Column
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    images: [optional default value is ""] image url
    headline: [optional default value is ""] Text for headline
    back    top   

    SAP_TemplateTextDisplayImageColumnEnd
    Description: Create end of Text Display Image Column
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    4.6D

    SAP_TemplatePlainMessageBegin
    Description: Creates a Plain Message text
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    messageType: [optional default value is "uncritical"]
    available types:
  • uncritical
  • critical
  • paddingDisabled: [optional default value is ""]
    back    top     

    4.6D

    SAP_TemplatePlainMessageEnd
    Description: End of Plain Message
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top     

    Toolbox

    SAP_TemplateToolboxBegin
    Description: Create begin of Toolbox
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    title: [optional default value is ""] Toolbox title
    width: [optional default value is "200"] Toolbox width
    back    top   

    SAP_TemplateToolboxEnd
    Description: Create end of Toolbox
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateToolboxMenuItemBegin
    Description: Create begin of Toolbox MenuItem
    Parameters: id: handle to object
    type: [optional default value is "SAP_WEBGUI"] Type of design
    menuItemTitle: [optional default value is ""] Category title
    status: [optional default value is closed] set MenuItem status
    back    top   

    SAP_TemplateToolboxMenuItemEnd
    Description: Create end of Toolbox MenuItem
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateToolboxMenuSubitemBegin
    Description: Create begin of Toolbox Menu Subitem
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateToolboxMenuSubitemEnd
    Description: Create end of Toolbox Menu Subitem
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateToolboxMenuSubitemsBegin
    Description: Create begin of Toolbox Menu Subitems
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    SAP_TemplateToolboxMenuSubitemsEnd
    Description: Create end of Toolbox Menu Subitems
    Parameters: type: [optional default value is "SAP_WEBGUI"] Type of design
    back    top   

    Icons

    SAP_TemplateIconURL
    Description: Returns the image for the specified SAP Iconname
    Parameters: iconname: SAP iconname
    back    top   

    SAP_TemplateIcon
    Description: Creates SAP Icon and alternate text (quickinfo)
    Parameters: iconname: SAP iconname
    alt: alternate text (quickinfo)
    back    top   

    Inorder Tree

    SAP_TemplateInorderTree
    Description: Creates a Inorder tree
    Parameters: id: handle to object
    nodeIDArray: sets nodeID Array
    nodeParentIDArray: sets nodeParentID Array
    nodeTextArray: sets nodeText Array
    nodeLevelArray: sets nodeLevel Array
    nodeTypeArray: sets nodeType Array
    width: [optional default value is "400"]
    height: [optional default value is "300"]
    title: Sets tree title
    nodeOnClick: node On Click
    nodeOnDragEnter: node On Drag Enter
    nodeOnDragOver: node On Drag Over
    nodeOnDrop: node On Drop
    overflow: [optional default value is ""]
    initialVisibilityLevel: [optional default value is "1"]Sets initial Visibility
    back    top   

    Helper functions

    SAP_TemplateSpaceImage
    Description: Creates a space image to render offsets
    Parameters: width: [optional default value is "1"] width
    height: [optional default value is "1"] height
    back    top   

    4.6D

    SAP_TemplateHR
    Description: Creates a horizontal ruler
    Parameters: width: [optional default value is "1"] width
    height: [optional default value is "1"] height
    back    top   

    SAP_TemplateCellBegin
    Description: Creates a Table Cell with cellpadding
    Parameters: type [optional default value is "SAP_WEBGUI"] Type of design
    left [optional default value is 10] left cellpadding
    top [optional default value is 10] top cellpadding
    align [optional default value is left] align cell data
    valign [optional default value is top] valign cell data
    back    top   

    SAP_TemplateCellEnd
    Description: Creates end of a Table Cell with cellpadding
    Parameters: type [optional default value is "SAP_WEBGUI"] Type of design
    right [optional default value is 10] right cellpadding
    bottom [optional default value is 10] bottom cellpadding
    back    top   

    Source:  SAP Business HTML Cookbook