cancel
Showing results for 
Search instead for 
Did you mean: 

File Naming in File Adapter

Former Member
0 Kudos

I have to name my output text file with the following convention :

xyz.yyyymmddhhmmss.txt where xyz is the company name and rest is the timestamp.

How can i do this ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

U have to set the file construction mode as Add Time Stamp.

so the file will be craeted with the time stamp.

Thanks

Rinku

Former Member
0 Kudos

Hi,

ok..

How about the 'CustomerName' ?

Customer will send an EDI message, in which, in the message it contains their Sender GLN.

E.g.,

Globus - 20034567

Karstadt - 20026789

Customer -


> XI -


> File Directory (File Content Conversion)

How will I do this so that if Globus customer sends an EDI message to XI,

XI will process it and transform it into .csv file.

And the output .csv file is Globus_20080304.csv

Please advise.

Thank you very much!

Shabarish_Nair
Active Contributor
0 Kudos

you will need to use variable substitution. try to get the name in your mapping and use it via var. sub.

Former Member
0 Kudos

Hi,

If you are not particular about the format then you can use the standard date and time stamp or you can use variable substitution

Code for the same:

Regards

Vijaya

Former Member
0 Kudos

Hi All!

What will be the configurations in the Variable Substitution Parameters to have an output file of,

'CustomerName_YYYYMMDD' ?

Kindly advise.

Thank you!

Fred

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

In your Receiver File adapter, you have an option to add the time stamp to your file.

Receiver File adapter -->File Processing Mode --> Add Timestamp.

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Check the PROCESSING PARAMETERS in the link above.

Regards,

Bhavesh