Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix APB_FPM_CORE351 - Valid units for width are PX and EM; % is not a valid unit


SAP Error Message - Details

  • Message type: E = Error

  • Message class: APB_FPM_CORE - FPM messages

  • Message number: 351

  • Message text: Valid units for width are PX and EM; % is not a valid unit

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message APB_FPM_CORE351 - Valid units for width are PX and EM; % is not a valid unit ?

    The SAP error message APB_FPM_CORE351 indicates that there is an issue with the width property defined in a configuration or customization of a Floorplan Manager (FPM) application. Specifically, the error states that the valid units for width are PX (pixels) and EM (a relative unit based on the font size), while the percentage unit % is not accepted in this context.

    Cause:

    The error typically arises when:

    1. A developer or configurator has set the width of a UI element using a percentage value (e.g., width: 50%).
    2. The FPM framework does not support percentage values for width in the specific context where it is being applied.

    Solution:

    To resolve this error, you should:

    1. Identify the Configuration: Locate the specific UI element or configuration where the width is set using a percentage.
    2. Change the Unit: Modify the width value to use either PX or EM. For example:
      • If the original width was set as width: 50%, you could change it to a fixed pixel value like width: 300px or a relative value like width: 20em.
    3. Test the Changes: After making the changes, test the application to ensure that the layout appears as expected and that the error no longer occurs.

    Related Information:

    • FPM Documentation: Review the SAP FPM documentation for guidelines on valid CSS units and best practices for UI design.
    • SAP Notes: Check for any relevant SAP Notes that might provide additional context or updates regarding this error message.
    • Debugging Tools: Use browser developer tools to inspect the UI elements and see how the styles are being applied, which can help in identifying where the invalid unit is being set.

    By following these steps, you should be able to resolve the APB_FPM_CORE351 error and ensure that your FPM application functions correctly.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker