cancel
Showing results for 
Search instead for 
Did you mean: 

Atachement issue

Former Member
0 Kudos

Hi,

MY scenario HTTP to IDOC

I am converting the incoming CSV(Comes as attachement) to XML at mapping level(client requirement to do at mapping).

I converted CSV to XML and sent to message mapping, but in message mapping is not able o understand the incoming message as it ocmes as attachement.

Do i need to do something in java mapping to convert the incoming file from attachment to regural file/ or SAP PI has some settings to convert incoming attachement to regular..

Please respond.

Thanks

Prabhakar

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi Prabhakar,

you can use [PayloadSwapBean|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2849] [original link is broken] [original link is broken] [original link is broken]; for that, but only using adapter engine (e. g. soap).

Regards,

Udo

stefan_grube
Active Contributor
0 Kudos

> MY scenario HTTP to IDOC

> ...but in message mapping is not able o understand the incoming message as it ocmes as attachement.

How do you receive the message? HTTP adapter does not support attachments.

Former Member
0 Kudos

Hey stefan,

Its Soap sender. with binary main attachement...i apologise..

it has CSV.,.

Edited by: VenkataPrabhakar Teegavarapu on Jun 10, 2010 1:14 PM

stefan_grube
Active Contributor
0 Kudos

In PI 7.1 you can access the attachemnt with Java mapping.

In PI 7.0 this is not possible.

former_member223322
Active Participant
0 Kudos

Stephan,

Can we do it using the Payload Swap bean?

~Vaas

stefan_grube
Active Contributor
0 Kudos

> Can we do it using the Payload Swap bean?

It is not possible to use modules modules in sender SOAP adapter.