How To Fix FL397 - &1 (type &2) can impair performance in RFC (with classic serialization)


FL397 - Overview

  • Message type: E = Error

  • Message class: FL - Function Builder messages

  • Message number: 397

  • Message text: &1 (type &2) can impair performance in RFC (with classic serialization)

  • Show details Hide details
  • What causes this issue?

    This parameter contains a data type that can result in high memory
    consumption and poor system performance when using the classic RFC
    serialization. Performance is particularly badly affected if you have a
    slow network connection (with high latency) or low bandwidth. This
    affects IMPORTING, EXPORTING, and CHANGING parameters, which use deep
    data types. Deep data types are tables or flat structures that contain
    at least one field of variable length (for example, String/XString).

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Use other serialization variants if possible. You can set these in
    destination maintenance (transaction SM59).
    The new fast serialization is always the fastest and is generally
    compatible with classic serialization. Unfortunately, this serialization
    is not available in older systems.
    If your communication partner does not support the new serialization,
    you can use basXML serialization (available in SAP NetWeaver 2007 and
    higher). In destination maintenance, you can set either 'basXML' or
    'basXML forced'. If you select 'basXML', the function module must be
    available on the client side and the basXML flag must be set in the
    function module. If you select 'basXML forced', it is not necessary to
    select the 'basXML' property in the function module.
    Caution: The basXML serialization serializes the data in an XML-like
    intermediate format. When converted to text, there can be rounding
    differences, for example, in binary floating point numbers. Also, errors
    in the data content (for example, letters in NUMC fields) can result in
    terminations.
    If you cannot use the new serialization or the basXML protocol, please
    check whether you can replace strings with fixed-length character
    fields. Tables of structures that only contain fixed-length fields can
    be transferred using the TABLES parameter (which gives significantly
    better performance).
    If you have decided on a new serialization or are prepared to accept the
    effect on performance, you can suppress the warning with the pseudo
    comment
    <SE>##RFC_PERFORMANCE_OK</>
    after the function statement.
    Example:
    <SE>FUNCTION MYFUNC ##RFC_PERFORMANCE_OK. </>

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FL397 - &1 (type &2) can impair performance in RFC (with classic serialization) ?
    The SAP error message FL397 indicates that there is a performance issue related to Remote Function Calls (RFC) due to classic serialization. This error typically arises when there are performance bottlenecks in the system caused by the way RFC calls are being handled, particularly when multiple calls are serialized, leading to delays and inefficiencies.
    
    Cause: Classic Serialization: This occurs when multiple RFC calls are made in a sequence, and the system processes them one after the other rather than in parallel. This can lead to increased response times and reduced throughput. High Load: If the system is under heavy load, it may exacerbate the serialization issue, leading to performance degradation. Inefficient RFC Calls: If the RFC calls themselves are not optimized or if they involve heavy processing, this can contribute to the performance issues. Network Latency: High latency in the network can also affect the performance of RFC calls, especially when they are serialized.
    Solution: Optimize RFC

    Already have an account? Login here!




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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author