Skip to Content
avatar image
Former Member

To change the receiver port name

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 03, 2009 at 12:35 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 03, 2009 at 01:13 PM

    Hi Vishal,

    You can map some constant values in message mapping.

    Regards,

    Raj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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