Sr No in report layout

I have a group above report. I want to show serial No. i wrote a formula column
RETURN NVL(:SR_NO,0)+1;
but it keep on increasing serial number on every group. i want it to restart on next group. How is it possible.
Like for department 10 serial number start from 1 to end then for department 20 serial number again start from 1

Hi,
for that add to the detail group a summary column with
Function: Count
Source: a not null column of your detail group
Reset at: the master group
Regards
Rainer

Similar Messages

  • Sales quote layout rows doubled in crystal report layout

    Dear All,
    Sales quote layout rows doubled in crystal report layout.
    In sales quote layout the rows are doubled. Even in the standard layout. If the quote contains only two rows. Then it is doubled as 4 rows in the crystal report layout.
    It is happening in the particular database. Other database are working fine. I request you people to help me to overcome this issue.
    Regards,
    Siva

    Hi Siva,
    If this is regarding CR in SAP B1 then please repost to the SAP Business One Application space.
    -Abhilash

  • Huge delay in Printing Crystal Report Layout

    Good Day Experts,
    I am experiencing big delays when printing a document that makes use of a Crystal Report Layout Design.
    For example,
    The Sales Quote is set to automatically print when added by the user.
    When clicking 'Add', SAP freezes up and only about 30 seconds later does the printer finally print the document.
    During that time, the user cannot use SAP at all.
    The layout does have a lot of fields and a few formulas here and there.
    Logically, I am thinking that that is the reason for the delay, as SAP needs to calculate and populate those fields.
    Is there any other way that I could speed up this process? Or if you know what might be causing this speed issue?
    Your assistance will be appreciated,
    Thanks
    Regards
    Dario

    Hi Dario,
    Pl Try the Below Threads and Ref SAP Notes Provided by NagaRajan.
    http://scn.sap.com/message/13419121#13419121
    http://scn.sap.com/thread/2024941
    Regards,
    Vamsi

  • Report Layout in report Painter

    I created a Report in reportPainter. In the report layout, lead column section..I select Group Name to display the group name (set's id) in the report's lead column but not all the set's keys appear. It only appears children's ids but not the father's ids.
    I also need the father's ids....why do I do to have the father's ids too?
    Thanks...
    Example
    father set:
    A    Inventories
    chidren sets:
    A1 Raw Materials
    A2 Obsolete Materials
    In the report I only see the A1 and A2 ids and its descriptions. I also see the Inventories word. But I dont see the A key next to the Inventories description....why?

    Hi,
    Check whether the field in the internal table used for displaying ID is getting pouplated or not

  • How to link PDF document in Report Layout??

    I need to display the contents of PDF document after the form letter report. I tried OLE object but at the runtime it does not display the content. Does any one knows how to attach PDF document in reports layout?
    Thanks
    Ravindra

    you will have to concatinate your report output with the static PDF document. in reprots 10g you can create a cusotm destination that could implement this functionality.
    out of the box, reports does not provide the ability to add static content in PDF to reports' generated PDF output.
    thanks,
    philipp

  • Oracle bi publisher report for apex - Report Layout

    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to.
    I have 3 tables in my RTF template 1) Header 2) Details 3) Summary. Details section has a group. This runs fine.
    Now if I just combine all the above 3 tables into one by adding row above and row below to the "2) details" table and moving the table 1 and table 3 into those rows, makes the data in the group in table 2 disappear when run on the apex application.
    However it works fine when data is loaded on the RTF template and Preview --> PDF is seen.
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    Krishna
    Edited by: Krishna on Aug 9, 2010 10:08 AM

    Hi, I think you need to provide more information.
    user452458 wrote:
    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to. What modification? added extra fields? Are those fields in the corresponding report query? change to the design of the document? did you delete the old template and re-upload after making the changes?
    Moreover the preview on the RTF template works fine with the same data.Preview from where?
    >
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    KrishnaAlso, you should change your display name to something better than user452458 ;)
    Trent

  • Standard Report layouts in Crystal 2008 for SBO 2007A

    It has been 2 years since SBO adopted Crystal Reports to become part of the standard product, I refer back to the initial links which promised links to Standard Reports, however 2 years later these links appear to be exactly the same, no updates.
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/807d22cb-cb1d-2b10-8794-fb76d7feca88#section12 [original link is broken]
    For SBO 8.8 there appears to be a pack of Reports available for Sales Orders, Purchase Orders etc
    I would like to know if there a pack of standard Crystal reports for SBO 2007A and if so where would we be able to find them?
    Many thanks
    Kevin West

    I found the following link
    https://websmp101.sap-ag.de/~sapidb/011000358700001094082009
    It has the following - Crystal Reports Layout - IT Invoice Layout for Release 2007 A
    An invoice layout for Italy...well done 2 years and we now have an Italian invoice

  • Custom Report Layout with mutliple child tables

    I am trying to create a custom report layout (using Bi Publisher) where I have parent data (multiple jobs on a page) and several child tables for each job (JobDays and JobStops) and several child tables for JobDays (JobDayProviders, JobDayCrew). On the apex screen, I have a join on Jobs and JobDays and I am using functions to string each child row value for JobDayProviders and JobDayCrew together and putting a <br> in between so that they will format on separate lines within a cell. It works fine on the screen but when trying to print to pdf, it ignores these line breaks. I have also tried using <br></br> (saw an article that said just use HTML in bi pulisher) which puts two lines in between each value on the screen and is still ignored on the pdf.
    for example:
    Table hierarchy:
    Jobs table
    Job Stops
    Job Days
    Job Day Service Providers
    Job Day Crew
    Report Layout per job (will have mutlipe jobs to print, just printing 1 day per job):
    Jobs.col1 JobStops.row1 JobDay.col1 JobDayProviders.row1 JobDayCrew.r1
    JobStops.row2 JobDayProviders.row2 JobDayCrew.r2
    JobDayProviders.row3
    Thanks,
    Linda
    First, is there a way to get bi publisher to recognize the line breaks? If not, what is the best way to create a custom report for this scenario? I tried to create a report query with mutliple queries, but cannot determine how to link the child queries to the paren query. I have seen an example where a button is pressed to print one parent row and the id of that row is saved and referenced as a parameter in each of the queries, but if printing mutliple parents on a report, how would I link the child queries to the parent query?

    Helen,
    The best way for your case is to use a content folder and customize it whichever way you like.
    however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
    anyway. something similar but not exactly the same as what you wanted do is the following.
    use a query like the following: (with a union in between)
    SELECT COLUMN1,NULL , NULL ,NULL ,NULL
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    UNION
    SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    ---------- Now, have the following codes in the layout segments:
    <!--- header --->
    <table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
    <!--- body --->
    <tr align="center">
    <td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
    <tr align="center">
    <TH><#COLUMN1.FIELD#></TH>
    </tr>
    </table>
    </td>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
    </tr>
    <!--- footer --->
    <TR><TD></TD></TR>
    this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
    with kind regards,
    naqvi

  • Purchase Order Crystal Report Layout Error

    The stock Crystal Report Layout for Purchase Orders is giving me the following error:
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    Error in File POR20002 {b89f97ad-bf1f-447b-8bb4-b3d2e5219269}
    {3C375C81-7D37-475D-9BCB-1703CE533B65}.rpt
    Error in formula N_Decimal_Places:
    '// To get the length of decimals
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    I looked in the Crystal Reports Formula fields and could not find N_Decimal_Places.
    Has any one else had the problem with the PO layout that comes with Business One?  If so, how did you fix it?

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • View Crystal Report Layout for my UDO Form

    Hi all,
    I try to view a report created for my UDO form. I set all settings in Administration -> Setup -> General -> Report and Layout Manager. Now I wonder what should be assigned to  eventInfo.LayoutKey. I tried assigned report's DocCode from RDOC, DocEntry of my UDO object or UDO Code but nothing works. Always get an error: Incorrect format of argument or something like that - I didn't get an error in English so I tried to translate it.
    How to show a report layout for my UDO form?
    Regards
    Szymon Lipnicki

    Hi and thanks for Your reply.
    Help file contains example how to open report layout prepare in Crystla Reports designer for UDO form.
    //Add Layout Key Event Handler
    SBO_Application.LayoutKeyEvent += new SAPbouiCOM._IApplicationEvents_LayoutKeyEventEventHandler(SBO_Application_LayoutKeyEvent);
    void SBO_Application_LayoutKeyEvent(ref SAPbouiCOM.LayoutKeyInfo eventInfo, out bool BubbleEvent)
        BubbleEvent = true;
        if (eventInfo.ReportTemplate == "A001" && eventInfo.ReportCode == "A001001")
            eventInfo.LayoutKey = 1; //Set the key of the layout
    I am using SAP 8.81.
    Regards
    Szymon

  • Importing Crystal Report layout for customer statements

    Hello,
    I have imported a crystal report layout to use for the customer statements when running them from the ageing report.  The problem is even if we only select one business partner in the ageing report, when we print preview the statement it displays statements for all business partners - this is because in the crystal report there are no parameters.  I know that when you import a layout like this for other documents you need to use for example, {ORDR.DocEntry}={DocKey@} as the parameter however the customer statements don't have a docentry.  When I look at the system statement layout (collection layout), when you run the report you get an ADO.NET (XML) connection prompt.  Is it possible to use the crystal layout i have for the customer statements but for only the customer(s) showing on the ageing report?
    Many thanks,
    Kate

    So just to make it clear,
    you want an overview of open invoices from 1 customer.
    If so, try this in crystal reports :
    Create a parameter field (field explorer)
    Name : CardName
    Type : String
    Value : Static
    do not select a value field (none)
    press ok.
    Select expert
    Create new
    Starts with
    type this : {?CardName}
    press add
    Click formula editor and make it look like this :
    {OINV.DocStatus} = "o" and
    {OINV.CardName} startswith {?CardName}

  • Set As Default Crystal Report Layout in SAP B1 8.8 PL13

    Hi,
    I want to Set As Default a Crystal Report Layout. I know you can do that in Layout Desginer - Selection Criteria, but SAP B1 8.8 PL 13 has only a Manage Layout button in the Layout Desginer window which links to the Report and Layout Manager. There is no Set As Default button.
    Where can you select which layout to be default in PL13?
    Thanks!
    Cristina

    Hi
    If you want to Set as Default particular PLD then Open that Form
    For. Example
    Sales Ar > A/R Invocies (Item) document
    Then Click on PLD icon ans select your crystal report as Default by Set as Defaul button.
    Thanks
    King Kevin

  • Crystal Report Layout asking for Login Info

    I have modified the Delivery Note Crystal Report Layout for Business One by clicking the Edit button on the Report and Layout Manager for Delivery Note (Items).  I then saved my modifications to a file.  Finally, I go into Business One and import the Layout for Delivery Note (Items).  When I preview the Layout it asks me for login information then continues to fail.  How dow I make it so I can print the Delivery without having to constantly log in?

    Hi Jeff,
    I recently had a similar problem on an 8.82 implementation, having contacted and spoken to SAP Support multiple times these suggested fixes worked:
    The request to login to the database when you open or print preview a Crystal
    report is a known issue. To resolve this, I recommend you go through our Root
    Cause Analysis (RCA) guide. Please see attac hed Note 1676353 on where to find
    this. There are four Cases in this guide (which contain a number of Influences)
    - please go through all Cases and Influences.
    We also tried the following:
    STEP 1:
    Influence 2: Case 2 is to clear all the data for login (e.g. sa and
    password - delete them) and then ticked 'Integrated Security#.
    - Influence
    3: #: Check the current datasource is to update connection.
    - Retest opening
    the system reports on a workstation.
    - If they are still reporting an error
    try the next step
    - STEP 2:
    - Change the datasource location of
    the report from OLE DB to SAP Business One type and leave the
    authentication
    information blank. Try running the report in Crystal, and then import to SAP.
    And also opened up the Crystal Report via the Edit button in SAP in Reports and Layouts Manager, we then clicked on the database connection and updated all the tables (even though they were the same) and these got the reports needed working. Speaking to SAP it is a known bug and they are releasing a hotfix to resolve it, but try explaining that to a customer !!!
    Hope these help.
    Regards
    Sean

  • Crystal Report Layout

    Hi Expert.
    I created a report layout in crystal report that I will be attaching in an add-on program which is a document type for report viewing via PLD.  However, as i was setting up my layout in the report layout manager, I cannot point my layout in the document addon that I created.
    Is there a way to add my addon in the list of modules in the report layout manager?

    No it is not possible.
    What you can do: import you crystal layout as "normal report" and active the menu when you would like to print out the document. You can pass parameters, and show the print preview. then you can click on print button via code.
    Regards
    J

  • How to add/create additional page in Crystal Report Layout SAP B1

    Hi,
    I wanna ask about How to add/create additional page in Crystal Report Layout SAP B1 ?
    I want when user print Purchase Order then on last page also print some page like Penalty Clause etc.
    Pls help me to find the solution.
    Br,
    Thomas Marsetyo

    Hi,
    In your report footer, set it to create a new page before it is printed (In 'Section Expert', select the Report Footer -> 'Paging' tab -> Check 'New Page Before' checkbox). Throw your Terms & Conditions into the Report Footer section.
    If you already have a Report Footer that you want to keep, just split the footer into two sections (Right-click the Report Footer section -> 'Insert Section Below') and follow the same procedure for the newly created section.
         Check this Link
    http://stackoverflow.com/questions/9232239/adding-an-additional-page-to-end-of-a-crystal-report
    http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18960
    Regards,
    Manish

  • Number of Copies in Crystal Report Layout

    Hi all,
    Is it possible to show the number of copy in a Crystal Report layout?
    I mean: I am creating an invoice layout in Crystal Reports for SAP Business One 8.8.
    Customer wants to print always 3 copies, but with the word "Copy" in second and third document.
    I can set the number of printed copies but... is it possible to include a reference of what number of copy is every document?
    Sorry for any language mistake.
    Kind Regards,
    Toni Dorta

    Hi Toni,
    If the customer always prints  3 copies of the Invoice, here is what you could do. You could design your Crystal Report to always print 3 copies. That is, if your Invoice has 1 page, then design your Crystal Report to Print 3 pages every time. On the 2nd and 3rd page, you include the word "Copy" to indicate that they are copies.
    Once you have modified the report, change the No: of Printed copies to 1. This when the customer prints the report, it will always print 3 copies of the report and have the word "Copy" on the 2nd and 3rd invoices.
    Hope this helps.
    Krishnan

Maybe you are looking for