Process to run queries against 0FIGL_V10

Hi,
I'm working on New GL Accounting and successfully populated data into 0FIGL_O10 then to 0FIGL_C10 and executed standard queries.
My problem is with the virtual cube 0FIGL_V10 and it's standard queries.
What is process i have to perform, before executing the standard queries aganist the virtual cube 0FIGL_V10 ?
Thnaks in advance.
Mr V

Hi,
Which are your problems? What do you mean by "process i have to perform"?
you should just activate the virtual cube and querys. Then execute the querys.
check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/c2/ed6840b151181ce10000000a1550b0/content.htm
regards,
Diego Lombardini

Similar Messages

  • Run queries against system tables for oracle BPEL processes

    I want to run queries against system tables for oracle BPEL processes. It is becoming very difficult for me to us EM as it is very slow,
    and not all the time, it is sufficient for our needs.
    We are doing load testing and we want find out info like how many requests came in and how many faulted and what time is taken by each request...
    So do any of you have the query that I can use and tables that I need to go against?

    Use the BPEL hydration database table "cube_instance".
    There should be plenty of example in the forum regarding this table.

  • Running queries against cursor results?

    I'm running a cursor in a stored procedure, and the query itself is dependent on one of the parameters passed to the SP. So, for example:
    create procedure annoying as
    SQLString varchar2(50);
    myCursor Types.cursorType; -- defined elsewhere in pkg.
    begin
    if parameter = 1 then SQLString = "select x,y from table1";
    if parameter = 2 then SQLString = "select x,z from table2";
    open myCursor for SQLString;
    At this point, I need to run a further query against the result set from the cursor. I have no clue how to proceed with this. Am I barking up the wrong tree? Should I be looking for a different solution?

    Instead of looping through a cursor and comparing the values of x, use the entire select statement that you would have used for the cursor as an inline view (select statement in the from clause) in your subsequent cursor and join via x. Please see the example below. You can continue this nesting for as many levels as required. For example, instead of opening the ref cursor for sqlstring2, you could use that as an inline view in another sqlstring3 and open the ref cursor for sqlstring3.
    scott@ORA92> create or replace package types
      2  as
      3    type cursortype is ref cursor;
      4  end types;
      5  /
    Package created.
    scott@ORA92> show errors
    No errors.
    scott@ORA92> create or replace procedure annoying
      2    (parameter in  number,
      3       myCursor  out Types.cursortype)
      4  as
      5    SQLString  varchar2(50);
      6    sqlString2 varchar2(4000);
      7  begin
      8    if parameter = 1 then SQLString := 'select deptno x, dname y from dept';
      9    elsif parameter = 2 then SQLString := 'select deptno x,loc z from dept';
    10    end if;
    11    sqlstring2 := 'select e.empno, d.*
    12                  from   emp e,
    13                      (' || sqlstring || ') d -- inline view
    14                  where e.deptno = d.x';
    15    open myCursor for SQLString2;
    16  end annoying;
    17  /
    Procedure created.
    scott@ORA92> show errors
    No errors.
    scott@ORA92> variable g_ref refcursor
    scott@ORA92> execute annoying (1, :g_ref)
    PL/SQL procedure successfully completed.
    scott@ORA92> print g_ref
         EMPNO          X Y
          7934         10 ACCOUNTING
          7839         10 ACCOUNTING
          7782         10 ACCOUNTING
          7902         20 RESEARCH
          7876         20 RESEARCH
          7788         20 RESEARCH
          7566         20 RESEARCH
          7369         20 RESEARCH
          7900         30 SALES
          7844         30 SALES
          7698         30 SALES
          7654         30 SALES
          7521         30 SALES
          7499         30 SALES
    14 rows selected.
    scott@ORA92> execute annoying (2, :g_ref)
    PL/SQL procedure successfully completed.
    scott@ORA92> print g_ref
         EMPNO          X Z
          7934         10 NEW YORK
          7839         10 NEW YORK
          7782         10 NEW YORK
          7902         20 DALLAS
          7876         20 DALLAS
          7788         20 DALLAS
          7566         20 DALLAS
          7369         20 DALLAS
          7900         30 CHICAGO
          7844         30 CHICAGO
          7698         30 CHICAGO
          7654         30 CHICAGO
          7521         30 CHICAGO
          7499         30 CHICAGO
    14 rows selected.

  • System process running queries every 25 seconds against SQL 2012 Developer Edition

    While debugging a long running stored procedure I wanted to include SP:stmtStarting and SP:stmtCompleted.
    I noticed that every 25 seconds I was getting multiple queries against every database on my local server like:
    select table_id, item_guid, oplsn_fseqno, oplsn_bOffset, oplsn_slotid
    from [dbname].[sys].[filetable_updates_random_number] with (readpast) order by table_id
    From different sid's each time.
    While searching I saw that sometimes this may had to do with always on availability or filestream support but this is not my case since I don't use any of these features. This is a single instance installation.
    The following queries return no rows.
    SELECT * FROM sys.filetables;
    GO
    SELECT * FROM sys.tables WHERE is_filetable = 1;
    GO
    @@version returns:
    Microsoft SQL Server 2012 (SP1) - 11.0.3401.0 (X64)
    Jan  9 2014 13:22:15
    Copyright (c) Microsoft Corporation
    Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )
    This may be useful but I also have SQL Server 2014 Developer Edition installed but also without always on availability / filestream enabled.

    Not yet, believe it or not, I've been working with them for nearly a month to try to figure this out.  Basically, what we found with our servers is that it's fine until it hits max memory or close to it.  When it hits max memory there
    should be the memory cleanup operations that occur, and when they start it just can't clean up the memory.  The memory cleanup operations just keep getting ran over and over which causes the high CPU to sit there even when users aren't on the system. 
    Eventually performance degrades and then eventually the SQL Server service runs out of available memory and the service restarts / crashes.  We (Microsoft) thinks they narrowed it down to 1 thing which is that it's a UserStore_SchemaMgr clerk
    which continues to grow and never shrinks.
    Here are a few things to try first:
    1) Make sure your databases are corruption free (do a DBCC CHECKDB) on all databases and make sure there is no corruption.  If there is then repair it and reboot the server.
    2) Install this hotfix (I'm doing this tonight, so I don't know if this fixes it yet, I have to do this off hours) 
    http://support2.microsoft.com/kb/2904100
    3) If no corruption exists from #1, run this: DBCC MEMORYSTATUS.  (Change the query type to have the results output as text from the top toolbar)  Then do Edit, Find and search for UserStore_SchemaMgr. 
    It's measured in KB, so you have to divide that number by 1024 for MB and 1024/1024 for GB.  In our case we have it going into the GB's.  I have a Windows 2008 R2 SQL Server that this runs at about 8 MB.  On our 2012 server it's running at
    15 GB.
    This is what we're trying to work on now.  If you don't mind, let me know what you find, because I've been spending a ton of time on this with them and I think it's a bug, however we are having a tough time finding it.
    Thanks.

  • Process (.exe) run from java

    Hi all,
      I need to run a ".exe" from my .java file. I have developed a sample Swing GUI application that calls a ".exe" from my program. The application contains a dialog box. The dialog contains a text box and a button. When user will enter some number in the text box and hits the button a ".exe" will be called. That ".exe" in turn will perform a DB activity, fire some sql queries and insert some data into the database. The 32 bit ".exe" is built in Visual studio and developed by C++.
    The problem is that when I am entering some number and pressing the button, the ".exe" file is invoked and the process starts running, but I could not be able to see the data that is inserted into the database after the tested time of process run. I could see the data in table only when I quit my java swing application by closing the dialog.
    What I mean by tested time of process run is that, I have tested the ".exe" separately by running the same from a batch file. That is running fine and data is inserted into database like a charm. I want the same from java code.
    Programmatically what I did to run the .exe is as follows:
    String[] cmdArray = new String[3];
    cmdArray[0] = "testRun.exe";
    cmdArray[1] = "some args";
    cmdArray[2] = "some args";
    Process process = Runtime.getRuntime().exec(cmdArray,null);
    It will be of great help if anybody can figure out where the actual problem is.
    My program is not even multithreaded. The whole thing is written inside the main thread itself as in normal case.
    Thanks in Advance.....

    {quote}
    The problem is that when I am entering some number and pressing the button, the ".exe" file is invoked and the process starts running, but I could not be able to see the data that is inserted into the database after the tested time of process run. I could see the data in table only when I quit my java swing application by closing the dialog.
    {quote}
    The process must issue a COMMIT before the data will be visible to ANY other session.

  • Change Management Process for SAP Queries

    Our company has recently implemented SAP.  We are having some struggles with agreeing on a process for developing queries in SQ01.  Our functional specialists currently have to create a query in DEV200 then download to DEV100 to create a transport. 
    Is this the general practice?  It seems very strange and way too cumbersome considering SAP Query was designed for quick access to data.  As for security the tables are already protected by the roles assigned to the users and the queries are assigned to User Groups within the query.
    It also seems that HR uses the queries for all kinds of data searching so access to SQ01 to create a quick query in PRD seems appropriate.

    Hi Karen,
    I have seen some companies severly restrict query writing and usage because queries, if not written well, can seriously degrade system performance.
    A potential rationale for your company's approach could be to test the query's efficacy and resulting system performance when a query is run.  However, this kind of test won't be very accurate unless you do frequent refreshes of your production system.
    I have been with some companies who do write queries in PRD, but the ability to write queries is limited to a very few number of people and they wind up becoming strictly query writers which somewhat defeats the purpose.
    A lot of the answer to how your company should approach query writing is going to depend on your landscape, who has access to write queries, and if that access is to information that crosses all functions or is limited to a smaller set of data.
    If your company has always had information dissemination controlled by IT, i.e. users have historically had to go to a central group to get a report, then there will be cultural changes needed as well as training if the user population should write queries directly in PRD.
    Regards,
    Julie

  • Advice  on long running queries

    Hi all
    I am a junior dba and facing problem of log runninig queries. Can anyone help and let me know how to resolve the long running queries. I mean what should be the approach to findout out the problem.
    Please guide me.
    thanx
    Ajay

    >
    OK, so what about your buddy Jonathan Lewis who
    includes THREE hyperlinks in his sig line?
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Author: Cost Based Oracle: Fundamentals
    http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html
    The Co-operative Oracle Users' FAQ
    http://www.jlcomp.demon.co.uk/faq/ind_faq.html
    Tsk, tsk, the naughty little man is telling lies again.
    There's a search feature on the Oracle forum - it let's you search by user and ask for key words. I've searched against my identify looking for "ind_faq", and then for "cbo_book". It doesn't return any posts with that sig.
    And here's another thought: your comment about me being a buddy of Sybrand (who you were trying to claim did not exist just a few hours ago) reminded me that I have had reasons to criticise him in the recent past - for example Re: to_char and performance - and he managed to take it without descending into a hissy fit.
    And finally - a little logical error on your part. The fact that I know that Sybrand Bakker exists does not mean that he is a buddy of mine or that I am a buddy of his. After all, I know that you exist.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

  • How to efficiently support "Like"-masked range queries against a CLR UserDefinedType

    Hi all,
    Is there any way to efficiently support "Like"-masked range queries against a CLR UserDefinedType?   I've never written a UDT before and am just beginning with one that has a Varbinary type as the underlying physical type for
    persistence but has a string representation to the consumer.   Looking at the articles and samples I've found, the only required method/interface for a UDT that seems to be made for queries is the requirement to provide an implementation
    of IComparable.   
    But from what I've read so far, doing a "Like" masked/range search - or any search for other than an exact "key" expression match would amount to doing a table scan while the database engine passes in each candidate to the UDT's IComparable
    implementation.
    I need to support masked searches; including some that might wild-card the first few characters instead of always providing always providing non-wild-carded characters staring in character position one of the mask.   My UDT would
    have its internal structures that could vastly speed up the searches if I could get the whole Like() mask at once vs. having my IComparable methods being called once per every existing row in the underling table.    (We may have one such table
    with a column of this UDT containing over 800M rows.   You can imagine the response times if every search other than a single exact key match effectively meant a table scan).
    I had heard that you could implement a "Like()" method in a UDT that might allow this type of processing.   But I can't find any discussions or documentation on this issue; so I'm not sure if that's really an option for solving this issue.
    Thanks!
    -Bob

    Not sure that I understand exactly, but obviously you can implement a type method that returns 0 or 1. However, searches on this method would requiring scanning the table, so even if your internal matching is fast, the query will still be slow.
    It sounds like you are looking for some custom indexing, and there is nothing built-in that you can hook into, but you would have to do all the work yourself - if it is possible at all.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Process runs faster when executed independently, but runs slower when a parallel big process is running

    Hi,
    The issue is,  a process, say "A" is running fine on certain days. On some days there are additional processes running on the server. When these additional processes are running, "Process A" suffers performance issue.
    Interesting point is that, these additional processes were running since long time. But, earlier "Process A" was running fine even when these additional process were running. Suddenly from past 2 or 3 weeks there is performance issue in "Process
    A", when these additional process run.
    Note: Nothing has been modified for the process A.
    Process A is an SQL job which has SSIS Package and stored proc in different steps
    When multiple parallel processes are running, SSIS Package step suffers around 40% increase in execution time, where as stored procs have only 15-20% increase in execution time
    When Process A is executed while no other big processes are running, it's execution time is fine. From past few days, issue is only when, some other big parallel processes are running.
    Currently below is my analysis:
    Since Process A is running fine when it is executed independently, I assume there is no issue in this process.
    Since issue occurs when some other big process is running, when Process A is running, I believe it is DiskIO issue. Will the issue be resolved if RAM size is increased?
    Is there any way to check if RAM is being fully utilized by the server
    Is there any other possibility why there is a sudden dip in performance when parallel processes are running.
    Is there any possibility of having issues in additional processes. Incase if it has some issues, does it impact "Process A"
    Please let me know if you need any further information. Infact I am not able to diagnose what is the actual root cause for the performance issue in "Process A" as nothing has been modified.
    Also it would be very much helpful, if I get any idea on different ways in reaching the actual root cause of this performance issue.
    NOTE: This is a data warehouse
    Thanks,
    Raksha

    When a query has a parallel plan, it will in general try to grab all cores up to the maxdop setting, but then it often uses them inefficiently. 
    But in that case, there are better odds for the queries not battling on resources with each other!
    What Josh alludes is to the fact that SQL Server needs to partition the data, so that different partitions are processed on different cores. This partitioning is based on statistics, and the statistics may be out of date or not accurate enough. This may
    result in that the data is not partitioned proportionally, and some threads gets very little data to work with. Thus, these CPUs are still idle, so there may still be room for the two processes to run at full speed. (That is, full speed with the given plan,
    which is not the full speed, had the partitioning been accurate.)
    I mention this because you asked about parallelism, and many systems leave maxdop at its default setting of 0 (which means "go ahead and grab everything!") even though Microsoft recommends you set it to a different number depending on this and
    that.
    Since this is a data warehouse, Raksha should not tamper with "max degrees of parallelism", I think.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Extract process up & running but I cannot see new transactions in the trail

    extract process up & running on source but I cannot see new transactions in the extract trail file and as result it is not replicated to target
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT RUNNING E_ENVA 00:00:00 00:00:10
    GGSCI (HOST) 186> send extract e_Enva status
    Sending STATUS request to EXTRACT E_ENVA ...
    EXTRACT E_ENVA (PID 11824)
    Current status: In recovery[1]: At EOF
    Current read position:
    Sequence #: 33
    RBA: 34904432
    Timestamp: 2011-09-21 11:14:47.000000
    Current write position:
    Sequence #: 6
    RBA: 1008
    Timestamp: 2011-09-21 11:26:42.426000
    Extract Trail: C:\GG\dirdat\enva\ce
    GGSCI (ILW177711) 193> stats extract e_enva
    Sending STATS request to EXTRACT E_ENVA ...
    No active extraction maps.
    Where to look next and what is the root cause for this,
    thank you

    all configurations was ok and working fine (meaning data was extracted on source and replayed on target) before extract/replicat processes restart
    I did not touch any of the configuration files, after restart processes shows as up & running without any actual errors or rejects on the logs
    please find extract configuration file:
    EXTRACT e_enva
    SETENV ( ORACLE_SID=orcl )
    USERID USER_SCHEMA_A, PASSWORD AACAAAAAAAAAAAHAOFVCXAUANCVHIHCE, ENCRYPTKEY DEFAULT
    DISCARDFILE C:\GG\dirrpt\e_enva.dsc, APPEND, MEGABYTES 10
    REPORTCOUNT EVERY 10000 RECORDS, RATE
    NOTRACETABLE
    EXTTRAIL C:\GG\dirdat\enva\ce
    SQLEXEC "CALL USER_SCHEMA_A.pkg.event_message('START', null, 'ALL','e_enva')";
    SQLEXEC "CALL USER_SCHEMA_A.pkg.event_message('STOP', null, 'ALL','e_enva')" ONEXIT;
    TABLE USER_SCHEMA_A.T_TABLE, KEYCOLS (ID_OBJECT);
    TABLE USER_SCHEMA_A.T_TABLE_REF, KEYCOLS (ID_XREF, PKEY_SRC, SYSTEM, IND);
    logging and supplemental logging enabled, commits performed and again nothing was changed in configuration except that processes was restarted
    thank you

  • Help me to fix the error while running DBMaintain Against the Database Schema in ASE.

    Hi All,
    I am trying to install sybase mobiliser platform 5.1 SP 03.I am  referring the following guide
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01871.0513/pdf/Mobiliser_Platform_Installation_Guide_5.1…
    Now I have configured the ASE database server with default settings and now it is running fine.
    Now my concerns are as follows:
    1) I have executed the database schema (mobr5): 001_MONEY_drop_and_create_user.DDL with the help of linux command
    isql -Usa -SASE1 -Phello@123 -i/opt/sybase/db/sql/001_MONEY_drop_and_create_user.DDL -o/opt/sybase/ASE-15_0/install/ASE1.log
    How do I check the created database schema and user with default name 'mobr5'?
    2) While running DBMaintain Against the Database Schema, I have followed the steps mentioned in the guide and made the following changes in the file dbmaintain.properties.ase
    database.driverClassName=com.sybase.jdbc4.jdbc.SybDriver
    database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    database.userName=mobr5
    database.schemaNames=mobr5
    database.password=paybox
    #Must be set if the driver is not packaged inside the scriptarchive or is present on the classpath
    #e.g. /path/to/driver.jar
    #database.driverLocation=/path/to/jconnect.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla.jar
    When I execute the script archives ,
    java –jar /opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-driverless.jar -c /opt/sybase/db/sql/dbmaintain.properties.ase
    java –jar com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla-driverless.jar -c dbmaintain.properties.ase
    I get the following error:
    So please help me to resolve the issues.

    Hi All,
    Issue is resolved and database has been updated successfully..
    Error was in database .url field of dbmaintain.properties.ase file.
    I have changed the database.url field  from database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    to  database.url=jdbc:sybase:Tds:<Private IP of Linux instance>:5000/mobr5
    Note:- I am installing mobiliser platform on AWS cloud.So I have made use of Private IP address of AWS Linux instance.

  • How to find out if a process is running or not

    Hi
    I need to find out if a process is running or not in my system
    If it is running i Need to stop the process
    Can anyone help me with this.

    ctrl+alt+delete and look at the processes that are running on your system. I usually click on the memory headerbar so it sorts them my the process that is using the most memory. :-)

  • All FF versions above 3.6.3 crash on startup. No window, just the process is running.

    I still do have the problem - as posted elsewhere - that I cannot install 3.6.4 or any other version after that. FF will never start - not even in safe mode - only the process is running and needs to be stopped via the task manager.
    The bug responsible is already listed here: https://bugzilla.mozilla.org/show_bug.cgi?id=574215
    So far no one seems to have any idea what is causing these crashes.
    Does anybody have an idea or the same problem?
    Many thanks.

    Go to the address <b>about:crashes</b> and tell us your latest crash IDs. We can then look at the data specific to your crash and have a better idea of what is causing the problem.

  • How to get the list of long running queries

    hi,
         my requirement is to get the list of long running queries in bi and also what are the steps to reduce running time of quires.
    thanks.

    Hi Venkat,
    The statistics information will give you time the query takes while opening it
    For Eg,with BEx Analyzer,you have an option in Global Settings->Display Statistics.
    If you open a query from backend in Analyzer,and then click "Display Statistics",it will show the amount of time it takes to load it.
    Other than this there might be some tcodes available to read this value.
    Rgds,
    Murali

  • How can I watch the process is running in program?

    In my program, I fork some processes, and I must watch them timing, how can I know that these processes is running?

    <pre>
    There could be many way for to see what process is doing.
    Easiest is to use "truss" on the process or the program.
    Please see the man page of truss.
    You can do :
    truss -f -p pid_of_process
    or
    truss -f -o /tmp/out -p pid_of_process &
    tail -f /tmp/out
    or
    truss -f program_exe
    Otherwise you can use dbx, run the process in dbx and set
    breakpoints at various levels.
    Thanks
    Kalpesh
    </pre>

Maybe you are looking for