Front end printing from list report
Hi,
I want to print my list output report without creating spool.My requirement is to have print button on the output list and when user click on it it will open windows popup to print it instead of sap ones which create spool.
Regards,
Ankur
Moderator Message: Welcome to SCN. But looks like you have gathered the wrong impression about SCN. These forums are not here to do your work for you. But what you can do is, search for available information and post questions if you need some information which you did not find after searching. Either way, you cannot expect others to do your work for you.
Edited by: kishan P on Mar 2, 2011 11:07 AM
Hello,
You must configure the printer to use method (type G) for Windows Printing instead of LOCL (Type F).
Also you must set the following Reg Key for the users on the Citrix server for this to work.
HKEY_CURRENT_USER\Software\SAP\SAPlpd\SAPLPD
Type: String
Name: SwinDataType
Value: EMF
Please see the following link which helped us solve our issue.
http://community.citrix.com/display/adi/SAPGUI7.10onCitrixPresentationServer
Similar Messages
-
Hi All,
In frontend printing in windows environment. Can we use exact device type(for EX:HP LaserJet 4300 dtns) instead of swin device type. The reason being we are not able to correctly print a invoice(logo not getting printed properly)
Thanks
Vijay> In frontend printing in windows environment. Can we use exact device type(for EX:HP LaserJet 4300 dtns) instead of swin device type.
Use the device type Swin itself. Its because the driver is actually picked up from your local machine while printing.
> The reason being we are not able to correctly print a invoice(logo not getting printed properly)
Please check if the correct driver for the printer is used on your local machine. This issue with logo is common with front end printing when you do not use the exact driver for the printer model on local machine.
Cheers,
Jazz -
Front - end print with new access method G - having issues for some users
Hi Gurus,
Recently we have implemented the new access method G for front-end printing. it is working fine for 90% users in our company. but some users having problems in printing to WINDEFAULT using this new method.
Here is the SAP GUI trace file for the error that they are getting.
(Error)(25.09.09 15:42:36.444): CALL METHOD "CreateControl"[DispID=5] OF [#1/0x0AE31790/1/{83658045-6571-3232-7082-797884697868}]
#0: LONG "101"
#1: STRING "SAPFPRINT.sapfprintCtrl.1"
#2: LONG "0"
#3: LONG "10"
IDispatch::Invoke raised exceptionException occurred
(Error) :
(Error) : ****************************ERROR OCCURED IN MODULE: [{83658045-6571-3232-7082-797884697868}]******************************************************************************************************
(Error) : PROGRAM_ID |MODULE_NAME |METHOD_NAME |ERROR DESCRIPTION |VERSION |GUI VERSION |MODULE_PATH |
(Error) : *****************************************************************************************************************************************************************************************************
(Error) : {83658045-6571-3232-7082-797884697868} |Class name not found |CreateControl |Create control failed |Version info not found |Gui Version not found |Module doesnot exist |
(Error) : *****************************************************************************************************************************************************************************************************
(Error) :
(Error) : Exception fire by :SAP Frontend Server
(Error) : Exception info:Create control failed
(Error) : Exception code:65535
Did any one face this error? what could be the resolution?
We are already on SAP GUI 710 patch level 11
DISP+Work : 229
Appreciate your answers
Thanks,
SriniUsually this means, that some necessary controls are not properly registered in the registry and hence can't be found. You may solve that by removing the SAPGUI from the PC completely, booting the machine and reinstall the GUI.
Markus -
Implementing Note 616762 - Front End Printer in Web Dynpro For Java Applica
Hi All,
We need to implement Note 616762 in out web dynpro for java application for front end printing...
I am confused as to what is mapped where and what about the other inputs to the function modules mentioned in the note.
Please help me to achieve implementing this note.
Thansk and Regards,
Aditya DeshpandeI had a discussion with basis about printer configuration.
My problem starts from step 3... do not how the maping of values from webdynpro to function
also here the function mentioned are not remote enabled... do we need to make it remote enabled..????
Regards,
Aditya Deshpande
Edited by: Aditya Deshpande on Jan 9, 2009 3:36 PM -
How to print directly to Printer from Crystal Report Viewer ?
Hi All,
We are integrating our Java Web Application with Crystal report XI, currently using JRC and export to PDF for user to preview and print to local printer.
Now there is new requirement :
Some clients is using thin client terminal (no harddisk, only has OS +Browser in ROM), so I cannot install Acrobat Reader for them to preview&print the report.
So I am looking at Crystal Report Viewer, the question is : Can I print from Crystal Report Viewer directly to local printer without first converting it to PDF (because I can't have acrobat reader installed) ??
Thank you very much,
Krist
IndonesiaHi,
It can't be achieved through XI.
JRCXI R2 SDK offers the ability to print the report server side
using the PrintOutputController using printReport(PrintReportOptions printReportOptions) method.
Here is the code(for XIR2):
import="com.crystaldecisions.reports.sdk.*"
import="com.crystaldecisions.sdk.occa.report.lib.*"
import="com.crystaldecisions.sdk.occa.report.document.*"
try {
final String REPORT_NAME = "Inventory.rpt";
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(REPORT_NAME, 0);
//Create and set print options.
PrintReportOptions printOptions = new PrintReportOptions();
//Note: Printer with the 'printer name' below must already be configured.
printOptions.setPrinterName("
10.10.45.220
BOBJ 2C");
printOptions.setJobTitle("Sample Print Job from JRC.");
printOptions.setPrinterDuplex(PrinterDuplex.horizontal);
printOptions.setPaperSource(PaperSource.auto);
printOptions.setPaperSize(PaperSize.paperLetter);
printOptions.setNumberOfCopies(1);
printOptions.setCollated(false);
PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange(1,1);
printOptions.addPrinterPageRange(printPageRange);
//NOTE: If parameters or database login credentials are required, they need to be set before.
//calling the printReport() method of the PrintOutputController.
reportClientDoc.getPrintOutputController().printReport(printOptions);
reportClientDoc.close();
out.println("Successfully sent report to the printer.");
catch(ReportSDKException ex) {
out.println(ex);
Please revert in case you have any query.
Thanks,
Neeraj -
Front end printing with control technology problem with Mac platforms
Hello,
We are looking into replacing Host Spool Access method "F: Printing on front end computer" with the newer "front end printing with control technology" but are running into an issue. Our Mac platforms cannot print duplex nor print multiple pages per side using the new technology. We have followed SAP's recommendation to use the POST2 device type but it still won't allow full printing functionality. Has anyone run into this and if so how did you overcome it?
Thanks and Regards,
RichHi Rich,
I've had success getting duplex printing through "front end printing with control technology" with the Mac SAPgui as follows:
In the Mac SAPgui, go to the Preferences window and select Printing (i.e. Preferences -> Desktop -> Printing).
In the "Media sides" pull-down menu, select one of the "two-sided" choices (such as "two-sided-long-edge").
Click the "Save" button at the bottom of the window (near the right hand side.
Print to a Front end printer.
I haven't figured out how to get n-up printing.
/David Rosenberg -
Font is small while printing alv list report
Hi,
while printing ALV list report font is too small, can you tell me where i can increase the font size. I tried in GUI font ,In which i can increase the font for GUI, not for ALV priniting . Can any body help me to solve this problem?
Regards,
siva kumarHI Kushboo,
I think You are talking about header text in ALV , while printing ALV list i need to increase all the font size.. In fieldcatlog there is no option called Style...for increasing ALV font line item details. Can you tell me which style you are talking about?
Regards,
siva kumar -
Hi experts
i wolud execute without dialog a sapscript.
So when i call the FM 'OPEN_FORM', with parameter i pass:
itcpo-tddest = 'LOC4'.
itcpo-tdimmed = 'X'.
itcpo-rqposname = name of front-end printer.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = 'X'
form = 'ZBOX_LABEL'
language = 'I'
OPTIONS = itcpo
IMPORTING
RESULT = itcpp
EXCEPTIONS
canceled = 1.
Also with the name of front end printer, the sistem in dialog box, set the default windows printer.
Anybody can tell me how i can set the value rqposname?
Thanks in advance
MarcoHi,
If you want a particular windows printter, you need to define it in the definition of the output device via transaction SPAD in the field Host Printer. So in output device LOC4, set name of front-end printer in field 'Host Printer'.
Regards,
Aidan -
Is it possible to take a print from MSS Reporting
Hi all,
Is it possible to take a print from MSS Reporting ?
When I execute a report from the MSS reporting a pop-up is open with the report result.
I need print out this. To do it, I click on Menu > Print and choose the WINPRINT in Output Device.
The message "Spool request (number 0000009418) send to sap printer WINPRINT" appears and the adobe reader open with a error message below.
"the file doesn´t start with '%PDF-'"
I can see the spool in SAP backend (SP01) with status "Compl." but I the printer is not print anything.
How I can print out a report from MSS Reporting ?
Cheers,
Silvio GaleryPlease check the Note 351230, check out the recommendatins as listed
-
Front-end printing with control technology
Can anyone elaborate on the new "Front-end printing with control technology" that was released with FEP 15, OSS Note # 821519? Is this something I should be pushing Basis to implement?
Thanks,
JohnHi Rich,
I've had success getting duplex printing through "front end printing with control technology" with the Mac SAPgui as follows:
In the Mac SAPgui, go to the Preferences window and select Printing (i.e. Preferences -> Desktop -> Printing).
In the "Media sides" pull-down menu, select one of the "two-sided" choices (such as "two-sided-long-edge").
Click the "Save" button at the bottom of the window (near the right hand side.
Print to a Front end printer.
I haven't figured out how to get n-up printing.
/David Rosenberg -
Error With Export/Print from Crystal Report Viewer
Hello there,
I've searched through the web and SAP discussion boards with not much luck with this issue.
After working through this for some days now I've decided to look here for help.
Environment:
I have created a web Crystal Report viewer application(Developed with SBOP BI Platform 4.0 SP06 .NET SDK Runtime) that communicates with a managed Cyrstal Server 2011 SP4 (Product 14.0)
I am able to connect and authenticate with the server, retrieve a token for communication and display reports in the Crystal report Viewer successfully.
Problem:
When I attempt to export, I receive the prompt to select format and pages.
When I click export after selections most times I receive an error with the text
Unable to cast COM object of type 'System.__ComObject' to interface type 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{74EEBC42-6C5D-11D3-9172-00902741EE7C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Other times the page simply refreshes on export.
When I click to print, no print dialog is displayed the page always refreshes and no error is displayed.
No Print or Export document is ever created.
As many print/export issues seems to be related, I'm guessing this two issues are as well.
Notes:
I am utilizing the ReportClientDocument model
I am storing this in session to use as the crystal report viewer report source on postbacks
I am assigning a subset of export formats to the crystal report viewer
I am setting particular parameters as well on the report source
At this point I would appreciate every assistance I may receive on this issue
Thanks in advance,
Below is the pertinent code
Code:
<aspx>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="true" EnableDatabaseLogonPrompt="False"
BestFitPage="False" ReuseParameterValuesOnRefresh="True"
CssClass="reportFrame" Height="1000px" Width="1100px" EnableDrillDown="False"
ToolPanelView="None" PrintMode="Pdf"/>
<Codebehind>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CrystalDecisions.Enterprise;
using CrystalDecisions.ReportAppServer.ClientDoc;
using CrystalDecisions.ReportAppServer.CommonObjectModel;
using CrystalDecisions.ReportAppServer.Controllers;
using CrystalDecisions.ReportAppServer.DataDefModel;
using CrystalDecisions.ReportAppServer.ReportDefModel;
using CrystalDecisions.Shared;
namespace ClassicInternalReportPage
public partial class Reports : System.Web.UI.Page
protected override void OnInit(EventArgs e)
base.OnInit(e);
if (!String.IsNullOrEmpty(Convert.ToString(Session["LogonToken"])) && !IsPostBack)
SessionMgr sessionMgr = new SessionMgr();
EnterpriseSession enterpriseSession = sessionMgr.LogonWithToken(Session["LogonToken"].ToString());
EnterpriseService reportService = enterpriseSession.GetService("RASReportFactory");
InfoStore infoStore = new InfoStore(enterpriseSession.GetService("InfoStore"));
if (reportService != null)
string queryString = String.Format("Select SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS "
+ "Where SI_PROGID='CrystalEnterprise.Report' "
+ "And SI_ID = {0} "
+ "And SI_INSTANCE = 0", Request.QueryString["rId"]);
InfoObjects infoObjects = infoStore.Query(queryString);
ReportAppFactory reportFactory = (ReportAppFactory)reportService.Interface;
if (infoObjects != null && infoObjects.Count > 0)
ISCDReportClientDocument reportSource = reportFactory.OpenDocument(infoObjects[1].ID, 0);
Session["ReportClDocument"] = AssignReportParameters(reportSource) ? reportSource : null;
CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
CrystalReportViewer1.DataBind();
//Viewer options
// Don't enable prompting for Live and Custom
CrystalReportViewer1.EnableParameterPrompt = !(Request.QueryString["t"] == "1" || Request.QueryString["t"] == "4");
CrystalReportViewer1.HasToggleParameterPanelButton = CrystalReportViewer1.EnableParameterPrompt;
CrystalReportViewer1.AllowedExportFormats = (int)(ViewerExportFormats.PdfFormat | ViewerExportFormats.ExcelFormat | ViewerExportFormats.XLSXFormat | ViewerExportFormats.CsvFormat);
protected void Page_Load(object sender, EventArgs e)
if (IsPostBack && CrystalReportViewer1.ReportSource == null)
CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
CrystalReportViewer1.DataBind();
private bool AssignReportParameters(ISCDReportClientDocument reportSource)
bool success = true;
if (Request.QueryString["t"] == "1" || Request.QueryString["t"] == "2" || Request.QueryString["t"] == "4" )
reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "STORE", Session["storeParam"]);
if (Request.QueryString["t"] == "2")
reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "FromDate", Request.QueryString["fromdate"]);
reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "ToDate", Request.QueryString["todate"]);
else if (Request.QueryString["t"] == "3")
reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "SKU", Request.QueryString["sku"]);
else
//Unknown report type alert
success = false;
return success;Thanks Don for your response,
I'm new to the SCN spaces and my content has been moved a couple of times already.
In response to your questions
The runtime is installed on the web application server, if by that you mean the machine hosting the created .NET SDK application.
My question was whether it was also required on the Crystal Server 2011 (I.E. the main enterprise server with CMS and Report management and I guess RAS and all that). I figured this would remain untouched and queries would simply be made against it to retrieve/view reports e.t.c
If install of the SDK on Crystal Server 2011 is indeed required should I expect any interruption to any of the core services after a restart. I.E. I'm hoping that none of the SDK objects would interfere with the existing server objects (in SAP Business Objects)Reason I ask is I note that much of the SDK install directories are similar to the existing Crystal Enterprise Server 2011 (Product 14.0.0)
Is this temp folder to be manually created/configured or is it created by the application automatically to perform tasks. Or are you referring to the default C:\Windows\Temp directory and so saying that the application would try to use this for print and export tasks?Once I'm sure which I'd give the app pool user permission
Printing is to be client side but I figured by default (with the Crystal Report Viewer) it would simply pool and print from the user's printer. This is how it works with the previously used URL reporting approach (viewrpt.cwr). Therefore a user can print the document from wherever they are with their own printer.We don't intend on printing from the server machine, but are you suggesting that a printer must be installed on server (which one web or enterprise server) for any client side printing to work.
App pool is running in 32 bit mode
Initially didn't get anything useful from fiddler but I'd try and look closer on your suggestion.
It's also possible that some of my questions are a misunderstanding of APP vs RAS vs WEB, so please feel free to clarify. Currently I see the Web server as simply the created .NET SDK Application and RAS (Crystal Server 2011 e.t.c) as the existing fully established Application server which I simply pool for information.
Thank you for your patience and advice, -
Front end Backend Modeling Configuration Reporting and Extraction.
Hi..All
Can Any one plz explain the terms "Front end","Back end" related to Modeling,Configuration,Reporting and Extraction.
Thanks & Regards
Jonn
<u>[email protected]</u>Hi,
Frontend is the reporting aspect, i.e Workbooks, queries, Web reporting, Crystal reports, etc.
Its called the frontend as that's what the users see and they don't see what goes on in the 'backend' i.e Config and Extraction, data manipulations, etc.
Modeling is used to design the cube, ODS, etc. Also modeling concepts can be used to design frontend queries as well.
Cheers,
Kedar -
Hello,
When the users are printing reports from the ITS it prints only the first page.
Is there a way to print all the report?
We dont have a portal.
Please Advice,
DavidHave a look at note 351230 - it describes an option for sending the print output via the ITS to the browser as a PDF, which can then be printed with the standard Adobe Reader functions. It looks pretty much identical to the report as seen on the screen.
You basically set up a new printer (e.g. LPDF) in the backend system and the users select that to generate the PDF. You do need the Webgui toolbars enabled so users can do the printing via SAP rather than the web browser. If you want a simpler version of the toolbars, have a look at note 1010519.
Regards,
John -
Send direct print to printer from client, Reports 10G, Windows environment,
We are using windows 2003 based server. Oracle Form and Report Services . Database 10g . Reports 10G.
Trying to send direct print to printer from client side using Destination Parameter : Printer.
I am getting output in pdf at client side. but direct print to printer is failed.Make sure that the client printer is also known on the application server, since that is where the print job is generated.
-
Printing from Crystal Reports Viewer
I have an issue with a customer demanding to print Post Script from Crystal Report Viewer. When we print using the PS driver we get the form, but the data is blank. If we use PCL the report prints fine. Is there any recommendations for using PCL or PS. Customer says that Crystal reports are Post Script driven and the PS driver should work. Any help with this would be appreciated.
Thank you Mariellen for posting the solution.
Also note that we have only tested the Zebra Printer with the Zebra Print Drivers. I worked with their developers and they said all drivers use the same under laying code so they should all work.
The other requirement is you must define your paper size in the driver config tool for each size you are going to use, have a separate Printer defined on your PC.
Thank you
Don
Maybe you are looking for
-
Transferring apps from my macbook pro to new macbook air
my old macbook pro froze. i bought a new macbook air and need to transfer my applications. How do I do that?
-
BizTalk 2013 SFTP adapter not polling
Hi, I am trying to poll some files from an SFTP location. I have configured my SFTP Receive Location on the BizTalk Server 2013. However I do not see any polling happening. I have a BizTalk Server 2006 R2 environment from where I have configured the
-
Function Modules in Data Modeling
Hi, Can anyone give me example of use of functional modules at data modeling side? Cheers!!!!!!
-
UCCX 8.5: first Node cable disconnect results
After disconnecting the first Node network cable : - Forward busy/unregistered/failure triggers only after like 3-6 minutes. In the meantime we get silence. - CAD get unresponsive for about 2-6 minutes. - Agent can be place into ready after 2-6 minut
-
Error Profit center doesnot exist in BAPI_MATERIAL_SAVEDATA
Dear Experts, I am using BAPI_MATERIAL_SAVEDATA to create material using basic_view , sales_view purchase_view mrp_view storage_view views but i am getting an error message 701 Pro