SAP ABAP Data Element FPMGB_LAYOUT_TYPE_GL2 (Layout Type for Form GL2)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-CMP-FPM (Application Component) Floorplan Manager Web Dynpro ABAP
     APB_FPM_GUIBB (Package) Generic UI building blocks
Basic Data
Data Element FPMGB_LAYOUT_TYPE_GL2
Short Description Layout Type for Form GL2  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FPMGB_LAYOUT_TYPE_GL2    
Data Type CHAR   Character String 
Length 4    
Decimal Places 0    
Output Length 4    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Layout 
Medium 20 Form Layout Type 
Long 30 Layout Type for Form 
Heading 40 Layout Type for Form 
Documentation

Definition

Specifies the arrangement of elements in a form component.

Use

A grid is used for the layout of forms. It consists of 8 or 16 cells that span 1/8 or 1/16 of the horizontal space respectively. The cells in the grid are labeled from A-P. Hence, the last cell in the 16/1 or 16/2 form layout is cell P, and in the 8/1 form layout it is cell H.

The layout options on the basis of this grid are described below:

  • 16/1 Layout
  • The form group and header span the complete width of the form. Within the form group, the UI elements can be arranged within 1 column (spanning 16 cells) or 2 columns (spanning 8 cells each).

If you use a 1-column layout, the accompanying label of a UI element is placed in cells A-C and the UI element covers cells D-P. If the element has no label, the UI element spans the complete width of the form (cells A-P).
If you use a 2-column layout, the accompanying label of a UI element is placed in cells A-C or I-K respectively. The UI element covers cells D-H or L-P, respectively. A UI element without a label covers cells A-H or I-P respectively.
The layout of UI elements is performed row-wise; that is, UI elements are first arranged horizontally, then vertically (in a Z shape).

  • 16/2 Layout
  • There are 2 columns for form groups. Each form group and its header span 8 cells each.

Accompanying labels of UI elements are placed in cells A-C or I-K respectively. The UI element covers cells D-H or L-P respectively. A UI element without a label covers cells A-H or I-P respectively.
The layout of UI elements is performed column-wise; that is, elements are first arranged vertically within a column, before they are placed in the next column (an inverted N shape).

  • 8/1 Layout
  • Form groups are arranged within one column, spanning half the width of the form.

Accompanying labels of UI elements are placed in cells A-C. A UI element without a label covers cells A-H.
This layout is mainly used for forms that are displayed in overview pages with more than one column.

Dependencies

Example

History
Last changed by/on SAP  20110908 
SAP Release Created in 730