on 11-13-2015 1:29 PM
Dear experts,
I have to connect from SAP PI 7.3 (dual stack) to a Windows machine on which an RFC application is installed.
It goes: "SAP ERP --> PI --> RFC on Windows machine"
On the PI system in ABAP in SM59 I configured a RFC destination, type T - "TCP/IP Connection".
I do it with "Registered Server Program" and give the name of that program called "SAPIDOTT".
Gateway Host = PI System
Gateway Service = sapgw**
When I do "Utilities" --> "Test" --> "Connection Test" it is successful;
The unicode test says: "Target is not a unicode system (character size 1)"
So this works.
Now on SAP PI I am configuring the RFC receiver channel:
I am again using the Program ID I used before in SM59.
But I get the following error in Runtime Workbench:
It seems to me that the value I give in the Receiver channel "Application Server Service (Gateway)" is incorrect.
Is there a default value I can use? Or should the administrator of the RFC application on the target machine know this value?
Summary: the connection from ABAP works - from Java it does not work.
Thank you for any hint you can give me,
Peter
Hi Peter,
Why don't you choose SAP System instead of External RFC system?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Inaki Vila,
I tried this and changed it in the RFC receiver channel:
But now I get this error:
Something seems to be wrong with the namespace.
The RFC namespace is this: http://sap.com/xi/XI/System
The IDoc sent from SAP ERP to PI to Windows Machine" is this:
urn:sap-com:document:sap:idoc:messages
PPCC2RECWORKCENTER.PPCC2RECWORKCENTER01
SAP PI receives it from SAP ERP via IDoc Adapter and without mapping passes it on to RFC receiver.
Do you know which namespace I have do adapt and how?
Thank you again,
Peter
Hello Inaki Vila,
After my namespace error I received I added an XSLT map that adds the namespace "xmlns:ns0="urn:sap-com:document:sap:rfc:functions".
My IDoc looks like this now:
<?xml version="1.0" encoding="utf-8"?>
<PPCC2RECWORKCENTER01 xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>100</MANDT>
<DOCNUM>0000000008116508</DOCNUM>
...... and so on....
Now I resent a message but now I get this error from the RFC channel:
do you have any idea what the issue could be now? I will keep investigating myself.
Thank you again,
Peter
Hi Peter,
Try sapgw** or 33** for your application server service.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Peter,
It seems that your third party windows system is rejecting the data format sent by you. Ask them for the XSD of which they are using and configure the same in PI.
Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nitin,
Thank you for your input.It is what you suspected. They are expecting
a flat file format while I am trying to send them an IDoc.
No one told me about this....
So the third party will let me know about the format now and then I have to do
the mapping + file content conversion for the flat file format.
Best regards,
Peter
Hello Peter,
You need to maintain a Unicode connection. You can maintain this through SM59.
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to check with ur receiver system about the program id name. The name which u will register in PI should exactly match to what has been used by target system.
Alternatively, u can go to SMGW and check which program id you can see against your target system (windows).
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Peter,
Did you register the program Id and use the same in the channel?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.