How to stop report updating the records

Morning all,
I have created a report which calculates reworked jobs according to a group (reason code). I later on added a sub report which calculates all the jobs (that is all the processed jobs). The sub report is linked with main report by Reason code.
Reason Code 1 to 99 in main report is linked with the reason code 1 to 99 in the sub report.
There are 9 specified reason codes. for example
Customer care - 1-99 reason code -  This reason code total processed orders value is the same as Supplier.
Lab Surfacing - 200-299 reason code -
Lab Tinting - 400-499 reason code -
Hard Coating - 800-899 reason code - 
Supplier etc. - 900-99 reason code - This reason code total processed orders value is the same as CstCare.
When the report runs, it calculates the value of the first group 1-99, sub report counts the total processed orders and displays the value (upto here it is fine). As the report goes on reading records, it updates the values and shows an updated value in some groups which needs to be the same as the first group value.
For example
If Customer Care had 470 processed orders, by the time it reaches Supplier it shows 507 processed orders, where as it should have kept it to 470 processed orders for Supplier group as both should have same value of orders processed.
The report is running fine however the records which are being pulled from the sub report gets updated by the time report finish counting all the records.
The main reason why it is doing is because it starts recounting on each group reason code. So when it sets off from reason code 1 to 99, it calculates all the records and then filters them to get 1 to 99 reason code records. Then when it comes to 100-199 group it starts recounting again all the records. The process kept itself until it stops matching reason codes between two reports.
Any ideas how to process all the records at once from the sub report? so that each time it looks for the record, it just picks what has been processed?
I suspect instead of keeping it on the group level I should move the sub reports on the header of the main report?
Any ideas will be welcomed.
Regards
Jehanzeb

Hi J,
This is not possible in Crystal, as you are well aware that when it is processing a group in the report, it will process that particular group objects like sub totals, group totals, sub reports etc.  You can't pull all information (sub report) at once and show in bits and pieces.
You may have to create an intermediate database and replicate the data from your main database in certain intervals.  It will help you to prevent different count in groups.
Thanks,
Sastry

Similar Messages

  • How to refresh after delete the records in ALV report ?

    Hi Friends,
    How to refresh after delete the records in ALV report.
    I am deleting records in ALV report .
    After successful delete the screen should refresh.
    u201C Deleted records should not appear in the screen u201C.
    Please guide me.
    Regards,
    Subash

    Hi subhash,
    FORM user_command USING r_ucomm LIKE sy-ucomm      rs_selfield TYPE slis_selfield.
    WHEN 'BACK'.
    Refresh the internal table from the ALV grid
          PERFORM update_alv_tab.
    ENDFORM.                    "user_command
    FORM update_alv_tab .
      DATA :  e_grid TYPE REF TO cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = e_grid.
      CALL METHOD e_grid->check_changed_data.
      "update_alv_tab
      CALL METHOD e_grid->refresh_table_display.
    ENDFORM.                    " UPDATE_ALV_TAB
    Then see in Debug mode is it updating or not..
    Please confirm .
    And please paste the code if you can.
    Regards.

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to update the record in a File (without closing Writer)?

    Well i've got one issue:
    I want my program to record in a file updating any time i.e the records are added in append.
    But i want the record must be done in a file even if the Writer is not closed because I'd like to see the all logs of user and the main thing is sometimes there could be issue of software crash, powercut off or any So for that reason i 've made code like this but it doesn't update but it only override:
    public boolean write(String s){
            boolean isFinished = false;
            try{
                FileOutputStream out = new FileOutputStream("C:\\new.txt"); 
                int i = 0;              
                while(i != s.length()){
                    out.write(s.charAt(i));
                    i++;
                //here i've not closed file output stream
                isFinished = true;
            catch(IOException i){
                i.printStackTrace();
                isFinished = false;
            return isFinished;
        }

    Well, Thanks for the help but,. i didn't understand
    try not opening the file every time. As I only know that I need to open a file if i would like to update the records..
    The update is not happening :
    Firstly it shows like this (new.txt):
    STOPSecondly it must show like this (new.txt) BUT NOT HAPPENING AS I EXPECTED:
    STOPSTOPBut it's not hapenning

  • Updating the records

    can anyone plz tell me how to update the records
    in the browser itself?

    Hi,
    See browser is client-side and not server-side. If at all you need to update any record shown in the browser means, it can only be done using javascript or vbscript. But it won't gets reflected in the database unless you do it in server-side.
    Vijay.

  • HT1338 i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created.

    i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created. As i dont have the access to the earlier id anymore.

    You cannot. The apps are assigned to that Apple ID and there is nothing you can do to change that. You could choose to download them again with the new Apple ID, any paid apps will need to be purchased again.
    Hope that helps.

  • How to read and update the value of property file

    Hi,
    I am not able read the values from property file.
    Please tell me how to read and update the values from property file using Properties class
    This is my property file : - Config.properties its located in D:\newfolder
    Values
    SMTP = localhost
    Now i need to change the value of the SMTP
    New value :
    SMTP =10.60.1.9
    Pls Help me
    Thanks
    Merlin Rosina,

    Post a small (<1 page) example program that forum members can copy and run that demonstrates your problem.

  • Windows Server 2008: Sysprep Error: Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]

    I have a base template (which has never been sysprep'd) from which I create linked clones.  After the linked clone comes up, I run the following command:
    c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /reboot /unattend:c:\windows\panther\unattend.xml
    This works fine for the first few linked clones, but after about 3-4 linked clones are running, I start to hit "A fatal error occurred while trying to sysprep the machine."
    ****c:\windows\panther\setuperr.log****
    2013-03-29 16:40:07, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
    2013-03-29 16:40:07, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
    ****c:\windows\panther\unattend.xml****
    <?xml version='1.0' encoding='utf-8'?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>en-US</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</UserLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Enabled>true</Enabled>
                    <Username>Administrator</Username>
                    <Password>
                        <Value>ca$hc0w</Value>
                        <PlainText>true</PlainText>
                    </Password>
                </AutoLogon>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>3</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>ca$hc0w</Value>
                        <PlainText>true</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <TimeZone>Pacific Standard Time</TimeZone>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ProductKey>7M67G-PC374-GR742-YH8V4-TCBY3</ProductKey>
                <ComputerName>*</ComputerName>
            </component>
        </settings>
    </unattend>
    ****c:\windows\panther\setupact.log****
    2013-03-29 16:40:07, Info       [0x0f004d] SYSPRP The time is now 2013-03-29 16:40:07
    2013-03-29 16:40:07, Info       [0x0f004e] SYSPRP Initialized SysPrep log at c:\windows\system32\sysprep\Panther
    2013-03-29 16:40:07, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2013-03-29 16:40:07, Info       [0x0f0056] SYSPRP ValidateVersion:OS version is okay
    2013-03-29 16:40:07, Info       [0x0f005e] SYSPRP ScreenSaver:Screen saver was already disabled, no need to disable it for sysprep
    2013-03-29 16:40:07, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'REBOOT'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2013-03-29 16:40:07, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2013-03-29 16:40:07, Info                         [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [c:\windows\panther\unattend.xml]...
    2013-03-29 16:40:07, Info                         [sysprep.exe] UnattendFindAnswerFile: [c:\windows\panther\unattend.xml] meets criteria
    for an explicitly provided unattend file.
    2013-03-29 16:40:07, Info                  SYSPRP SysprepSearchForUnattend: Using unattend file at [c:\windows\panther\unattend.xml].
    2013-03-29 16:40:07, Info                  SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [c:\windows\panther\unattend.xml] either doesn't exist or passed
    validation
    2013-03-29 16:40:07, Info                  SYSPRP WinMain:Found unattend file at [c:\windows\panther\unattend.xml]; caching...
    2013-03-29 16:40:07, Info                  SYSPRP WinMain:Processing unattend file's 'generalize' pass...
    2013-03-29 16:40:07, Info                  SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
    2013-03-29 16:40:07, Info                  SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
    2013-03-29 16:40:07, Info       [0x0f003f] SYSPRP WinMain:Processing 'cleanup' request.
    2013-03-29 16:40:07, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
    2013-03-29 16:40:07, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
    2013-03-29 16:48:52, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
    2013-03-29 16:48:52, Info       [0x0f0059] SYSPRP ScreenSaver:Screen saver was originally disabled, leaving it disabled
    2013-03-29 16:48:52, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2013-03-29 16:48:52, Info       [0x0f004d] SYSPRP The time is now 2013-03-29 16:48:52

    Hi,
    This is typical of an OEM license issue.
    To avoid this in the future you should look at site/volume licensing.
    Anyway.
    so, first check if you can re-arm by runing the
    slmgr.vbs /dlv and check the re-arm counter, if it set to zero.. you need to do the following :
    http://support.microsoft.com/kb/929828 (set the <SkipRearm>1</SkipRearm> like in the example, note: this option will make the product key window to appear in the setup process).
    you can also try running : slmgr.vbs -rearm, to rearm Windows.
    after that, let's come back to the sysprep process.. for syspreping already syspreped machine we have to change few keys in the registry :
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    CleanupState:2
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    GeneralizationState:7
    After done with the registry, do the following :
    Start -> Run : msdtc -uninstall (wait few seconds)
    Start -> Run : msdtc -install (wait few seconds)
    Restart the machine
    Check the registry for the right registry keys values
    sysprep with the new XML answerfile.
    Source: Olegm
    If you find my information useful, please rate it. :-)

  • I can't update the iphone4, from an insertion iOS4.3.1 on an insertion iOS 4.3.3 - itunes gives out me an error 3259. What to me to do? How to me to update the iphone?

    I can't update the iphone4, from an insertion iOS4.3.1 on an insertion iOS 4.3.3 - itunes gives out me an error 3259. What to me to do? How to me to update the iphone?

    Temporarily disable your firewall and ALL of your antivirus/antispyware software and try again.

  • Why can't I select or update the Record using the PreparedStatement?

    the DB is oracle9i,here is the test table
    test
    id number;
    name char(10);
    intro char(10);
    I have insert a record in the table.
    Now I will select or update the record by using the PreparedStatement here is my code:
    sqlStr = "update test set intro = ? where name =?";
    PreparedStatement stmt = conn.prepareStatement(sqlStr);
    stmt.setString(1,"my name is irixwang");
    stmt.setString(2,"irixwang");
    int is = stmt.executeUpdate();
    if (is >=1 )
    System.out.println("ok");
    It will not work ,but where I change the update condiction as followed:
    sqlStr = "update test set intro = ? where id =?";
    PreparedStatement stmt = conn.prepareStatement(sqlStr);
    stmt.setString(1,"my name is irixwang");
    stmt.setInt(2,100);
    int is = stmt.executeUpdate();
    It works well,why?
    please help me!thk!!!!

    I doubt it works "well" in either case since you are inserting a string that is longer than 10 characters into a field that only holds 10 characters. But to your question....
    A char data type holds a fixed number of characters - in your case 10.
    Because it holds 10 characters it will never hold 9, regardless of what you think is in the field it will always have 10 characters in it. The value you are using for query for name is 9 characters. Since 9 characters, regardless of content, will never be equal to 10 characters there is no way that it will update.
    So your choice is to either use a varchar, which holds a variable number of characters, or to always use 10 characters for your query (pad it with spaces.)

  • Function module or BAPI that is used to update the records in RBKP table.

    Hello All,
    Can anybody please give me the name of any Function module or BAPI that is used to update the records in RBKP table.
    Please help me
      I need to change the fiscal year in RBKP table
    Thanks in Advance,
    Regards,
    LIJO

    Hi,
    You can use the BAPIs,
    BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_RECEIPT_POST  Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
    Hope this helps.
    Regards,
    Renjith Michael.

  • How to STOP and START the BO EXPLORER/POLESTAR - LINUX

    Dear friends,
    Could you please let me know on How to STOP and START the BO EXPLORER/POLESTAR on LINUX platform?
    Thank you,
    Nikee

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • How to Stop and restart the midtier?

    Hello All,
    I have installed Oracle AS (Infraturcture & middle tier , BI & Forms) on same Linux box.i.e: Oracle As 10.1.2.0.2 (Rel 2, x86 for Linux), SLES 9
    Here is my question:
    How to Stop and restart the midtier?
    Regards,
    DN

    biforms.sh
    export ORACLE_HOME=/opt/oracle/biforms
    export OH=$ORACLE_HOME
    export PATH=$OH/bin:$OH/opmn/bin:/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/bin
    export ORACLE_SID=ORCL
    export LD_LIBRARY_PATH=$OH/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib:/tools/lib
    infra.sh
    export ORACLE_HOME=/opt/oracle/infra  <-- or correct one!
    export OH=$ORACLE_HOME
    export PATH=$OH/bin:$OH/opmn/bin:/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/bin
    export ORACLE_SID=ORCL
    export LD_LIBRARY_PATH=$OH/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib:/tools/libAs you see, only the first row differs from these two scrips. Because I'm lazy, I usualy set export OH. Under certain circumstances you might want to add DISPLAY to biforms.sh. Set it to localhost:0 or whatever is correct.
    Martin

  • How to Stop and restart the OC4J_BI_FORMS?

    I have Oracle AS 10.1.2.0.2 (Rel 2) installed. (Infratsructure & BI & Forms) on same computer.
    my question is :
    How to Stop and restart the OC4J_BI_FORMS?
    Regards,
    DN

    Just as any other OC4J:
    opmnctl stopproc -process-type=OC4J_BI_FORMS
    opmnctl startproc -process-type=OC4J_BI_FORMS
    or
    opmnctl restartproc -process-type=OC4J_BI_FORMS
    cu
    Andreas

  • HT5278 If I reset my iPad 1 to factory settings, how would I then update the iOS to 5.1.1

    If I reset my iPad 1 to factory settings, how would I then update the iOS to 5.1.1?
    As I believe the update would fail as it would be attempting to update to iOS 7 which is 'above its paygrade' or at least this is what an apple genius told me...
    He said he thought I would need to find an old version of iTunes containing the correct version of iOS. But he was not very confident about what he was telling me.
    Any help would be much appreciated...

    Hmmm
    I may be asking the wrong question here, let's back up a little.
    I have an iPad 1 running iOS 5.1.1
    Over the years it has become a little laggy and sluggish. I am about to replace it and wish to 'recycle' this old one onto my granddaughter.
    I want to completely wipe it, and get rid of all traces of the hundreds of app it's had on and deleted, in the hopes that it will clean up any residual crud that's choking it.
    Is a factory reset what I'm looking for?
    What I had in mind, is what I have done with my iPhone on a couple of occasions which was to completely start over with it and I was sure that that had taken the iOS version back to what it was when I took delivery of it. But I may be wrong...

Maybe you are looking for

  • How to find out the versions of family pack and mini pack installed?

    There are family pack and mini pack for HRMS. How to find out the versions of family pack and mini pack installed just by a Unix command or sqlplus Select statement? Thanks

  • Satellite L500 - blank blue screen after login to Win 7

    Hi I have this laptop and i can start up the laptop and it loads fine to the login page i then can login but when the screens opens after login it appears as a blank blue screen with the document folder open i have no background picture and no startu

  • Firefox 31.0 tries to redownload files already downloaded

    I recently updated Firefox to version 31.0, installed Google Chrome, and updated Java and Adobe Flash player to the latest versions, on my laptop running Win XP Pro SP3. This was all in an attempt to overcome problems I was having using an airline re

  • How do you change the colour of the text box?

    A lot of the text box options seem different for DC. Is there a way to change the colour of the text box that you create/the borders etc.? In the past, you would just press Ctrl+E and a toolbar would pop up so that you could fiddle w/ the colour of t

  • WRT54GC router with Netgear MA111 USB Wifi Adapter

    Hi all, bought a router this morning and managed to get it to work with all the inbuilt wifi on laptops. Except on using the Netgear MA111 usb. It seems to get the ip 169... instead of the default 192.168.1.xxx. I tried to assign static ip but does n