Quantcast
Viewing all articles
Browse latest Browse all 8950

Trigger a background job, after receiving a file

Hi all,

 

Needs to trigger a background job, after receiving a file

 

Scenario is like this;

Server-A will send a file that contains data.(file1.txt) , to Server-B (to location /usr/sap/trans/mydata)

 

Once file1.txt, receives to Server-B , needs to execute a background job.

This file (file1.txt) can come either in 1hr/2hr/30min/10seconds or anytime. Each time Server-B receives this file, it needs to execute a background job with t-code ZS01 , with that file data as variant.

 

On ServerB:

I need to Write an ABAP program to pick the file from the location (/usr/sap/trans/mydata) and execute desired transaction (ZS01)

Please help me how to write this program.

(Im more in to BasisAdmin , rather than ABAP)

 

Rgds

Zerandib


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>