Skip to Content

Send Idoc from SAP ERP to SAP PI

Good evening SAP Professionals,

I hope that I am writing this question in the right forum.

Since I have very limited experience in the configuration of Idoc communication I’d like to ask you for some help with a problem I stumbled upon.

My scenario is to do a payment run in SAP ERP with transaction F110 and generate an Idoc and send it to SAP PI 7.3. My problem is that I get an error message 29 (ALE Service Error) in transaction BD87 on ERP side.

What I have done so far:

- configuring the house bank and payment method in bank accounting management for EDI

- Creating a model view in Transaction BD64 between SAP ERP and SAP PI

- Creating a tRFC Port in WE20

- Creating a partner profile in transaction WE21 type B (which I set in my house bank) with message type PAYEXT

- Creating a partner profile type LS with the same name like in the step before and the message type SYNCH (Because I’ve got the following error before: “Partner profile LS … SYNCH doesn’t exist”)

- Both profiles use the tRFC port

- Now I post some documents and do the payment run. I don’t get any errors in SM37. In BD87 it seems to be fine (because of the green light and the message: “Idoc was send to Port”), but if I go inside of it and check the relationship data (one of them is the document and one is the Idoc) and go to the Idoc part then I see Error message 29 in the status.

On the SAP PI side in transaction BD87 I can’t see any incoming Idocs.

I hope that you can  help me with this curiosity and maybe give me some advice.

Thank you for your help!

Greetings Enrico Hegenbart

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 09, 2014 at 08:01 PM

    Hi Enrico,

    Please provide the details about SAP PI version, is it single stack or dual stack?

    Please refer the below wiki for dual stack configuration

    Connection Settings between ECC and PI system - Process Integration - SCN Wiki

    and for single stack configuration

    How to create and configure Sender Idoc AAE Scenario - PI 7.3

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 10, 2014 at 02:48 AM

    Hi Enrico

    one of them is the document and one is the Idoc) and go to the Idoc part then I see Error message 29 in the status.

    From the description of your issue, it looks like the IDoc was not sent out successfully. Can you double click into the error message and see if there are further information on the error. Can you also please share a screenshot of the error?

    On the SAP PI side in transaction BD87 I can’t see any incoming Idocs.

    You will not be able to see the IDoc in BD87 on PI side even if it is transmitted successfully. It would go through the IDoc adapter on PI side which will convert it into an XML message. You should check instead in IDX5 with the IDoc number from your ECC system.

    Rgds

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Eng Swee,

      thank you for your anwer.

      After adding the message type EUPEXR to the partner profile I havn't errors on the ERP side anymore.

      But if i go to idoc trace i have to sign into the PI System (it seems that the RFC destination is working) and get the following picture after that.

      when i double click on the IDoc No. Partner I get the following "error":

      "No RFC destinations could be determined for the method call".

      In IDX5 i cannot find any Idocs. I configured the PI like in the wiki above was written.

      Maybe i have to do something else?

      And my last question: How does the PI know to which communication channel he has to send

      the Idoc?

      Thanks for your help!!
      Regards Enrico

      idoc_trace.png (6.7 kB)