Message type: E = Error
Message class: SWDP_WB_TOOL - Web Dynpro: Messages for Workbench Tools
Message number: 572
Message text: &1: onSelect and onLeadSelect must not be used at the same time
Events onSelect and onLeadSelect cannot be used at the same time.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
The onSelect event enables all the selection changes to be caught. Use
it in addition to LeadSelection to respond to Single and
MultipleSelection changes. If it suffices to respond to LeadSelection
changes, the onLeadSelect event should be used for performance reasons.
Error message extract from SAP system. Copyright SAP SE.
SWDP_WB_TOOL572
- &1: onSelect and onLeadSelect must not be used at the same time ?The SAP error message SWDP_WB_TOOL572 indicates that there is a conflict in the usage of the onSelect and onLeadSelect event handlers in your Web Dynpro application. This error typically arises when both event handlers are defined for the same UI element, which is not allowed.
Cause: The error occurs because both onSelect and onLeadSelect are being used simultaneously for a single UI element (like a table or tree). These two event handlers are designed to handle selection events, but they serve different purposes and cannot coexist on the same element.
Solution: To resolve this error, you need to choose one of the two event handlers based on your application's requirements: Remove one of the event handlers: If you decide that you only need one of the handlers, go to the UI element in the Web Dynpro component and remove the unnecessary event handler. For example, if you only need to handle the selection of a single item,
Get instant SAP help. Sign up for our Free Essentials Plan.
SWDP_WB_TOOL571
VisibleRowCount property of element "&1" is very large
What causes this issue? A large number (>30 or -1, ("Display All")) of visible entries can affect performance.System Response The syst...
SWDP_WB_TOOL570
Set RowCount is invalid for table "&1"
What causes this issue? Property RowCount of table "&V1&" was set explicitly. This is not permitted since the table has a TreeByNes...
SWDP_WB_TOOL573
&1: onChange and onEnter must not be used at the same time
What causes this issue? Events onChange and onEnter cannot be used at the same time.System Response The system issues an error message and will not ...
SWDP_WB_TOOL600
Inconsistency in metadata of event handler &
What causes this issue? For event handler &V1&, &V2& is specified as the referenced plug and &V3& as the referenced view. How...
Click on this link to search all SAP messages.