Skip to Content

Passthrough Scenario in SAP PI

Hi Experts ,

I am having one requirement , just simple pass through scenario need to pick the files from application server to FTP server .

Here the actual problem is I am getting file name :

SBI<Space>Bank<space> Payment_20170316_RXEZ.sta in this file name I am having white spaces , I want to replace this white spaces with underscore and the file output should be SBI_Bank_Payment_20170316_RXEZ.sta .

Can anybody suggest how we can resolve this issue.

Thanks in advance .

Shiva.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 07, 2017 at 05:59 AM

    Hi Shiva,

    Why not to use a linux command on the application server before to take the file and rename it?, check this thread http://stackoverflow.com/questions/1806868/linux-replacing-spaces-in-the-file-names

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 05, 2017 at 06:55 PM

    Hi Shiva,

    Please refer below blog use change mode give the older value as SBI<Space>Bank<space> and new value as SBI_Bank_

    and also make sure deploy the sda file in the server to use the dynamic attribute change bean.

    https://blogs.sap.com/2015/02/05/dynamicattributechangebean-the-no-mapping-solution-to-changing-dynamic-configuration-dynamically/

    Regards

    Pavan Kumar D

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 07, 2017 at 01:15 PM
    Add comment
    10|10000 characters needed characters exceeded