Deprecated Objects and Functions
Use
The following objects and functions are deprecated:
-
Context Paging functions
-
WEBICON_* notation for Web icons
-
RAISE methods of IF_WD_MESSAGE_MANAGER
-
Screen designtime conversion
UI Elements
-
Use the Legend element for the DateNavigator instead.
-
Instead use a TransparentContainer.
-
Instead use OfficeControl or InteractiveForm for Office or PDF documents. UI element IFrame should only be used in exceptional circumstances.
UI element properties/enumerations
-
The headerWrapping property of UI element CTableColumn.
Instead, use line breaks for TableColumn HeaderArea.
-
Property suppressValueHelp of UI the element. InputField
Instead, use property inputHelp with value none.
-
category of DateNavigatorMarking
Instead, use the daySemantics property.
-
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.
-
Choose the TransparentContainer UI element of the form for which you want to create the header.
-
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.
-
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:
-
Use data type STRING_TABLE in the context for the TextEdit.text property.
-
Integrate a function for displaying the text that converts the text from your text data type to the STRING_TABLE.
-
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
-
Remove the aggregated DateNavigatorLegend and use a Legend UI element instead, which you can place anywhere on the view.
-
Remove all elements that have been inserted using this aggregation and re-insert them using GroupedColumns aggregation ( Grouped Columns). 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 ( Row Arrangement).
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.
-
Sorting
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.
-