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

Close

How To Fix WZ349 - Check whether method &1 of object type &2 is Internet-compatible


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WZ - Workflow: Model objects

  • Message number: 349

  • Message text: Check whether method &1 of object type &2 is Internet-compatible

  • Show details Hide details
  • What causes this issue?

    It was not possible to check whether method &v1& of object type &v2& is
    Internet-compatible. If the method is not Internet-compatible, errors
    will arise at runtime.

    How to fix this error?

    Ensure that the method is Internet-compatible.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WZ349 - Check whether method &1 of object type &2 is Internet-compatible ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WZ349 Check whether method &1 of object type &2 is Internet-compatible


    Cause:

    This warning message occurs when a method of a Business Object (BOR object) is called in an Internet-enabled context (such as via Web Dynpro, BSP, or Web Services), but the method is not flagged or designed as Internet-compatible.

    In SAP, certain methods of Business Objects need to be explicitly marked as Internet-compatible to be safely called in web-based or Internet scenarios. If a method is not marked as such, the system issues this warning to alert the developer or user that the method might not behave correctly or securely in an Internet environment.


    Explanation:

    • Method &1: The name of the method being called.
    • Object type &2: The Business Object type to which the method belongs.

    The system checks the metadata of the Business Object Repository (BOR) and finds that the method is not flagged as Internet-compatible.


    When does this happen?

    • When calling BOR methods from Internet-enabled applications.
    • When using Web Services or Web Dynpro applications that invoke BOR methods.
    • When executing remote-enabled function modules or methods that are not properly flagged.

    Solution:

    1. Check the method's Internet compatibility flag:

      • Use transaction SWO1 (Business Object Builder).
      • Enter the object type &2.
      • Navigate to the method &1.
      • Check if the method is flagged as Internet-compatible.
    2. If the method is not Internet-compatible:

      • Evaluate if it is safe and appropriate to mark it as Internet-compatible.
      • If yes, set the Internet-compatible flag for the method in SWO1.
      • If no, consider creating a wrapper method that is Internet-compatible and calls the original method internally.
    3. Adjust your application:

      • If the method cannot be made Internet-compatible, avoid calling it directly from Internet-enabled applications.
      • Use alternative methods or approaches that are designed for Internet use.
    4. Testing:

      • After making changes, thoroughly test the method in the Internet context to ensure it behaves correctly and securely.

    Additional Information:

    • Internet-compatible methods are designed to handle the stateless and security requirements of Internet communication.
    • Marking a method as Internet-compatible means it can be safely called in web services, Web Dynpro, BSP, or other Internet scenarios.
    • This flag is important for SAP's runtime environment to handle method calls properly.
    • If you ignore this warning, you might face runtime errors, security issues, or unexpected behavior in your Internet applications.

    Summary:

    Aspect Details
    Error message WZ349 Check whether method &1 of object type &2 is Internet-compatible
    Cause Method is not flagged as Internet-compatible but called in an Internet context
    Solution Mark the method as Internet-compatible in SWO1 or avoid calling it from Internet apps
    Transaction SWO1 (Business Object Builder)
    Impact Potential runtime or security issues if ignored

    If you need help with the exact steps in SWO1 or further troubleshooting, feel free to ask!

    • 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