Number of copies in Report

Hi All,
I am using reports 6i. I designed a mater detail report.
It is working fine. Im having 3 master records per page with details.
Now in output im getting master record 1 and 2 and 3 with details.
But i need every master record with details shoud come thrice in a page.(3 copies)
i.e first page should come master record 1 and 1 and 1 and
second page with master record 2 and 2 and 2 and so on.
How to achieve this. Good help will be appreciated.
Regards
Sankar MN

Hi,
One of the easiest way will be to handle your query for the report.
Suppose you have such a query:
select column1 column1,
         column2 column2,
         column3 column3
from table_nameChange your query using UNION ALL to retrieve three rows for each record as
select column1 column1,
         column2 column2,
         column3 column3,
         1           dummy_field -- this is the new column it should be in the top group
from table_name
union all
select column1 column1,
         column2 column2,
         column3 column3,
         2           dummy_field -- this is the new column it should be in the top group
from table_name
union all
select column1 column1,
         column2 column2,
         column3 column3,
         3           dummy_field -- this is the new column it should be in the top group
from table_name
ORDER BY column1, dummy_field -- in place of column1 use fields like order_no etc which will be unique in your caseHope this helps.
Best Regards
Arif Khadas
Edited by: Arif Khadas on Aug 25, 2010 12:20 PM

Similar Messages

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • Setting the number of copies to be printed through crystal reports?

    I posted this in another section and got redirected to this one. 
    So I'm working with some software that utilizes Crystal Reports 10, and am looking for a method where through Crystal Reports I can take a user entered parameter value and set that as the number of copies for the printer to print. This isn't an option in Crystal Reports itself, so I understand I may need to dig a little deeper and write some customization to accomplish this.
    I've been building Crystal Reports for about two years now, all self taught, but have never had to go this far, where/how would I start on this? And I tried searching for a similar question in these forums to see if it's come up before but couldn't find anything. I'm kind of stuck at the moment because I can't alter the software that's using Crystal Reports to set number of copies, so I want to see if I can do anything in Crystal.

    Really, this is actually more of a report design question, though I understand why they's ask you to post here also.
    Anyhow, I think what you are asking is; can I design a report such that it will internally hold how many copies it should print(?).
    Answer to that is no.
    Only way to do multiple copies would be to modify the app you are working with. E.g.; go to the authors of the app and ask them for an enhancement to their product so that you can print multiple copies.
    - Ludek

  • Reg:Number of copies of the report

    Hi all
    I am working on invoice report in which each invoice will display 1 original + copies based on the number copies parameter passed.I need the number of copies of the invoice report including the original and copy of the report .
    If invoice displays in 2 pages, original copy page numbers are starting with 1.And first invoice copy page number should starting with 1 and second invoice copy page number should starting with 1.....and so on.
    Is there any work around to start the each copy page number with 1? . Pls let me know if there is there any solution for this.
    Thanks in advance
    Regards
    Sudha

    Hi,
    I am also working on reports.
    I am calling the report from Oracle forms (version 4.5). Is there a way I can return to the calling form the number of pages in the report?
    I need the number of pages to automate the charges for the report that was printed.
    Thank you

  • Crystal Reports Number of copies

    Hi there
    We are using Crystal reports to do reporting work in our add ons.
    Does anyony know if number of copies can be set  internally in a crystal report itself? We want to make the number of copies depending on a formula/function build withing a crystal report.
    We know it is possible to set number of copies from outside by setting a property at crystal report object but from inside ...?
    Thanks for your help
    Kurt

    Hi Kurt,
    As we haven´t found any "easy" way, we usually do a simple trick for this, but is dependent on the way we manage the Crystal Report.
    All our reports are based on views with parameters. So if we need 2 copies of a reports, what we do is to change the view. Instead of a SELECT statements we put the SELECT statement, UNION the same SELECT statement.
    This returns 2 results, and we manage them in the Crystal Reports.
    Hope helps,
    Ibai Peñ

  • ABAP Forms - Number of Copies

    Hello,
    I am having problems with a form that I created in SAP.  The form is for a barcode label.  The only contents of the form is a text include and a call to an external report that pulls in data.  When I call the form from a program that I wrote it always prints two copies.  However when the form is called via MIGO, it only prints one copy.  Does anyone know what could cause this?  I have looked at the number of copies field in the itcpo that I pass the OPEN_FORM function routine.  Any help would be appreciated

    Hi Ryan,
            Since you are getting two copies of same output, right. I suggest you to run the program in debug mode to see what actually happens during run time. Check simultaneously the way the program runs and the status of the list where the contents gets printed. You may come up with a solution. For debugging check this thread...
    Re: DOCUMENT_NOT_FOUND
    Hope this helps.
    Kindly, Reward points if it helps by clicking the star
    in the left hand side of the screen.
    Regards,
    Maheswaran.B

  • How to get the number of copy in reports

    Hi all,
    I am having a report of 1 page. I want 2 copies of it to printed so, I set the number of copies =2, I want some fields only to be printed on the 2nd copy. How to do it ?
    Thanks in advance

    Muhammad Arif wrote:
    Hi all,
    I am having a report of 1 page. I want 2 copies of it to printed so, I set the number of copies =2, I want some fields only to be printed on the 2nd copy. How to do it ?
    Thanks in advanceHi,
    Set the bellow system parameter initial value to 2 under Data Model
    COPIESHope this works..
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • Number of copies with setCollated does not work if PageRange is not set

    I have a report which results are printed on 2 pages. If i set PrintReportOptions like below:
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName( targetPrinter );
    printOptions.setNumberOfCopies( 2 );
    printOptions.setCollated( true );
    printCntrl.printReport( printOptions );
    I get ONLY one copy, other pages are not printed.  So instead of getting 2 x 2 pages with order 1,2 1,2 i am getting only 1,2 so it seems that number of copies is not interpreted.
    When i  add a setup of a page range - everything works as excepted.
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName( targetPrinter );
    printOptions.setNumberOfCopies( 2 );
    printOptions.setCollated( true );
    PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange( 1,  2 );
    printOptions.addPrinterPageRange( printPageRange );
    printCntrl.printReport( printOptions );
    But how can i find on how many pages report will be printed? - it's impossible. I thought that maybe i can set 100 as the upper limit of range but this doesn't work. The page range must be less or equal to the number of pages on which report will be printed.
    When I am not using method setCollated or use it with false  report is printed on desired number of pages and with expected amount of copies.  ( in order 1,1 2,2 ) . Here is the code:
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName( targetPrinter );
    printOptions.setNumberOfCopies( 2 );
    printOptions.setCollated( false );
    printCntrl.printReport( printOptions );
    I suspect that this is a bug of CR Java runtime. If so, when we may expect that it will be fixed?

    Hello.
    I tested with the latest version of the Crystal Report runtime libraries (version 12.2.211) and it works for me as expected.
    What I would suggest is that you test your application using the latest version 12.2.211 and see if this resolves the problem.  Since it works for me on this latest version, I would expect that it would work for you as well.  The latest version can be found at the following link under the section "Runtime Libraries":
    http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp
    A direct link to the zip file that contains the runtime components can be obtained from the following link:
    http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.211.zip
    If you are still experiencing problems after using the 12.2.211 runtime components, then maybe it is the case that your printer driver is causing an issue.  The printer that I printed on is "HP Universal Printing PCL 5 (v5.1)".
    I hope that updating the Crystal Reports runtime version to the latest resolves your problem.
    Best of luck.
    Regards.
    - Robert

  • Specifying number of copies and printer trays

    Hi,
    can anyone tell me if there is a way, within CR, to specify the number of copies of a report to print and to direct the copies to specific printer trays i.e. copy one prints to printer tray one, copy two prints to printer tray 2.
    Thanks,
    Noel

    You'd have to create an application using .NET or Java to do this.
    Ludek

  • Enter number of copies to print of a form as a variable

    I would like to be able to print a variable number of copies of a form by using a data field to hold the number of copies for each form such as an invoice.  In other words, I'd like to print 3 copies of some invoices, 4 copies of some invoices, 2 copies of others, etc.  For each invoice, the number of copies needed would be part of the invoice data.  Is that possible with Crystal Reports 2011?  Thanks!

    Hi,
    You must a trick to do this, which is described in the following discusson, It is also works for CR 2011, and this is a great idea:
    http://scn.sap.com/thread/1867614
    As a next step, filter your report (in this example the ].[Test_Copy] view) as many copies needed by your variable or database field.
    I hope it helps,
    János

  • Number of Copies to Print Based on Database Field

    Post Author: Ltreat
    CA Forum: Formula
    I am a newbie with Crystal Reports XI.  I am new to this forum. 
    I have a report that I am printing from Crystal Reports XI.  My database has a field called {database.drop-loc}.  If the field has a value of 50, I need to print 50 copies.  How do I perform this task in Crystal? 
    Thanks,
    Lynne

    Hi,
    See if country key can be added to the condition table and insert it in the access sequence.  Define exclusion check box by maintaining this access as the first in your access sequence.  When you maintain condition record for country as one of the parameters, make your number of copied in its communication data as you wish.  It should print based on country key, the number of copies...
    Regards

  • I cannot set the number of copies on my Laser Jet P2015dn printer. It always prints 1 copy.

    I have tried to set a different number of copies everywhere I can and it still prints only one.

    When we save a document, Pages save infos about the printer used to print it but for an unknown reason, it doesn't select it as the printer to use when we re-open it.
    Pages '08 already behaved this way. This was reported to Apple but they don't correct it.
    At this time, we have to live with it or leave the app.
    You may
    Go to "Provide Pages Feedback" in the "Pages" menu, describe what you wish.
    Then, cross your fingers, and wait at least for iWork'11 ;-)
    I can't guarantee that you will succeed but if you don't ask, for sure you will not.
    Yvan KOENIG (VALLAURIS, France) vendredi 27 mai 2011 16:26:36
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to Bring Characterstics into COPA form & Report

    HI,
    I have created some user defined characterstics in COPA. I need to bring them in to COPA form & Report. Now in COPA form Creation, i am able to get those Charcterstics to select. But after selecting those characterstics - system is asking to select the Heirarchy from the hierarchy node.
    Even those charcterstics are coming in KES1 transaction code. But when i double click them in KES1 it is giving error message this program doesnot support.
    Kindly advise me how to fix this and how can i get the hierarchy details in COPA form.
    Thanks
    Kishore

    Hi Guru / Experts,
    Could u suggest me how i can bring Product  wise / Product group wise / customer group wise Profitability report, Senirio is Manufacturing Plants are four plants different location are producing the same Finished goods and the same to stock moved to single werehouse location for sales activity so  here material /  Material group is unique , same material number is  extended to all manufacturing plants, how i can bring in copa using charastrics using customer and material table which table is sutable for our requirements, please advice me ,
    your valid points are accepted,
    Regards,
    Vinu

  • Is there a limit to the number of copies you can make at one time.

    I was in the process of making 20 copies of my video, I manage to get 8 copies when my computer said it had to turn off due to an error.  Now I am unable to make copies because that same message keeps appearing.

    dialbarclay
    What version of Premiere Elements are you using and on what computer operating system is it running?
    What are you making copies of..... burn to DVD, Blu-ray, or AVCHD and presumed in the Premiere Elements 11 Publish+Share/Disc/ with number of copies indicated in the burn dialog?
    In the past, making disc copies by that process was a hit or miss proposition. If I were you I would consider making exact copies using the software that came with your Blu-ray DVD burner. or DVD/CD burner.
    Is your computer optimized?
    ATR

  • How to change number format in web reports

    Hi, Experts,
        Simple question, if I want to change the number format on web report as following
    . . . . . . . . Actual
    . . . . . . . . *1000SGD 
      new order   .   341.5
      sales       .   567.45
    if I click "Actual" then select properties, set data format from "in 1000" & "0" to "in 1" & "0.00", nothing changed in web report after refresh.
    if i click one number (for example: 341.5) or "New order" to set data format from "in 1000" & "0" to "in 1" & "0.00", only this row's format is changed, others row still keep old format.
    how to change whole column's data format at once setting?
    thanks in advance.
    Message was edited by: jie miao
    Message was edited by: jie miao

    Hi,
    Logout and login may help you and also Delete the session in SM04  before re login. Some times system will not do complete refresh of data even though you select refresh button.
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for

  • Select-Option in FM

    Hi experts, i am working on creating a Function Module and in the Import parameter i need to make this FM to accept the parameters in SELECT-OPTIONS range. Please suggest while creating the FM how i need to make these parameters so that we can input

  • Last image placed in the document comes up as being modified constantly

    I have an indesign issue. Running CS4 (6.06) and CS5 (7.0.4) On snow leopard  10.6.8 On a Mac Pro Quad-Core Intel Xeon My problem is that when I have a document with images in for some reason it seems that the last image placed in the document comes

  • BAPI For Customer Creation.

    Hi All, My requirement is that I want to create customer through report. 1 -Fill a customer data in text file and upload through reports 2-  In which Function module or BAPI need to pass the data. Please tell me BAPI name for creating customer. Regar

  • How to display the cross instead of * in 4*5 in the swing JLabel

    hi, I have JLabel where i want to display the dimension i.e 4*5 but i want the usuall multiplication cross rather than the *.How to do this. Thanks Neel

  • How to register own Transport implementation inside java

    Hi, My application is running on a shared host where I do not have admin rights. I have written my own implementation of the SMTP Transport. In order to be able to use it, it appears that I have to register it in $JAVA_HOME/jre/lib/javamail.providers