cancel
Showing results for 
Search instead for 
Did you mean: 

Send Idoc from SAP ERP to SAP PI

openrico
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor
0 Kudos

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

regards,

Harish

openrico
Participant
0 Kudos

Hey Harish, thank you for your reply!

The PI Version is 7.31 and it is a dual stack.

I configured the system like in the wiki but it still doesn't work.

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

Thank you for your Help!

Greetings Enrico

former_member184720
Active Contributor
0 Kudos

Hi Enrico - Are you using the IDOC_AAE adapter?

Also did you check if there are any entries in ECC SM58?

openrico
Participant
0 Kudos

Hi Hareesh,

this was the key! Thank you!! I forgot about this transaktion.


The username was incorrect spelled .

Now i can see the Idocs in the sxmb_moni --> Problem solved!

Many Thanks to all!!

former_member184720
Active Contributor
0 Kudos

Hi Enrico - Glad to know that

May be you can close the thread -

Answers (1)

Answers (1)

engswee
Active Contributor
0 Kudos

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

openrico
Participant
0 Kudos

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