Skip to Content
0
Former Member
Feb 28, 2011 at 05:16 PM

Receiver Determination in multi mapping

87 Views

Dear Folks,

I am facing a difficulty in implementing conditional receiver determination in my scenario. This is an IDOC to FILE scenario and requirement is IDOC needs to be split in multiple messages and specific messages to be delivered to different warehouses using FTP.

I have implemented multimapping 1:N and able to split the IDOC as per the requirement. But when I execute conditional receiver determination, all the splitted files are sent to all the warehouses.

The input is

<IDOC>

<Segment>

<warehouse_no>1</warehouse_no>

</Segment>

<Segment>

<warehouse_no>2</warehouse_no>

</Segment>

<Segment>

<warehouse_no>3</warehouse_no>

</Segment>

</IDOC>

and output I want as

File No 1

<MT_WarehouseDetails>

<warehouse_no>1</warehouse_no>

</MT_WarehouseDetails>

sent to warehouse 1

File No 2

<MT_WarehouseDetails>

<warehouse_no>2</warehouse_no>

</MT_WarehouseDetails>

sent to warehouse 2

File No 3

<MT_WarehouseDetails>

<warehouse_no>3</warehouse_no>

</MT_WarehouseDetails>

sent to warehouse 3

currently I am getting all the files in all the folders.

Your help will be appreciated.

- Shri