on 07-07-2008 5:50 AM
Hi frens,
I need a clarification from you allu2026.
Normally in file to file scenario, the input file will be picked from a directory location and after processing output file and that will be placed in the output directory location specified in the receiver communication channel.
In the sender communication channel for the scenario mentioned above, if the processing mode is given as delete, the input file will be u201Cdeleteu201D as soon as the file was successfully read by the adapter, but this will not ensure that the file processing is complete and the output file is being created.
But can we create a scenario which will ensures that the input file is deleted from the input folder only if the complete process is successful and the output is generatedu2026.
Thanks in advance,
Vardhani...
Hi Vardhani,
U want the file to be deleted only if the output file is created?
well...as u know only when the file has been read would the process continue and the output file creation start,but if u want to keep the file why dont u give the Archive mode as that would place the input files once they are read at a particular path and then in case ur output file has not been created..u will always have a back up option
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Experts,
I need your help on the below issue i am facing
In File - RFC scenario, I am using the following beans to write the rfc response into file on file sender adapter
Number - Module Name u2013 Module Type u2013 Module Key
1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- localejbs/CallSapAdapter - Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean - Local Enterprise Bean - 3
I need to delete the incomming file after processing.
Problem 1:
When i use QOS as BestEffort , The input file is not getting deleted and nor archived after processing and file sender communication channel shows null pointer exception.
Problem 2:
When i use QOS: exactly once, The file is getting deleted and getting archived, But some time i getting error in moni, Message already exists like GUID ALREADY EXISTS
Appreciate your immediate help.
Thanks and Regards.
Sravya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1) Archive Mode
2) Check the option : Delete the file after processing is done.
Regards
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Best would be using command line option, while conf Sender File Adapter u wud have OS Coomand line after message procesing.
Check the box and write a command line statement based upon the requirment , either to move the file or delete.
If u use arachive mode u can only move the file to diff folder and hence giving u a backup for re-processing again.
.Better wud be OS Command line
rgd
srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use the command rm /sourcefile path/sourcefile.name to delete the file/folder.
Thanks
SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Best option would be using command line option
U can see in u r Sender Adapter there would be command line option after message processing
So run the File Movement command when processed sucessfully.
Regards
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For this scenario, you can Archive your file for further reference.
Check more on Adapter Configuration Guide:
http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm
Thanks,
Boopathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. Use the option test in the sender side so that the file would remain in the same folder.
2. test and execute the command for the file to be deleted in the unix command prompt and then specify it in the receiver channel parameter OS Command after message processing.
Thanks
SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vardhani,
You can go with two option...
1. Archieve the input file.
2. Use the option OS command after file processign in the receier channel to delete the file.
Thanks
SaNv..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.