Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
One of the requirement in my scenario (IDoc - File) was that after i create the output file, i should be able to run a Unix shell script that will process the file and convert it to an alternate format.  XI3.0 provides a very simple way of handling this using the "Operating System Command" in the File Adapter.  I post my output file in the following folder, /usr/sap/sapout/test/  The shell script is available in the following path, /usr/sap/bin/convert.sh  The figure below explains as to how we call the shell script using "Operating System Command". Some points to note,  1) When the operating system command is called, the file name currently being processed can be specified with the following placeholders: %f (file name) %F (absolute file name including path)  2) The OS Command for the file adapter only runs on the system in which the Adapter Framework is running.  3) The above feature works from SP9 onwards.  I hope the weblog is off some use to you folks, just as it was useful for me. 
7 Comments