cancel
Showing results for 
Search instead for 
Did you mean: 

Suggestions on File Naming

Former Member
0 Kudos

Hi Experts,

Will you please propose solution for File naming convention. When XI is generation a file. We can follow two approaches:

1. Appending time stamp to file name

2. Use of number range created on ABAP stack of XI.

Which is better?

Regards,

Kavita

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

it depends

if you destinatinon system will be able to handle

the date and number range you can use any

if you need to know which file was created

when the fisr one is better

if you send files faster then yyyyMMdd-HHmmss-SSS

then use the number range too

you cna also append the message id (in standard)

Regards,

michal

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

If you are talking of XI generating the file, you can always use the time stamp so that you can easily find out the file name.

T is mostly depend on the requirement.

Thanks,

Prateel

Former Member
0 Kudos

Hi All,

Thanks for your valuable inputs.

Regards,

Kavita

Former Member
0 Kudos

I find timestamp to be much more useful. For example, if you discover that there was a problem with a file that was generated several days ago, it is much easier to just look for the file with the proper date/time, than to try and figure out which numbered file is the one you need.

moorthy
Active Contributor
0 Kudos

Hi Kavitha,

<i>Which is better?</i>

>>>It depends on the business requirement.

But i prefer timestamp, as it is provided by XI itself.

if you go with Number Range, then you need to do Jco connection with Application System or Integartion Server, where you maintained the number range.

But it is advisable in such cases where, you need to have some lookups so that you can generate new sequence number for each file generated by XI. So next time you will get new number , because of the numbe range object maintained.

Totally it depends on the requirements.

Regards,

Moorthy