on 02-10-2011 11:44 AM
All,
i have simple file2proxy scenario. new business requirement emerged: in case of multiple input files the file sender should read single file and delete/ignore all other files (in order to avoid receiving multiple files). additional solution is that all files will be ignored and adaptor err will be raised (following which Alert will created).
any ideas how can this be implemented?
regards,
Uri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i used http://wiki.sdn.sap.com/wiki/display/XI/DifferentwaystokeepyourInterfacefromprocessingduplicate+files
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uri Karagila,
I understand your scenario as in File to Proxy, if there are more than one input files,
1) then only one input file should be processed and other files needs to be deleted from sender folder. OR
2) then alert should be raised and all files need to be deleted.
I suggest you to try to achive option 1, as in option 2 support team (who receive alert mail) has to look into issue every time.
To achive first option you can use "Specifying Additional Files in the Sender File Adapter" [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/44/692ab8a4b633eae10000000a1553f6/frameset.htm]
Let's say you have multiple files
input.txt
input_delta1.txt
input_delta2.txt
Now you want to process 'input.txt' and ignore all other.
In file sender, input file name will be input.txt.
Enter a name for each additional file in the File List.
input_delta1,input_delta2,input_delta3,input_delta4
input_delta1.namePart --> ".txt"="_delta1.txt"
input_delta2.namePart --> ".txt"="_delta2.txt"
input_delta3.namePart --> ".txt"="_delta3.txt"
input_delta4.namePart --> ".txt"="_delta4.txt"
input_delta1.optional --> YES
input_delta2.optional --> YES
input_delta3.optional --> YES
input_delta4.optional --> YES
And I guess if you don't handle attachments, then they are igroned. I haven't tried this one, please share your testing results.
If input file names are dynamic, above solution will not work.
Regards,
Raghu_Vamsee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> All,
> i have simple file2proxy scenario. new business requirement emerged: in case of multiple input files the file sender should read single file and delete/ignore all other files (in order to avoid receiving multiple files). additional solution is that all files will be ignored and adaptor err will be raised (following which Alert will created).
>
> any ideas how can this be implemented?
>
> regards,
>
> Uri
This is an interesting question... I think that this can be solved by using unix command or shell, before running poll interval...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.