Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Save SAP-generated pdf to filesystem

$
0
0

I'm running this from a vba in excel

When you run the Cij3, the following will happen

1- The report is generated on the SAP - no excel workbook is opened yet-

2- You will right click on the generated report and select "Spreadsheet". or Ctr+Shift+F7

3- A window to select the spreadsheet type will pop-up

SAP_spreadsheet select.GIF

4- once you click on the green button, you will have the "save as" window as following

SAP_Save As.GIF

 

For every line in the VBA code you will get the control back to VBA except step (4) above. Once you click on the green button on the "select spreadsheet" window - presented by

 

Session.findById("wnd[1]/tbar[0]/btn[0]").press

 

The focus/control will stay in the SAP till you enter a file name. This is why any code in the VBA is not going to work :-)


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>