Hello Mario,
To update the Spool Printing host, you can try the following:
1.) Navigate to SPAD -> Output Devices
2.) Click on the Change Icon
3.) Navigate to Menu Utilities ->For Output Devices -> Assign Server
4.) Enter '*' for the Device Name
5.) Enter '*' for Old Spool Server
6.) Enter the New Pool Server value
7.) Click on Display List
8.) Convert.
This will allow you to change the spool server for all printers by using wildcards on the Device Name and Old Spool Server options. Additionally, you can also enter specific values for the Old Spool Server to change a certain set of Printing Hosts (subset for testing to ensure this works correctly). I am not aware of any BAPIs that will accomplish this instead. Lastly, I would suggest you confirm with Basis admin as well since I believe this falls into the category of Basis task not ABAP Development.
Please let me know if this helps!
Regards,
Sam