Report Print Order
Post Author: gsrk
CA Forum: General
I am creating a Pack Slip using a crystal repot and i am running in to a problem in the Print Order. I've created a simple report to show a carton items for a shipment and the report is grouped by carton ID (datatype uniqueidentifier) to keep all the carton items together in a report. New reports are created for each carton. I've another column(sortkey) in the report or for each carton and i should print the report in that order only.
How can i print the report in the sortkey order? I can't simply add the sortkey to the record sort expression becuase of group by clause. Group by cluase is automatically becoming the top level sort.
Is there a way to sort the report(based on the sortkey column on the report) just before printing.
Post Author: V361
CA Forum: General
Group sort expert may help, give it a look, you will need to have a sum (which you can suppress) but if you did (Max item number) or something, you can then sort off the sum in Group sort expert.....
Similar Messages
-
Report print attributes - custom report layout
Hi there,
I've looked for this information in the web and in this forum without luck so far...
We have here BI Publisher and I use the "Enable Report Printing" option in a traditional report in Apex 4.0.2. That works great.
But instead of using the "Default Report Layout", I want to use a custom one based on a RTF file. However I have no idea what the data XML looks like in order to build a custom layout.
To be clear: if you go to Shared Components > Report Queries, you have a Download XML Data option so you can build your report layout based on the XML structure. For instance, you can use <?for-each:ROWSET1_ROW?>, <?COLUMN_NAME?> etc
Any ideas about what that XML structure is for a traditional report?
Thanks
LuisFound it: change temporarily the output format to XML and download the report. The XML structure is all there. Very helpful to know that all page items are included in the XML as well. It would be good to have this functionality detailed somewhere in the Apex documentation.
What I still need to know is how to access the substitution strings below in my RTF (NOT XSL-FO) template:
Select Default Report Layout to use the built-in generic report layout.
To use a custom generic report layout, select it from the list.
You can use the following substitution strings when building custom XSL-FO report layouts:
#PAGE_HEADER#
#PAGE_HEADERFONT_COLOR#
#PAGE_HEADER_FONT_FAMILY#
...Any ideas? -
Crystal Report Printing - A4 Issue
Hello Experts,
One of our customers use third party rental add-on with SAP B1. The add-on has cyrstal reports files. All these reports are set to letter size by default in report page setup. Client does not to print in A4 .
When the user clicks on Print Preview / Print Icon on rental order the , the report loads, but when sent to Printer for printing it becomes A4 (It should be letter).
The rental reports works fine on the SAP Server, meaning when sent to printer it goes as Letter size which is what we want but this does not happen at Client's machine's.
Also , i have an add-on running on my local machine and the reports prints in letter size with out any issue. I have been searching online regarding this issue but i haven't found any solution.
Can any one advise me on this issue. Is there any setting that i can do in crystal or printer ?Is the default page size for the client's printer set at Letter or A4?
-
Print preview screen always appears in IW38 while printing order.
Hi Experts,
I have a user who always gets a print preview screen while printing orders from orders list page in IW38 T-Code.
Now we have tried to set his printer as default in SU3 T-Code,
Also we have selected the Print Immediately Option,
In addition to this, we have unchecked the Print Dialog Box in the IW32 for thisuser.
Now while testing we ourselves are not getting any print preview screen,
However the user is getting the same.
Can anyone please explain why he is always getting the print preview prompt.
This might be a little out of PP/PM domain, but please help if possible.
Thanks
AdarshHi,
You can use given function module to print your
selection screen
RS_REFRESH_FROM_SELECTOPTIONS
>This will get Current contents of selection screen
RS_LIST_SELECTION_TABLE
>This will Generates list according to values in selection table(RSPARAMS)
Sample
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = p_repid
TABLES
selection_table = it_int_tab
EXCEPTIONS
not_found = 1
no_report = 2
OTHERS = 3.
IF sy-subrc EQ 0.
WRITE:1 'Selection Criteria'(i19),
/1 sy-uline(18),
/1 'Variant Name'(i21),
23 sy-slset.
*-- This function module lists the Selection Screen contents
CALL FUNCTION 'RS_LIST_SELECTION_TABLE'
EXPORTING
report = p_repid
seltext = 'X'
newpage = space
TABLES
sel_tab = it_int_tab
EXCEPTIONS
sel_tab_empty = 1
OTHERS = 2.
Mark all helpful answers -
Report printing status in CVD1
I want to determine that a WWI report has been printed successfully.
The reports show in tcode CVD1. The report metadata is stored in table CVDDH.
How do I determine form table CVDDH that report printed sucessfully or unsuccessfully
ThanksHi Raynald,
Once you check in CVD1 and found the report is created,then it means a released version of the specification is available.
In order to check the status in WWI ,go to cg5z Transaction and check if the process is in Green colour.If the report is successfully created and the back ground programms run properly ,then u will be able to see the status as green in CG5Z.If there is any error u found ,then delete the processing in cg5z and run the programs again.
Regards
George -
I have a report in which the orders printed already should not print again.By giving date as parameter it should check the orders in the table.I am using reports 6i to develop in oracle apps 11.5.10.once the batch orders are printed it should mark as printed.Please any one who has got the same requirements before.How to proceed with this report.Suppose if I have the package, how can I call that in the report.
TVSIn the After Report trigger you may have PL/SQL code that updates some custom table with the numbers of orders already printed. In the report SQL you may check the table to omit the printed orders.
-
WWI server problem with report shipping order
Hi everybody,
we have a problem with the WWI server and report shipping orders for Inbound documents (PDF):
after we created an entry in CVD1 and using buttons "Accept" and "Ship immediately" we run the report RCVDEVEN. First time we did it the WWI server started working and ended with error but assigned the correct PDF. After that, the WWI server didt start anyway.
First error message:
The description for Event ID ( 91 ) in Source ( PRD ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: PRD.
Second error message after second attempt:
The description for Event ID ( 95 ) in Source ( PRD ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: 09/14/09 17:59:49 Start Function 'WWI_SERVER_INFO'
Initializing parameters
Initializing Tables
Receiving data from client
Sending data to client
Elapsed time : 0.1 sec.
OSS note 1058521 has already been found - but nothing described here is relevant for us: the RFC connection is working, the WWI monitor shows the server up and running.
Any ideas?
Thank you very much in advance and best regards,
ChristophHi folks,
fixed the problem myself. There have been some documents with error in the printer queue of the WWI server.
Best regards,
Christoph -
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/ -
Dunning Report Print Layout Issue
Hi
I have a problem with the Dunning Report Print layout (Dunning All (system)). In the wizard I select all the Invoices (Which are over due and current) for the BP and sent to printer.
In the print out all the due dates are mixed with the acctual Due dates.
Acctuall Invoices
Doc No. DOC Due Level
======================================
10000 05.11.07 2
10001 25.02.08 1
10002 03.03.08 1
10003 03.04.08 0
Print out
Doc No. DOC Due Level
======================================
10000 05.11.07 2
10001 03.03.08 1
10002 03.04.08 0
10003 25.02.08 1
How can I fix this. This is coming from the System template and we havent change anything.
Could you please help me.
Thanks
SanjayaHi
I solved the problem. But the issue was when i ran the dunning wizard the layouts messed up. For example if I had a dunning letter with 3 lines (overdue documents). The last line would copy itself 4-6 times (it would show the last document 4-6times so the total lines in the dunning letter would be 7-9 lines). But I solve the issue. Somehow the attention person (which I got from the contact persons (ocrp) and not from the document contact person (oinv) ) did the issue. When i switch it to the oinv the issue was gone.
kind regards
Søren
Edited by: Bundgaard Søren Hollænder on Jan 26, 2009 9:56 AM -
Questions on default print quality and print order
I recently upgraded to CS 5.5, a clean install on a new Mac running 10.7. I've found two issues regarding printing from both Acrobat and InDesign:
In both programs, if I go directly to print (command-P, then hit OK without changing settings), documents will print at my printer's default setting, which is for a high-quality photo on glossy paper. (I haven't figured out yet how to change that default.) I want it to print to my faster standard quality setting, which is generally also the "last-used" setting. I can of course go into printer settings to fix -- each time I do that, my standard setting is already set in that window -- but I have to make that move every time I print.
Previous versions of both programs (CS3) automatically went into the last-used or standard setting. How can I get that back?
Also, print order hasn't been working as it did in CS3. Documents print first-page-first in CS 5.5, unless I check "Reverse order"; in CS3, docs printed last-page-first automatically, without checking any additional box, making documents easier to collate. Also, on many documents, "Odd pages only" prints the even ones, and vice-versa.
How can I get the automatic reverse order and correct odd/even back in Indesign 5.5 and Acrobat X Pro?Hi Davis,
Well, if you are able to log on the BPS application (thus, a Web Interface if I'm not mistaken) then it means that some user is logged on the ABAP-side. It is either a "personal" user or a technical (common) user, that is used for anonymous access.
You will certainly be able to track down this user with the SM04 transaction.
You should be able to add a button to the BPS page. One idea would be to call an URL with an ICF service behind that will be able to process the parameters contained in this URL.
It will be this very ICF service that will call the BAPI.
Try these links
http://help.sap.com/saphelp_nw04s/helpdata/en/55/33a83e370cc414e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ea8db790-0201-0010-af98-de15b6c1ee1a
Hope this helps.
Best regards,
Guillaume -
How to suppress extra form feed for character report printing using ORARRP?
Dear All,
We are using Oracle Application Server 10g (10.1.2.0.2) on Windows 2003 Server and most of our client PC's are Windows XP Professional machines. We are migrating our existing oracle application from 2-tier architecture to 3-tier architecture (6i to 10g). We have installed ORARRP utility for remote direct printing and to a limited extent we are successfull in getting the things work out for our system users, However, we are facing a problem using the ORARRP utility for which we are not able to find a solution till date.
We have configured ORARRP utility on every user's PC and the printing of bitmap reports is working well. However, while printing CHARACTER reports using ORARRP utility, after the report gets printed, an EXTRA FORM FEED is issued by ORARRP to the printer and because of this the printer stationary skips one extra page and advances to the next page. Please note that this EXTRA FORM FEED happens only while printing a CHARACTER REPORT.
Has anyone come across such a problem using ORARRP ? How can we avoid this extra FORM FEED from CHARACTER REPORT printing using ORARRP ? Is there any other tool which supports remote direct printing just like ORARRP?
I shall be highly obliged if anyone could reply to my queries ASAP.
Regards,
KrishnaKumar SPlease help ! I tried the "send_form_feed" and "postscript_dos_print" parameters without success. The extra form feed is always there. Thanks.
-
Drill-Down Report Printing Problem for Selection Parameters
Dear Experts,
Have tried to configure Drill-Down Report for Vendor Balances,
Am having trouble when printing this drill-down report, Printing is coming OK but it comes with ALL selection parameters, for e.g, have entered 20 vendor codes for the balance display, system first prints all selection parameters and then it prints the output of vendor balances,
User does not want selection Parameters to be printed with the Report Output. Please find below screenshot for the problem.
Input Parameter Screen
Report Output Screen
Print Preview Screen (First Page - Selection Parameters)
Your help is much appreciated, if anyone can guide me, how to switch off selection parameters from Print Output of Drill-Down Report
Thanks
Regards
PHello Ms. Preeti,
Thanks for your reply, Have designed the report through FKI0 (FKI*)
Have already looked these setting, but these are not helping really, PFB screenshot for settings am having in my system, if you have any idea which can avoid User Input Parameters from printing then it will be really great help
Thanks for your help
Kind Regards
P -
Hi All,
I am working on Apex with Oracle XE universal...i just tried to acheive print pdf functionality throgh integration of Apex with Apache cocoon...
Everything is working fine...my Apache server is working,cocoon is working but when i m clicking on print button ....it showed me the following errors:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1186
ORA-12570: TNS:packet reader failure
I don,t know what problem is there in my application...or I need to do some settings....
if anyone knows please help me....
I did the following settings in my report page:
In APEX, I logged in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
- Print Serverr: Standard Support
- Print Server Protocol: HTTP
- Print Server Host Address: XYZ
- Print Server Port: 8181
- Print Server Script: /cocoon/fop_post
In my APEX application, in the Regions section, I click on the Print link next to my report. I have the following settings:
- Enable Report Printing: Yes
- Link Label: Print
- Response Header: Print Server
- Output Format: PDF
- Report Layout: Default Report Layout
- Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
Edited by: user9139675 on Mar 23, 2010 1:54 AMwhat was your solution?
-
Report printing on continous stationery.
Hi!,
I am having a problem with report printing, say if a report is of tabular type and say extands upto 5 pages , I have left some spacing in header section for Company name & logo. It is all okay while running the report on the screen, but while printing the first page comes proper, then on the second page the distance to be left at top reduces and correspondingly goes on reducing on the forthcoming pages and son on., untill it moves to the preceeding page.
My mailid is [email protected]
Pankajhi,
you have to set the margin to the paper size u want to print. and u have to set the section width and heigth to the paper size. then it will work properly.
i have used this.
if ur problem is not solved yet.
mail me for any help. my mail id is [email protected]
bye
natesh -
Report Printing: APEX 4.01 - APEX Listener - WebLogic 10.3.3
We have some report printing issues...
Our configuration is APEX 4.01 using the APEX Listener with WebLogic 10.3.3.
The first issue is that under "Print Attributes" the following is listed in red under "Printing":
"Report printing is currently not available, there is no print server configured."
The second one is that we need to print pdf format and I have not found a solution for doing this with the APEX Listener and WebLogic. I saw that the FOP solution for the APEX Listener didn't make it into the current release... Is there any way to do pdf type reports with the current APEX listener technology?
The third issue is that in the demo app when running a report there is a "Error loading file:" type error with "FLOW_FLASH_CHART" and apex_util.flash as part of the url.
Any help would be appreciated...
Thanks!
- ScottI deployed in WebLogic the fop.war that came with APEX 4.0.1 and it got rid of the error message, but when I tried to download a report as pdf, I got an error saying it was corrupted or invalid. I downloaded the file it produced and opened it in a text editor. It was a small html type file with the following URL:
ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
When I go to the URL that I think it should be going to based on what I put into Instance settings> Report Printing, I get:
Compilation of JSP File '/apex_fop.jsp' failed:
apex_fop.jsp:5:18: The import oracle.xml cannot be resolved
<%@ page import='oracle.xml.parser.v2.XMLDocument'%>
^------------------------------^
apex_fop.jsp:6:18: The import oracle.xml cannot be resolved
<%@ page import='oracle.xml.parser.v2.XSLProcessor'%>
^-------------------------------^
apex_fop.jsp:7:18: The import oracle.xml cannot be resolved
<%@ page import='oracle.xml.parser.v2.XSLStylesheet'%>
^--------------------------------^
apex_fop.jsp:8:18: The import oracle.xml cannot be resolved
<%@ page import='oracle.xml.parser.v2.DOMParser'%>
^----------------------------^
apex_fop.jsp:12:1: XMLDocument cannot be resolved to a type
XMLDocument v_doc;
^--------^
apex_fop.jsp:13:1: XSLStylesheet cannot be resolved to a type
XSLStylesheet v_xsl = null;
^----------^
apex_fop.jsp:15:1: DOMParser cannot be resolved to a type
DOMParser parser = new DOMParser();
^------^
apex_fop.jsp:15:28: DOMParser cannot be resolved to a type
DOMParser parser = new DOMParser();
^------^
apex_fop.jsp:16:1: XSLProcessor cannot be resolved to a type
XSLProcessor processor = new XSLProcessor();
^---------^
apex_fop.jsp:16:30: XSLProcessor cannot be resolved to a type
XSLProcessor processor = new XSLProcessor();
^---------^
apex_fop.jsp:21:13: XSLStylesheet cannot be resolved to a type
v_xsl = new XSLStylesheet(new java.io.StringReader(request.getParamet
Maybe you are looking for
-
Need help with importing data in partition table
Hi, DB:8.1.7 OS: win 2003 server I have a table which is 4.5GB in size. I created a new partition table,with local indexes. I exported the original table with all indexes,triggers and procedures. After creating the empty partitioned table,i imported
-
Can anyone explain how to do this: These details were given in order to be able to activate the product key. Serial: Company: (Anything you want) Name: (Anything you want) Product Key: 59096-17897-11336-52426-35553 ~~~~ Before open Nikon Capture Open
-
Add Standby Database not finding listener
in Enterprise Manager Cloud Control 12c 12.1.0.2 go to the primary database go to Availability and choose Add Standby Database create a new physical standby database online backup - use rman enter instance name and choose host (agent is on standby ho
-
Errors when compiling a servlet
I wrote a servlet named ShowRequestHeaders.java. Before I installed JDeveloper 3.2, I had already installed both standard 1.3 and enterprise 1.2.1 JDK. The source code looks like this: package coreservlets; import statement.... public class void Clas
-
I am running into situations where the following error message appears when I try to print out of Photoshop CS4: Before you can perform printer-related tasks such as page setup or printing a document, you need to install a printer. This seems to be d