cancel
Showing results for 
Search instead for 
Did you mean: 

How to send a file to one of many directories dynamically

Former Member
0 Kudos

Hi all Good Afternoon,

Im doing a JDBC to FILE scenario in which target system is a file.In this scenario a single file will be generated at target system and there are six target directories which are already created.

Now my requirement is "I have to send this file to one of the target directories dynamically."

Can anyone tell me how to achieve the above criteria..

Thanks in advance,

Reagrds,

Prajwal

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Use variable Substitution

this can be done by Dynamic Configurations

Former Member
0 Kudos

Hi Prajawal,

U need to maintain the condition in Receiver Determination.

Regards,

Kumar

Former Member
0 Kudos

please check dis link

http://www.saptechies.com/receiver-determination-enhancement/

Regards

Saurabh

Edited by: Saurabh Vikram on Jun 23, 2008 11:53 AM

Former Member
0 Kudos

HI,

You can send the file to any directory selecting at runtime with the use of Variable substitution feature of XI.

Please refer below step by step guide for it.

/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi

/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12

Thanks

Swarup

Former Member
0 Kudos
Former Member
0 Kudos

Why dont you use conditional receiver determination ?

Former Member
0 Kudos

Prajwal,

You need to use Adapter Specific Identifiers. See here for example fo changing File Name dynamically.

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

You will need to manipulate File directory similarly.

Regards,

Jaishankar

Former Member
0 Kudos

Hi Jayshankar,

Can you please explain bit more about this ? How can we use adapter specific identifier to achieve this ?

Kulwinder.