cancel
Showing results for 
Search instead for 
Did you mean: 

File to File : Creating Dynamic File Name.

Former Member
0 Kudos

Hi Experts,

        As i am new to PI, i got an requirement of ceating dynamic file names. i.e when XML have filename in tags it should create number of files in XML tags. Help me out pls.

Thanks in advance.

Regards,

Arun

Accepted Solutions (0)

Answers (3)

Answers (3)

iaki_vila
Active Contributor
0 Kudos

Hi Arun,

A few cents, you could use a variable substitution as well. Check this: http://saptechnical.com/Tutorials/XI/Variable/substitution.htm

you put a variable with % in the file receiver name, and finally you define the path in your target XML when the adapter can find the value to put in the variable. Easy and fast.

Regards.

Former Member
0 Kudos

Hi Arun,

Here follow like below:

1. you have set ASMA in FTP sender adapter.

2. Select ASMA in File Receiver Adapter.

3. In Mapping write one UDF as one source field field other target field. Say SF1 to TF1.

Please find the below url, it may resolve your issue.

http://saptechnical.com/Tips/XI/ASMA/Index.htm

Regards,

Sagarika

Former Member
0 Kudos

Hi.

You should use ASMA and create a UDF.

On CC receiver activate advance properties and check on filename.

Also on your MM , you need to create a UDF , like above blog.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2009/03/26/dynamic-configuration-vs-variable...

Regards

Lucho