SC doesn't go back to approver again after changed by requester

Hello Experts,
We are implementing SRM 5.5 with N step Item base approval (WS14500015) process for SC.
SC created by requester goes to approver for approval. Approver Changes the price in SC & Approves SC. This SC comes back to Requester again. Requester goes into his inbox, change SC price back to origional & Save again.
Now  Ideally SC should go back to approval again however in our case SC is getting approved  straight a way & PO is getting created in SRM ( Ex-classic Scenario)
Wondering why SC doesn't goe back to approver again for approval?
Any help is highly appreciated..
Thnaks & regards,
Chris

Did you check the security settings of the creator.
There are 4 options, depending on that the workflow is restarted or just continues if the user changes the cart.
SU01 - personalization tab--> BBP_WFL_SECURITY - check all the options high, medium,low, new.
Regards,
PR.

Similar Messages

  • My Macbook Retina doesn't log back in from sleep after typing in the password, have to force shut down

    Hi all,
    Recently i've been having this problem once in a while (once every few days) that when I opened up my computer from sleep, I typed in my password and clicked enter. After that, it shows that normal grey box thing; normally it logs in after a few seconds, but sometimes i wait for 2 minutes and still it doesn't log in. I sleep it and wake it again, but this time i type the password and i click enter, but nothing happens, i can't click switch user either. At this point my only choice is to force shut down my macbook. This problem is a bit annoying since sometimes i have unsaved work.
    Thanks in advance for any reply/ies.

    Press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly to restart.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How can you restore ALL your photos back into your iphone after changing your icloud plan to 20GB?!? It ruined my photos and videos, and I don't even know if I have them anymore!!!

    Okay. I recently changed my icloud storage plan to 20GB, for $0.99 a month, to have more room in my phone. After that, I realized a lot of my videos were acting up and wouldn't play. I honestly don't know what I did, nor that I can remember, but I tried to play around a little with my phone to see if anything would work again. Then I ended up storing more than HALF of my photos and videos in my icloud storage, and now I can't seem to get them back into my regular iphone stream! I can't see ANY of the pictures/videos stored in icloud, but it tells me that I have 377 photos and 16 videos stored in icloud, and 2.2GB are used, and I could only see 33 photos, and 8 videos in my phone! I want to know how I could UNDO all this, and put EVERYTHING back in my iphone storage, and OFF of icloud! icloud confuses me a lot. I'll just stick with 5GB. HELPP PLEASE!!!
    And also, I want to know WHYYYYY I have to keep downloading my videos before playing them!

    Felixecoga wrote:
    My computer is now almost 3 years old and never had any maintenance or any software cleaning whatsoever.
    That's fine.
    It takes forever to shut down and to star up (compared to when it was new with snow leopard) .. Some programs are now running slow (iMovie, Photoshop) and very often it just doesn’t respond so i have to turn it off the hard way loosing what I was working on.
    Have you tested in a fresh user account, or in Safe Mode ?
    A clean install is rarely necessary, and may not even solve the problem. If you plan to do a clean install and migrate, you defeat the purpose of a clean install.
    If you do a clean install you'll also need to replace your iLife apps from the disks that shipped with your Mac, they're on Disk 2.

  • TS2446 Apple id disabled again after changing password

    Trying to do updates to my apps, notice pops up "Apple ID has been disabled"?? Can't do the updates??

    If you've reset your password but it doesn't work on your iPad, then try logging out of your account on the iPad by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in and see if that 'refreshes' the account on it

  • Table can not activate again after changing

    Hi, everybody
    For some reason that we create one more field call EKORG(Purchasing organisation) in table LFA1 and made choice for both Key and Initial value. Now, we are going to delete this field and activate table again, system show the following message, please kindly give us a hand and let me know how to solve this issue in more detail. We  use T-code: se14 and try to Activate and adjust database that system show the same message as below.
    Thanks you All.
    <b>Primary key change not permitted for value table LFA1
    Message no. AD300
    Diagnosis
    This table is defined as a check table. For reasons of consistency, changes to the primary key of the table are not allowed.
    Procedure
    If it is essential that you change the primary key, you must delete the relevant foreign keys. Refer to the where-used list to find all tables containing a field that is checked against this table. Delete the foreign keys for these fields.
    If necessary, maintain the deleted foreign keys again.</b>
    Message was edited by:
            Alfred

    Alfred,
    If you can't figure this out you should stop what you are doing and get help from someone who knows how to fix this mess.  I'll give you a hint, it isn't Programs...  And it might be something to do with tables...  Once you've got a list of all tables where LFA1 is used you will have to check them 1 by 1 to see if they use LFA1 as a check table.
    I'd still love to know what posessed you to mess around with the primary key of a standard SAP table?  And I'd also love to know why everyone is giving you help and suggestions on how to activate the table whilst no-one seems to care that you are changing a standard SAP primary key.  I can't believe you managed to get an access key to change the table in this way and no-one in your company/client questioned what and why you were doing it!
    LFA1 is a pretty important table in the SAP system (Vendor Master table) so to mess around with its primary key is utterly ridiculous.
    The only thing you should learn here is that changing SAP standard objects is usually a no-no.  Trying to change the primary key on a standard SAP table is a complete no-no.  There must have been an alternative to whatever it is you are trying to achieve.
    Gareth.

  • Do I have to reinstall the system again after changing the CPU ?

    Hi !
    Today I replaced the old CPU  P3 650 copermine @ 866 mhz with the P3 1000mhz.
    The bus is on 133mhz.
    I am not sure from where the problem is rising, but i am sure that before the change I was not having this problem. Now when I listening to the music , in time to time I experience some skipping or freezing in sound (very quickly) like when you are running out of memory or when u opening a lot of programs and the cpu loads 100%...something like that and this affect the sound.
    Does anyone know if when changing the cpu, its better to reinstall the system again ?  Is it neccesary ?
    Thanks

    The heatsing on this cpu in foxon.It is a passive heatsing. The working temperature is about 43 degrees celzius. Quite normal. the cpu is not overclocked.
    I tryed to lower the bus speed from 133 to 126mhz and then I dont have thoose problems. Really weird, because with P3 650 overclocked to 866 / 133 host bus with a golden orb heatsing I had quite the same temperatures without problems.  I tryed also to raise host bus to 135 mhz , but then this problems comes again.  So now I am running a P3 1000mhz @ 950mhz on 126mhz bus speed. Seems that I dont have much choises. if I want to use 1ghz cpu on my mobo , i had to down a little bit a bus speed from 133mhz/33mhz (pci) to 126 mhz/31mhz (pci).
    Can enyone tell me... what do you think : which configuration was faster:
    1. P650/100 mhz Oc to 866mhz/133mhz    - pci 33mhz
    2. P 1000mhz/133 mhz  adjusted to 945mhz/126mhz bus speed  - pci 31mhz
    Thanks for your replies.
    I dont know how many it counts the pci frequqency. this frequancy is adjusted itself and I cant change it.
    The PSU in a 450w newer one. Some strange sounds comes out of it. Also when it was brand new. I replaced it with the same one , but it is the same.
    Thanks for the suggestions.

  • IPod started working again after the service request

    Seen this question before but no target answer.
    I finally dispaired and placed a request for a warranty swap out after a few days of puzzling over my mini. Tonight I have discovered that it is very precious about which drive letter it receives. With my card reader unplugged, the iPod seemed to not get recognised with the letter assigned. So now I am 99% sure all is well but guess I'll be seeing UPS in the next week.
    Any way I can cancel this???
    Thanks
    R

    What shall I say, since today (at least 2h ago) it's dead again. Once again I had the alarm (by playlist) turned on and listened to a single song the night before. Both times, my iPod was attached to a set of active PC speakers all night.
    One theory I have is that a bug makes it freeze for 24 hours, or that it has to get power at alarm time...
    Please, could someone of the Apple support team tell me how to deal with this problem? And will the franking of the UPS package I've got lying around here still be valid if I sent in my iPod today?

  • Azure Website doesn't recognize my Database's Table after changing the Schema

    I have a Microsoft Azure Website running and working with an Azure SQL Database for the sole purpose of storing and retrieving user accounts. However I needed a mobile client as well there fore according to numerous tutorials online such as [THIS][1],
    I had to change the 'schema' of the database from 'dbo' to my mobile service's name which is 'usermobileservice'. 
    This was done using the SQL query:
    CREATE SCHEMA usermobileservice;    ALTER SCHEMA usermobileserviceTRANSFER dbo.usertable;
    This did the trick and I was able to connect to the Database using my mobile applications BUT now I can't access the database using my Azure Website! Gives me this error:
    Server Error in '/' Application.
    Invalid object name 'UserTable'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'UserTable'.
    I believe the ASP.NET Web Application cannot find the Database Table anymore since I changed the schema? What is the right way of sharing the data between a Website and a Mobile Service?

    Hi,
    Thank you for your post.
    I am trying to involve someone familiar with this topic to further look at this issue.
    In the meantime, please have a check on the below link and check if it helps.
    https://social.msdn.microsoft.com/Forums/azure/en-US/60764eb6-17d0-4395-a887-2a793b44ce88/connect-mobile-service-to-an-existing-database?forum=azuremobile
    Regards,
    Mekh.

  • My iphone 6 plus after updating to IOS 8.2 the touch id doesn't work neither in home unlock nor in app store and when i'm trying to add a new fingerprint it says ''failed unable to complete touch id setup.Please go back and try again'' .

    my iphone 6 plus after updating to IOS 8.2 seems to have a problem with the touch id witch doesn't work neither in home unlock nor in app store and when i'm trying to add a new fingerprint it says ''failed unable to complete touch id setup.Please go back and try again'' . I have multiple fingerprints and none of them appear to work.

    Hi Giannis,
    If you are having an issue with Touch ID not functioning as expected, I would suggest that you troubleshoot using the steps in this article -
    Use Touch ID on iPhone and iPad - Apple Support
    Start with the section titled Clean the Touch ID sensor and then Get help with Touch ID.
    Thanks for using Apple Support Communities.
    Sincerely,
    Brett L

  • TS2951 I have a laptop (2010) with Lion OS and tried to install Mavericks and part way through the installation it quit and reverted back to Lion and the app store doesn't let me download Mavericks again

    I have a laptop (2010) with Lion OS and tried to install Mavericks and part way through the installation it quit and reverted back to Lion and the app store doesn't let me download Mavericks again. How can I resolve this?

    Is your data backed up?
    Are you running any non-Apple system optimization tools?

  • IPad Calendar doesn't sync back to iCloud nor Mac

    Hello all,
    I have a strange issue that, since a few days, the iPad-based, iCloud-linked calendar doesn't sync back to iCloud. Hence, for that reason, the calendar on the Mac isn't in sync, and this is, as you can guess, pretty annoying. iPad runs iPhone OS 6.1, and the Mac runs Snow Leopard. I manually configured the calendar portion of iCloud as indicated, and sync between iCal (Mac) and iCloud doesn't suffer any delay.
    Additional information: when initially reinstalled, the iPad has two sets of calendars: one locally synced with the Mac, the other being iCloud, and there's overlap between the two, thanks to this pesky sync problem. I really appreciate the convenience of iCloud, but can't go without the safety of local sync. I may go days without manually syncing the iPad with iTunes but still, iCal is my lifeline, and any defect in keeping updated or worse, losing events will result in serious profesional consequences. It already happened in the days before iCloud.
    iCloud-related information: my Apple ID is an email that has been dead for years. Since I used it heavily before the mailing privider ceased activities, I couldn't practically restart from scratch, so I am currently using this "fossil" login along with an updated Yahoo contact adress, and recently added an @me.com adress from iCloud. The latter is the adress is the one used to connect to iCloud's calendar from iCal, and works nicely.
    However, the iPad, despite being configured with iCloud natively, doesn't update. I restarted it, but since the most up-to-date calendar is on the iPad and un-synced, so far I didn't try deleting and re-adding iCloud to the iPad as it would delete events added since.
    What could cause the iPad to lose sync with iCloud, and how to solve that and prevent it from happening again?

    David, nice to hear from you again, hope you are well.
    This user tip might help you understand how accounts work with Address Book.
    I believe you have duplicates because you have two sets of contacts. "iCloud" and "On My Mac". Once you have created all your contacts in the iCloud account, you should delete them from On My Mac.
    You can move contacts simply by dragging and dropping from one account to the other, you don't need to export them all to the desktop (although doind so will serve as a good back up if all goes wrong). You should note that this copies them though rather than simply move them, so you'll need to delete the old set when you are done.
    As for preserving groups from the On My Mac Account, you can't but you can simplify recreating them by copying contacts (drag and drop) from an on my mac group to an empty group in iCloud.
    Not sure about the contacts that you are struggling to move.
    Many aspects of iCloud are difficult to understand, have a mull through what I've said so far and come back if everything still doesn't fall into place.

  • ALV doesn't go back

    Hi Experts,
    based on the SAP ALV example for "cl_salv_table" I wrote an ALV report. The first screen is for data selection. After this the ALV grid is displayed.
    The problem is that the standard back button doesn't work as expected. So after clicking on "direct processing (F8)" in SE80 the selection screen is being opened. Here the back button works fine and it switches back to SE80.
    When having selected some values and processed the report so the ALV grid is being displayed the click on back button results in an empty screen just with the title headline of the report. There I would expect the selection screen to be.
    When clicking on the back button at this empty screen the report is being processed again and the ALV grid pops up. From there on its something like a endless loop: back to empty screen - back to ALV grid; back to empty screen - back to ALV grid; ...
    The PF Status is defined. The OK-Code is defined. After clicking on the back button the standard PAI-Module is being loaded.
    The following is the part where I declare the ALV grid:
    TRY.
      cl_salv_table=>factory(
          EXPORTING
            list_display = IF_SALV_C_BOOL_SAP=>FALSE
          IMPORTING r_salv_table = alv
          CHANGING t_table = lt_report_tab ).
      alv->set_screen_status(
        pfstatus = 'MAIN'
        report = sy-repid
        set_functions = alv->c_functions_all ).
      alv_events = alv->get_event( ).
      create object event_handler.
      set handler event_handler->on_double_click for alv_events.
    *  Set up selections.
      g_selections = alv->get_selections( ).
      g_selections->set_selection_mode( 1 ). "Single
      alv->display( ).
    CATCH cx_salv_msg.
      MESSAGE 'ALV display was not possible' TYPE 'I' DISPLAY LIKE 'E'.
    ENDTRY.
    Any Ideas what could be wrong with my coding?
    Many thanks in advance!
    Best regards
    Tobias

    The function code is: &F03
    alternativley I already tried BACK with the same result.
    Where shall I put the LEAVE TO SCREEN 0 when it's using the standard PAI Module which is NOT included within my Report?

  • Sql query is hung, doesn't comes back

    Hello Every one,
    Two node Rac on Linux 5 64-bit, 11.2.0.1.0
    In our data ware housing environment, i have a sql query which doesn't comes back at all, when i run, it is just hung for a long time with no output. I did following basic testing
    1. All the indexes are valid and stats are up to date(count(*) matches num rows)
    2. There is a union clause in the query, i divided the query in two parts - the first part prior to union and second part after union, then i ran those two parts separately - the first part comes back quickly with no rows selected but the second part has a main problem(its just hung).
    Please note that one table in the query has a partitioned table. following is the query and the tables involved in it.
    Please let me know if you need any further information, it will be of great help if i get through this. Thanks in advance.
    OWNER                          TABLE_NAME                     STATUS   LAST_ANAL   NUM_ROWS
    MAINTENANCE_DM                 D_VEHICLE                      VALID    21-NOV-12     752590
    PTL_HOLD                       R_COMP_CODES                   VALID    21-NOV-12        108
    PTL_HOLD                       USER_GEO                       VALID    20-DEC-12        300
    PTL_EDW                        D_CUSTOMER                     VALID    20-DEC-12     219498
    PTL_EDW                        D_LOCN                         VALID    20-DEC-12      19456
    PTL_EDW                        D_VEHICLE                      VALID    20-DEC-12    3973271
    PTL_EDW                        F_VEH_LOCN                     VALID    20-DEC-12    3131138
    PTL_EDW                        F_RO_DETL                      VALID    21-NOV-12   29234052
    8 rows selected.
    SELECT
      '../../opendoc/',
      '&hideSave=true&hideEdit=true&hideRefresh=true&hideUserPromptInput=true',
      'Data As Of:',
      'Run Date:',
      ptl_hold.get_stgextr_time('FACT_FPNA_RO'),
      'RO Date',
      PTL_EDW.F_RO_DETL.RO_TYP,
      PTL_EDW.D_CUSTOMER.CUST_NUM,
      (PTL_EDW.D_CUSTOMER.CUST_NUM )||' - '||( PTL_EDW.D_CUSTOMER.CUST_PRIME_NM),
      PTL_EDW.D_CUSTOMER.BILL_GRP,
      CASE WHEN PTL_EDW.D_LOCN.CORP_CD='HPTL' THEN 'US' ELSE CASE WHEN  PTL_EDW.D_LOCN.CORP_CD='2000' THEN 'CANADA' ELSE 'UNKNOWN' END END,
      PTL_EDW.D_LOCN.REGN_NUM,
      PTL_EDW.D_LOCN.REGN_NUM ||' - '||PTL_EDW.D_LOCN.REGN_NM,
      PTL_EDW.D_LOCN.AREA_NUM,
      PTL_EDW.D_LOCN.AREA_NUM||' - '||PTL_EDW.D_LOCN.AREA_NM,
      PTL_EDW.D_LOCN.RDIST_NUM,
      PTL_EDW.D_LOCN.RDIST_NUM||' - '||PTL_EDW.D_LOCN.RDIST_NM,
      PTL_EDW.D_LOCN.DIST_NUM,
      PTL_EDW.D_LOCN.DIST_NUM||' - '||PTL_EDW.D_LOCN.DIST_NM,
      CASE WHEN TRIM(PTL_EDW.D_VEHICLE.VEH_CAP_STAT) IN ('ACTIVE','ACCRUED') THEN 'Active' ELSE 'Inactive' END,
      DECODE(PTL_EDW.D_VEHICLE.CONTR_GRP, 'X' ,'NON-CONTRACT',PTL_EDW.D_VEHICLE.VEH_CAT),
      PTL_EDW.D_VEHICLE.VEH_UNIT_TYP,
      PTL_EDW.D_VEHICLE.VEH_MODL_YR,
      PTL_EDW.D_VEHICLE.VEH_MAKE,
      PTL_EDW.D_VEHICLE.VEH_MODEL,
      CASE WHEN ( PTL_HOLD.R_COMP_CODES.COMP_CD ) IN ('057','061') THEN 'Accident/Incident' ELSE 'Non-Accident/Incident' END,
      PTL_HOLD.R_COMP_CODES.COMP_CD,
      PTL_HOLD.R_COMP_CODES.COMP_DESC,
      PTL_HOLD.R_COMP_CODES.COMP_CD||' - '||PTL_HOLD.R_COMP_CODES.COMP_DESC,
      PTL_EDW.D_VEHICLE.UNIT_NUM,
      PTL_EDW_D_RO_LOCN.DIST_NUM || PTL_EDW_D_RO_LOCN.DIST_SUFX ||  PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM,
      PTL_EDW_D_RO_LOCN.DIST_NUM || PTL_EDW_D_RO_LOCN.DIST_SUFX || PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM || PTL_EDW.F_RO_DETL.RO_SEQ_NUM
      PTL_EDW.F_RO_DETL.RO_SRC,
      PTL_EDW.F_RO_DETL.TOTAL_LABOR_HRS,
      PTL_EDW.F_RO_DETL.TOTAL_LABOR_COST,
      PTL_EDW.F_RO_DETL.OUT_COST,
      PTL_EDW.F_RO_DETL.PARTS_COST,
      PTL_EDW.F_RO_DETL.RO_COST,
      TO_CHAR(PTL_EDW_D_RO_LOCN.LOCN_KEY),
      PTL_EDW.F_RO_DETL.RO_NUM,
      PTL_EDW.F_RO_DETL.RO_SEQ_NUM,
      PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
    FROM
      PTL_EDW.F_RO_DETL,
      PTL_EDW.D_CUSTOMER,
      PTL_EDW.D_LOCN,
      PTL_EDW.D_VEHICLE,
      PTL_HOLD.R_COMP_CODES,
      PTL_EDW.D_LOCN  PTL_EDW_D_RO_LOCN,
      PTL_EDW.D_LOCN  PTL_EDW_D_CHRG_LOCN,
      PTL_EDW.D_TIME,
      PTL_EDW.D_LOCN  CURRENT_VEH_LOCN,
      PTL_EDW.F_VEH_LOCN,
      PTL_EDW.D_VEHICLE  CURRENT_VEH
    WHERE
      ( PTL_EDW.F_RO_DETL.CUST_KEY=PTL_EDW.D_CUSTOMER.CUST_KEY  )
      AND  ( PTL_EDW.F_RO_DETL.LOCN_KEY=PTL_EDW.D_LOCN.LOCN_KEY  )
      AND  ( PTL_EDW.D_TIME.TIME_KEY=PTL_EDW.F_RO_DETL.RO_TIME_KEY  )
      AND  ( PTL_EDW.D_VEHICLE.VEH_KEY=PTL_EDW.F_RO_DETL.VEH_KEY  )
      AND  ( PTL_EDW_D_RO_LOCN.LOCN_KEY=PTL_EDW.F_RO_DETL.RO_LOCN_KEY  )
      AND  ( PTL_EDW.F_RO_DETL.CHRG_LOCN_KEY=PTL_EDW_D_CHRG_LOCN.LOCN_KEY  )
      AND  ( CURRENT_VEH_LOCN.LOCN_KEY=PTL_EDW.F_VEH_LOCN.LOCN_KEY  )
      AND  ( CURRENT_VEH.SCD_FLG='A'  )
      AND  ( CURRENT_VEH.CONTR_GRP='P'  )
      AND  ( CURRENT_VEH.CORP_CD=PTL_EDW.D_VEHICLE.CORP_CD and CURRENT_VEH.UNIT_NUM=PTL_EDW.D_VEHICLE.UNIT_NUM  )
      AND  ( CURRENT_VEH.VEH_KEY=PTL_EDW.F_VEH_LOCN.VEH_KEY  )
      AND  ( PTL_HOLD.R_COMP_CODES.COMP_CD=PTL_EDW.F_RO_DETL.COMP_CD  )
      AND 
       ( 'Accounting Month' = 'RO Date'  )
       AND
       ( '2500' = 'NO-MIN'
    OR    EXISTS(SELECT RO_TOTAL_COST.RO_LOCN_KEY, RO_TOTAL_COST.ORIGINAL_RO_NUM 
    FROM      PTL_EDW.F_RO_DETL RO_TOTAL_COST,
        PTL_EDW.D_TIME DTIME
    WHERE
        ('I' = 'I'
        OR ('I' = 'E'
            AND RO_TOTAL_COST.RO_TYP  <>  'W'))
        AND RO_TOTAL_COST.RO_LOCN_KEY = PTL_EDW.F_RO_DETL.RO_LOCN_KEY
        AND RO_TOTAL_COST.ORIGINAL_RO_NUM = PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
        AND RO_TOTAL_COST.RO_TIME_KEY = DTIME.TIME_KEY
        AND DTIME.CALENDAR_DT BETWEEN to_date('2011-JAN-01') AND to_date('2012-SEP-24')
    GROUP BY
        RO_TOTAL_COST.RO_LOCN_KEY,
        RO_TOTAL_COST.ORIGINAL_RO_NUM
    HAVING
    Sum(RO_TOTAL_COST.RO_COST) >= TO_NUMBER(translate('2500','NO-MIN',' ')))
       AND
       PTL_EDW_D_CHRG_LOCN.DIST_NUM_SUFX  IN  ('014810')
       AND
       ( PTL_EDW.D_TIME.CALENDAR_DT  BETWEEN  to_date('2011-JAN-01') AND to_date('2012-SEP-24')  )
       AND
       ( 'I'  = 'I'
      OR
      ( 'I' = 'E'
         And ( ( PTL_EDW.F_RO_DETL.RO_TYP ) <> 'W'
       AND
       ( EXISTS(SELECT *  FROM PTL_HOLD.USER_GEO WHERE USERID='600125729' AND PTL_HOLD.USER_GEO.GEO IN (CURRENT_VEH_LOCN.CORP_CD, CURRENT_VEH_LOCN.REGN_NUM, CURRENT_VEH_LOCN.AREA_NUM, CURRENT_VEH_LOCN.RDIST_NUM, CURRENT_VEH_LOCN.DIST_NUM))  )
    UNION 
    SELECT
      '../../opendoc/',
      '&hideSave=true&hideEdit=true&hideRefresh=true&hideUserPromptInput=true',
      'Data As Of:',
      'Run Date:',
      ptl_hold.get_stgextr_time('FACT_FPNA_RO'),
      'Accounting Month',
      PTL_EDW.F_RO_DETL.RO_TYP,
      PTL_EDW.D_CUSTOMER.CUST_NUM,
      (PTL_EDW.D_CUSTOMER.CUST_NUM )||' - '||( PTL_EDW.D_CUSTOMER.CUST_PRIME_NM),
      PTL_EDW.D_CUSTOMER.BILL_GRP,
      CASE WHEN PTL_EDW.D_LOCN.CORP_CD='HPTL' THEN 'US' ELSE CASE WHEN  PTL_EDW.D_LOCN.CORP_CD='2000' THEN 'CANADA' ELSE 'UNKNOWN' END END,
      PTL_EDW.D_LOCN.REGN_NUM,
      PTL_EDW.D_LOCN.REGN_NUM ||' - '||PTL_EDW.D_LOCN.REGN_NM,
      PTL_EDW.D_LOCN.AREA_NUM,
      PTL_EDW.D_LOCN.AREA_NUM||' - '||PTL_EDW.D_LOCN.AREA_NM,
      PTL_EDW.D_LOCN.RDIST_NUM,
      PTL_EDW.D_LOCN.RDIST_NUM||' - '||PTL_EDW.D_LOCN.RDIST_NM,
      PTL_EDW.D_LOCN.DIST_NUM,
      PTL_EDW.D_LOCN.DIST_NUM||' - '||PTL_EDW.D_LOCN.DIST_NM,
      CASE WHEN TRIM(PTL_EDW.D_VEHICLE.VEH_CAP_STAT) IN ('ACTIVE','ACCRUED') THEN 'Active' ELSE 'Inactive' END,
      DECODE(PTL_EDW.D_VEHICLE.CONTR_GRP, 'X' ,'NON-CONTRACT',PTL_EDW.D_VEHICLE.VEH_CAT),
      PTL_EDW.D_VEHICLE.VEH_UNIT_TYP,
      PTL_EDW.D_VEHICLE.VEH_MODL_YR,
      PTL_EDW.D_VEHICLE.VEH_MAKE,
      PTL_EDW.D_VEHICLE.VEH_MODEL,
      CASE WHEN ( PTL_HOLD.R_COMP_CODES.COMP_CD ) IN ('057','061') THEN 'Accident/Incident' ELSE 'Non-Accident/Incident' END,
      PTL_HOLD.R_COMP_CODES.COMP_CD,
      PTL_HOLD.R_COMP_CODES.COMP_DESC,
      PTL_HOLD.R_COMP_CODES.COMP_CD||' - '||PTL_HOLD.R_COMP_CODES.COMP_DESC,
      PTL_EDW.D_VEHICLE.UNIT_NUM,
      PTL_EDW_D_RO_LOCN.DIST_NUM || PTL_EDW_D_RO_LOCN.DIST_SUFX ||  PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM,
      PTL_EDW_D_RO_LOCN.DIST_NUM || PTL_EDW_D_RO_LOCN.DIST_SUFX || PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM || PTL_EDW.F_RO_DETL.RO_SEQ_NUM
      PTL_EDW.F_RO_DETL.RO_SRC,
      PTL_EDW.F_RO_DETL.TOTAL_LABOR_HRS,
      PTL_EDW.F_RO_DETL.TOTAL_LABOR_COST,
      PTL_EDW.F_RO_DETL.OUT_COST,
      PTL_EDW.F_RO_DETL.PARTS_COST,
      PTL_EDW.F_RO_DETL.RO_COST,
      TO_CHAR(PTL_EDW_D_RO_LOCN.LOCN_KEY),
      PTL_EDW.F_RO_DETL.RO_NUM,
      PTL_EDW.F_RO_DETL.RO_SEQ_NUM,
      PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
    FROM
      PTL_EDW.F_RO_DETL,
      PTL_EDW.D_CUSTOMER,
      PTL_EDW.D_LOCN,
      PTL_EDW.D_VEHICLE,
      PTL_HOLD.R_COMP_CODES,
      PTL_EDW.D_LOCN  PTL_EDW_D_RO_LOCN,
      PTL_EDW.D_LOCN  PTL_EDW_D_CHRG_LOCN,
      PTL_EDW.D_LOCN  CURRENT_VEH_LOCN,
      PTL_EDW.F_VEH_LOCN,
      PTL_EDW.D_VEHICLE  CURRENT_VEH
    WHERE
      ( PTL_EDW.F_RO_DETL.CUST_KEY=PTL_EDW.D_CUSTOMER.CUST_KEY  )
      AND  ( PTL_EDW.F_RO_DETL.LOCN_KEY=PTL_EDW.D_LOCN.LOCN_KEY  )
      AND  ( PTL_EDW.D_VEHICLE.VEH_KEY=PTL_EDW.F_RO_DETL.VEH_KEY  )
      AND  ( PTL_EDW_D_RO_LOCN.LOCN_KEY=PTL_EDW.F_RO_DETL.RO_LOCN_KEY  )
      AND  ( PTL_EDW.F_RO_DETL.CHRG_LOCN_KEY=PTL_EDW_D_CHRG_LOCN.LOCN_KEY  )
      AND  ( CURRENT_VEH_LOCN.LOCN_KEY=PTL_EDW.F_VEH_LOCN.LOCN_KEY  )
      AND  ( CURRENT_VEH.SCD_FLG='A'  )
      AND  ( CURRENT_VEH.CONTR_GRP='P'  )
      AND  ( CURRENT_VEH.CORP_CD=PTL_EDW.D_VEHICLE.CORP_CD and CURRENT_VEH.UNIT_NUM=PTL_EDW.D_VEHICLE.UNIT_NUM  )
      AND  ( CURRENT_VEH.VEH_KEY=PTL_EDW.F_VEH_LOCN.VEH_KEY  )
      AND  ( PTL_HOLD.R_COMP_CODES.COMP_CD=PTL_EDW.F_RO_DETL.COMP_CD  )
      AND 
       ( 'Accounting Month' = 'Accounting Month'  )
       AND
       ( '2500' = 'NO-MIN'
    OR           EXISTS(SELECT RO_TOTAL_COST.RO_LOCN_KEY, RO_TOTAL_COST.ORIGINAL_RO_NUM
    FROM      PTL_EDW.F_RO_DETL RO_TOTAL_COST
    WHERE
        ('I' = 'I'
        OR ('I' = 'E'
            AND RO_TOTAL_COST.RO_TYP  <>  'W'))
        AND RO_TOTAL_COST.RO_LOCN_KEY = PTL_EDW.F_RO_DETL.RO_LOCN_KEY
        AND RO_TOTAL_COST.ORIGINAL_RO_NUM = PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
        AND RO_TOTAL_COST.PARTITION_KEY BETWEEN 
           to_number(to_char(to_date('2011-JAN-01','YYYY-MON-DD'),'yyyymm')) 
           AND  to_number(to_char(to_date('2012-SEP-24','YYYY-MON-DD'),'yyyymm'))
    GROUP BY
        RO_TOTAL_COST.RO_LOCN_KEY,
        RO_TOTAL_COST.ORIGINAL_RO_NUM
    HAVING
    Sum(RO_TOTAL_COST.RO_COST) >= TO_NUMBER(translate('2500','NO-MIN',' ')))  )
       AND
       PTL_EDW_D_CHRG_LOCN.DIST_NUM_SUFX  IN  ('014810')
       AND
       ( (PTL_EDW.F_RO_DETL.PARTITION_KEY BETWEEN 
           to_number(to_char(to_date('2011-JAN-01','YYYY-MON-DD'),'yyyymm')) 
           AND  to_number(to_char(to_date('2012-SEP-24','YYYY-MON-DD'),'yyyymm'))
       AND
       ( 'I'  = 'I'
      OR
      ( 'I' = 'E'
         And ( ( PTL_EDW.F_RO_DETL.RO_TYP ) <> 'W'
       AND
       ( EXISTS(SELECT *  FROM PTL_HOLD.USER_GEO WHERE USERID='600125729' AND PTL_HOLD.USER_GEO.GEO IN (CURRENT_VEH_LOCN.CORP_CD, CURRENT_VEH_LOCN.REGN_NUM, CURRENT_VEH_LOCN.AREA_NUM, CURRENT_VEH_LOCN.RDIST_NUM, CURRENT_VEH_LOCN.DIST_NUM))  )
    );Thank you.

    For your own sanity, you should learn to format your code. For the sake of the forum members, you should preserve the formatting by using the \ tags. 
    I've done that for you here, and some other questions popped right out.  Look for my embedded comments near the bottomSELECT
    '../../opendoc/',
    '&hideSave=true&hideEdit=true&hideRefresh=true&hideUserPromptInput=true'
    'Data As Of:' ,
    'Run Date:' ,
    ptl_hold.get_stgextr_time('FACT_FPNA_RO'),
    'RO Date' ,
    PTL_EDW.F_RO_DETL.RO_TYP ,
    PTL_EDW.D_CUSTOMER.CUST_NUM ,
    (PTL_EDW.D_CUSTOMER.CUST_NUM )
    ||' - '
    ||( PTL_EDW.D_CUSTOMER.CUST_PRIME_NM),
    PTL_EDW.D_CUSTOMER.BILL_GRP ,
    CASE
    WHEN PTL_EDW.D_LOCN.CORP_CD='HPTL'
    THEN 'US'
    ELSE
    CASE
    WHEN PTL_EDW.D_LOCN.CORP_CD='2000'
    THEN 'CANADA'
    ELSE 'UNKNOWN'
    END
    END ,
    PTL_EDW.D_LOCN.REGN_NUM,
    PTL_EDW.D_LOCN.REGN_NUM
    ||' - '
    ||PTL_EDW.D_LOCN.REGN_NM,
    PTL_EDW.D_LOCN.AREA_NUM ,
    PTL_EDW.D_LOCN.AREA_NUM
    ||' - '
    ||PTL_EDW.D_LOCN.AREA_NM,
    PTL_EDW.D_LOCN.RDIST_NUM,
    PTL_EDW.D_LOCN.RDIST_NUM
    ||' - '
    ||PTL_EDW.D_LOCN.RDIST_NM,
    PTL_EDW.D_LOCN.DIST_NUM ,
    PTL_EDW.D_LOCN.DIST_NUM
    ||' - '
    ||PTL_EDW.D_LOCN.DIST_NM,
    CASE
    WHEN TRIM(PTL_EDW.D_VEHICLE.VEH_CAP_STAT) IN
    ('ACTIVE','ACCRUED')
    THEN 'Active'
    ELSE 'Inactive'
    END,
    DECODE(PTL_EDW.D_VEHICLE.CONTR_GRP, 'X' ,
    'NON-CONTRACT',PTL_EDW.D_VEHICLE.VEH_CAT),
    PTL_EDW.D_VEHICLE.VEH_UNIT_TYP ,
    PTL_EDW.D_VEHICLE.VEH_MODL_YR ,
    PTL_EDW.D_VEHICLE.VEH_MAKE ,
    PTL_EDW.D_VEHICLE.VEH_MODEL ,
    CASE
    WHEN
    PTL_HOLD.R_COMP_CODES.COMP_CD
    IN ('057','061')
    THEN 'Accident/Incident'
    ELSE 'Non-Accident/Incident'
    END ,
    PTL_HOLD.R_COMP_CODES.COMP_CD ,
    PTL_HOLD.R_COMP_CODES.COMP_DESC,
    PTL_HOLD.R_COMP_CODES.COMP_CD
    ||' - '
    ||PTL_HOLD.R_COMP_CODES.COMP_DESC,
    PTL_EDW.D_VEHICLE.UNIT_NUM ,
    PTL_EDW_D_RO_LOCN.DIST_NUM
    || PTL_EDW_D_RO_LOCN.DIST_SUFX
    || PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM,
    PTL_EDW_D_RO_LOCN.DIST_NUM
    || PTL_EDW_D_RO_LOCN.DIST_SUFX
    || PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
    || PTL_EDW.F_RO_DETL.RO_SEQ_NUM ,
    PTL_EDW.F_RO_DETL.RO_SRC ,
    PTL_EDW.F_RO_DETL.TOTAL_LABOR_HRS ,
    PTL_EDW.F_RO_DETL.TOTAL_LABOR_COST ,
    PTL_EDW.F_RO_DETL.OUT_COST ,
    PTL_EDW.F_RO_DETL.PARTS_COST ,
    PTL_EDW.F_RO_DETL.RO_COST ,
    TO_CHAR(PTL_EDW_D_RO_LOCN.LOCN_KEY),
    PTL_EDW.F_RO_DETL.RO_NUM ,
    PTL_EDW.F_RO_DETL.RO_SEQ_NUM ,
    PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
    FROM
    PTL_EDW.F_RO_DETL ,
    PTL_EDW.D_CUSTOMER ,
    PTL_EDW.D_LOCN ,
    PTL_EDW.D_VEHICLE ,
    PTL_HOLD.R_COMP_CODES ,
    PTL_EDW.D_LOCN PTL_EDW_D_RO_LOCN ,
    PTL_EDW.D_LOCN PTL_EDW_D_CHRG_LOCN,
    PTL_EDW.D_TIME ,
    PTL_EDW.D_LOCN CURRENT_VEH_LOCN ,
    PTL_EDW.F_VEH_LOCN ,
    PTL_EDW.D_VEHICLE CURRENT_VEH
    WHERE
    PTL_EDW.F_RO_DETL.CUST_KEY =
    PTL_EDW.D_CUSTOMER.CUST_KEY
    AND
    PTL_EDW.F_RO_DETL.LOCN_KEY =
    PTL_EDW.D_LOCN.LOCN_KEY
    AND
    PTL_EDW.D_TIME.TIME_KEY =
    PTL_EDW.F_RO_DETL.RO_TIME_KEY
    AND
    PTL_EDW.D_VEHICLE.VEH_KEY =
    PTL_EDW.F_RO_DETL.VEH_KEY
    AND
    PTL_EDW_D_RO_LOCN.LOCN_KEY =
    PTL_EDW.F_RO_DETL.RO_LOCN_KEY
    AND
    PTL_EDW.F_RO_DETL.CHRG_LOCN_KEY=
    PTL_EDW_D_CHRG_LOCN.LOCN_KEY
    AND
    CURRENT_VEH_LOCN.LOCN_KEY =
    PTL_EDW.F_VEH_LOCN.LOCN_KEY
    AND
    CURRENT_VEH.SCD_FLG ='A'
    AND
    CURRENT_VEH.CONTR_GRP ='P'
    AND
    CURRENT_VEH.CORP_CD =
    PTL_EDW.D_VEHICLE.CORP_CD
    AND CURRENT_VEH.UNIT_NUM =
    PTL_EDW.D_VEHICLE.UNIT_NUM
    AND
    CURRENT_VEH.VEH_KEY =
    PTL_EDW.F_VEH_LOCN.VEH_KEY
    AND
    PTL_HOLD.R_COMP_CODES.COMP_CD =
    PTL_EDW.F_RO_DETL.COMP_CD
    AND
    'Accounting Month' = 'RO Date'
    AND
    '2500' = 'NO-MIN'
    OR EXISTS
    SELECT
    RO_TOTAL_COST.RO_LOCN_KEY,
    RO_TOTAL_COST.ORIGINAL_RO_NUM
    FROM
    PTL_EDW.F_RO_DETL RO_TOTAL_COST,
    PTL_EDW.D_TIME DTIME
    WHERE
    'I' = 'I'
    OR
    'I' = 'E'
    AND RO_TOTAL_COST.RO_TYP 'W'
    AND RO_TOTAL_COST.RO_LOCN_KEY =
    PTL_EDW.F_RO_DETL.RO_LOCN_KEY
    AND RO_TOTAL_COST.ORIGINAL_RO_NUM =
    PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
    AND RO_TOTAL_COST.RO_TIME_KEY =
    DTIME.TIME_KEY
    AND DTIME.CALENDAR_DT BETWEEN to_date(
    '2011-JAN-01') AND to_date(
    '2012-SEP-24')
    GROUP BY
    RO_TOTAL_COST.RO_LOCN_KEY,
    RO_TOTAL_COST.ORIGINAL_RO_NUM
    HAVING
    SUM(RO_TOTAL_COST.RO_COST) >= TO_NUMBER
    (TRANSLATE('2500','NO-MIN',' '))
    AND PTL_EDW_D_CHRG_LOCN.DIST_NUM_SUFX IN (
    '014810')
    AND
    PTL_EDW.D_TIME.CALENDAR_DT BETWEEN to_date(
    '2011-JAN-01') AND to_date('2012-SEP-24')
    AND
    'I' = 'I'
    OR
    'I' = 'E'
    AND
    PTL_EDW.F_RO_DETL.RO_TYP
    'W'
    AND
    EXISTS
    SELECT
    FROM
    PTL_HOLD.USER_GEO
    WHERE
    USERID ='600125729'
    AND PTL_HOLD.USER_GEO.GEO IN (
    CURRENT_VEH_LOCN.CORP_CD,
    CURRENT_VEH_LOCN.REGN_NUM,
    CURRENT_VEH_LOCN.AREA_NUM,
    CURRENT_VEH_LOCN.RDIST_NUM,
    CURRENT_VEH_LOCN.DIST_NUM)
    UNION
    SELECT
    '../../opendoc/',
    '&hideSave=true&hideEdit=true&hideRefresh=true&hideUserPromptInput=true'
    'Data As Of:' ,
    'Run Date:' ,
    ptl_hold.get_stgextr_time('FACT_FPNA_RO'),
    'Accounting Month' ,
    PTL_EDW.F_RO_DETL.RO_TYP ,
    PTL_EDW.D_CUSTOMER.CUST_NUM ,
    (PTL_EDW.D_CUSTOMER.CUST_NUM )
    ||' - '
    ||( PTL_EDW.D_CUSTOMER.CUST_PRIME_NM),
    PTL_EDW.D_CUSTOMER.BILL_GRP ,
    CASE
    WHEN PTL_EDW.D_LOCN.CORP_CD='HPTL'
    THEN 'US'
    ELSE
    CASE
    WHEN PTL_EDW.D_LOCN.CORP_CD='2000'
    THEN 'CANADA'
    ELSE 'UNKNOWN'
    END
    END ,
    PTL_EDW.D_LOCN.REGN_NUM,
    PTL_EDW.D_LOCN.REGN_NUM
    ||' - '
    ||PTL_EDW.D_LOCN.REGN_NM,
    PTL_EDW.D_LOCN.AREA_NUM ,
    PTL_EDW.D_LOCN.AREA_NUM
    ||' - '
    ||PTL_EDW.D_LOCN.AREA_NM,
    PTL_EDW.D_LOCN.RDIST_NUM,
    PTL_EDW.D_LOCN.RDIST_NUM
    ||' - '
    ||PTL_EDW.D_LOCN.RDIST_NM,
    PTL_EDW.D_LOCN.DIST_NUM ,
    PTL_EDW.D_LOCN.DIST_NUM
    ||' - '
    ||PTL_EDW.D_LOCN.DIST_NM,
    CASE
    WHEN TRIM(PTL_EDW.D_VEHICLE.VEH_CAP_STAT) IN
    ('ACTIVE','ACCRUED')
    THEN 'Active'
    ELSE 'Inactive'
    END,
    DECODE(PTL_EDW.D_VEHICLE.CONTR_GRP, 'X' ,
    'NON-CONTRACT',PTL_EDW.D_VEHICLE.VEH_CAT),
    PTL_EDW.D_VEHICLE.VEH_UNIT_TYP ,
    PTL_EDW.D_VEHICLE.VEH_MODL_YR ,
    PTL_EDW.D_VEHICLE.VEH_MAKE ,
    PTL_EDW.D_VEHICLE.VEH_MODEL ,
    CASE
    WHEN
    PTL_HOLD.R_COMP_CODES.COMP_CD
    IN ('057','061')
    THEN 'Accident/Incident'
    ELSE 'Non-Accident/Incident'
    END ,
    PTL_HOLD.R_COMP_CODES.COMP_CD ,
    PTL_HOLD.R_COMP_CODES.COMP_DESC,
    PTL_HOLD.R_COMP_CODES.COMP_CD
    ||' - '
    ||PTL_HOLD.R_COMP_CODES.COMP_DESC,
    PTL_EDW.D_VEHICLE.UNIT_NUM ,
    PTL_EDW_D_RO_LOCN.DIST_NUM
    || PTL_EDW_D_RO_LOCN.DIST_SUFX
    || PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM,
    PTL_EDW_D_RO_LOCN.DIST_NUM
    || PTL_EDW_D_RO_LOCN.DIST_SUFX
    || PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
    || PTL_EDW.F_RO_DETL.RO_SEQ_NUM ,
    PTL_EDW.F_RO_DETL.RO_SRC ,
    PTL_EDW.F_RO_DETL.TOTAL_LABOR_HRS ,
    PTL_EDW.F_RO_DETL.TOTAL_LABOR_COST ,
    PTL_EDW.F_RO_DETL.OUT_COST ,
    PTL_EDW.F_RO_DETL.PARTS_COST ,
    PTL_EDW.F_RO_DETL.RO_COST ,
    TO_CHAR(PTL_EDW_D_RO_LOCN.LOCN_KEY),
    PTL_EDW.F_RO_DETL.RO_NUM ,
    PTL_EDW.F_RO_DETL.RO_SEQ_NUM ,
    PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
    FROM
    PTL_EDW.F_RO_DETL ,
    PTL_EDW.D_CUSTOMER ,
    PTL_EDW.D_LOCN ,
    PTL_EDW.D_VEHICLE ,
    PTL_HOLD.R_COMP_CODES ,
    PTL_EDW.D_LOCN PTL_EDW_D_RO_LOCN ,
    PTL_EDW.D_LOCN PTL_EDW_D_CHRG_LOCN,
    PTL_EDW.D_LOCN CURRENT_VEH_LOCN ,
    PTL_EDW.F_VEH_LOCN ,
    PTL_EDW.D_VEHICLE CURRENT_VEH
    WHERE
    PTL_EDW.F_RO_DETL.CUST_KEY =
    PTL_EDW.D_CUSTOMER.CUST_KEY
    AND
    PTL_EDW.F_RO_DETL.LOCN_KEY =
    PTL_EDW.D_LOCN.LOCN_KEY
    AND
    PTL_EDW.D_VEHICLE.VEH_KEY =
    PTL_EDW.F_RO_DETL.VEH_KEY
    AND
    PTL_EDW_D_RO_LOCN.LOCN_KEY =
    PTL_EDW.F_RO_DETL.RO_LOCN_KEY
    AND
    PTL_EDW.F_RO_DETL.CHRG_LOCN_KEY=
    PTL_EDW_D_CHRG_LOCN.LOCN_KEY
    AND
    CURRENT_VEH_LOCN.LOCN_KEY =
    PTL_EDW.F_VEH_LOCN.LOCN_KEY
    AND
    CURRENT_VEH.SCD_FLG ='A'
    AND
    CURRENT_VEH.CONTR_GRP ='P'
    AND
    CURRENT_VEH.CORP_CD =
    PTL_EDW.D_VEHICLE.CORP_CD
    AND CURRENT_VEH.UNIT_NUM =
    PTL_EDW.D_VEHICLE.UNIT_NUM
    AND
    CURRENT_VEH.VEH_KEY =
    PTL_EDW.F_VEH_LOCN.VEH_KEY
    AND
    PTL_HOLD.R_COMP_CODES.COMP_CD =
    PTL_EDW.F_RO_DETL.COMP_CD
    AND
    'Accounting Month' = 'Accounting Month'
    AND
    '2500' = 'NO-MIN'
    OR EXISTS
    SELECT
    RO_TOTAL_COST.RO_LOCN_KEY,
    RO_TOTAL_COST.ORIGINAL_RO_NUM
    FROM
    PTL_EDW.F_RO_DETL RO_TOTAL_COST
    WHERE
    'I' = 'I'
    /* what's the point? A literal always equals itself. /*
    OR
    'I' = 'E'
    /* again, what's the point? This will never be true */
    AND RO_TOTAL_COST.RO_TYP 'W'
    AND RO_TOTAL_COST.RO_LOCN_KEY =
    PTL_EDW.F_RO_DETL.RO_LOCN_KEY
    AND RO_TOTAL_COST.ORIGINAL_RO_NUM =
    PTL_EDW.F_RO_DETL.ORIGINAL_RO_NUM
    AND RO_TOTAL_COST.PARTITION_KEY BETWEEN
    to_number(TO_CHAR(to_date('2011-JAN-01','YYYY-MON-DD'),'yyyymm')) AND
    to_number(TO_CHAR(to_date('2012-SEP-24','YYYY-MON-DD'),'yyyymm'))
    /* what is the data type of PARTITION_KEY? This manipulation strongly suggests that it should be DATE and isn't.
    GROUP BY
    RO_TOTAL_COST.RO_LOCN_KEY,
    RO_TOTAL_COST.ORIGINAL_RO_NUM
    HAVING
    SUM(RO_TOTAL_COST.RO_COST) >= TO_NUMBER(TRANSLATE('2500','NO-MIN',' '))
    AND PTL_EDW_D_CHRG_LOCN.DIST_NUM_SUFX IN (
    '014810')
    AND
    PTL_EDW.F_RO_DETL.PARTITION_KEY BETWEEN
    to_number(TO_CHAR(to_date('2011-JAN-01',
    'YYYY-MON-DD'),'yyyymm')) AND to_number(
    TO_CHAR(to_date('2012-SEP-24',
    'YYYY-MON-DD'),'yyyymm'))
    AND
    'I' = 'I'
    OR
    'I' = 'E'
    AND
    PTL_EDW.F_RO_DETL.RO_TYP
    'W'
    AND
    EXISTS
    SELECT
    FROM
    PTL_HOLD.USER_GEO
    WHERE
    USERID ='600125729'
    AND PTL_HOLD.USER_GEO.GEO IN (
    CURRENT_VEH_LOCN.CORP_CD,
    CURRENT_VEH_LOCN.REGN_NUM,
    CURRENT_VEH_LOCN.AREA_NUM,
    CURRENT_VEH_LOCN.RDIST_NUM,
    CURRENT_VEH_LOCN.DIST_NUM)

  • I send a cookie to the server, but it doesn't come back.

    Hey all:
    I'm attemping send a cookie via an application to the servlet, and then pull that cookie back out from the servlet's response. I want to do this whole process repeatedly while retaining the same cookie.
    Pulling the cookie out on the first request to the servlet works fine because I do not send a cookie to the servlet, and the servlet instantiates a new session. Next, the cookie is sent back to the servlet successfully because it is printed out on the server-side exactly as it appeared on the client side. However, after the servlet responds to that second request and on subsequent requests, I can not pull the cookie out again. On the method call, connection.getHeaderField("Set-Cookie"), the result is null. I've even inspected the connection object, and it seems empty of any cookies whatsoever. Why doesn't the cookie come back on requests after the initial request? Is there anything I can do to make it come back?
    Thanks a ton in advance. Have great day!!!

    you must check that cookie's path set by Tomcat is the one expected by your browser. Otherwise the former won't send it back to the server. I had the same problem because Tomcat sets the cookie path to "/webAppName" and the browser expected it to be "/".

  • Screen doesn't come back after sleeping

    Occassionally I find that after closing my MPB to put it to sleep the screen doesn't come back up after re-opening the laptop. The pulsing white light which tells you the machine is sleeping goes off, so it seems as if the machine has woken up.... but there's nothing on the screen. I'm forced to use the power button to shut the machine down and start up again.
    Something to worry about?
    (p.s. I just tested it again and noticed that when I close the lid the white light isn't pulsing, but rather stays lit)
    Message was edited by: Scott F.

    I just recently (within the last two days) started having this problem myself. I've only owned the Macbook for a few months (purchased it from Apple online store right before the new ones came out). I am thinking it might be due to a recent update or something.
    When I close the lid, laptop sleeps but when you open it you can hear the CD tray spin up like it's trying to wake but doesn't. I've tried adjusting screen brightness via f-keys, changing the volume, etc. but seems like system is just locked up. I've been having to hold down the power button and force a reboot.

Maybe you are looking for

  • Cannot open link with PDF in windows7

    I got a new computer with windows 7( 64 bits) and I have got the latest version for Acrobat reader (Windows 7/English 10.1.3). When I search for a web page and I get links that contain PDF documents, I cannot open the PDF docs.  The Adobe reader trie

  • Bonjour Service Will Not Start - Error Code 87

    I'm unable to start the Bonjour service as I get an error code 87 when starting it. I've followed the apple support recommendation of uninstalling all itunes components and reinstalling but I still get the same issue Can anybody help with this please

  • Re: Metrics !

    Bala Krishnan wrote: > I am planning to evaluate a Framework for Forte applications. I would be glad if someone can let me know what are the finer points I should look for. I am evaluating it more from performance point of view, so would appreciate i

  • Capturing USERID in report

    Does anyone know how to capture the userid and use it as a parameter in a portal report?

  • Mac Projector, fullscreen but...

    Hi I'm making a CD-ROM to be compatible both Mac and PC. Everything went well. Burnt the CD, one part Mac, the other PC. On the PC, the Flash load as intended Full Screen, no border whatsoever shown. But on Mac, the header of the window of the Flash