Traditional web-based reporting with SAS BI tools

Export to Excel Stored Proc

Reply
Frequent Contributor
Posts: 115

Export to Excel Stored Proc

I am using a stored procedure for a report in WRS. I need to ro the Stored Proc way in order to gain some extra security control.
Problem is users want to export the table dumped by proc tabulate.

Is there a way of making the output of proc tabulate easier to export to Excel?
SAS Super FREQ
Posts: 8,718

Re: Export to Excel Stored Proc

Hi:
There is a difference between a SAS Stored Process and the kind of stored procedure that you would run in Oracle or DB2. However, if you are using a SAS Stored Process in Web Report studio, you might experiment with running the the same Stored Process in Excel (using the SAS Add-in for Microsoft Office).

Generally, if your SAS Stored Process is designed to execute from different client applications, then you could execute the SAS Stored Process in Word (using the SAS Add-in) and the results would come back to a Word doc. If you execute the SAS Stored Process in Excel (using the SAS Add-in) then the results would come back to a new Excel workbook or worksheet.

So if you use the SAS Add-in to Microsoft Office, you would not need to explicitly -EXPORT- the results to Excel because the stored process results would automatically come back in the correct form (using the SAS Add-in for Microsoft Office).

If your users ONLY have Web Report Studio and do NOT have the SAS Add-in for Microsoft Office, then I believe the "send to Excel" mechanism within WRS is all that is available to you from drop down menus.

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 206 views
  • 0 likes
  • 2 in conversation