cancel
Showing results for 
Search instead for 
Did you mean: 

To change the receiver port name

Former Member
0 Kudos

Hi ,

I am doing a File to IDOC scenario.

We have a requirement to post IDOC flat file to the IDOC in SAP system through PI.

We have Partner Number in control record which we receive in the flat file and that has to be sent to the SAP system which we have achieved by checking the " Apply control record values from payload and take sender from payload" option in the sender communication channel.

But we are having a requirement that the PORT number should be taken from "SNDPOR" segment from the Input file. But when we process the file through PI, the port number changes as "SAP*** ".

Is there any way that i could post the value from "SNDPOR" segment as the port number to the SAP system.

Regards,

Vishal

Accepted Solutions (0)

Answers (2)

Answers (2)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Vishal,

You can map some constant values in message mapping.

Regards,

Raj

Former Member
0 Kudos

Thanks for your replies.. In Java Mapping I was using segment length as 64 but t is 63.. I changed it and it's working fine..

Regards,

Vishal

former_member187339
Active Contributor
0 Kudos

Hi Vishal,

You can change the port details in Message mapping and use the IDocs adapter with the same option as you have now.

Regards

Suraj