Show TOC

Deprecated Objects and FunctionsLocate this document in the navigation structure

The following objects or functionalities are deprecated:

UI elements

UI element properties/enumerations

  • category of DateNavigatorMarking

    Instead, use the daySemantics property.

  • hAlign of FormattedTextView

    Use the hAlign property in the layout data instead. In a MatrixLayout, for example, you can use the MatrixData.hAlign or MatrixHeadData.hAlign property to control the text alignment of the FormattedTextView and all other UI elements.

  • InteractiveForm with displayType=ActiveX

    Instead, use the iEnumeration value Native.

  • TextView with design=GroupTitle

    To create a form header, proceed as follows instead:

    Create a UI element of type SectionHeader. Enter the header in the text property.

    1. Choose the TransparentContainer UI element of the form for which you want to create the header.
    2. Deactivate the isLayoutContainer property The container will now be displayed not just as a technical container but as a semantic container as well. This is important for accessibility but has no visual effects.
    3. For the labeledBy property, select the SectionHeader you created. This means that the SectionHeader is declared as the header for the TransparentContainer and that no accessibilityDescription must be specified.

      The SectionHeader is not available in SAP NetWeaver 2004s (SAP_BASIS 700).

  • TextView with design=label

    To provide a name for a UI element, use the Label UI element.

  • TextView with design=label_small

    To provide a name for a UI element, use the Label UI element.

  • TextEdit with wrapping=hard

    When using the hard value, line breaks might occur where you do not want them. Differentiate between two situations for wrapping:

    • Use the soft value if you want the text display to be wrapped.
    • If the text needs to be broken for technical reasons, for example because the number of characters per line is limited, proceed as follows:
      1. Use data type STRING_TABLE in the context for the TextEdit.text property.
      2. Integrate a function for displaying the text that converts the text from your text data type to the STRING_TABLE.
      3. Integrate a function for processing the text that converts the text from the STRING_TABLE to your text data type and thus wraps the text way you want it to.

UI element aggregations

  • Legend of DateNavigator

    Remove the aggregated DateNavigatorLegend and use a Legend UI element instead, which you can place anywhere on the view.

  • Columns of Table

    Remove all elements that have been inserted using this aggregation and re-insert them using GroupedColumns aggregation. Click the replacement symbol in the error message in the View Designer to perform this automatically for this usage.

    If you want to call the aggregation using the runtime API, for example WD_TABLE->GET_COLUMNS( ), you need to modify this coding, for instance, by replacing it with WD_TABLE->GET_GROUPED_COLUMNS( ).

    See also note 969581

  • MasterColumn from Table

    Remove all elements that have been inserted using this aggregation and reinsert them using the RowArrangement aggregation.

    If you want to access the aggregation using the runtime API, for example, WD_TABLE->GET_MASTER_COLUMN( ), you need to modify this coding accordingly.

    The RowArrangement aggregation is not available in SAP NetWeaver 2004s (SAP_BASIS 700).

    See also SAP Note 969581.

UI element events

  • onAction Event of AbstractTableColumn

    Use the standard functionality to ensure that you have standardized visual display, behavior and accessible texts:

    • Column selection

      Use event onColSelect of the table. The selectability and selection status is controlled in each column by the colSelectionState property.

    • Sort

      Use event onSort of the table. Whether sorting is possible, and the status of the sorting function are controlled in each column by the selectionState property.