Required help ASAP...Repeating Reports Output

I have a table e.g. EMP which has folllowing columns:
Empno Ename Deptno Frequency
001 XYZ 10 5
002 FFF 20 4
003 POP 10 2
Now I need to develop a report so that based upon the value of
frequency the Record should be repeated in the Report i.e.
For employee 003 the same record should be printed Twice(As
frequency is 2).
One way is by Creating temporary table in Database and inserting
into it values through After-Parameter-Form trigger and then
fetching data from it.
But I need to do it without creating a Temporary table.
Please Help.

Hi!
Another workaround is to
create table num (f1 number primary key);
populate it with numbers 1,2,3,4,5,6,...
and then use the following query in
Data Model:
select a.* from EMP a, num b where b.f1<=a.frequency;
Regards,
Andrew Velichko
Brainbench MVP for Oracle Developer 2000
http://www.brainbench.com

Similar Messages

  • Help in XML Report output

    Hi Experts,
    I have created the XML report which will generate the output in EXCEL format. I have used the template(rtf) to generate the output. I am facing the critical issue the output file (excel) is giving output with headings( ex: empno,ename,job..)even if there is no record count in the query.
    But some times it gives the empty file(excel) without the heading information if the record count is zero.
    Could anyone suggest me to solve this error.
    Any solution or link will be great help for me. Waiting for your valueable reply
    Thanks in Advance,
    Ravi.

    Hi,
    Please see if this thread helps.
    XML publisher output report in excel format
    Re: XML publisher output report in excel format
    Regards,
    Hussein

  • Help in Pivot report output

    Hi All,
    Iam having one pivot report output i want sort by column in dashboard
    if it is table output then we have option to sort by column in dashboard
    Is this possible to sort by column in pivot output
    Please help me
    Thanks in Advance

    You have to design in answers!
    In RESULT you can configer:
    Enable column sorting in Dashboards = true/false
    Regards,
    Stefan Hess

  • F4 help in ALV report output  (FM REUSE_ALV_GRID_DISPLAY)

    Hello,
    I have developed ALV report using the FM REUSE_ALV_GRID_DISPLAY.
    My requirement is to have a customized search help on the output of ALV on one field.
    I tried to find it on SDN but all the methods are using OO ALV.
    How we can attaché customized search help in ALV developed using the FM REUSE_ALV_GRID_DISPLAY.
    Kindly Help
    Regards
    Sachin

    Hii..
    If you use OO then it is very easy to create a F4 help on the ALV..
    try this sample code
    <removed by moderator>
    Hope this will help u..
    Regards,
    Jhings
    Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
    Edited by: Thomas Zloch on Mar 28, 2011 12:51 PM

  • Required Help Regarding a report  in HR for Human Resource analysis - MIS

    Hi Friends,
    i have a requirement for MIS report for Human Resource Analysis Report which have to display Head Counts Vs Cost for the employees at Employee Subrgroup and Grade wise....
    Kindly suggest me how can go ahead with this...
    for the example.... i am posting the format how the report will look like
    Human Resource Analysis
    Head Counts vs. HR Cost                     FTM     
                                                           count cost
    Top Management
    GM
    CGM
    Vp
    Total
    like this for employee subgroupwise the costs and headcounts should display.
    Regards,
    SreeHari

    I attached smartform in NACE to LQCB output type but i should also make changes in report program RQCAAP01..can u please let me know what customizations i should do in tht report program to attach the smartform..

  • Need help in exporting report output

    Hi ,
    I have a sql report. I am trying to export the result out of report into excel or csv, I haven't able to do so. I have enabled the csv export and print attribute, but no luck so far.
    http://apex.oracle.com/pls/otn/f?p=42530:13:1118371086830313:::::
    workspace : edw_apex
    user : manish
    password : manish
    Application Name : Application 42530
    Any help please.
    Thanks,
    Manish

    Gordan
    Thanks for your input. My problem is that I am able to export the data from report but few highlighted cells are missing. i have noticed that the cells which are bold in the reports are missing, except that everything works fine.
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Urgent: Reports Output File location on 9iAS -Repost:

    Hi,
    Reference my earlier posts last one appended below:
    1- Jun 12, 2006 6:39 AM
    2- Jun 13, 2006 10:08 PM
    Please help me my manager is now getting upset. Or at least point me to the list of documents that I should study to sort this problem out.
    Thanks
    ---------------------------------------------------------------------------------------------------<Hi,
    I need your help in producing report output to OS file and dowloading it on to client's machine. This is 9iAS and Reports 6i patch 15 on Windows 2000 server.
    Output as PDF is stored in ...\Server\Cache, but output as Delimited or DelimitedData is un-traceable on server.
    I have created a folder with changed rights to "Everyone" and directing output to the folder. The report server displays a message that report output has been created succefully, but the folder remains empty.
    Please help!
    TIA!

    Hi,
    did you chaeck with customer support (metalink.oracle.com) in case you are hitting a bug ?
    Frank

  • Repeat Delivery Output

    Hi,
    I would like to repeat output of a delivery header using a BDC. To do this I use a BDC to copy the first line in the table control in screen Delivery:Output and press the button repeat output. But what if no line exists there in the table control to repeat the output.
    1. Is there a way I can determine the output mediums of a delivery (any table or function module??), in this way if there exists no output medium I can simply skip repeating the output.
    2. Is there a BAPI that can help me repeat the output of delivery header.

    Hello Grame
    In order to repeat (mass) delivery output I use transaction VL71.
    For this transaction you could generated two versions of BDC or, even better, eCATTs:
    - one version where processiing mode = '1' (= initial output)
    - one version where processing mode = '2' (= repeated output)
    Now you could simply combine the two eCATTs in the way that if the first one (mode = 1) fails (-> message "No messages for initial processing exist") then excecute the second eCATT (mode = 2).
    You may check table NAST in advance for existing records but then you need to know the output type.
    Regards
      Uwe

  • Stand alone oracle report - need help asap

    Hi,
    We are in ORACLE Apps 11i. We started using ORACLE BI Publisher to create templates for the Oracle Reports. How we are doing reports now is
    1) create data definition XML which has all the queries embedded.
    2) Create Data definition in XML Publisher Admin responsibility.
    3. Attach the Data definition XML to that.
    4. Create a concurrent program definition for the report with XML Type and run the report and save the data file with tags.
    5. Create the template ,rtf in Word and export data using ORACLE BI Publisher. 6. Create template definition in the XML Publisher Admin responsibility and attach this .rtf to that and run the report.
    Now I have a requirement stating that the REPORT SHOULD BE AN ORACLE STAND ALONE REPORT AND THE REPORT NEEDS TO BE RUN THROUGH CONCURRENT PROGRAM SCREEN. I am planning on doing the following steps.
    1. I have to create an .rdf using report builder.
    2. Create concurrent program executable and definition for the report.
    3. Create data definition in XML Publisher admin responsibility.
    4. Run the report in apps.
    5. Create the tempalte .rtf in word and export data with the XML Data file with tags,
    6. Run the report.
    Am I correct? Any help is appreciated asap.
    Thanks
    Akil

    You said,
    standalone report ?? is that mean without using bipublisher ??
    1st method.
    create concurrent program, output xml,
    create data template, create datadefintion , attach Datatemplate.
    run the cc pgm, get xml, design RTF , create template definition , attach RTF,
    run the cc pgm, you get the pdf output.
    2nd method.
    create rdf,
    create concurrent program, output xml,
    run the cc pgm, get xml, design RTF ,
    create datadefintion , create template definition , attach RTF,
    run the cc pgm, you get the pdf output.
    , both requires, cc pgm, rtf, data defintion , template definition.
    only differnece is , how do you get the data, i mean, xml...
    data template or RDF.

  • COOIS report pls help ASAP

    HI...
    I want to modify 'coois' report but i am not able to find the final output table in it.
    Production Order number appears at output screen, i've to display SO NO and SO item which is there in Production order in the output list.
    Pls Help ASAP...
    Pts rewarded for more helpful ans for sure...
    Best regards
    Snehal

    Hello.
    Have a look into include LCOISOUTPUTF04, form pbo_0100, field symbol <table>. Insert a break-point in line 121:
    <ls_detail_list>-list->set_initial_data(
    Please, have in mind that this is a standard report before changing it.
    Regards.
    Valter Oliveira.

  • Require Help in developing a Report for Gross Margin

    Dear Experts,
    I need some inputs regarding development of Gross Margin Report for Controlling.  If any body could help us in providing some inputs regarding Costing Information from CK13N or give us some contact  number so that we will contact them immediately to get our doubts clarified.  Please help ASAP.
    Regards,
    Anu

    Hi jaya ,
    whats ur Business requirement ?
    Regards
    Prabhu

  • URGENT HELP:Reports Output in RTF Format

    Hi,
    I have a problem with Oracle Reports 3.0
    I am generating a report output to a RTF file.
    The report is output in landscape orientation in Reports Runtime
    window.
    But when I open the RTF document, the output is in
    Portrait orientation and some of the information is getting out
    of the view. If I manually change the orientation in the RTF
    Page Setup, I am able to view the output properly.
    Can this be automated by using some property/setup in Oracle
    Reports 3.0?
    Also, the BMPs are not visible in the RTF file.
    Can anyone help me on these issues?
    Regards,
    Uma Shankar Varati
    null

    Hi Aravind,
    I don’t think there is any help in HTMLDB for this. There is this technical note: http://www.oracle.com/technology/pub/notes/technote_htmldb_fop.html I don’t really like this approach.
    You should consider using XML Publisher. It’s a “new” Oracle product that is easy to use and really works! Actually it’s an Oracle Application product that is now standalone. It’s much faster to use than making the xslt manually. You can make the templates in Word. We have a project where we don’t make any templates. The customers make their own on each site.
    There of cause is a licensing issue. Depending on you setup it can be expensive.
    Check:
    http://www.oracle.com/technology/products/applications/publishing/index.html
    BI Publisher
    You can download it from Oracle eDelivery:
    http://edelivery.oracle.com/EPD/Download/get_form?egroup_part_number=B23145-01
    Product Pack Oracle Application Server Products
    Platform: Any (e.g. Window 32 Bit)
    The part number is B23145-01: "Oracle® XML Publisher CD/Media Pack".
    This includes the client and server side code + documentation and sample templates and applications.
    Regards Pete

  • Requirement to display repeated texts in the wad report

    Dear experts,
    we are having a requirement to display repeated
    texts in the WAD report .As we had unchecked the checkbox
    hide repeated key values in BEX query properties and we
    are achieving this in BEX report.
    Is there any possibility to achieve the repeated key values
    in WAD report?
    Is there any global t-code or any functional module to do the
    wad settings to get the Repeated key values?
    Please do the needful.
    Thanks,
    Chiramana.

    Hi,
    Check in the following document.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58fd9183-0e01-0010-f183-fdc9019f77ab
    Thanks
    Reddy

  • Need help reg. Conversion of report output into spool

    Hi Experts,
    I need to convert the report output into spool while report is executed in foreground not in background. Please let me know your inputs.
    Thanks
    Gopal

    SUBMIT... TO SAP-SPOOL AND RETURN : Prints output of a report that you call with the SUBMIT keyword. As with NEW-PAGE PRINT ON, the list is printed during its generation, so that both PRINT-CONTROL and FORMAT keywords take effect. Also, SUBMIT... TO SAP-SPOOL AND RETURN allows the programmer to set the format and other printing parameters. As with NEW-PAGE PRINT ON, you can set printing and archiving parameters with the GET_PRINT_PARAMETERS function module.
    CONVERT_ABAPSPOOLJOB_2_PDF convert abap spool output to PDF

  • How To Restrict Number Of Rows For Multiple Group In Report Output

    Hi ,
    I have a requirement to restrict number of rows in report output.I have three different group , if i use same no of rows to restrict then output is as expected but if i want Deduction group should have 7 rows , earning should have 5 rows and Tax group have 3 rows in report output then XML tag is not working.
    Below is the XML tag i am using -
    First i have declare the variable to restrict the rows -
    <xsl:variable name="lpp" select="number(7)"/>
    <xsl:variable name="lpp1" select="number(5)"/>
    <xsl:variable name="lpp2" select="number(3)"/>
    For Each -
    <?for-each:PAYSLIP?>
    <xsl:variable xdofo:ctx="incontext" name="DedLines" select=".//AC_DEDUCTIONS"/>
    <xsl:variable xdofo:ctx="incontext" name="EarLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION!='Taxable Benefits']"/>
    <xsl:variable xdofo:ctx="incontext" name="EarTaxLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION='Taxable Benefits']>
    <?for-each:$DedLines?><?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    <?if:(position()-1) mod $lpp1=0?><xsl:variable name="start1" xdofo:ctx="incontext" select="position()"/
    <?if:(position()-1) mod $lpp2=0?><xsl:variable name="start2" xdofo:ctx="incontext" select="position()"/>
    Report output is tabular form (one page has two column - Earning and Deduction ) . Tax group comes below earning group.
    Deduction Group -
    <?for-each-group:$DedLines;./REPORTING_NAME?><?if:position()>=$start and position()<$start+$lpp?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Earning Group -
    <?for-each-group:$EarLines;./REPORTING_NAME?><?if:position()>=$start1 and position()<$start1+$lpp1?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Tax Group -
    <?for-each-group:$EarTaxLines;./REPORTING_NAME?><?if:position()>=$start2 and position()<$start2+$lpp2?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Please let me know in case additional detail is require.
    Thanks in Advance.
    Thanks,
    Harsh
    Edited by: Harsh.rkg on Jan 14, 2013 9:43 PM

    variable lpp2 is declare to restrict EarTaxLines -
    <xsl:variable name="lpp2" select="number(2)"/>
    This will help to restrict the no of rows on one page , if we have more then two tax benefits line then layout will roll over to continuation page.
    As part of report output my expectation is if i restrict Earning , Deduction and Tax benefits to same no of line for example - variable lpp ,lpp1 and lpp2 have same value "number(2)" , we can see the layout is continue on next page (restrict every group can have max two lines) .This is the reason we have 4 header grid , deduction and Tax Benefit lines are rolled over to continuation page .But if we restrict different value for each variable then continuation page layout is missing .
    When we tried for <xsl:variable name="lpp2" select="number(3)"/> value continuation page layout is not getting generate for both employee number .

Maybe you are looking for

  • Problem in changing business area in asset master record - urgent

    I am facing this problem while trying to change the cost center of an asset to another cost center belonging to a different business area.  We are on ECC 6.0.  I have activated time independent management of organizational units for my company code,

  • "back button" not working

    The back button on Firefox 4 isn't working on my PC (Windows 7). I've tried opening Tools and Add-ons, and disabling the Java and Skype add-ons and restarting Firefox, but I still have the problem

  • My NEF files used to open in camera raw 8.6 but now go straight to photoshop CS6? I don't have the option to edit them in camera raw? Help

    My nef files used to open in camera raw 8.6. Now when I drag and drop they go straight to photoshop cs6. I don't have the option to edit them in the camera raw editor! Help!

  • Aperture 2.1 (Trial), NEF, 14 bit

    disclaimer: I'm new to digital photo stuff... question: As of 8 May 2008, does Aperture 2.1 support NEF files that are 14 bit? My files are coming from the Nikon Coolscan V ED. Aperture 2.1 can open 14 bit TIFF file coming from the Coolscan, but the

  • Internal table length

    Hi Experts , Please look at the decleration below types:  BEGIN OF TY_FINAL ,        TEXT(300) ,        END OF TY_FINAL . what is more intresting is that it is not able to hold value in field TEXT with more length for example i am trying to store bel