troubleshooting Question

SAP Working Folder Problem

Avatar of SpaceLaika
SpaceLaika asked on
Visual Basic.NETSAP
4 Comments1 Solution3996 ViewsLast Modified:
Hi there,

We are having a problem with regards to the SAP Working Folder. We have a vb script that does various tasks for us in SAP using SAP GUI scripting. When the script gets to a cetain step where it accesses 'SPO2' and tries to export the spool as text i.e. Spool Request > Export > Export as Text... then the following system error displays...

SAP System Error
...clicking 'Yes' this is the screen that comes up...

SAP System Error Detail
...from this it seems that SAP is seeing the SAP Working Folder as the SAP Install Directory in Program Files, as that is where it seems to want to save the exported spool txt file.

However, when running the request 'SO21' to see what the current SAP Working Folder is then this is what it is specified as...

SO21 Command
...why then is it trying to export the file to the SAP Install Directory in Program Files if the correct SAP Working Folder is specified to the folder in the above screenshot.

I would appreciate any help as I am really stumped.

Many thanks!

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros