Forum Discussion

GBekkanti's avatar
GBekkanti
New Contributor III
7 years ago

Got error while executing the SAP IDoc Write snap

Hi,

I got the below mentioned error while executing the SAP IDoc write snap.

Can you please explain the reasons for getting this error? and how to overcome with this error?

12 Replies

  • Change the IDoc Read BAPI Name back to: Z_SNAP_IDOC_READ_COMPLETELY

    and try again.
    I just tested it and it works, see screen shot

    best regards,
    Rich

    • Gerarivera's avatar
      Gerarivera
      New Contributor

      Hi I am getting same error and I have Z_SNAP_IDOC_READ_COMPLETELY, too

      RELATION_NOT_FOUND, Reason: SAP detected no relationship between the provided IDoc, and IDoc extension type., Resolution: Please ensure that the IDoc is valid, and that a valid extension type of the IDoc has been specified.

  • Andrej_Bogdanov's avatar
    Andrej_Bogdanov
    New Contributor III

    Hi Gopi,

    The connection to the SAP server seems to be failing. If you have an account set up in the SAP IDoc Write snap can you make sure it is working correctly. Just go into the accounts tab in the SAP IDoc Write snap click edit account and Validate the account after that.

    • GBekkanti's avatar
      GBekkanti
      New Contributor III

      Thanks for your reply @Andrej_Bogdanovski,

      I have validated the account and the account is successfully validated but, got the same error.

      is there any configuration to change from SAP side or snaplogic side?

  • umashankar316's avatar
    umashankar316
    New Contributor II

    Hi GBekkanti,

    If account is validated successfully and passing parameters for BAPI are correct.

    check below two options.

    1. Restart jcc service and try to write on BAPI.
    2. Make sure your SAP port numbers are available in groundplex server nodes.

    Thanks,
    Umashankar

    • GBekkanti's avatar
      GBekkanti
      New Contributor III

      Hi @umashankar316,

      Can you please let me know, where exactly I can check for the existence of SAP port numbers in the server.

      if it is in Services, what is the port number and name that should be existed in services to execute the SAP IDoc Write snap successfully.

      Can you just let me know the use of “IDoc Read BAPI Name” this property in SAP IDoc write snap. do we need to provide any value for this property when we are writing an IDoc to SAP[Inbound to SAP].

      Thanks in advance!

      • umashankar316's avatar
        umashankar316
        New Contributor II

        Hi GBekkanti,

        Please make sure if you have
        SAP port entries in /etc/services
        file in unix groundplex server nodes.

        Make
        sure you are using the BAPI which is already created in SAP system and passing necessary elements for BAPI write.

        Thanks,

        Umashankar

        This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original
        message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law,
        this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
        If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance
        on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.

  • GBekkanti's avatar
    GBekkanti
    New Contributor III

    Hi @umashankar316,

    SAP port numbers are available and IDoc is generated in SAP side but, I am getting the above mentioned error rather than IDoc number.

    • rdill's avatar
      rdill
      Admin

      The error message states that the call is not getting to the server. It looks like you may be validating the account with one plex and using another when you try to run the pipeline. Please check to make sure you are using the same plex for both tasks.
      Best regards,
      Rich

      • GBekkanti's avatar
        GBekkanti
        New Contributor III

        Hi @rdill,

        Thanks for your reply. I am using the same plex for both tasks. IDoc is generated in SAP but, I am not getting the IDoc number rather above mentioned error output.

        Can you just let me know the use of “IDoc Read BAPI Name” this property in SAP IDoc write snap. Do we need to provide any value for this property when we are writing an IDoc to SAP[Inbound to SAP]?

    • GBekkanti's avatar
      GBekkanti
      New Contributor III

      Hi @umashankar316,

      I have gone through the link, ‘IDOC Read BAPI name’ this property is not mentioned in the SAP IDOC Write but in SAP IDOC READ.
      I have given all the required values. please see the below image for IDoc Write snap configuration

      I am running the pipeline in Groundplex only.