Restrict on report printing / converting to excel
Hi All,
Client is asking to *restrict on report printing / converting to excel and other forms (plain text, docs..... ) for certain roles.*
Is this possible to do for some particular role???
If not what all restriction we can put with the same context in general. so that i can reply to my clients accordingly.
Thanks in advance for your valuable suggestion.
Sanjiv
As soon as the data is displayed it can be theoretically copied and printed (CTRL-Y to copy). If you use excel all the data is already on the frontend PC and SAP has no influence on what's happening with it.
Markus
Similar Messages
-
Vk13 report to convert into excel sheet based
Hi
VK13 is a SD transaction,if we execute this we get the sales prices,
MY client is in requirement of above VK13 output result data in excel sheet,
there is no option available in settings for this screen to convert in to excel sheet.
Plz throw some light on this issue
Thanks
KrishnaSince here SD module is not implemented.
I am not able to generate the report.
You can try this Go to system > List > Save.
Award Points if useful -
Hi all,
I'm not sure what's causing this error.
With a regular report (not Interactive) region, I have enabled the report printing. All file types open/save correctly except for Excel.
When opening the file, Microsoft Excel actually pops up this error:
File cannot be opened because:
The server did not understand the request, or the request was invalid.
Error processing resource 'http://www.w3.org/TR/xhmtl1/DTD/xhtml1-strict.dtd'.
Line 3, Position 57.
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">If I save the file and try to open it, Excel pops up this error:
This XML file cannot be opened because of an error. Check to make sure the file is a valid XML file, and that the XML syntax is correct.
You can also try re-creating the file and closing other applications before you attempt to open it again.Excel version is Excel 2002 SP3 (v10.x).
Some additional info that might be helpful:
When Excel is opening, the status bar shows it is "Opening HTML.XLA", the shows "Opening {filename}.xls" but fails halfway through that.
Any ideas?
ChrisHi Chris,
This is the output I get when I click on the Print link
<?xml version="1.0" encoding="UTF-8"?>
<DOCUMENT>
<DATE>04-AUG-08</DATE>
<USER_NAME>nobody</USER_NAME>
<APP_ID>17977</APP_ID>
<APP_NAME>Test Export</APP_NAME>
<PAGE_ID>1</PAGE_ID>
<TITLE>Page 1</TITLE>
<P1_ROWS></P1_ROWS>
<P1_GO></P1_GO>
<P1_REPORT_SEARCH></P1_REPORT_SEARCH>
<REGION ID="4149756408582108901">
<ROWSET>
<ROW>
<COL1>value1</COL1>
<COL2>value2</COL2>
<COL3>value3</COL3>
</ROW>
<ROW>
<COL1>value12</COL1>
<COL2>value22</COL2>
<COL3>value32</COL3>
</ROW>
</ROWSET>
</REGION>
</DOCUMENT>Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://www.apex-evangelists.com/
-- http://www.apexblogs.info/ -
Report printing in excel with multiple sheets
Hi Experts,
I am working in Oracle Reports 10g. I need to print the report in Excel....
For this i have created .JSP file and now printing in Excel(Sheet1).
My requirement is i need to print the report in multiple sheets.
For example if i run the departments report then the generated excel file should be as below
(Sheet1 - HR, Sheet2 - FINANCE, Sheet3 - MARKETING, etc.,)
How can i do this?
Thanks in Advance.Hi All,
Is this possible Report printing in excel with multiple sheets??
Please give solution for my above post Report printing in excel with multiple sheets..
Thanks,
Su.gi -
Printing reports issue (Word/PDF/Excel...)
Hello Apex masters,
Here's the deal:
I have a page in which I have
1. report - "sql query" type: "select * from dual", Print Attributes: Enable Report Printing=Yes, Output format=PDF (default options)
2. button item: "Apply filter", Button Request=Filter
3. Branch: target type=page in this app, page=same page, when button pressed=APPLY_FILTER
Behavior:
1. If I login, open this page, use the "Print" url from the report, a PDF file is successfully generated.
2. If I login, open the page, click on the "Apply filter" button and then use the "Print" url from the report, an empty PDF file is generated. (same thing happens for Word,excel etc...)
I also have some other items on the page, but I guess that it shouldn't make a difference.
My workspace is on apex.oraclecorp.com.
Thanks a lot,
AndreiAndrei,
Given that you' re running this on an Oracle internal site, could you email me login information for your workspace or re-create this sample on a workspace I can access?
Thanks,
Marc -
Convert report from SAP to Excel
Hi All,
How to convert report from SAP to Excel.Here now taking default text(.txt) format.But we want defualt taking (.xls) format only.
Regards
Ushahi usha
u can even export the text in txt format and later right click and open with excel , u wont be able to directly import it into excel as it is not giving u any option to upload in excel directly
Regards,
Manish -
Matrix Report converting to Excel
Hi,
I have a matrix with group report, when i tried to convert in excel data comes in tabular format,
i need the data in excel similar to report format
Please help
Regards,
NHMYou can generate excel file by setting SYSTEM PARAMETER values as below
DESFORMAT - DELIMITED
DESTYPE -FILE
DESNAME -File Name.XLS
Although this is not a pure Excel file (Its only a tab delimited file) but you can open this with MSExcel or Open office Calc.
Regards
Ahamed Rafeeque Cherkala. -
Report printing failed with "Servlet error: An exception occurred. "
Hi,
I use Apex 3.1 in Oracle Express edition develop few applications. In one of the application, when I enable report printing in stardard reports and try to print to PDF/Excel, the servlet error occur.
I had configured FOP in my server and I can download PDF in "interative report", but for stardard report, the report printing failed.
I can successfully print the reports in my others applications. Anyone know what could be the reason which cause an application failed to print the report.
Thanks
VincentDoes your application name have special characters? I heard that the app name has to be just letters and numbers for this to work...actually testing right now.
-
Issue with Varchar2 field conversion for report output generated in EXCEL
Hello All,
I have an unique problem with one of my new reports for the User. The user wants the report output generated in excel data only(delimited data) format *(reports builder 10g)* .
Everything was fine until i encountered this problem, there was this field which has unique ID's(alphanumeric and numeric), when i tried to run the report and generate output in Excel the numeric ID's say for example *(41593497999679354429)* is converted in excel and displayed like *(2.5881E+19)* and after format cells in excel it displays *(41593497999679300000).*
The issue is only with 20 digits numeric ID's , if i append any special character to the end say '#' or '..' it shows the exact value along with the appended character. But the user insist they need only the value that is in the table. I am finding it hard to figure out, if any one of you have encountered the same issue or if any of you have any suggestions to overcome this excel conversion thing please do advice me.
Thanks in advance :)Thanks for you response, but i already tried what you suggested, instead of appending single quote in front of ID, i did at the end prior with '#', it preserves the value if i add any character to the id but the appended value shows up too :(.
Well, i just got the solution and it did work, thanks to [Brian Hill|https://forums.oracle.com/forums/thread.jspa?threadID=651632] for the post, i did what exactly he said and it worked. I was so very happy and wanted to share with everyone. -
How to open (run) report on client in excel ?
Hello experts,
i am using ERP having forms 10g and database 10g.
in current scenario , when i run report , i will run in PDF format.
when there is need to convert it in Excel then i have to use software Rep2Excel.exe software in d2k's HTML folder (form->tolls->web->html)folder on oracle server . and has to call with report with rp2rro package. report convert in excel and save in html folder
in excel. so i have to access server to get the excel file.
now i am plan that when i run oracle report in excel than it open in excel at clients system.
below is the code which i used at button use to convert in excel from rdf report
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id,'LOCN_CODE',TEXT_PARAMETER,:global.company_gl_locn);
Add_Parameter(pl_id,'comp',TEXT_PARAMETER,:global.company_name);
Add_Parameter(pl_id, 'TO_DaTe', TEXT_PARAMETER, :block_m.todate);
Add_Parameter(pl_id, 'FRom_DaTe', TEXT_PARAMETER, :block_m.FROMDATE);
Add_Parameter(pl_id, 'PROD_TYPE', TEXT_PARAMETER, :block_m.FROM_STORE);
--Add_Parameter(pl_id, 'store_code', TEXT_PARAMETER, :from_store);
message(123);pause;
rp2rro.setdesformat('html');
rp2rro.setdestype('file');
rp2rro.setdesname(:global.path_f||temp||'.html');
rp2rro.rp2rro_Run_Product ( REPORTS, :GLOBAL.PATH||temp||'.RDF', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
host(:global.path_f||'rep2excel -i:'||:global.path_f||temp||'.html -o:'||:global.path_f||temp||'.xls');
:global.path_del_f:=:global.path_f||temp||'.*';
value of
:GLOBAL.PATH :='E:\PROJECT\'; (server)
:GLOBAL.PATH_f :='f:\DevSuiteHome_1\tools\web\html\'; (server)
temp contains the name of rdf report file.thanks
yashHello,
_Pls follow these guide lines for ensuring proper output in Microsoft Excel:
1.First compare the fields properties and the frames properties between the reports created with wizard and the reports created manually.
2. Do not leave any space between two adjacent objects.
Explanation: Because any space, including a few pixels, between two adjacent objects will result in an empty cell or column in Excel output
3.Make sure that the widths of all objects are vertically consistent.
Explanation: If the objects are not exactly aligned vertically, that is, have inconsistent widths, it is likely to result in insertion of unwanted cells/columns in Excel.
4. Pls. Make sure that the vertical elasticity of the frames and repeating frames is not fixed unless you are sure you have allocated enough space to accommodate all the records.
Explanation: If you set the Vertical Elasticity property of a frame to Fixed, the output in Excel will show only as many records as could appear on the first page of the paper output. Since Excel does not have a page concept, it is not able to overflow the remaining rows to the next page.
5. For reliable formatting of spreadsheet output, enclose the whole layout area in a frame.
Explanation: This action prevents the possibility of parallel objects displaying in different vertical positions, one following the other.
Hope this helps.
Regards,
Alex -
Help in abap list report printing
Dear all,i did a customized list report using abap.the usual size for report print out is A4 which is line-count 65 and line-size 255. but for this report,my line-size is 296. i define at the begining of my program with "REPORT ZMM_STKVAL_VIEW LINE-COUNT 65 LINE-SIZE 296 MESSAGE-ID ZA."
i can run this program but the output is not complete.i can only see untill the line-size of 255..anything exceed 255 kenot be displayed..
Is there anyway to overcome this problem? My user doesnt required this report to be printed out but just to download it into EXCEL file. Thank you.Ok, if user doesn't need a list output, then simply gather the data and fire excel.
report zrich_0001 .
data: imara type table of mara with header line.
start-of-selection.
select * into table imara up to 100 rows
from mara.
call function 'WS_EXCEL'
exporting
filename = 'TEST.XLS'
tables
data = imara.
Regards,
Rich Heilman -
How to restrict users from printing documents and exporting to local file
Hi SAP gurus,
I have two questions.
1. How can I restrict users from printing a document? i.e. billdoc? I would like to know if I could block it though authorization. If yes, what auth obj to use?
2. How to restrict certain users from exporting to local file? the System> List>Save-->Local File. I have tried restricting it using auth object S_GUI but it seems it is only applicable to older versions of SAP. im on ecc6.
Thank you in advance.Hi,
Check this:
Create your own gui status and attach it to the list in the event START-OF-SELECTION.
In the menu painter extra -> adjust template.
Make it a list status and you will see all the standard list options appear including list->download
Deactivate the ones you don't want.
If you just want to prevent users from downloading the list you can achieve this with authorization object S_GUI, activity 61. Menu option will still be there though.
Please note that if you remove authorisation for S_GUI activity 61 then all downloads will not be possible.
If you just want to disable downloads only for a particular report, you can try this test program:
Code:
REPORT ztest.
DATA: PROGNAME LIKE SY-CPROG value 'Z_CHECK_AUTH',
FORMNAME LIKE SY-XFORM value 'F_CHECK_AUTH'.
START-OF-SELECTION.
CALL FUNCTION 'SET_DOWNLOAD_AUTHORITY'
EXPORTING
FORM = FORMNAME
PROG = PROGNAME
EXCEPTIONS
OTHERS = 1.
WRITE: / 'TEST'.
You also need this:
Code:
PROGRAM z_check_auth.
FORM f_check_auth USING pe_result TYPE i.
pe_result = 5.
ENDFORM.
Also have a look at the exit SGRPDL00.
Hope this helps you.
Rgds,
Raghu -
How to Use Web Printing with Microsoft Excel
Hello,
In the recent How to paper on Use Web Printing with Microsoft Excel, describes few ABAP classes and methods. Can those classes be modified to access much more Microsoft excel objects , such as Macro ? Does any body has tried in those lines ? Any suggestions is eagerly awaited.
regs
D BretHi BW people,
Since we want to modify our reports for printing (and the How-To about enhancement of web printing does not really answer to our requirements) it seems that the Excel alternative is just what we were looking for.
Unfortunately I have been working with these classes for 6 hours now to get a very simple Excel file, but without success. I did fix the bug like Thomas Kauffman told on the forum, changed the dataprovider and prefixes and I followed every single step of the How-To document(also the check of folder options to open/save the .xls file),... The only thing that happens: the URL has changed (bookmark) and the page is reloaded again.
So no Excel file, neither a dialogue box. I also walked -a very long time- through the code (in debugging mode) starting from ZCL_RSR_XLS_HELP_WINDOW_PRINT->PROCESS_CMD but I can't find anything!
Is there anybody with the same problem and -better- with a possible solution to it?
Thank you very much in advance! -
In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings. Has anyone found a fix for this?
It shouldn't print each page as a separate job and
each tab has a different name, so, even if it did, it
ought to give the printouts the name of the tabs.
It doesn't print each page as a separate job unless the orientation is different - that's the bug. And the name of the job is taken from the name of the window, not the name of the tabs. That's how every application works, which, I think, is why Excel allows the specific selection or the active sheets to be printed.
Still, that does sound like a plausible explanation.
However, even if presented with multiple prints with
the same name, the spooler should print each one!
The spooler does print each one - you can watch the spooler process the multiple jobs. I think, though, that they are being overwritten since all the jobs have the name of the window as the job title. And since this happens after the Save Dialog is presented, there's really nothing the application can do. To Excel, it's one job, the multiple orientations don't matter; it's just that Apple doesn't handle it correctly.
As a workaround, you can print the selections one at a time and give them unique names and then rejoin them in one PDF file. -
Report printing in Greek characters after changing Font
Hi All,
We had a bunch of reports created in 'Courier New' font whose output type is PDF. The users wanted the reports to print in 'Arial' font. When I changed the same from Courier New to Arial and ran the report , the report is printing in Greek characters instead of English. I initially thought that it prints in Greek may be because of insufficient space or something for the text fields but there seems to be sufficient spaces to print characters. I tried reducing the size and still the reports prints in Greek in lower size.
Can anyone let me know how to get rid of this?
Thanks,
Srini.See if the solution in the following thread applies to you:
Problem converting font to .afm using ttf2pt1
Maybe you are looking for
-
I tried to download the new update to OS10, but the software update feature stalled. So I made it force quite. Then, next time I turned on the machine, it would not get to the Mac OS - screen turned grey and told me to turn off the machine and restar
-
Charged Rs. 60 for setting up Ipad through I Tunes
I bought new Ipad 4 yesterday. Why i was charged Rs. 60 for setting up Ipad through I Tunes. Is it one time or recurring?? This is surprising.... How can one charge when i have not downloaded anything from I Tune
-
Required UDF to supress same lines
Hi experts, I designed my mapping and when i display queue of my target i get: code1 code1 code1 code1 code2 code2 code2 code3 code3 code3 code4 code4 as you can see I have several times the same value I was wondering if its possible to delete the sa
-
How do i fade a video over another?
on imovie 11 how do i fade a viedo over another video?
-
CS6 will not recognize my Epson Artisan 50 printer
MAC OSX 10.9.3 All of a sudden CS6 stopped recognizing my printer. I reinstalled CS6 - nothing In System Pref, the Epson is my default printer Note: I can print in all other programs, text, doc, Prewiew, iPhoto, etc. BUT NOT FROM PHOTOSHOP. HALP! I