System Queries Statement

I want to know whethr we can see the query statements for the system defined reports. For example the Sales reports, Sales oppurtunity reports. I am trying to make some reports and not able to find the specific feilds to the satisfactory out put. Can I see he SQL query behind these reports by any means.

Debraj,
Some of these report are generated using Stored Procedures while others are part of the core SAP Code.   A common way used to see the SQL Code when you do not have direct access is to use a tool called SQL Server Profiler.
This can be found in Start > All Program > Microsoft SQL Server 2005 > Performance Tools > ....
Suda

Similar Messages

  • How to avoid system queries in AWR?

    Hi,
    In my AWR ,always i get system queries as follows.Is it related to AWR snap IDs I am collecting?How do i avoid these queries in my AWR?Kindly assist.
    insert into wrh$_parameter (snap_id, dbid, instance_number, parameter_hash, value, isdefault, ismodified) select :snap_id, :dbid, :instance_number, i.ksppihash hash, substr(sv.ksppstvl, 1, 512), sv.ksppstdf, decode(bitand(sv.ksppstvf, 7), 1, 'MODIFIED', 'FALSE') from x$ksppi i, x$ksppsv sv where i.indx = sv.indx and (((i.ksppinm not like '#_%' escape '#') or (sv.ksppstdf = 'FALSE') or (bitand(sv.ksppstvf, 5) > 0)) or (i.ksppinm like '#_#_%' escape '#')) order by hash
    insert into wrh$_sga_target_advice (snap_id, dbid, instance_number, SGA_SIZE, SGA_SIZE_FACTOR, ESTD_DB_TIME, ESTD_PHYSICAL_READS) select :snap_id, :dbid, :instance_number, SGA_SIZE, SGA_SIZE_FACTOR, ESTD_DB_TIME, ESTD_PHYSICAL_READS from v$sga_target_advice

    Sure you can avoid them. Disable AWR.
    Sorry, but they are the queries required to get AWR data, and the fact you see them means not much happens in your database.
    The result of instrumenting Oracle with AWR is the database never will do nothing anymore.
    If you can't live with that, stop using Oracle or AWR.
    Sybrand Bakker
    Senior Oracle DBA

  • Restricting access to system queries

    Hi experts!
    Is it possible to restrict access to system queries (in SAP reports) for a particular user?
    Also, can we restrict inventory reports generated to a certain item group only for a particular user? example: item groups available are Spare Parts, Raw Mat, WIP & FG. The user should only be able to generate inventory reports concerning Spare Parts.
    thanks.
    regards,
    tessa

    Hi Tessa
    You can restrict Access to System Queries by providing NO AUTHORIZATION to the option Saved Query - System.
    The same can be set under
    Administration --> System Initialization --> Authorizations --> General Authorizations --> Reports --> Query Generator --> Saved Queries - System
    Hope this helps.
    Regards
    Rohan S. Kamble

  • I wanted to use verizon hotspot wifi with my ipad, but verizon states not compatible with operating system. States that needs windows 7 , Vista, or windows xp. Any ways around this? Any ideas?

    I wanted to use verizon hotspot wifi with my ipad (it searaches for hotspots when ur on the go) but verizon states not compatible with operating system. States that it needs windows 7, Vista, or windows XP. Any ways around this? Any ideas?

    Thank you everyone for reaching out and apologize for being unclear. Let me rephrase. There is NO MiFi.
    I have an ipad3 and a PC
    I am trying to connect the iPad3 to the PC for HotSpotting reason (the ability to use the internet on the PC)
    Turning on HOT SPOT on the Apple ipad works GREAT when using it through WI-Fi and through Blue Tooth. But connecting it directly through the included iPad 3 USB Cable to the USB side of the PC does NOT work. I tried several PCs, and several Cables. Any other ideas

  • Activation problem: Adobe DRM Error System: 8 State: 4 Class: 65 Code: 59 Message: VE error 59

    Hi,
    I bought a book yesterday and I was able to open it in my vista machine. I have a second computer and I can't open my book there. I get this error:
    Adobe DRM Error
    System: 8
    State: 4
    Class: 65
    Code: 59
    Message:
    VE error 59
    --- end ---
    I already downloaded Adobe Digital Editions 1.5 beta 2, and went back to acrobat reader 6, activate from aractivate.adobe.com, but nothing seems to work. What can I do?

    System 7, code 31 is always a networking problem. Meaning something on your network is preventing the book information from getting to the rights-management server (or from the rights-management information getting sent back)
    You can check firewalls, security software, etc to see where the blockage might be, or work with your network admins if you have them. See 'Error "Adobe DRM Error" when you activate Digital Editions or access an eBook" at http://www.adobe.com/go/kb402747
    Regards,
    Bentley Wolfe
    Senior Support Engineer, Flash/Flash Player/Digital Editions
    Adobe

  • Z87-GD65 - how to make E2200 network port active in S5 system power state?

    My question is how do I make the E2200 network port active in the S5 system power state on the MSI Z87-GD65 motherboard?
    I require Wake on LAN (magic packet) for my computer but after shutdown the network port is inactive hence the WOL packet can not wake the computer. I have checked and activated the following items:
    On the motherboard
    - EuP 2013 = disabled
    - Resume by PCI-E device = enabled
    In Windows 8.1 E2200 network port settings
    - Wake on Magic Packet = enabled
    - Energy efficient network = disabled
    After I shutdown (power state S5) the network port activity lights go dark so I assume the port has shutdown as well. On my previous Gigabyte motherboard the network port stayed active allowing WOL packets to be transmitted to turn on the pc. Have I missed a setting on this new motherboard? My workmate also bought the same motherboard and has the same issue.

    Success!   
    MSI support responded and listed the correct settings and it is working!
    So the correct settings are:
    In the motherboard BIOS:
    - LAN Option ROM = Enabled
    - EuP 2013 = Disabled
    - Resume by PCI-E device = Enabled
    In Windows 8.1 E2200 network port settings:
    Under Power Management:
    - Allow this device to wake the computer = ON
    - Only allow a magic packet to wake the computer = ON
    Under Advanced:
    - Energy Efficient Ethernet = Disabled
    - Shutdown Wake Up = Enabled
    - Wake on Magic Packet = Enabled
    All working fine now. All I was missing was the "Shutdown Wake Up" setting. I hope this helps anyone else who has this excellent motherboard.

  • SYSTEM-CALL statement

    Hi experts,
    please help to give some detials about below statment:
    system-call init-text <p_text> using <p_field> program <program_name>.
    and i got one issue with above statement:
    system-call init-text p_text using 'SCN_PROJN' program 'SAPDBPSJ'.
    it seems that to get field description of 'SCN_PROJN' of logical database 'PSJ'. but after this statement p_text get value as 'CN_PROJN' instead of 'Project Definition'. this issue happens after system upgrade.
    please give some suggestion about above issue.
    thanks a billion.
    Aumas.

    SYSTEM-CALL is for SAP internal use only and has been replaced by kernel methods (see ABAP documentation). You should not use this statement as a customer, and if there is a problem with SAP standard code, then check for OSS notes.
    Thomas

  • CS3 Setup System Check states that Safari is open when it is closed

    Running Setup under OSX, and during System Check, alert states that "Installation cannot continue until the following applications are closed: Safari".
    I have verified that Safari is closed, and no other users logged on, but cannot satisfy this prompt.

    Closing Programs Interfering with Installation
    PC - Task Manager: (CTRL-ALT-Delete) http://support.microsoft.com/kb/323527
    Mac - Activity Monitor: http://osxdaily.com/2010/08/15/mac-task-manager/
    Error "Installation cannot continue until... Adobe Bridge is closed" | Installation | CS5
    http://helpx.adobe.com/creative-suite/kb/error-installation-cannot-continue-bridge.html

  • Avoid/Tune system queries

    Hi,
    I find the following query in all of my AWRs.All the scheduler jobs are disabled in my DB.How do i avoid this query?If i cannot avoid how do i tune this query??Kindly assist.
    select decode(bitand(a.flags, 16384), 0, a.next_run_date, a.last_enabled_time), a.obj#, decode(bitand(a.flags, 16384), 0, 0, 1), a.sch_job from (select p.obj# obj#, p.flags flags, p.next_run_date next_run_date, p.job_status job_status, p.class_oid class_oid, p.last_enabled_time last_enabled_time, p.instance_id instance_id, 1 sch_job from sys.scheduler$_job p UNION ALL select q.obj#, q.flags, q.next_run_date, q.job_status, q.class_oid, q.last_enabled_time, q.instance_id, 1 from sys.scheduler$_lightweight_job q UNION ALL select j.job, 0, from_tz(cast(j.next_date as timestamp), to_char(systimestamp, 'TZH:TZM')), 1, NULL, from_tz(cast(j.next_date as timestamp), to_char(systimestamp, 'TZH:TZM')), NULL, 0 from sys.job$ j where (:1 = 1) and (j.field1 is null or j.field1 = 0) and j.job not in (select v.id2 from v$lock v where v.type = 'JQ')) a where bitand(a.job_status, 3) = 1 and ((bitand(a.flags, 134217728 + 268435456) = 0) or (bitand(a.job_status, 1024) 0)) and bitand(a.flags, 4096) = 0 and a.instance_id is NULL and (a.class_oid is null or (a.class_oid is not null and a.class_oid in (select b.obj# from sys.scheduler$_class b where b.affinity is null))) and decode(bitand(a.flags, 16384), 0, a.next_run_date, a.last_enabled_time) = (select min(decode(bitand(c.flags, 16384), 0, c.next_run_date, c.last_enabled_time)) from (select r.flags flags, r.next_run_date next_run_date, r.job_status job_status, r.class_oid class_oid, r.last_enabled_time last_enabled_time, r.instance_id instance_id from sys.scheduler$_job r UNION ALL select s.flags, s.next_run_date, s.job_status, s.class_oid, s.last_enabled_time, s.instance_id from sys.scheduler$_lightweight_job s UNION ALL select 0, from_tz(cast(k.next_date as timestamp), to_char(systimestamp, 'TZH:TZM')), 1, NULL, from_tz(cast(k.next_date as timestamp), to_char(systimestamp, 'TZH:TZM')), NULL from sys.job$ k where (:2 = 1) and (k.field1 is null or k.field1 = 0) and k.job not in (select w.id2 from v$lock w where w.type = 'JQ')) c where bitand(c.job_status, 3) = 1 and ((bitand(c.flags, 134217728 + 268435456) = 0) or (bitand(c.job_status, 1024) 0)) and bitand(c.flags, 4096) = 0 and c.instance_id is NULL and (c.class_oid is null or (c.class_oid is not null and c.class_oid in (select d.obj# from sys.scheduler$_class d where d.affinity is null))))
    select state, job_name from dba_scheduler_jobs;
    STATE JOB_NAME
    DISABLED PURGE_LOG
    DISABLED ORA$AUTOTASK_CLEAN
    DISABLED HM_CREATE_OFFLINE_DICTIONARY
    DISABLED DRA_REEVALUATE_OPEN_FAILURES
    DISABLED MGMT_CONFIG_JOB
    DISABLED MGMT_STATS_CONFIG_JOB
    DISABLED BSLN_MAINTAIN_STATS_JOB
    DISABLED FGR$AUTOPURGE_JOB
    Thanks.

    What issue do you have? If you find internal queries in AWR (while at the same time you have crippled AWR by stopping all jobs) it just means your database doesn't display much activity.
    I recommend
    1 - stop chasing phantoms
    2 - revert any measure you took to stop automatic jobs. They are not the issue.
    Or if you really want this query to disappear: stop the job facility completely.
    Sybrand Bakker
    Senior Oracle DBA

  • TS4123 A recent download of an iTines update - for whatever reason - failed on my computer.  Since then I get a system error statement telling me that the program cannot open because 'MSVCR80.d11' is missing from my computer.  When I attempt to open iTune

    A recent download of an iTunes update, for some unknown reason, failed on my computer.   Since then I get a system error message everytime I log on telling me that the program cannot be opened because 'MSVCR80.d11' is missing from my computer.   When I try to open iTunes I get an 'error 7 (Windows error 126)' message and am advised to reinstall iTunes.   However, when I attempt to do this, it downloads the programme and gets as far as installation, at which point I get yet another message: this time 'Service Apple Mobile Device failed to start'.
    I am at a loss to know what to try next and would appreciate any assistance.  I'm also concerned that, in the process of reinstalling iTunes, I am going to lose all the music I have collected over the years.

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99602)

  • Getting System.out statements to be displayed in a text field

    Hi,
    I'm trying to direct the system.out.println stream to a text field in Swing so that when any system.out.println statemetns are executed the text field will display them as well. I would imagine there has to be some kind of event listener. Any ideas?

    look here

  • Can we edit the System Report queries to add some missing fields ?

    Hello,
    I'm using SAP Business One 2005 A and I was wondering if there was a way to edit the system report queries.  Sometime, I'm only missing calculated fields in the existing report.  Something as easy as the difference between 2 dates is not working with the formula fields.
    Instead of rewriting everything, could we simply see that original query and edit it to add the missing fields ?
    I don't like the fact I can't add my own created report from a query in the main menu.  Since I couldn't do anything with the Backorder reports by default, I created mine with my own SQL query.  Can't I replace the existing one with my own ?
    Thank you
    Daniel Gagnon

    Hi Daniel,
    You can edit a system query but then you can only save it as a user query (ie you cannot overwrite the system queries).
    User queries can't be placed in the Main Menu using the standard GUI though you could add them to the User Menu tab so your users can get to them easily. I think to add them to the Main Menu would require the development of an add-on that updated the Main Menu and triggered the running of the query when the user clicked on the menu option.
    The other thing to look at is using XL Reporter for your reports rather than the Query Generator. With XL Reporter you can automatically add reports to the main menu.
    Kind Regards,
    Owen

  • I have a state space model of a complex system. can anyone help me for implementi​ng MPC and e-MPC control for the same?????

    Hi everyone. I am new to the forums, so let me be as mprecise as possible. i know the basic functionalities of Labview with MPC block etc. However, i dont know how to go ahead with implementing MPC control for a system whose state space model i possess. can anyone help me out?? the problem is that i dont even know the approach or the starting point..

    This happens if you remove a program manually, but still have the registry keys to load files from this program.<br />
    You can use the MSConfig program or the Autoruns utility to see which software and services are getting started.
    *http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
    You can use registry editor and do a search (Ctrl+D) for imesh to see if you can locate the registry key(s) that launches this program on a reboot.
    Try to ask advice at a Windows oriented forum if you can't fix this.
    * http://www.bleepingcomputer.com/forums/ - BleepingComputer.com - Computer Help Forums
    * http://windowssecrets.com/forums/ Windows Secrets Lounge

  • Update Statement Works Differently on Two Different Systems

    I write the code
    Data:  it_eaus like eaus occurs 0 with header line,
            wa_eaus type eaus.
    select * from eaus into table it_eaus where auszbeleg = '000000000001'  and storausz = 'X'.
    if sy-subrc = 0 .
    wa_eaus-aedat = ''.
    wa_eaus-aenam = ''.
    wa_eaus-storausz = ''.
    modify it_eaus from wa_eaus transporting aedat aenam storausz where auszbeleg = '000000000001'.
    update eaus from table it_eaus.
    endif.
    Data:  it_eausv like eausv occurs 0 with header line,
            wa_eausv type eausv.
    select * from eausv into table it_eausv where auszbeleg = '000000000001'  and storausz = 'X'.
    if sy-subrc = 0 .
    wa_eausv-aedat = ''.
    wa_eausv-aenam = ''.
    wa_eausv-storausz = ''.
    modify it_eausv from wa_eausv transporting aedat aenam storausz where auszbeleg = '000000000001'.
    update eausv from table it_eausv.
    endif.
    In One system Update Statement Updates the EAUS Table after Update Statement and
    in other system Update Statement Updates the EAUS Table after completion of all the code.
    Will you please help me on that?

    Hi Prashant,
    Thanks for your reply
    But the issue is the above code is working in one system and update the table after
    staement 
    update eaus from table it_eaus.
    But in another system it is not updated at this system it updates the record after completion on program.

  • SBS 2003 SP2: VSS errors; unable to create system state backup (NTBACKUP)

    NTBACKUP system state on W2k3 server fails after "thinking" for ~10 mins and "creating" shadow copy; almost no disk activity, almost no CPU load. Errors in the Application
    log:
    Source: SQLVDI EventID: 1
    Loc=SignalAbort. Desc=Client initiates abort. ErrorCode=(0). Process=3392. Thread=29348. Client. Instance=. VD=Global\{9B35142B-C687-4766-9707-BC387534BA38}1_SQLVDIMemoryName_0. 
    Several of them.
    Then: 
    EventID: 8019
    Source: NTBackup
    End Operation: Warnings or errors were encountered. 
    Consult the backup report for more details.
    Then: 
    Source: VSS
    EventID: 12305
    Volume Shadow Copy Service error: Volume/disk not connected or not found. Error context: CreateFileW(\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy9,0xc0000000,0x00000003,...).
    And finally:
    EventID: 12293
    Source: VSS
    Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details PostFinalCommitSnapshots({de0d580b-68ce-4eae-a046-b5b5b7a80235}, 1) [hr = 0x80042308].
    When creating shadow copy on the system volume, the operation may take ~40-90 mins. On the data volume -- <1 min.
    "vssadmin list writers" shows:
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001 Microsoft Corp.
    Writer name: 'System Writer'
       State: [10] Failed
       Last error: Retryable error
    Writer name: 'SqlServerWriter'
       State: [10] Failed
       Last error: Retryable error
    Writer name: 'MSDEWriter'
       State: [1] Stable
       Last error: No error
    Writer name: 'FRS Writer'
       State: [10] Failed
       Last error: Retryable error
    Writer name: 'NTDS'
        State: [1] Stable
       Last error: No error
    Writer name: 'IIS Metabase Writer'
       State: [10] Failed
       Last error: Retryable error
    Writer name: 'Event Log Writer'
       State: [1] Stable
       Last error: No error
    Writer name: 'COM+ REGDB Writer'
       State: [1] Stable
       Last error: No error
    Writer name: 'Dhcp Jet Writer'
       State: [10] Failed
       Last error: Retryable error
    Writer name: 'Certificate Authority'
       State: [10] Failed
       Last error: Retryable error
    Writer name: 'WINS Jet Writer'
       State: [10] Failed
       Last error: Retryable error
    Writer name: 'Registry Writer'
       State: [1] Stable
       Last error: No error
    Writer name: 'Microsoft Exchange Writer'
       State: [1] Stable
       Last error: No error
    Writer name: 'TermServLicensing'
       State: [10] Failed
       Last error: Retryable error
    Writer name: 'WMI Writer'
       State: [10] Failed
       Last error: Retryable error
    Here is what I tried to do:
    1. Restarted that thing.
    2. Cleaned the security log.
    3. Installed Windows Server 2003 Hotfix rollup KB940349-v3.
    4. Stopped both SBSMONITORING and SHAREPOINT instances of MSDE, SQL 2005, SQL 2005 VSS and tried to perform the system state backup then. Stopped Exchange 2003 before launching NTBACKUP as well.
    5. "regsvr32 sqlvdi.dll" in MSDE directory.
    6. Renamed "System Volume Information" on all volumes and VSS has re-created them.
    7. chkdsk /f was fun on all volumes, no major issues found.
    8. Installed Hotfixes KB967551, KB975928-v2 (someone recommended).
    9. Disabled SQL Server VSS Writer (SQLVDI errors disappeared from the application event log, VSS and NTBACKUP errors stayed).
    10. Re-registered the DLLs as per Shaon Shan's post at http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/346fa42c-a476-457f-bcf3-59f87e444b55
    The above had no effect on the issue whatsoever, except a little change at item 9 as mentioned.

    Hi there.
    I just had that problem. I saw friday my backup from my sbs 2003, was not completing becasuse it said it couldn´t creat a shadow copy in the external drive... It kept giving me errors os VSS and Volsnap... But strange thing is, i have VSS turned off in all
    drives, and from months no problems with backups... So i went in Event viewer and look at it with attention, i saw a error that keep coming up from time to time (because we change the external drive form week to week). And i realize that there's a disk error
    event...
    Couldn´t run checkdisk from server, dont now why.. So i disconnected the drive, connected to my laptop, and ran a CheckDisk /F /X. ... It had BAD SECTORS! So i ran check disk... waited like 10-20 minutes. And then i ran it again just in case, and the 2nd
    time was much more faster, like 3-6 minutes. 
    I disconnected from laptop, and connected to server. I went to the Backup wizard (in server managment), and press Backup now... 
    It hang 5-10 second in Creating Shadow copy..... And it started making the Backup :_D
    I've seen all errors that were reported exactly as mine. I ran the Hotfix, all stayed the same, i followed all manual steps and still the same... and the problem was always in the external drive, which had bad sectors. 
    Hope it will help the next person that needs this info!

Maybe you are looking for

  • Open URL Link in new browser window

    Can someone please help me? I've tried to use code as if I were using Dreamweaver without any luck(i.e. blank target). Is there a way to make the url in the PDF open a new browser windows once clicked? Hopefully this is an easy fix! Thanks in advance

  • How to move the canvas in the screen

    Hi, I am a j2ME game developer. I wanna create a canvas which contains something that can't be displayed all at a time. the user has to scroll across to view the canvas. I am not aware of the issues of this kind. Help me out in this regard. Cheers jo

  • Color calibration across multiple images

    Hi everyone, I took a bunch for photos for a scientific documentation project outside in the shade throughout the day, resulting in significantly different lighting. Here are the first and last photos of the day: http://imageshack.com/a/img841/4403/9

  • Handle event of one report in other

    Dear experts, I have a requirement wherein, if an action is done on the selection screen of one report, the event should be caught in an another report which is running in another session. Say if I click refresh button on selection screen of one repo

  • Multiple Images Questions

    Hi, I am a total beginner with Flash however I have bought a template for my website and wish to make some additions to it. Basically when the template loads up it always has a main image present and the page options down one side. What I would like