"submit 'program' to sap-spool and return" & c
From a function module we do the following:
submit 'zprogram'
using selection-set 'ZSS'
to sap-spool spool parameters v_priparams
without spool dynpro and return.
We have multiple transaction servers and because of load balancing this program sometimes runs on one of our slower transaction servers.
Is there a way to choose the specific server I want the program to run on using this submit statement?
When you schedule the program to run, use SM36 to create a job and there you can choose which server.
Guest,
I don't want the program to run as a job. I am using a 'submit' statement with 'return' from within my function module.
Error reading on Guest.
Looking at the Help on.. SUBMIT, it doesn't say that it is possible.
There may be a work around. From SM36 you can do a Techincal info on the Target server field. The program being used is SAPLBTCH. YOU can look from this to see if there is any other FM that can be used in addition to the SUBMIT.