Print every nth record to a report -- additional question

I have successfully created a report that prints every 10th record. That has yielded a report with Branch 1 containing 186 records, Branch 2 containing 30 records, Branch 3 containing 2 records, etc.. I would now like to restrict the printed information. I would like to print only print 10 of these records per branch. For example: for Branch 1 I would like to only print the first 10 of the 186 that I am now getting. I have tried a few things, which did not work.
Is there a way to do this?
Thanks in advance for any and all help.

Please re-post if this is still an issue

Similar Messages

  • Lines between every other record in show report

    I've noticed that when I display the results of an Application-Report in Portal with Internet Explorer there is always a faint gray line between the second and third record, the forth and fith record, etc... When viewed with Netscape 6.1 this same report looks as I designed it, with a plain white background behind all of the records. Is there a workaround for this?

    Here are a couple of formulas that should help you out.
    This will calc the time diff between sequential start and end times
    WhilePrintingRecords;
    Global DateTimeVar x := IF {TableName.Type} = "start" THEN {TableName.TimeStamp} ELSE x;
    Local DateTimeVar y := {TableName.TimeStamp};
    Local NumberVar z:= IF {TableName.Type} = "start" THEN 0 ELSE DateDiff("n", x, y);
    And this one will provide a manual running total
    WhilePrintingRecords;
    Global DateTimeVar x := IF {TableName.Type} = "start" THEN {TableName.TimeStamp} ELSE x;
    Local DateTimeVar y := {TableName.TimeStamp};
    Global NumberVar z:= z + IF {TableName.Type} = "start" THEN 0 ELSE DateDiff("n", x, y);
    Note that you'll want to sort  the records by the "TimeStamp"
    HTH,
    Jason

  • ResultSet "hangs" after every 10 records

    Hi
    Please could you somebody help me.
    I have extracted a ResultSet from a database which contains between 100 and 200 records (5 field each).
    If I call rset.next(), printing a count after each call my program hangs for about 2 minutes after every 10 records.
    For example:
    int count = 0;
    while(rset.next()) {
    System.out.println("" + ++count);
    Prints:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    Waits here for two minutes and then carries on
    11
    20
    Waits again for 2 minutes etc.
    Has anyone had this problem or does anyone know how to fix it?
    FYI: prstat reports tiny CPU and memory usage so the hardware is not responsible.
    Thanks a lot in advance

    Hi All
    It must be network - setFetchSize is unsupported in both Statement and ResultSet in the driver set I am using.
    It is running through a 10baseT switch at the moment which may be the problem so I will stick it on the backbone and try again.
    Thanks again for your help.

  • FR - Need to add row shading on every Nth row

    My client has a report where they want to add shading to the rows on every Nth row. The rows have member selections such as Children of or Descendents of, so there are varying number of report rows produced.
    I've played with using a formula column and using the Rank and Mod functions to rank the sorted column and on every 3rd row (when Mod 3 = 0) have the shading applied, when it is not 0 no shading. This works to a point and this is where I am stuck. When values in the rank are the same, the shading skips such as if the value in the sorted column is missing or zero.
    Any other thoughts???
    Rob

    Hi Rob
    It sounds like you are really close, that is probably the way I would attempt it. Have a look in the user guide at the rank function syntax and I'm pretty certain there is are optional fields so that non-numeric values (e.g. #Missing) are given a rank and a keyword that tells HFR whether you want all records to have unique ranks, syntax is something like:
    Rank([A,1:10].ifNN(-1), descending, true)
    Where the ifNN(-1) tells HFR to assign a value of -1 to all non-numeric values and the true at the end tells it you wany unique ranks.
    Hope this helps
    Stuart

  • Requirement to print data of first and second report of an ALV at once

    Hi,
    I have an interactive ALV report in which on double click of any of the record on first report, its details get displayed in second report. My requirement is to print all the data (of first and second report) at once.
    Kindly tell me how can I achieve this functionality.
    Regards,
    Seema Naharia

    Hi Seema,
    Try with this FM 'REUSE_ALV_HIERARCHICAL_LIST_DISPLAY'.   
    Regards,
    Sujatha B.

  • Need help on filtering out one record from a report and open in new page

    Hi I am new and embarrassed to write in the forum asking silly questions. Thing is I am learning all from scratch without help from anyone. I have created a database (have previous knowledge only from Access) and have managed to create a beautiful report from a search filter. This report lines up several records matching what I needed. Now, I want to make the whole report with hyperlinks to a detailed page on each of the records in the report. I have tried using the feature where one can make one column hyperlinked and redirect to a new page, where I am getting all the records again - instead of only getting the record I am clicking on. I have looked and looked in the forums without finding solution and I have tested and tried various methods without luck. I am suspecting that I need some sort of knowledge on how to write a select query with where conditions that can apply to filtering out a record from one report to get another detailed on only one object (i.e. record). :/ Stupid or what?

    Hrefna.
    What you need to look into is two things:
    1) The link you defined, needs to set additional attributes for the target page. In the "Column Link" box, you have set the link to "Page in this Application" and followed by the page number (let's say, Page 10). Below that, you should set an Item to an item on you target page (let's call that P10_PRODUCT_ID). This item should be the primary key of your detail table (on the targe page). You can select this item from the popup list. The Value of the item should be picked from a popup list as well, being the value from the record you clicked on. This should then transfer your selected item to your page. The URL will then have something like P10_PRODUCT_ID:5 at the end.
    2) On the target page, 10, you must change the query slightly, so that it adds a WHERE clause:
    WHERE PRODUCT_ID = :P10_PRODUCT_ID
    Now, you should be set.
    Hope this helps.
    Borkur

  • Print Multiple Parameter Value in Crystal Report 2008

    Hello and Hi
    i want to select multiple warehouse  in a pramater , i select and report working but parameter print only first parameter  value on report.how can print all selected values on report

    Hi
    I am assuming you select warehouses  WH1,WH2,WH3,.......
    You have to create a formula in Crystal
    It should look like this
    Join({?YourParamaterName},",")
    Place the formula on your report.
    The last Part of the formula is the "notation break"  between every parameter returned. In this case a >   ,   <
    Return would be WH1,WH2,WH3,.......
    Join({?YourParamaterName},"#")  would return  WH1#WH2#WH3#.......
    Hope you get the idea
    If this solution helps, please rate me.
    Regards
    Burger

  • How to get wage type for every time record

    Hi Pros,
          I am using DS 0CA_TS_IS_1, it includes report time type (0REPTT), but not have wage type. in CATSDB, I fied fields for attendance/absence type and wage type. but not every time record has wage type. can you please tell me how to get wage type for every time record? what is relation between reporting time type, attendance/absence type and wage typs?

    Hello,
    Can you talk to your HR/T&E functional consultant if they populate these values in CATSDB table using standard way or if there are custom fields that are in CATSDB OR any other table which can be used to meed the requirements
    Thanks
    Abhishek Shanbhigue

  • How to create a link to another transaction on a record in ALV report.

    Hi All,
    I have an ALV report output ,if i click on any record in the report i want it to show me the details of the record which is another transaction code in my case.So basically i want to execute that T-code on clicking on the record of the ALV report.
    How can i achieve this ,please provide me the insight with same helpful examples.
    Thanks in advance,
    Swati

    Hi,
    This solution is for the ALV by Function Module Appraoch.
    You need to use the Importing Parameter I_CALLBACK_USER_COMMAND, of the FM Reuse_ALV_GRID_DISPLAY(or LIST Display) for this.
    Slis_ev_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
    As this is a frequently-used Callback event, the form routine can also be passed directly in the interface by passing the user command in the IMPORTING parameter I_CALLBACK_USER_COMMAND.
    This is an exit subroutine and takes care of the Interactive aspect of the ALV. When User performs any action in the displayed ALV, Control automatically goes to this Subroutine.
    The interface of the form routine specified must be defined as follows:
                 FORM user_command  USING r_ucomm LIKE sy-ucomm
                                          rs_selfield TYPE slis_selfield.
         Parameter R_UCOMM contains the function code triggered.
         Structure RS_SELFIELD contains the following information:
    o     tabname  :      Name of the internal output table
    o     tabindex :       Index of the internal output table
    o     fieldname:      Field name
    o     endsum   :     Cursor is located on the totals line
    o     sumindex :     If >0, the cursor is located on a subtotals line
    o     value    :        Value of the field on the list
    o     refresh  :       (Exporting) List should be set up again
    o     col_stable:   (Exporting) Keep column position when list is set up    again
    o     row_stable:   (Exporting) Keep row position when list is set up again
    o     exit      :        (Exporting) Exit list (and ALV)
    o              before_action: Call before standard action execution
    o              after_action : Call after standard action execution, before list    setup
    o              ignore_multi : Internal use
    o              sel_tab_field: Internal use
    The EXIT routine is called whenever a function unknown to the ALV is   triggered or if the routine call before/after the execution of a  standard function code has been defined by interface parameter.
    Ok code for double click is &IC1 for ALV report.
    Eg:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
    Name of the program
        I_CALLBACK_PROGRAM                    = V_REPID
    title
        I_GRID_TITLE                          = 'Details of Storing'
    calls subroutine : PF_STATUS_SET
           i_callback_pf_status_set           = 'PF_STATUS_SET'
    Calls subroutine : user_command
            i_callback_user_command           = 'USER_COMMAND'
    Overall structure of the report
           IS_LAYOUT                          = STRUCT_LAYOUT
    Passes the field catg internal table
           IT_FIELDCAT                        = I_FIELDCAT
    Passws the sort sequence internal table
           IT_SORT                            = IT_SORT
           I_DEFAULT                          = 'X'
           I_SAVE                             = 'A'
    Passes the internal table for variants
           IS_VARIANT                         = i_variant1
    fetches different events into internal table i_events
           it_events                          = i_events[]
          TABLES
    Passes data table for ALV display
            T_OUTTAB                          = I_TAB
         EXCEPTIONS
           PROGRAM_ERROR                      = 1
           OTHERS                             = 2
    *&      Form  user_command
    Form used to handle USER_COMMAND events
    rf_ucomm: Function Code
    rs      : Internal Table containing the selection information.
    FORM user_command USING rf_ucomm LIKE sy-ucomm
                              rs TYPE slis_selfield.
    data : v_mblnr like mseg-mblnr.
    case rf_ucomm.
    A custom pushbutton for record deletion is set in the GUI status.
    When a record is selected , the field BOC for that record becomes 'X'.
    The records are traced and deleted and the fields are refreshed( rs
    of type slis_selfield is refreshed)
    when '&DEL'.                 "Print button clicked.
        delete i_tab where box = 'X'.
         rs-refresh = 'X'.
    When the user selects a row and presses the Select pushbutton ( user
    defined ) from the application toolbar, the details of the document
    will be shown in another ALV list
    when '&SEL'.
      PERFORM SUB_SELECT_DOCUMENT.
      set parameter id 'MBN'  field  i_tab-mblnr.
      call transaction 'MB03'.
    Ok code for double click is &IC1 for ALV report
    when '&IC1'.
      perform sub_hotspot.
    endcase.
    ENDFORM.
    *&      Form  SUB_HOTSPOT
          text
    -->  p1        text
    <--  p2        text
    form SUB_HOTSPOT.
    message i398(00) with 'Hello'.
    endform.                    " SUB_HOTSPOT

  • Blank Page prints even though "Suppress Printing If No Records" option is t

    Blank Page prints even though "Suppress Printing If No Records" option is thicked.
    My environment:
    Crystal Report Developer Full version 11.5.11.1470
    Windows Server 2003 SP2 32-bit.
    We have a third party vendor application written in Java -let's call it "print deamon", but my company doesn't have access to the source code.
    The print deamon essentially listens to the core application which is located remotely, receive some print instructions such as label name, printer name, crystal reports version (8.5 or 11) and a few parameters that are passed to the crystal report template.
    When the version is Crystal Reports 11 and the template is open and query is executed (using Oracle JDBC) and if the template's query does not retrieve any rows, a blank page still prints even though the option to suppress printing is thicked.
    With Crystal Reports 8.5 version, we have no issues.
    recycling the blank page is not an option in our high volume print environment, these paper and labels are wasted big time, third party vendor says this is an issue with crystal reports XI api.
    These are some of the libraries the Print Deamon uses:
    09/25/2009  10:29 AM         2,055,844 cecore.jar
    09/25/2009  10:29 AM           211,919 celib.jar
    09/25/2009  10:29 AM           830,301 corbaidl.jar
    09/25/2009  10:29 AM           371,142 CRDBJavaServerCommon.jar
    09/25/2009  10:29 AM           121,413 CRDBXMLServer.jar
    09/25/2009  10:29 AM           670,312 CrystalCharting.jar
    09/25/2009  10:29 AM             2,162 CrystalCommon.jar
    09/25/2009  10:29 AM            94,290 CrystalContentModels.jar
    09/25/2009  10:28 AM           110,657 CrystalDatabaseConnectors.jar
    09/25/2009  10:29 AM           686,963 CrystalExporters.jar
    09/25/2009  10:29 AM            67,807 CrystalExportingBase.jar
    09/25/2009  10:29 AM           581,270 CrystalFormulas.jar
    09/25/2009  10:29 AM           330,909 CrystalQueryEngine.jar
    09/25/2009  10:29 AM         2,271,217 CrystalReportEngine.jar
    09/25/2009  10:29 AM           453,829 CrystalReportingCommon.jar
    09/25/2009  10:29 AM         1,985,441 ebus405.jar
    09/25/2009  10:29 AM    <DIR>          external
    09/25/2009  10:29 AM           227,996 jrcadapter.jar
    09/25/2009  10:29 AM             9,988 jrcerom.jar
    09/25/2009  10:29 AM            94,180 keycodeDecoder.jar
    09/25/2009  10:29 AM           448,627 MetafileRenderer.jar
    09/25/2009  10:29 AM           380,520 rasapp.jar
    09/25/2009  10:29 AM           843,544 rascore.jar
    09/25/2009  10:29 AM           283,131 ReportPrinter.jar
    09/25/2009  10:29 AM           793,445 ReportViewer.jar
    09/25/2009  10:29 AM            95,382 rpoifs.jar
    09/25/2009  10:29 AM            40,545 Serialization.jar
    09/25/2009  10:29 AM             3,777 URIUtil.jar
    Let me know if there's anything we can do before engaging our third party vendor to produce their source code.
    Thank you - Kleber

    It's not relavent now is it? Do what ever works in CR XI.
    Also you may want to upgrade to CR XI R2. Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Once updated you can then go to the Keycode site and get a XI R2 keycode to enable oll of the features.
    Thank you
    Don

  • 2 IDs called from wwv_flow_files, as one record in a report??

    In my app I have 2 File Broswers( 1 for REMEDY_NAME and 1 for INSTRUCTIONS_NAME), 1 SUBMIT button and on click, 2 new records are added to the 'wwv_flow_files' table. As stated in the How To: Build File Up/Download App (figure 11) ,I created a page process to insert both file names and subjects at once into one row in 'file_subjects' table.
    The next part is where I am having trouble.<br>
    I need to "alter the SQL Report region to join to the additional attributes table."
    I can easily do this for one file but not two. The sql I have:<br>
    select w.id,s.REMEDY_NAME,s.REMEDY_SUBJECT,s.INSTRUCTIONS_NAME,s.INSTRUCTION_SUBJECT from wwv_flow_files w,DBA_PATCH_LOG s where w.name = s.REMEDY_NAME<br>
    is incomplete because it does not inlcude the id for INSTRUCTIONS_NAME. Any suggestions on how I could call this second id along with the first one as one record in a report? Does this make sense? I would like my report to look like this with both downloads linking to different files ofcourse:<br>
    download Remedy1[b] RemedySubjectdownload Instruction1[b] InstructionSubject.<br>
    Thanks.

    My sql for my report is:<br>
    select<br>
    w.id,s.REMEDY_NAME,w.id,s.INSTRUCTIONS_NAME from wwv_flow_files w,DBA_PATCH_LOG s where w.name = s.REMEDY_NAME or w.name = s.INSTRUCTIONS_NAME<br>
    <br>
    It produces<br>
    .....ID.....REMEDY.....ID......INSTRUCTIONS<br>
    ..11111......AAA.......11111..........BBB.......<br>
    ..22222......AAA.......22222..........BBB.......<br><br>
    but what I need is:<br>
    .....ID.....REMEDY.....ID......INSTRUCTIONS<br>
    ..11111......AAA.......22222..........BBB.......<br><br>
    To recap, I am trying to create an upload/download app that will upload two files at once. Right now I have two file browsers working by inserting two files, with one submit, as two new records into into the 'wwv_flow_files' table. On my report I want to display both records in one row.

  • Desktop software 6.2.2 from Access not printing all datebook records

    Hi.  For some reason when I print a range of dates (list format) a record may not get printed.  The record is clearly there in the handheld (TX) and desktop but it won't print.
    For instance, I printed the range 1/5/10 to 1/18/10 and, for 1/18, there are records for 11:30a, 3p, 6:30p, 9p and 10p.  All of the records print except the 9p record!  [NOTE: The 10p record is a repeating event.]
    I just printed the range 1/5/10 to 1/19/10 and all of the records on 1/18 printed correctly, but this doesn't suit my purposes.
    Any clues or fixes?
    Thanks
    Post relates to: Palm TX

    I asked this in a different forum yesterday and have gotten no reply so far, so I'll try here.  Is there some trick to getting the "PIM Conduit Sync->Sync with Outlook" option to work under Vista 32 with Outlook 2007 sp1?  The company "upgraded" me from an XP system running Office 2006? (whatever the previous version was) to a new Vista machine running OUtlook 2007.  I installed Palm desktop 6.2 from Palm's download site to get the latest version and selected Outlook as my sync source for my Tungsten TX.  Sync reported no errors except for the database file that's been there since forever, so I assumed that everything was working correctly.   Until I noticed that no appointements were being transferred...  Got to looking and while the TX conduit manager shows both calendar AND Date Book conduits as active, the Hotsync on the Laptop shows ONLY Date Book and is synchronizing with Palm Desktop, despite the PIM Conduit Sync->Sync with Outlook happily proclaiming that "Outlook is already set up to manage your calendar, contacts, notes...".  "Calendar" is not even a Selectable option on the PC side.  So is this an Outlook 2007 problem, a Vista problem, a Desktop 6.2 problem, or something that nobody else has ever heard of?
    Post relates to: Palm TX

  • When pressing the "R" on the keyboard to record the following pop up - "Beta-only warning message-not to be localized Can't create record files please report" and then this "error occurred Result= -48"  What does this mean?

    When pressing the "R" key on the keyboard to record the following pops up - "Beta-only warning message-not to be localized.  Can't create record file, Please Report"  I press O.K. and this pops up - "Error occurred Result= -48".  Can't figure out why.  First time I have every had problems>  What's up with this?

    a -48 error is a duplicate filename.
    the first things i'd try are the oddball problems fixes:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Not printing every other line

    I have a HO OfficeJet Pro 8500.
    All catridges are HP.
    The printer is printing every other line (leaving every other line blank).
    Please help.
    Thanks,
    George [Personal Information Removed]

    Sorry that you are having a problem with the print quality. 
    See if you can print a self-test page or status report. Let me know if the same things happens. 
    Have you cleaned the print heads?
    Make a copy of a document, and see if you still get every other line printing. 
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • How to Print Selection-Screen along with ALV Report output

    Hi,
    I have a requirement wherein i need to also print the Selection Screen of a report when I print the ALV report output.
    Basically i need to print the ALV output along with selection screen.
    Could you plz suggest me the way.
    Regards,
    Nitin

    Hi,
    My selection Screen is a very big one. It contains around 30 select-options.
    So is their any standard method in which you can choose whether you want to take the output printout with or without Selection screen.
    Regards,
    Nitin

Maybe you are looking for

  • Rsync system backup to disk image

    Hi, I had quite 'small' HD ~60Gb and I backed up on ~1.5 Tb NAS with ext3 file system via DiskUtility - it was creating an exact copy of my hard drive in a .dmg file (and I can mont them, etc). Now I have ~250 Gb HD, and some free space, but also a l

  • Change default language of Ip phone on CUCM 10.5

    Hello Everybody, I have Aa CUCM 10.5 installed, and i need to change the default-language of a DX80 inside my cluster to French, Someon know , how can i do that? Thx in advance

  • No signal on mixer on any channel?

    Hi... One minute my track was going fine the next minute there is no sound, no signal from any of the channels. I have checked the audio output is correct. (itunes and other apps working) I have loaded an earlier version of my project and this plays

  • Moving Indesign files into Muse

    Is there any way to move or upload a formatted indesign file into Muse with out losing the formatting?

  • Idoc processing in background

    Hi , We are processing an inbound IDoc using IDOC_INPUT_DELVRY . In that a customer exit 003 is invoked which creates another IDoc . Basically this exit is reached after updating the delivery document ( post PGI ) Now the second Idoc is generated by