03-31-2012 12:55 PM
hi, gurus
ECC receives idoc from PI (from a non-SAP POS).
Please advice where (in which system, which tcode
) to define sender's port (in my case SAPP23) which i can see from we02 control data.i am not see them in both ECC and PI.
****************************
open an inbound indoc:
direction:2
partner type:KU
Port: SAPP23
****************************
many thanks
03-31-2012 1:31 PM
Hi,
IDX2, is the transaction used for defining for ABAP port in PI system which is seen in inbound idocs of ECC.
Regards,
Prasanna
03-31-2012 1:31 PM
Hi,
IDX2, is the transaction used for defining for ABAP port in PI system which is seen in inbound idocs of ECC.
Regards,
Prasanna
04-01-2012 8:21 AM
Prasanna.
thank you for reply.
idx2 is metadata overview,-> click on port definition-> goto idx1
but i didnt see the one i see in inbox port.
this was i am confused, quite confused.
one of the inbox ports indicates SAPP23(P23 is SID of PI system)
any other place to maintain the port?
****************
in ECC we02, i see only ports which are defined in ECC we21.
but, if select inbound as a condition, i cannot see ports other than those.
in PI, idx1, i see only the one used in Integration Build- idoc-receiver.
*****************
more advice?
04-01-2012 8:46 AM
hI,
Outbound ports (WE21) are maintained for Outbound idocs going out of ECC, the inbound ports for inbound idocs is maintained in the sender systems, which is PI. So you should be able to see the port maintained in PI (IDX1/IDX2). If it is not seen, then there could be a chance that this is being mapped in PI mapping/or coming through some other way. Try to find the exact source of the data, whether it is PI system or different system. Also, it could happen that the data is coming as EDI. Please have a look at the source file.
If you understand that it is PI system, then check the mapping in the PI system for the idoc control record.
Also, if you can send thee screenshot of IDX1 with the list of ports i can get some more on idea on what is happening.
Regards,
04-05-2012 12:47 PM
hi, Prasanna
this picture is what i see in PI system.
In XML message, i see
<EDI_DC40>
<TABNAM> is EDI_DC40. does it mean
<SNDPOR> is SAPP23
<RCVPOR> is what i see in IDX1.
Is this what you said, EDI? where i can see EDI configuration?
Where i can see if mapping is activated, could you please advice?
thank you in advance.
04-06-2012 11:31 AM
Is this what you said, EDI? where i can see EDI configuration?
EDi_dc menas control record values , every idoc need control record values , describe about who is the receiver and sender details .
receiver port ,: on pi : whatever created port in idx1 that is receiver port
if u need to find receiver partner those details then need to check partner profile by using t.c we20on receiveing system.
Where i can see if mapping is activated, could you please advice?
if u r talking about message mapping in pi , then click on mapping and check the status (active/inprocess)
in pi mapping:
generally in real time , i have to write simple udf's for fill those values .
just you have to write simple udf becuse port numbers different in 3 systems like dqv , qty, prod:
so u have to wrire simple udf for sender port and receiver port and receiver partne in message mapping on pi.
String SenderPort(Container container) throws StreamTransformationException{
String var1 = "";
String var2 = System.getProperty("SAPSYSTEMNAME");
if(var2.equals("CPI"))
var1 = "SAPCPI"; // write required name
if(var2.equals("QPI"))
var1 = "SAPQPI"; //
if(var2.equals("PPI"))
var1 = "SAPPPI";
return(var1);
04-09-2012 9:52 AM
Thank you Solasu. this is a good guidance to understand the logic.
Carol