Hi Akiko - if you want to go the route of saving an SAP report to your desktop, you'll very likely need to use GUI scripting. The window that opens asking for a target file location and file name won't work with other recording modes.
As an alternative if that isn't what you want to do and you don't want to go through query, there is at least one BAPI that will work for BOM explosions. I don't have the name handy, but it was in another thread on the Community site. Please let me know if you can't find it, and I'll look for it again.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle North America
------------------------------