Hi Zerandib,
On Server A:
Write an ABAP code to generate the flat file as well as execute OS command ftp to push the file to
Server B.
Guidelines in the link
Working with FTP Server - ABAP Development - SCN Wiki
ServerB:
Write an ABAP program to pick the file from the location and execute desired transaction .
You may schedule this ABAP program in background post testing.
Regards,
Deepak Kori