Select query not working in Dev but working in QA and PRD

Hi All,
I have a select query with inner join which is not working in the DEV but working in QA and PRD. Anyone has any idea why is it happening, I think it to be a basis issue. Just want to confirm if anyone has any other idea.
Thanks in advance,
Barjinder Singh.

Hi Barjinder Singh,
In development you can't find the records for the table.
In testing system only you can test even the program(report).
If it is the DEV system you can't get the data.
Go and see into the table wether it has records or not(in DEV system).
It doesn't has the records in DEV system.
Regards,
Balakrishna.N

Similar Messages

  • Select query hangs on Oracle 9i but works fine in Oracle 8i

    Hi Guys,
    For a recap of what happened:
    Migrated from Oracle 8i to 9i for a customer, all queries and statements are working fine, except for this particular query. If i run the same query on 8i it works like a charm.
    In 9i, if i remove even one field from the query, it works else it just hangs.
    Any idea, any one???
    **Added 2:09PM: When i removed some ltrim and rtrim that i believe not necessary, the query works fine, is there any field length limitation in Oracle 9i???
    Below is the query:
    set pagesize 100;
    set linesize 1024;
    set heading off;
    set echo off;
    spool scb_xfer_hdr_npsx;
    select ltrim(rtrim(to_char(hdr_srl_no,'99'))) || ';' ||
    'P' || ';' || rtrim(ltrim(payment_type))|| ';'|| ';' ||
    ltrim(rtrim(our_ref_no))|| ';'|| 'MY;KUL;' ||
         rtrim(ltrim(debit_account_no))||';'||
    rtrim(ltrim(to_char(scb_batch_date,'YYYY/MM/DD'))) || ';'|| ';' ||
    rtrim(ltrim(payee_name_1))|| ';'|| ';' ||
    rtrim(ltrim(address_1))|| ';'||
    rtrim(ltrim(address_2))|| ';'||
    rtrim(ltrim(address_3))|| ';'|| ';' ||
    rtrim(ltrim(payee_name_11))|| ';' ||
    rtrim(ltrim(address_11))|| ';'||
    rtrim(ltrim(address_21))|| ';'||
    rtrim(ltrim(address_31))|| ';'|| ';' ||
         rtrim(ltrim(payee_bank_code)) || ';' || ';' ||
         rtrim(ltrim(payee_account_no)) || ';' ||
         rtrim(ltrim(our_ref_no2)) || ';' || ';' ||
         rtrim(ltrim(our_ref_no2)) || ';' || ';' || ';' || ';' ||
    rtrim(ltrim(payment_currency))|| ';'||
    rtrim(ltrim(to_char(payment_amount,'9999999999.99')))|| ';'||
         'C;P;;' || rtrim(ltrim(payee_bank_name))|| ';' ||
         'KL;;' ||
         rtrim(ltrim(delivery_method)) || ';' ||
         rtrim(ltrim(delivery_by)) || ';' ||
         rtrim(ltrim(counter_pickup_location))
    from scb_xfer_hdr_npsx
    order by hdr_srl_no;
    select distinct 'T;' || ltrim(rtrim(to_char(total_payments))) || ';' ||
         ltrim(rtrim(to_char(total_pay_amount,'9999999999.99')))
    from scb_xfer_hdr_npsx;
    spool off;
    spool scb_xfer_dtl_npsx;
    select ltrim(rtrim(to_char(srl_no,'99'))) || ';' || 'I' || ';' ||
         ltrim(rtrim(doc_no)) || ';' || ltrim(rtrim(to_char(doc_date,'yyyy/mm/dd'))) || ';' ||
         ltrim(rtrim(doc_description)) || ';' ||
         ltrim(rtrim(to_char(doc_amount,'9999999999.99')))
    from scb_xfer_dtl_npsx
    order by srl_no;
    spool off;
    set echo on;
    exit;
    Message was edited by:
    Logesh

    Hi,
    are you still on a 32bit kernel on AIX?
    How are the Form4.5 connected, are they on the same box, or are they using the forms GUI?
    What about the statistics, how do you collect them? Is the database set to the COST based optimizer?
    Do you use dbms_utility.analyze_schema, or this:
    exec dbms_stats.gather_schema_stats( -
    ownname => '$OWNER', -
    estimate_percent => 10, -
    granularity => 'ALL', -
    method_opt => 'FOR ALL COLUMNS SIZE 75', -
    degree => NULL , -
    options => 'GATHER $GATH', -
    cascade => TRUE -
    What does it mean the SQL hangs? Can you cancel the query? Do you have to kill the session? Do you use any diagnostic tools like TOAD to trace the session, see what it is doing? Usually if this is a performance/tuning issue, you will see the session is not dead, but you will see advancing reads.
    Regards,
    Richard.

  • Specific extractor works in DEV but not in QUAL

    Hello Everybody
    I have new problem : I created a specific extractor ZCRM_SRV_PROCESS_I based on specific FM based on RSAX_BIW_GET_DATA_SIMPLE.
    This extractor have to retrieve specific fields of Service Order Item (linked document type BUS2000116)
    In DEV it works fine for loading INIT & DELTA
    In QUAL, loading INIT does not work but loading works for some records...
    Loading finish with following message :
      System Response
      Caller 09 contains an error message.
      Further analysis:
      The error occurred in Extractor .
      Refer to the error message.
    Job is cancelled in source system with small text :
    19.04.2011  14:51:05  Job started
    19.04.2011  14:51:05  Step 001 started (program SBIE0001, variant &0000000022545, user ID ALEREMOTE)
    19.04.2011  14:51:05  Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    Do you know why it works in DEV but not in QUAL ?
    Thank you
    Cyril
    Edited by: cyril meslin on Apr 20, 2011 9:53 AM

    There is no problem of authorization. In RSA3 it's ok for some records but too long for full of records.
    In fact, my FM make a first select after to be determined init or delta mode :
    IF i_updmode = 'D'.
            SELECT i~guid h~object_id h~guid h~process_type
                     INTO TABLE st_zcrmt_bw_i       
                     FROM crmd_orderadm_h AS h
                     INNER JOIN crmd_orderadm_i AS i ON h~guid = i~header
                     WHERE h~object_id    IN lr_object_id
                       AND h~changed_at   >= lv_timestp
                       AND i~guid         IN lr_item_guid
                       AND ( i~product_kind <> 'X' OR  i~product_kind <> '' )
                       AND ( h~process_type = 'ZSOL'
                          OR h~process_type = 'ZSPE'
                          OR h~process_type = 'ZSVO'
                          OR h~process_type = 'ZSVT' ).
          ELSE.
            SELECT i~guid h~object_id h~guid h~process_type
                     INTO TABLE st_zcrmt_bw_i         "PACKAGE SIZE I_MAXSIZE
                     FROM crmd_orderadm_h AS h
                     INNER JOIN crmd_orderadm_i AS i ON h~guid = i~header
    *                 UP TO I_MAXSIZE ROWS
                     WHERE h~object_id    IN lr_object_id
                       AND i~guid         IN lr_item_guid
                       AND ( i~product_kind <> 'X' OR  i~product_kind <> '' )
                       AND ( h~process_type = 'ZSOL'
                          OR h~process_type = 'ZSPE'
                          OR h~process_type = 'ZSVO'
                          OR h~process_type = 'ZSVT' ).
          ENDIF.
    Then FM CRM_ORDER_READ is running for 500 records to retrieve header data :
    CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          iv_no_auth_check     = abap_true
          it_header_guid       = it_guids      "500 records
          it_requested_objects = lt_requested_objects
        IMPORTING
          et_orderadm_h        = lt_orderadm_h
          et_service_os        = lt_service_os.
    Then this FM is running for 10 records for item data (max 10 because FM CRM_ORDER_READ does not work for more records) :
    CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          iv_only_spec_items   = abap_true
          it_item_guid         = it_guids         "10 records
          it_requested_objects = lt_requested_objects
        IMPORTING
          et_orderadm_i        = lt_orderadm_i
          et_sales             = lt_sales
          et_appointment       = lt_appointment
          et_status            = lt_status
          et_text              = lt_text
          et_subject           = lt_subject
          et_doc_flow          = lt_doc_flow
          et_customer_i        = lt_customer_i
    Perhaps if I succeeded to improve SELECT & call of CRM_ORDER_READ, it would be better but I don't know how to do...

  • People picker is not working for ie11 but working fine for other lower version

    i am using sharepoint 2010 and windows authentication
    recently i have updated my ie to ie11 and problem goes here.
    when i try to select from people picker, there are an unexpected error happened 
    however when i use other ie version, people picker work fine, what goes wrong?
    i have already added my system as trusted site
    if there any others thing i miss out?

    Hi,
    According to your post, my understanding is that People picker is not working for ie11 but working fine for other lower version.
    IE 11 is known to have compatibility issues on SharePoint 2010, please make sure to:
    first of all, try installing latest update for IE 11 (several compatibility issues were fixed since the first release)
    add the site to compatibility view (in IE> Tools> Compatibility view settings> type site name> add)
    add the site to trusted sites and set the zone security level to low (in IE> Internet Options> Security> trusted sites> sites>add your site there> ok> custom level> select low> reset> ok)
    You can use developer tools (f12) and set browser mode to the version that is most compatible with your environment.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I have a Mac running 10.9.2. My wireless mouse with not scroll in mail but works fine in other applications? Any suggestions?

    I have a Mac running 10.9.2. My apple wireless mouse will not scroll in Mail but works fine in other applications.
    Any suggestions?

    First, see this discussion. If the solution suggested there doesn't work for you, continue.
    If you've installed a Mail plugin called "Mail Unread Menu" and you know how to remove it, please do that, then quit and relaunch Mail. Test. Otherwise, see below.
    Back up all data.
    1. Triple-click anywhere in the line below on this page to select it:  
    ~/Library/Mail/Bundles
    Right-click or control-click the highlighted line and select 
    Services ▹ Open
    from the contextual menu.* A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
    2. Repeat with this line:
    /Library/Mail/Bundles
    This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • My keyboard is not working in "Pages" but works with all other applications.  Please provide resolution advice.

    My keyboard is not working in "Pages" but works with all other applications.  Please provide resolution advice.

    What version of Pages?
    There are one or two of us here who are not intimately acquainted with your particular set-up.
    Peter

  • Motion tracking is not working for videos but works for images?

    Motion tracking is not working for videos but works for images. When the videos is drop onto the tracking object the videos corner don't appear highlighted. I am working on windows 7 with version 13.1.

    ivanhoeeurope
    Are you within 30 days of purchase for the Premiere Elements 13? And, did you purchase as a download from Adobe? If so, you can
    apply for a return/refund for 13. If you purchased elsewhere, then you would be governed by the return/refund policy of the seller.
    Adobe no longer sells version 12, so you would have to find a vendor who still has it in stock and purchase it. There is no way to "downgrade"
    13 to 12.
    What you may want to do is to download and install the Premiere Elements 12 tryout from the following web site to verify that 12 Motion
    Tracking works for you; whereas 13 cannot with regard to use of video for the Motion Tracking source media.
    Adobe Photoshop Elements 12 Direct Download Adobe Photoshop Elements 12 Direct Download Links, Premiere too | ProDesignTools
    Apparently this web site does not sell the tryout. It just makes it available for use.
    Before I posted my reply to you I looked at Motion Tracking with video source media on both Premiere Elements 12/12.1 and 13/13.1 on the same Windows 7 64 bit computer.
    If any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • The "new" hotmail no longer works with safari, but works with firefox. Hmm.

    The "new" hotmail no longer works with safari, but works with firefox. Hmm. i find this very convenient being a microsoft product. anybody else wonder why this new version happens to not be safari compatible? does anybody know if it works on the PC version of safari? if not, i find this to be a blatant move on microsofts part to bias the safari browser (especially since its basicly new on the window platform). forcing safari/hotmail users to "have" to use another browser to access their hotmail accounts.

    I have been successfully using Hotmail and Gmail with Safari for a long time. For roughly the past month, that relationship is rocky at best. At times, one of the following actions suddenly opens Hotmail, but it is a short-lived solution:
    (a) Hotmail directly
    (b) Hotmail Home>Hotmail
    (c) Sign up to Windows Hotmail
    (d) Deletion of prescribed cookies, resetting, etc. - made no difference
    Both Firefox and Opera work fine with Hotmail - especially Opera is very fast.
    In addition, Safari and Gmail does not work with Attachments, but otherwise Gmail is OK.
    I suspect I have to wait for a Safari fix because in my case I do not wish to abandon Hotmail, and Safari is a given. I would think that Safari would want to stay competitive with the two biggies, Hotmail and Gmail, which must have large numbers of users.
    I certainly would appreciate any other suggested fixes.

  • My iphone4 got wet and was working right after but I shut off and have in bowl of rice by dehumidifier. But now it only turns on when plugged in. If I take to an Apple store will they be able to tell me if it's salvageable ?

    My iphone4 got wet and was working right after but I shut off and have in bowl of rice by dehumidifier. But now it only turns on when plugged in. If I take to an Apple store will they be able to tell me if it's salvageable ?

    Apple will not attempt to salvage it. They will offer you a replacement iPhone 4 for $149.

  • Ipod doesn't work on speakers but headphones are fine and speaker works with iPhone. Possible connector issue? Any thoughts on how I can get the fixed?

    ipod doesn't work on speakers but headphones are fine and speaker works with iPhone. Possible connector issue? Any thoughts on how I can get the fixed?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • Spry Tabbed Panels - not correct in IE but correct in Chrome and MF

    Hi,
    I'm having problems with an extension I used for a client, so I want to use the Spry tabbed panels form dreamweaver, but they in IE8 it puts all the content under each other in the first tab ??
    In Chrome and MF its correct. Do you know about this problem or is it because I did something wrong?
    see: www.zorgfilosofie.nl/index2
    The other pages where made with an extension but with that script my client can't edit with contribute. That's why I want to implement Dreamweaver Spry Tabbed Panels.
    Thanks for answering!
    Carla

    Hello there from down under J
    Het was mooi weer, maar vandaag regent het.
    Toch zijn hier in deze kamer veel zonnestralen, want het probleem is opgelost!
    I searched the whole evening for alternative but it did’t work with templates.
    With the js files the problem is solved.
    I don’t understand why the js file was not correct, because I just bought CS5.5
    Where do I have to put de file so the problem will not happen again when I make another site?
    Thanks a lot!
    Best regards and take some sun with you!
    Carla
    Van: altruistic gramps [email protected]
    Verzonden: woensdag 5 oktober 2011 2:16
    Aan: Carla Leliveld
    Onderwerp: Spry Tabbed Panels - not correct in IE but correct in Chrome and MF
    Re: Spry Tabbed Panels - not correct in IE but correct in Chrome and MF
    created by altruistic gramps <http://forums.adobe.com/people/altruistic+gramps>  in Spry Framework for Ajax - View the full discussion <http://forums.adobe.com/message/3954185#3954185

  • I recently took my 27 in i mac to peach mac for service for a flashing green screen. They said it was not a hardware issue but a software issue and want to charge me 99.00 to re-install it. WiIll mac come out with a patch for OS x for this?

    I recently took my 27 in I Mac to Peach Mac for service for a flashing green screen. It comes up when I log in.  They said it was not a hardware issue but a software issue and want to charge me 99.00 to re-install it. WiIll mac come out with a patch for OS x for this? Is this worth it?

    Having a similar issue with my MacBook Pro w/Retina 2012.
    I did the reinstall my self and incrementally did the updates by downloading them from Apple's website instead of using the App Store.
    I found that the problem occured after updating to OS X 10.9.3.
    The issue is in a 4k resolution update for mirroring displays.  Not that you should be doing that from an iMac but your packaged update may have been similar even though the update was meant for 2013 MacBook Pro's.
    You can try reseting the Nvram chip during boot up by pressing "Option + P + R" keys.  You may have to do this after entering your password to log in if you have that set up on your computer.  However this only works on certain models of Mac hardware and may not do anything at all.
    After you get your second opinion from Apple, if they again confirm it's a software issue, then you should reinstall OS X Mavericks and download updates from the website instead of the app store.  This way you control your updates.  You will find the OS X 10.9.2 update as well as a seperate security update prior to the released update of the dreaded OS X 10.9.3
    Again if you don't want the issue to occur again, then hold off on updating to OS X 10.9.3, but be cautioned that you do so at the risk of leaving your computer less secured even though it will seem to run better.

  • HT201210 Unable to update ios6 software. It says Ido not have enough gb, but I bought more and it did not help..

    Unable to update ios6 software. It says Ido not have enough gb, but I bought more and it did not help..

    How do you buy more GB?
    Are you updating via connecting your iPad to iTunes?

  • Custom bsp Iviews work in dev but not in qas?

    Hi All,
    We're using R/3 4.7, ESS 50.4, MSS 60.1.20.
    We have developed a number of custom bsp iviews that work perfectly fine in dev but when we transported to qas, no data is displayed.  The labels in the bsp are being displayed so we know that the bsp is working.
    We use epcf to listen for the employee number in the bsp's.  It is configured the same in both dev and qas but in qas the bsp is not picking up the employee number and therefore is displaying no data.  When you click on susbequest employees in the team viewer, nothing happens (bsp should reload).
    The only difference is that the portal dev and the bsp's reside on the same server but when we go to portal qas, it is now on a different server to the bsp.  We have relaxed the domain, so that the server name has been removed from the domain name but still to no avail.
    If anyone can help at all, i'd really appreciate it, as i'm at a loss as to what to do next.
    Many thanks,
    Liz.

    Hi,
    Seems that there is:
    1. something wrong with the System Object or it's definition..
    OR
    2. someone used a server/hostname as a "constant" instead of a "variable"
    OR
    3. the Portal and Backend are not in the same domain or the configuration is not with Fully Qualified Domain Name
    Hope this helps you to narrow it down or even find the issue.
    Good Luck,
    Benjamin Houttuin

  • Select query not working

    Hello Experts,
    i am using select query like
    SELECT SHKZG SUM( DMBTR ) AS DMBTR
      FROM BSIK INTO CORRESPONDING FIELDS OF TABLE ITAB_BSIK
      WHERE BUKRS = W_BUKRS
      AND LIFNR = WA_BSEG-LIFNR
      AND ( BLDAT BETWEEN W_DATe_low AND W_DATe_high )
      GROUP BY SHKZG.
    I checked with table by giving the values same as here.
    In table m getting data , but dont know y after executing this query m not getting results.
    value of sy-subrc equals to 4.
    Can any body tel me what might be the problem??
    Thanks & Regards,
    Manisha
    Edited by: Rob Burbank on Aug 3, 2010 11:12 AM

    Hello ,
    SUM and AVG commands runs on your database system and calculations with type floating numbers.
    It can cause a low performance and sometimes wrong results.
    In your example ,
    if you are using Packed numbers in your internal table for DMBTR ( like bseg-dmbtr )
    and sum of the related records does not fit into this fields than select can not run.
    I can recommend u this code :
    DATA :
    begin of w_bsik,
      shkzg LIKE bsik-shkzg,
      dmbtr LIKE bsik-dmbtr,
    END OF w_bsik,
    t_bsik LIKE STANDARD TABLE OF w_bsik.
    SELECT shkzg dmbtr FROM bsik INTO w_bsik
    WHERE ...
       COLLECT w_bsik INTO t_bsik.  <--- Collect command does sum operation based on SHKZG
    ENDSELECT.
    I hope it helps.

Maybe you are looking for