cancel
Showing results for 
Search instead for 
Did you mean: 

Condition in ID

Former Member
0 Kudos

Hello All,

Here I have a requirement like I need to generate 4 output files based on some field value which comes from source.

And the mapping is object is same for all the 4 files. where can I mention the conditions ?

Regards,

Moorthy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Moorthy

you want to send that 4 file to different location or you want to send that to single location.

if you want to send 4 different files to four different location then you can provide condition in receiver determination and your xpath condition.

explain your scenario so that we can provide you best suitable solution.

Thanks,

Bhupesh

Former Member
0 Kudos

Hello Bupesh,

The target location and the target BS is same for all the 4 output files. I don't think condition in RD will helps here as the target BS is one.

Thanks,

Regards,

Moorthy

Former Member
0 Kudos

if you want to send all 4 files to single location why do you need condition then?

Thanks,

Bhupesh

Former Member
0 Kudos

Hello Bhupesh,

There is an identifier field in the source message.

As per that field, If the Identifier is US credit daily then PI has to create US1output.txt

If the Identifier is US debit daily then PI has to create US2output.txt

If the Identifier is UK credit daily then PI has to create UK1output.txt

If the Identifier is UK debit daily then PI has to create UK2output.txt

The mapping is same for all the files.

Regards,

Moorthy

Former Member
0 Kudos

Hi Moorthy,

You can achieve this by 1:N mapping.

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

Regards,

Aravind

Former Member
0 Kudos

Hi Moorthy,

so at a time you will create one of the file .. am I right? but just need to decide which file you want to create..? am I right?

if yes.. you can use Dynamic file name and can decide the file name in mapping..

provide the logic to create dynamic file and put your condition on filenames.. and pass that filename to UDF and it will create only one file. depending on the condition.

For dynamic file name:

http://wiki.sdn.sap.com/wiki/display/Snippets/UsingDynamicConfiguration

Thanks,

Bhupesh

balaji_pichaimuthu
Active Participant
0 Kudos

Hi,

Means same Receiver BS but different receiver interfaces right?? you can achieve using a conditional interface determinations

You can find many example in SDN. Good luck!!

Regards,

Balaji

Answers (1)

Answers (1)

Former Member
0 Kudos

explain your scenario and need of condition?

Thanks,

Bhupesh