cancel
Showing results for 
Search instead for 
Did you mean: 

Access attachments in Java mappping

Former Member
0 Kudos

Is it possible to access the attachments of an XI message within a Java Mapping? Can anyone lease prvide me some sample code or links to appropriate blogs?

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

No, this is not possible.

Former Member
0 Kudos

Thanks Stefan..

Regards,

Farooq.

Former Member
0 Kudos

Hi there,

It is possible. Check possibilities in here:

http://help.sap.com/saphelp_nwpi711/helpdata/en/76/fc9c3d9a864aef8139d70759a499fc/frameset.htm -> part Accessing Attachments in Mapping Programs

Regards

Ivan

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I hope that attachments are accesible only in Adapter Modules in the J2EE Engine.

I doubt if there is a way to access attachments inside mapping.

Regards,

Sudharshan N A

Former Member
0 Kudos

Hi Frank,

What sort attachment you want to access in the Java Mapping?? Is there any particular reason for it.?? If you can let us know in for details we can come up with

some solution also

Thanks.

Farooq.

Former Member
0 Kudos

A zip archive is read using the file adapter and the PayloadZipBean. As mentioned in another thread, any file in the archive will be an attachment in the XI-Message. I have to access all attachments and build one message out of them without writing an adapter module.

Former Member
0 Kudos

I am not sure weather we can achieve it by Java Mapping. Lets wait.for others reply too..

Farooq.