How To Fix HRPAYBR_EFD156 - Logical port not found for sending for company code &1.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR_EFD - Message class EFD-Social

  • Message number: 156

  • Message text: Logical port not found for sending for company code &1.

  • Show details Hide details
  • What causes this issue?

    The report <LS>eSocial: Create initial configurations from the
    customizing</> (<DS:TRAN.PC00_M37_EFD_CONFIG>RPU_PAYBR_EFD_CREATE_CONFIG
    </>) tried to copy the logical port configurations for sending batches
    of the view <LS>Company - General Information </>(V_T7BRC2) for the view
    <LS>Maintain system configuration parameters for the eSocial </>
    (V_T7BREFD_CONFIG, transaction PC00_M37_EFD_CONFIG), but it did not find
    any configuration.

    System Response

    The system did not insert any logical port information in the view
    V_T7BREFD_CONFIG.

    How to fix this error?

    INCLUDE PYBR_EFD_SYS_SPEC_CONFIG_03 OBJECT DOKU ID TX

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HRPAYBR_EFD156 - Logical port not found for sending for company code &1. ?

    The SAP error message HRPAYBR_EFD156 indicates that there is a problem with the logical port configuration for sending data related to the Brazilian payroll system. This error typically occurs when the system is unable to find the appropriate logical port for the specified company code.

    Cause:

    1. Missing Logical Port: The logical port required for communication with the external system (e.g., for sending payroll data) is not defined in the SAP system.
    2. Incorrect Configuration: The logical port may be incorrectly configured or not assigned to the relevant company code.
    3. Authorization Issues: There may be authorization issues preventing access to the logical port.
    4. Transport Layer Issues: If the system is in a transport layer, the logical port may not have been transported correctly.

    Solution:

    1. Check Logical Port Configuration:

      • Go to transaction SOAMANAGER in SAP.
      • Navigate to the Service Management section and check the logical ports defined for the relevant service.
      • Ensure that the logical port for the company code in question is created and active.
    2. Create/Modify Logical Port:

      • If the logical port does not exist, create a new logical port.
      • If it exists but is not configured correctly, modify it to ensure it points to the correct endpoint and has the right parameters.
    3. Assign Logical Port to Company Code:

      • Ensure that the logical port is assigned to the correct company code in the relevant configuration settings.
    4. Check Authorizations:

      • Verify that the user has the necessary authorizations to access the logical port.
    5. Test Connection:

      • After making changes, test the connection to ensure that the logical port is functioning correctly.
    6. Consult Documentation:

      • Refer to SAP documentation or notes related to the specific payroll process you are working with, as there may be additional steps or considerations.

    Related Information:

    • Transaction Codes:

      • SOAMANAGER: For managing web services and logical ports.
      • SPRO: For accessing the configuration settings related to payroll and logical ports.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional troubleshooting steps.

    • Support: If the issue persists after following the above steps, consider reaching out to SAP support or your internal SAP support team for further assistance.

    By following these steps, you should be able to resolve the HRPAYBR_EFD156 error and ensure that the logical port is correctly configured for your company code.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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