cancel
Showing results for 
Search instead for 
Did you mean: 

PayloadSwapBean not working in Production PI 7.3 AEX

Former Member
0 Kudos

Hi,

I am facing a very strange problem.

The scenario is Read Email attachment and place the attachment in NFS folder.

The interface is working fine in DEV and Quality . But unfortunately not working in Production

1     swap.keyName     Content-Disposition
1     swap.keyName     Content-Description
1     swap.keyValue     attachment;filename="XYZ- ABC.csv"
1     swap.keyValue     XYZ

Same Email is sent to all the 3 environment - but it is working in DEV and QA .

In production i am getting message "Swap: no matching payload found"...

If anyone has faced this issue- appreciate if you can share the root cause.

Thanks

Biplab

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

The parameter name content-disposition is changed to payload-name since 7.1 version.

Use as follows

swap.keyName payload-name

Also follow this link for  swap.keyValue too

http://scn.sap.com/message/9454783

Former Member
0 Kudos

Thanks Bhaskar.

But any idea why it is working in DEV and QA then?

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Are you using payloadswapbean module as first and followed by parameters. Just check any configuration difference in adapter between prod and QA.

Former Member
0 Kudos

Hi Baskar,

yes - payloadswapbean is used as first one and there is no difference.

Coming back to what you said about "The parameter name content-disposition is changed to payload-name since 7.1 version."

1     swap.keyValue     payload-name
1     swap.keyValue     ??

i am still not clear about what to use in "keyValue" ?

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Please use this link I already provided. That shows about attachment value. Please provide filename without extension as explained by the below thread. See if that helps.

http://scn.sap.com/message/9454783

Former Member
0 Kudos

Hi All,

Issue solved.

We have to use the below parameter.

swapbean | swap.keyName | payload-name

swapbean | swap.keyValue | MailAttachment-1

the catch here is u have to always use MailAttachment-1 irrespective of any name of your attachment. swapbean module will consider the first attachment

Answers (0)