Deprecated Objects and Functions
The following objects or functionalities are deprecated:
● Context paging functions
● WEBICON_* notation for Web icons
● RAISE methods of IF_WD_MESSAGE_MANAGER
● The following UI elements and their properties, events, aggregations, and enumerations
● IFrame
Use OfficeControl or InteractiveForm for Office and PDF documents.
The IFrame UI element should only be used in exceptional circumstances.
Use the Legend element for the DateNavigator instead.
Instead use a TransparentContainer.
● category from DateNavigatorMarking
Instead, use the daySemantics property.
● hAlign from 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.
● 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.
...
a. Choose the TransparentContainer UI element of the form for which you want to create the header.
b. 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 consequences.
c. 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 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:
i. Use data type STRING_TABLE in the context for the TextEdit.text property.
ii. Integrate a function for displaying the text that converts the text from your text data type to the STRING_TABLE.
iii. 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.
● Legend from DateNavigator
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 aggregation GroupedColumns. 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 row arrangement 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.
The RowArrangement aggregation is not available in NetWeaver 2004s (SAP_BASIS 700).
More information: Note 969581.
● 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.