on 10-07-2015 11:06 PM
Hi All,
I have a scenario where I am picking a PGP file and then decrypting it using PGP module in sender file adapter and then moving it to SAP NFS directory in receiver file adapter. I don't have any ESR design objects. I am using ASMA for file name. In receiver side when I write the file it writes as sourcefilename.pgp and I want to write it as sourcefilename.txt
Thx in advance
Ravijeet
Hi,
you can try below line in Run Operating System Command Before Message Processing in receiver channel
cmd.exe "Ren *.pgp *.txt"
Note: when ever you want to edit/add command line you need role this SAP_XI_CONFIG_FILE_OS_CMD_J2EE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravijeet,
Your options would be restricted to adding some type of mapping to adjust the ASMA attribute or running a command line script after processing to rename all files with *.pgp to *.txt. There is a dynamic configuration bean but to my knowledge you can only put static values in for file naming.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.