on 06-16-2009 8:24 AM
Hi Experts,
I am working on one JMS to File scenario,my requirement is i am sending JMS message to File Directory(NFS),when i placed message in target directory(NFS) some Event wil occur and read the message it wil process to SAP and its delete the message from NFS.
When i receive new mesage in JMS scenario start executing , suppose if previous message still in NFS i have to wait to event occured,after deleting message only from NFS only i have to send new msg.
How to implement this scenario,
any valuable inputs welcome...
many thanks,
RAJ
in the interface determination use the option maintain order at runtime to have an EOIO in effect.
>
suppose if previous message still in NFS i have to wait to event occured,after deleting message only from NFS only i have to send new msg.
> RAJ
in case you need to have actions on the output file, then maybe a script can ensure that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this will be more a unix script (assuming the underlying OS is unix). the logic would be to ensure that the files being read by SAP will be kept in a specific folder and that whenever a file is read and deleted by sap code move the new file from the file adapters folder to this particular folder.
you can refer various tutorials on scripts to help you - http://www.injunea.demon.co.uk/pages/page205.htm
Hi,
You can check whether the file exists in the target folder using the "Run Operating System COmmands Before/After Processing " Feature of the File Adapter.
At the command line we have to mention shell script or batch file depending on the Operating system of your PI server. For more details on this topic visit this [Page|https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature]
Regards,
Kalpana.
a naughty idea -
use 3 folder A,B,C ... make the scenario File-JMS-File
trigger the scenario when the file is arrieved in folder B , and move the file for archieve in folder C.
your scenario will send data from JMS to folder A
After SAP process it will put the file in folder B which will again trigger the scenario
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
the same question was already asked yesterday - didn't you get any response ?
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.