on 05-14-2008 7:15 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.