cancel
Showing results for 
Search instead for 
Did you mean: 

CONTROL_RECIPE_DOWNLOAD generated file's name

Former Member
0 Kudos

Hi,

I'm using FM CONTROL_RECIPE_DOWNLOAD to send control recipe content to Mii.

The generated XML file is named as:

CONTROL_RECIPE_DOWNLOAD_YYYYMMDDHHMMSS.xml.

Is it there the possibility to change the file's naming convention in order to prevent problems when more than one file is created with the same timestamp?

Thanks in advance for answers.

Domenico.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member192295
Active Contributor
0 Kudos

Hi,

I think it never happen, if any file in folder with time stamp automatically second file will be increment as 1.2.3..etc. I hope now clear.

0 Kudos

Yes there is..

What you can do is you can write a function module (or check if one is available in the google) to check the directory where you are producing the file and create a sequencial file format.

The function module can read the current files in the directory and automatically add 1 to the sequence number part of the file...

For example you can have

CONTROL_RECIPE_DOWNLOAD_000000001.xml

for the first file and the second files is named as

CONTROL_RECIPE_DOWNLOAD_000000002.xml

I am sure this kind of code is available as well in the web.

Thank you,