Welcome to the community
SapBapi is not yet migrated to windows compatibility so you cannot use it…if you want to use try to build a process with windows-legacy compatibility
Alternately you can try using the normal sap activities to work on with any sap related automations
Cheers