Query running in Quality but not in Production

Hi Folks,
we are running a query AQICSDUSERS=====MOVEMENTLIST4= which used to get executed previously,but all of a sudden now after running for an hour or so it is coming back to  sap easy access screen without displaying the report.It is running and giving the report in Quality but not in Production.
What could be the reason?
K.Kiran.

Hi Folks,
From DUMP I got this:-
<b>You should usually execute long-running programs as batch jobs.
If this is not possible, increase the system profile parameter
"rdisp/max_wprun_time".</b>
I want to know how to increase the system profile parameter
"rdisp/max_wprun_time".
Thanks,
K.Kiran.

Similar Messages

  • Functionality to copy SO working in quality but not in Production system -

    HI Friends
    I have created a ztcode which uses bapi BAPI_SALESORDER_CREATEFROMDAT2 to create copies of a manually created sales order
    this function was working perfectly fine as till now we only had one line item per sales order
    last week we added a material which has 2 BOM items (both non stock)
    We passed only the parent item into the bapi so the orders created thru the bapi had only the parent item and the child items exploded on to the order because of the BOM config already in place.
    This works perfectly fine in Quality systems but failed in production
    Both the systems are identical in nature in all respects visa vis transports config and system patch as well.
    The BOM is maintained in CS01
    both the child items are marked as Relevant for sales and BOM usage is marked as 5
    I am failing to understand why it doesnt work in production
    And as we have used std bapi my tech consultant has been debugging without any sucess as well
    Would appreciate any thoughts on how to find a lead in solving this mystery.
    Regards
    Supreet Upadhyay

    HI Shiva
    Thanks for the answer ,we have reimported all the relevant transports thrice but in vain
    Also the config is in place,I forgot to mention earlier that the manual order that we create which is used as a reference to create copy orders explodes the child items
    So config doesnt seem to be an issue here.
    The code should also be ok coz it works in quality
    so we think somehow it has to do with the production system
    we are clueless in what direction should we investigate
    Supreet

  • Why same query runs on isqlplus but not in Forms/Reports trigger

    Hi,
    I have one query in which I extract one column with parent table join if I run same query on isqlplus prompt it works but if I run same on Forms/Reports trigger it says found "select" where something else expected.
    below is an example .
    select em1.mreading, em1.grid_code,
    (select em.mreading from energy_mreading em where em.grid_code=em1.grid_code and em.transformer_code=em1.transformer_code
    and em.bus_bar=em1.bus_bar and to_date(to_char(em.r_date,'dd/mm/yyyy'),'dd/mm/yy') = to_date('02/01/07' ,'dd/mm/yy') - 1)
    as Yreading
    from energy_mreading em1
    where to_date(to_char(em1.r_date,'dd/mm/yyyy'),'dd/mm/yy')= to_date('02/01/07' ,'dd/mm/yy')
    Any one can help me, is there any restriction/limitations in Forms/Reports triggers.
    Thanks, Khawar.

    In forms and cursors you can not use scalar subqueries as you do. You have to use joins!
    select
         em1.mreading
        ,em1.grid_code
        ,em.mreading as Yreading
    from
        energy_mreading em1
       ,energy_mreading em
    where 1=1
        and trunc(em1.r_date) = to_date('02/01/2007','dd/mm/rrrr')
        and em.grid_code = em1.grid_code
        and em.transformer_code = em1.transformer_code
        and em.bus_bar = em1.bus_bar
        and trunc(em.r_date) = trunc(em1.r_date) - 1
    Try this, hope it works.

  • I would like to connect my Apple TV 3rd gen to a projector and not an HD TV (so I can watch movies on the big screen). Are there any decent price compatible projectors? Good quality but not professional! Many thanks

    I would like to connect my Apple TV 3rd gen to a projector and not an HD TV (so I can watch movies on the big screen). Are there any decent price compatible projectors? Good quality but not professional! Many thanks

    Thank you for the answer, I suppose the main thrust of my enquiry is to find out if 65 MBits is my ATV theoretical limit of reception.  If that is the case then I am happy as a Pig in Mud
    I may have allowed myself to become a victim by listening to Fanbois posting elsewhere who always seem to go one better than everyone else. Now I have learnt two things Today; 65Mbit/s = Good enough and only read the apple forums.
    Many Thanks
    Nick

  • BAPI works in test but not in production

    3rd party software uses BAPI to input data into SAP. This works in test but not in production. We have checked that user 3rd party software uses have same rights in both systems. BAPI is standard SAP BAPI. We can connect to production with SM59.
    Is there anything in SAP that could cause this?

    No. Better you check with the PATCH Levels.. etc to know is there any changes in the BAPI (BASIS people can help you) > Otherwise go to SYSTEM in the MENUBAR> STATUS--> Compare the Status there
    After that check the data once...
    Reward if helpful...

  • How can I show competitor but not competitor products in Opportunity?

    In CRM 2007 SP6 I would like to display competitors on an opportunity, but not competitor product.
    The component BT111H_OPPT has two sets of views - Competitor* and CompetitorProd*, which as the name would suggest shows either competitor info or competitor and product info.
    The challenge is that the CompetitorProd* set of views is being used but I want the Competitor* set and don't know how to make that happen. Does anyone have experience with these views?
    Thanks,
    Dana

    Hi Dana,
    this is possible in Opportunity Management.
    The design was done the way that in any case you will have a item created where the competitor is assigned to. this is even the case when you don´t use products at all.
    the customizing is done on the transaction type level.
    goto to transaction type customizing / customize header. There you can find the "Competitor Mode".
    The mode allows to be "header mode" or "item mode".
    if you select header mode the assignment (block) is visible on header level, else on item level.
    hope this helps
    best
    martin

  • Query runs in TOAD but hangs in Reports

    How does one begin to diagnose where a query run in Reports is hanging? The query runs in TOAD but never finishes when run within the report. Strange thing is that the query/report ran (unchanged from this month) for prior months.
    Is there a "run-time visual debugger" for reports?

    Each query, including the 5th, runs to completion when run separately. It appears to be the addition of the 5th query which causes the problem.
    NEWS FLASH: The report ran to completion over the weekend (almost totally idle server). However, it took over 90 minutes to finish.
    Immediately after optimizing the queries and indicies, the report has been known to complete in 3 minutes. Over time, this has crept back up to 20 minutes.
    The DBAs think a change in DBMS optimization might have caused this particular query to exceed a threshhold. They're looking at reversing this change to see the affect on the query.

  • MDX query runs on SQL but does not populate 'Measures' in Powerpivot

    I ran MDX query on SQL 2012 for looking the products and their shipping status
    The code is given below:
    WITH 
    set Date1 AS 
         strtomember( "[Time].[2014].[Q4].[2014-Jun].[" +format(now()-2, "MM") + "/"+format(now()-2, "dd") + "/" +format(now()-2, "yyyy") + "]")
    set Item1 as
    { [Item].[ItemID].ALLMEMBERS}
    SELECT NON EMPTY { [Measures].[Shipped Qty], [Measures].[Shipped Amt], [Measures].[Ordered Qty], [Measures].[Ordered Amt] }
    ON COLUMNS, 
    Date1*[Item1] ON ROWS FROM [ABCD]
     WHERE ( 
                 [Channel].&[OL], 
                 [Geography].&[A.9])
    The query gives desired output when run in SQL. But when I run the same query in while pulling data in PowerPivot, Dimensions i.e. Date and Item are populated but measures were not populated. Can anyone please help me understand how to populated Measures
    in PowerPivot?
     

    Hi apoorv,
    It was hard to reproduce this issue on my test environment. I would suggest you try to use a simple MDX query to check if it will retrun the correct measures data. Please see the screenshot below:
    In addition, you can also create a SQL Server Analysis Services trace to capture some events for furhter investigation.
    Use SQL Server Profiler to Monitor Analysis Services:http://technet.microsoft.com/en-us/library/ms174946.aspx
    Hope this helps.
    Elvis Long
    TechNet Community Support

  • Running BW Query in a Web, but not using Portal

    Hello guys,
    I'm running a BW Query using Web (From Query Designer) and it keeps trying to open a portal page. Then I need to change the URL manually to something like this:
    http://sapdev:8000/sap/bex?......
    Then works fine, my query runs with no issues. Where can I define to do not use Portal url ? (I'm checking the following document: How to... enable SAP BW Web functionality....").
    Regards,
    Marcelo

    Hi Marcelo,
    Please check out these threads:
    Re: Error while running BW Query.
    wrong url on running BEx query
    Regards
    Jeeth

  • I want a user to use only import, it run with export but not import

    Hi,
    i create a user for use only for import and for export.
    batch_export with exp_full_database role <- It run
    batch_import with imp_full_database role <- don't run
    P:\>sqlplus batch_export/batch
    SQL*Plus: Release 10.1.0.2.0 - Production on Lun. Ao¹t 21 17:21:58 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-00604: une erreur s'est produite au niveau SQL rÚcursif 1
    ORA-20000: Connexion refusee
    ORA-06512: Ó ligne 41
    Entrez le nom utilisateur :
    P:\>sqlplus batch_import/batch@rfsage
    SQL*Plus: Release 10.1.0.2.0 - Production on Lun. Ao¹t 21 17:03:36 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ConnectÚ Ó :
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    the trigger as run
    create or replace trigger batch_export.check_connexion after logon on database
    declare
    V_MODULE SYS.V_$SESSION.module%TYPE;
    V_TERMINAL SYS.V_$SESSION.terminal%TYPE;
    V_SID SYS.V_$SESSION.SID%TYPE;
    V_SERIAL SYS.V_$SESSION.SERIAL#%TYPE;
    V_COMMAND varchar2(100);
    V_CURRENT_USER varchar2(20);
    V_CURRENT_SID SYS.V_$SESSION.SID%TYPE;
    cursor connexion is
    select substr(module,1,7) module, substr(terminal,1,12) terminal, sid, serial# from v$session T1 where schemaname='BATCH_EXPORT';
    cursor ID_CUR is
    select user from dual;
    cursor SID_CUR is
    select SYS_CONTEXT('USERENV','SID') sessionid from dual;
    --select SYS_CONTEXT('USERENV','CURRENT_USERID') current_userid from dual;
    Begin
    open SID_CUR;
    loop
    fetch SID_CUR into V_CURRENT_SID ;
    EXIT WHEN SID_CUR%NOTFOUND;
    dbms_output.put_line('V_CURRENT_SID:'||V_CURRENT_SID);
    end loop;
    close SID_CUR;
    open ID_CUR;
    loop
         fetch ID_CUR into V_CURRENT_USER ;
         EXIT WHEN ID_CUR%NOTFOUND;
         if V_CURRENT_USER='BATCH_EXPORT' then
         open connexion;
         loop
              fetch connexion into V_MODULE,V_TERMINAL,V_SID,V_SERIAL ;
              EXIT WHEN connexion%NOTFOUND;
              if V_MODULE<>'EXP.EXE' then
              dbms_output.put_line('V_SID:'||V_SID);
              dbms_output.put_line('V_CURRENT_USER:'||V_CURRENT_USER);
                   if V_CURRENT_SID=V_SID then
                   dbms_output.put_line('MODULE:'||V_MODULE);
                   RAISE_APPLICATION_ERROR (-20000,'Connexion refusee');
                   end if;
              end if;
         end loop;
         close connexion;
         end if;
    end loop;
    close ID_CUR;
    End;
    as the same for import user.
    I try with role in trigger but it don't, i see this in forum Oracle.
    But i think EXP_FULL_DATABASE have not DBA rule, but IMP_FULL_DATABASE have.
    How i do this ?
    I want just to use a user to imp utilities, but not connexion in sqlplus.
    Thanks for your help
    Christophe

    thanks for your help.
    it run !
    for example :
    as the system user
    SQL> INSERT INTO PRODUCT_USER_PROFILE values ('SQL*Plus', 'BATCH', 'CONNECT',null,null, 'DISABLED', NULL, NULL);
    1 ligne créée.
    SQL> grant create session to batch;
    Autorisation de privilèges (GRANT) acceptée.
    SQL> INSERT INTO PRODUCT_USER_PROFILE values ('SQL*Plus', 'BATCH', 'SELECT',null,null, 'DISABLED', NULL, NULL);
    1 ligne créée.
    the result
    oracle@debian:~$ sqlplus batch/batch;
    SQL*Plus: Release 10.2.0.1.0 - Production on Mar. Août 22 06:53:00 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connecté à :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select user from dual;
    SP2-0544: Commande "select" désactivée dans le profil utilisateur du produit
    SQL>
    oracle@debian:~$ exp batch/batch owner=batch file=test.dump
    Export: Release 10.2.0.1.0 - Production on Mar. Août 22 06:54:32 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connecté à : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export fait dans le jeu de car WE8DEC et jeu de car NCHAR AL16UTF16
    le serveur utilise le jeu de caractères WE8ISO8859P1 (conversion possible)
    Prêt à exporter les utilisateurs spécifiés ...
    . export des actions et objets procéduraux de pré-schéma
    . export des noms de bibliothèque de fonctions étrangères pour l'utilisateur BATCH
    . export des synonymes de type PUBLIC
    . export des synonymes de type PRIVATE
    Thanks for all

  • Query works in Report but not during Edit session

    I have a report based on an SQL query, and it works perfectly from the menu in Development. It's also in Test and Production, and it works there, too. I want to change the template it's on, so I went in through the Navigator to open up and change the report. The Edit session opens up to the query, but I cannot move to any of the other tags, because it says the query is "not valid".
    It won't allow me to save the query 'as is', because it supposedly isn't valid. The report isn't locked, and prior versions (I went back to view five of them) have the same trouble. How can the query work off the menu, but not be 'valid'? We installed a patch recently, but even so, why would the query work in one spot and not another?
    Anyone have any ideas on what I can do?
    Pat Murray

    Hi,
    Please give me the query and the error the error you are getting.
    Thanks,
    Sharmila

  • Query works in preview, but not when added under a Query Group

    Hello Experts-
    I'm trying to use this query as one of the options under the drop down on the Supplier Search under the Supplier Management.
    Error message:
    while trying to invoke the method com.sap.odp.comp.query.QueryParamValue.getPromptParamDef() of a null
    object loaded from local variable 'paramValue' while trying to invoke the method
    com.sap.odp.comp.query.QueryParamValue.getPromptParamDef() of a null object
    loaded from local variable 'paramValue'
    The query itself is complicated, but it works fine when executed under preview.
    Wondering if any one has ever seen this behavior and knows of any typical causes?
    Thanks,
    Mike

    Thanks for the offer, Vignesh.
    Sorry, I'm currently having trouble duplicating it, but next time it happens I'll try to get some screenshots.
    I have narrowed it down to blank values in optional string fields when the query loads. I fixed (kind of) the ones I was having trouble with by rearranging the filter parameters so there would not be blanks.
    Thanks again,
    Mike

  • Query executes in RSRT but not in BEx Analyzer

    Hi Everyone,
    I have a query for an infocube and ods object, in the bex analyzer for the infocube the query executes which has around 5000 records but for the ods object which has also 5000 records comes up with this error.
    <b>An exception with the type CX_SY_EXPORT_NO_SHARED_MEMORY occurred, but was
    neither handled locally, nor declared in a RAISING                                                                               
    Message no. RS_EXCEPTION000</b> 
    when I execute the query in RSRT it comes up.
    After closing and re logging into bex analyzer executes the query for the first but for the second time again it throws up this error.
    What could be the problem? Can anyone please let me know. Its really really urgent.
    Thanks,
    Prashant.

    hi Prashant,
    try check in RSRT, after choose your query, click 'properties' and set cache mode to 'main memory cache without swapping'.
    also check oss note 656060-OLAP: Cache main memory displacement not functioning.   
    hope this helps.
    Symptom
    Although one of the following two cache modes
    Main Memory Cache Without Swapping (mode 1)
    Main Memory Cache With Swapping (mode 2)
    is set for a query, long runtimes occur when you execute the query. The statistics (table RSDDSTAT) display the database times.
    If there is a heavy system load, the following message can also appear: RS_EXCEPTION000: No left space in shared memory.
    Other terms
    Cache, performance, displacement, shared buffer
    Reason and Prerequisites
    This problem occurs because the shared memory is insufficiently dimensioned.
    <b>Solution</b>
    Increase the amount of shared memory. The size of the shared memory should be at least 200 MB. You can refer to transaction RSRCACHE for the amount of memory reserved by the main memory cache (RSRCACHE -> Main Memory: Shared Memory/Buffer Reserved).
    The corresponding settings are (at least):
    rsdb/esm/buffersize_kb = 200000
    and, as a precaution, also
    rsdb/esm/max_objects = 10000.
    Alternatively, for queries with large resulting quantities, you can convert the Cache Mode in transaction RSRT1 to
    Cluster/Flat File Cache for Each Application Server (mode 3)
    Cluster/Flat File Cache Across Each Application Server (mode 4)

  • SQL query works for Access but not mySQL

    *I'm using the Database Connectivity VIs* Can anyone give me a clue as to why the following query works with an MS Access File DSN but not a mySQL File DSN:
    SELECT * FROM (SELECT * FROM WP100598 WHERE SerialNum LIKE '311022-05%' OR SerialNum LIKE '311022-07%') WHERE UTCTime > 1090882800 AND UTCTime < 1092870000 ORDER BY SerialNum desc
    Thank you, your help is much appreciated

    Hi,
    I don't think MySQL supports nested queries.
    Regards,
    Wiebe.
    "optobionics" wrote in message
    news:[email protected]..
    > *I'm using the Database Connectivity VIs* Can anyone give me a clue
    > as to why the following query works with an MS Access File DSN but not
    > a mySQL File DSN:
    > SELECT * FROM (SELECT * FROM WP100598 WHERE SerialNum LIKE
    > '311022-05%' OR SerialNum LIKE '311022-07%') WHERE UTCTime >
    > 1090882800 AND UTCTime < 1092870000 ORDER BY SerialNum desc
    > Thank you, your help is much appreciated

  • Non-UB runs on Intel but not as plugin?

    I was under the impression that AU was the requisite format to run a plugin within Logic and universal binary was additionally required for anything to run on Intel macs. Zero-G Vocal Forge is stated as being AU but not necessarily UB. The stand alone version works fine on my Intel iMac however, the plugin does not show up in my Logic 8 or Ableton Live 6 plugin menus. I tried the AU scanner in Logic to no avail. The component does show up in the correct folder. I thought that if something wasn't UB, it just wouldn't run at all on an intel Mac but it runs fine, just not as a plugin. I wouldn't even bother asking, except that the stand alone is operational. Will I have to wait for UB, or am I doing something wrong? Thanks. - Emile

    Hi,
    The reason the Stand=Alone version of your plugin works, is that under an Intel mac, there is a shell, called "Rosetta". What this does, is that when you open a non-Intel, or non-Universal Binary version of a software, the computer tries to open it, and runs it inside the Rosetta shell. This is not a very efficient way of running software, but it allows you to open things that are not yet Universal Binaries.
    The Audio Unit portion of your plugin, is NOT Universal binary, and because it is not, it does not show up when you open Logic, which IS Universal binary. Logic is not being run under the Rosetta shell, because it does not need to.
    If you want to use it as a Plugin-In inside of Logic, you will have to wait until the company releases a UB version.
    Cheers

Maybe you are looking for

  • My power/sleep/wake button not working.. please help

    Hi guys, my power/sleep/wake button not working what should i do. I went to apple store and they said i will be charge £100 as im no longer on warranty. is there another way, or app that i can use as substitute for that button? Your advise and help w

  • HT1338 Can macbook mid 2010 mirror to Apple TV ?

    Hi My Macbook Pro Mid 2010 with Mountain Lion  OS X 10.8.2 can I be able to mirror wireless to Apple TV 3rd generation?

  • Created by (submitted by) varaible

    I would like to include the created (submitted) by variable in the change management email notification. Does anyone know if this possible – I am noob to service manager so any help would be great.

  • Sending a private message

    How can I send a private message to someone on this forum - a message to him/her not shown on the forum - like on other bulletin boards, usually via the webmaster?

  • JFX and Java

    Folks lets suppose that i have developed an application in Java now i want to integrate it in JFX.. is it possible? Can we use Java API's like util, mail API, and other API's while developing rich applications