cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Mapping

Former Member
0 Kudos

Hi all,

I need a help on how to go about the following scenerio.

XI first performs a multi-mapping that creates two output messages:

One is the target message in Flat File Format. The mapping also generates the filename for the output message which should follow the format 11_<Unique ID>.txt. This filename is written into the XML Payload of the message. The File Adapter later does a flat file conversion on the message. In this step, the filename is not written into the flat file. Instead, it is used by the file adapter as the target filename.

The file should be placed in a specified directory.

The mapping also creates a second message, which only contains the same filename in the payload. This message goes to a second File Adapter, which also does a flat file conversion. Its output only contains the filename that was created by the mapping, followed by a line break. The output of this File Adapter is written into the same directory as the first file. The name of the output file is 11.catlg. If the file already exists in the target directory, the output needs to be appended to this file.

Thankyou.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Shruthi,

It seems the payload contains the filename and this filename as to be used in the Communication Channel of file adapter.If my understanding is correct the problem can be solved by the Variable substitution. Refer the below link:[http://saptechnical.com/Tutorials/XI/Variable/substitution.htm]

Regards,

Kiran Bobbala

Former Member
0 Kudos

Hi Shruthi,

For muli-mapping you can refer these:

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16

But rest of your problem is not clear. If you can explain it in better words then it will be good.

Regards

Arpil

Reward points for useful answers