Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: SWDP_WB_TOOL_VD_ACC - ACC Checks
Message number: 010
Message text: ACC: Element "&1" uses absolute units
UI element "&V1&" uses absolute units for the height property and/or
width property (px).
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Use relative units instead (for example, ex)
Error message extract from SAP system. Copyright SAP SE.
SWDP_WB_TOOL_VD_ACC010
- ACC: Element "&1" uses absolute units ?The SAP error message
SWDP_WB_TOOL_VD_ACC010
with the description "Element '&1' uses absolute units" typically occurs in the context of SAP Web Dynpro applications. This error indicates that a UI element is defined with absolute units for its dimensions (like width or height), which is not recommended for responsive design.Cause:
The error is caused by the use of absolute units (e.g., pixels) in the layout properties of a UI element. Absolute units can lead to issues with responsiveness and adaptability of the UI across different screen sizes and resolutions. SAP recommends using relative units (like percentages or ems) to ensure that the UI elements scale appropriately.
Solution:
To resolve this error, you should modify the properties of the affected UI element to use relative units instead of absolute units. Here are the steps to do this:
Identify the Element: Check the error message for the specific element name (represented by
&1
in the error message).Open the Web Dynpro Component: Go to the Web Dynpro component in the SAP Web Dynpro Workbench.
Locate the UI Element: Find the UI element that is causing the error in the layout.
Change the Units:
- If the element has properties like
width
orheight
set in pixels (e.g.,200px
), change them to a relative unit (e.g.,50%
orauto
).- For example, instead of setting
width
to200px
, you might set it to50%
orauto
to allow it to adjust based on the parent container.Save and Activate: After making the changes, save and activate the Web Dynpro component.
Test the Application: Run the application to ensure that the error is resolved and that the UI behaves as expected.
Related Information:
By following these steps, you should be able to resolve the error and improve the responsiveness of your SAP Web Dynpro application.
Get instant SAP help. Sign up for our Free Essentials Plan.
SWDP_WB_TOOL_VD_ACC009
ACC: MeltingGroup element "&1" does not have a valid tooltip
What causes this issue? Accessibility check: Element "<(>&<)>V1&" is located in a MeltingGroup or a MeltingGroup-like T...
SWDP_WB_TOOL_VD_ACC008
ACC: Label for MeltingGroup-like Container "&1" is not set
What causes this issue? Accessibility check: The TransparentContainer "&V1&" has been identified as a "MeltingGroup" type...
SWDP_WB_TOOL_VD_ACC015
Content of "&1" could contravene accessibility standards
What causes this issue? The content of an IFrame could contravene SAP accessibility standards.System Response The system issues an error message and...
SWDP_WB_TOOL_VD_ACC016
TimedTrigger "&1" could contravene accessibility standards
What causes this issue? The use of a TimedTrigger UI element could contravene SAP accessibility standards.System Response The system issues an error...
Click on this link to search all SAP messages.