Skip to Content
0
Former Member
Mar 17, 2009 at 10:04 AM

Accesing additional files in the sender adapter

162 Views

Hi,

I'd like to use this option in the sender file adapter: http://help.sap.com/saphelp_nwpi71/helpdata/en/44/692ab8a4b633eae10000000a1553f6/frameset.htm

--> "In the sender file adapter, you can specify additional files to be included in the XI message as attachments" ... "Additional files are transported unchanged without conversion options"

After testing I'm getting two files in the soap message, which is what I wanted. But how can I get the content of the second file (not the main one).

For example, in a custom module in the file adapter I can get the main payload as this:

public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)

throws ModuleException {

Message msg = (Message) inputModuleData.getPrincipalData();

...

I guess that to get the second file it could be something like:

inputModuleData.getSupplementalData("?");

but don't really know what to insert there as a parameter.

Basically I would need to find out a way to access the content of that second file: it could be in a custom module, it could be in a graphical or java mapping...

Thanks!

Edited by: Jorge Lopez on Mar 17, 2009 11:09 AM