Standard Button

HTML Business Function Reference

 

1. General

The widths of the cells are set with a nowrap in the text cell and three non-breaking spaces on either side of the content text of the button to provide the proper spacing between the words and borders.

If the user changes the font size there may be a noticeable alteration in the buttons appearance.

 
 
2. Classes

Upstate and Downstate button text = button
Inactive button text = button2
Small Tray button text = button5

 

3. Button

   Button   


Business-HTML Coding Example:

`SAP_TemplateUpstateButtonOver("YourButtonID", type="SAP_WEBGUI", buttonLabel="Button",
	onclick="Your command")`

 
4. Inactive Button

   Inactive   


Business-HTML Coding Example:

`SAP_TemplateInactiveButton("YourButtonID", type="SAP_WEBGUI", buttonLabel="Button",
	onclick="Your command")`

 

5. Horizontal row of buttons on non-header areas

   Button       Button       Button       Button   

Business-HTML Coding Example:

`SAP_TemplateButtonRowBegin();
    SAP_TemplateUpstateButton("YourButtonID1", buttonLabel="Button", onclick="Your command");
    SAP_TemplateButtonRowSpacer();
    SAP_TemplateUpstateButton("YourButtonID2", buttonLabel="Button", onclick="Your command");    
    SAP_TemplateButtonRowSpacer();
    SAP_TemplateUpstateButton("YourButtonID3", buttonLabel="Button", onclick="Your command");   
    SAP_TemplateButtonRowSpacer();
    SAP_TemplateUpstateButton("YourButtonID4", buttonLabel="Button", onclick="Your command");   
SAP_TemplateButtonRowEnd()`

 

6. Emphasize Button

   Action   


Business-HTML Coding Example:

`SAP_TemplateLargeActionButton("YourButtonID", type="SAP_WEBGUI", buttonLabel="Button",
	onclick="Your command")`

Source:  SAP Business HTML Cookbook