Need to create some queries.
Hi,
I am having some issues with creating some queries with respect to some information that is needed.
1) How can i get the list of tables from my schema that have not been used for some time (for e.g for the past 2 months no dml activity has happnd)?
2) How can i get the information of those users in a instance who have direct access to the tables in my schema.?
Thanks,
Shilpesh
SHILPFID wrote:
Hi,
Thanks for that
But i would like to know one more thing.
DDL_TIME will show only any ddl statement issued against that.
What if we are still accessing the tables using select statements ??Well a select statement isn't, strictly speaking, even a DML statement as it is not modifying the data.
There is no automatic recording of time when DML or select statements are executed against tables. With DML you can choose to record that information yourself through your own table design and code. If you have control over the application front end you can record when queries are made, but you can't automatically record when someone queries a table just using a select statement directly on the database (at least not easily)
You can also delve into the archive logs to find DML times but they are not guaranteed to be held for as long as you will require and certainly won't be there two months later.
Essentially, you can't determine information that you haven't chosen to store.
Similar Messages
-
Need some advice - need to create some flashcards for school
hi all, hope this is not the wrong place to post this question!! i am a student and i need to create some flashcards fo my class, does anyone know of a good way of doing this?? i would also like to be able to transfer the flashcards to my iphone and view them there.
Any suggestions would be greatly appreciated,
thanks,
Petehttp://www.macupdate.com/search.php?keywords=flashcard&starget=google
-
Need information about some queries
Hello, I need help in finding the documentation (use, rows, columns, free characteristics etc) about these queries. I've already looked in the BI documentation in help.sap.com but I haven't found anything about these ones. If anyone knows the links where I can find them or has info I would very much appreciate it.
Thank you!
Production capacity ZPP_BW_Q02
Actual Activities - extended 0PP_C04_Q0004
Detailed Activity Analysis 0PP_C03_Q0019
Production Indicator ZPP_C03
Delivery Perfomance 0PP_MP01_Q0003
PP Capacidades ZPPCAPACITY
Repetitive manufacturing ZPP_BW_Q03
Customer: Plan/Actual Sales 0SD_C01_Q030
Incoming Orders by Plant 0SD_C03_Q00004
Sales order material 0SD_C03_Q0012
Most Frequent Product Combination 0SD_C03_Q0020
Direct Business Volume per ADM 0SD_C03_Q0022
Decrease in Sales 0SD_C03_Q006
Sales Order and Sales Revenue Values by Sales Representative 0SD_C03_Q024
Preselection of Top Ten Customers 0SD_C03_Q025
Error-Free Order Processing - Top 10 Customers 0SD_C03_Q026
Amounts and Dates for Delivery Delay - Top 10 Customers 0SD_C04_Q0009
Amounts and Dates for Delivery Delay 0SD_C04_Q0010
Quotation Pipeline 0SD_C05_Q0007
Customer-Related Quotation Success (with Material) 0SD_C05_Q0008
Overview: Freight Documents and Invoices 0SD_MP02_Q0002
Plan Customer I ZCUSTOMER3
Plan Customer II ZCUSTOMER4
Analysis of Due Date for Net Payment (Business Partner) 0FIAR_C03_Q1005
Customers: Overview 0FIAR_C03_Q0007
Overdue Analysis (Business Partner) 0FIAR_C03_Q1004
List of Open Items for Due Date Analyses 0FIAR_O03_Q0001_CR
Asset List 0FIAA_C12_Q0001
Transaction Data Report 0FIAA_C11_Q0001
Depreciation Posted 0FIA_DS13_Q0001
Asset Acquisitions 0FIA_DS11_Q0001
Asset Retirements 0FIA_DS11_Q0004
Investments by Quarter 0FIA_DS11_Q0002
Transaction Data Report 0FIA_DS11_Q0003
Collection Agencies Receivables/Revenues 0FC_C03_Q0001
Monthly Overview of Installment Payments 0FC_C04_Q0001
Completed Installment Plans 0FC_C05_Q0001
Profit Center - Account View (SAP Analytics) 0PCA_MP01_Q0004
Profit Center - Balance Sheet (SAP Analytics) 0PCA_MP01_Q0002
Profit Center - Income Statement (SAP Analytics) 0PCA_MP01_Q0003
Profit Ctr Key Figure - Return on Investment (SAP Analytics) 0PCA_MP01_Q0001
Profit Center: Plan/actual/variance balance sheet accounts 0PCA_C01_Q0016Throwing my hat in the ring for updates on this as well. I was searching for a good "Sales Orders by Sales Rep" query and couldn't find anything in the help.sap documentation. I did some where used queries on 0SALESEMPLY and came across all of these queries from just 0SD_C03 that aren't documented (as far as I can tell):
0SD_C03_DB_Q0001
D&B Revenue per Customer with family tree
0SD_C03_DB_Q0002
Dun & Bradstreet Duplicate Customers to one DUNS Number
0SD_C03_DB_Q0003
D&B Customer Revenue Analysis
0SD_C03_DB_Q0010
D&B Customer Details
0SD_C03_Q00004
Incoming Orders by Plant
0SD_C03_Q0001
Overview: Freight Documents and Invoices
0SD_C03_Q0012
Sales order material
0SD_C03_Q0015
Preselection Business Partner (only CRM)
0SD_C03_Q0016
Most Frequent Product Combination (only CRM)
0SD_C03_Q0017
Cross Selling Target Group
0SD_C03_Q0018
Sales Volume for Product Hierarchy
0SD_C03_Q0019
Sales Volume Decrease per Business Partner
0SD_C03_Q0020
Most Frequent Product Combination
0SD_C03_Q0021
Preselection Business Partner
0SD_C03_Q0022
Direct Business Volume per ADM
0SD_C03_Q0023
Sales Order and Sales Revenue Values from the Last 12 Months
0SD_C03_Q0024
Decrease in Sales
0SD_C03_Q0025
Incoming Orders of the Last 12 Months
0SD_C03_Q0026
Top 10 Materials Based on Incoming Orders of Last 12 Months
0SD_C03_Q0100
Returns per Business Partner
0SD_C03_Q0101
Sales Volume Development per Business Partner
0SD_C03_Q012
Returns per Customer Top N
0SD_C03_Q024
Sales Order and Sales Revenue Values by Sales Representative
0SD_C03_Q025
Preselection of Top Ten Customers
0SD_C03_Q026
Error-Free Order Processing - Top 10 Customers
0SD_C03_QDB001
Dun & Bradstreet Rationalization for All Customers -
Help! - need to create/list groups in OS 10.5.2 unix
I need to create some groups in order to install Oracle
on my 10.5.2 MAC. 10.3.6 MAC had nireport and nicl to
list and create groups. Unfortunately even tho I can get
man pages for these commands, the commands themselves no
longer exist.
When I posted this question to another forum they directed
me here, and mentioned that dscl would do what I want.
But I can't make heads or tails out of the man pages for
dscl!
Help!SystemPreferences>Accounts, unlock the lock and click the '+' sign. The pull down of 'New Account' has a 'Group' item in it.
-
No. of Connections needed for creating universes from SAP BEx Queries
Hello,
I have 8 SAP BEx queries, my task to create to universe for all of these queries. I have created a datasource connection, my question here is can I use the same connection for all the queries by changing datasource connection and selecting the new query or is it suggestable to create 8 datasource connections in universe designer??
please let me know if you need any more info.
Your reply is highly appreciated.
Thanks,
NareshHI,
You need to create 8 connection for 8 BW queries.There is one to one mapping in the universe.If you change the existing connection source then it will not work for earlier query.
Other thing you can check like you have 8 queries then instead of creating 8 universe if possible then merge some queries in the single bw query and then create universe.
Thanks,
Amit -
I have created some music tracks as aiff files which I want to load onto my iPod Shuffle 4th Generation, but it won't play them - it just bleeps at me. I have changed them to AAC which works but would rather use aiffs. Can anyone tell me what settings do I need to use to make aiffs work? The info on the iPod says that it accepts aiff files!!
I have created some music tracks as aiff files which I want to load onto my iPod Shuffle 4th Generation, but it won't play them - it just bleeps at me. I have changed them to AAC which works but would rather use aiffs. Can anyone tell me what settings do I need to use to make aiffs work? The info on the iPod says that it accepts aiff files!!
-
I want to send some photos from Firefox, when I tried it said I need to create a new profile, use mail icon in control panel. I went to control panel and do not know what to do.'''bold text'''
As all of the msuic came from your computer in the first place it should still be there. Is it not?
EVERYTHING on your ipod should also be on your computer and should be included in your regular backup copy of your computer.
Make sure that everything is on your computer. You can transfer itunes purchases from the ipod. Without syncing: File>Transfer Purchases.
When everything is on your computer, then it can be synced back to the ipod after updating. -
I need to create a image using some numeric values and i want to display values in image,
I need to create a image using some numeric values and i want to display values in image, Numeric values be enterd by text file, excel file or user input by dialog box,
this is the sample if image.
http://s17.postimg.org/5xvtzbztn/5_01_03_I.png
128 x 16 Pixels , Back ground Black, Numbers in Red, Should be same as above picture.
Because i have hundreds of images to create like this.
If any one can make a script for this it is very good.
Sorry about my English.
Thank you.Have you checked out data driven graphics?
https://helpx.adobe.com/photoshop/using/creating-data-driven-graphics.html -
Need to execute some code once order created
Hi,
I have requirment like once the order in IW31(BO: BUS2007 ) is created i need to execute some custom code. please let me know the steps to do that.
This process should complete without user interaction.
Thanks,
Sudheer. AHi Sudheer,
maybe you can have a look at user exit EXIT_SAPLCOIH_009.
This is the exit where you can do some latest checks before saving the document in IW31.
You can also write your own function module (e.g. Z_DO_THIS_AFTER_IW31) with the code to be executed and trigger this later. So that the code is not executed in the user exit, but a bit later after the real IW31 document is saved.
Do that by using CALL FUNCTION 'Z_DO_THIS_AFTER_IW31' IN UPDATE TASK.
Here is the F1 help text on the 'IN UPDATE TAST' addition.
Please let me know if this solved the problem..
Grtz Marcel.
CALL FUNCTION - IN UPDATE TASK
Syntax
CALL FUNCTION update_function IN UPDATE TASK
[EXPORTING p1 = a1 p2 = a2 ...]
[TABLES t1 = itab1 t2 = itab2 ...].
Extras:
1. ... EXPORTING p1 = a1 p2 = a2 ...
2. ... TABLES t1 = itab1 t2 = itab2 ...
Effect
This statement registers the update function module specified in update_function. update_function must be a character-type field, which during execution of the statement contains the name of an update function module in uppercase letters.
An update function module is a function module, for which in the Function Builder the property update module is marked. The registration of an update function module is an essential part of the update task.
The function module is not executed immediately, but is scheduled for execution in a special work process (update work process). For this purpose, the name of the function module including the passed actual parameters is stored as a log record in the database table VBLOG. If the statement is executed during the update task, the addition IN UPDATE TASK is ignored.
If the statement
SET UPDATE TASK LOCAL is executed before registration of an update function module in the current SAP LUW, registration takes place in the ABAP memory rather than on the database, and for the current work process.
The actual execution is triggered by the statement COMMIT WORK. The formal parameters of the function module receive the values of the actual parameters from table VBLOG. A function module that is registered several times will also be excuted several times with the respective parameter values.
If a COMMIT WORK statement is not executed after registration of a function module during execution of the current program, the function module is not executed and is deleted from table VBLOG at the end of the program. -
Need To Create a table in Sql Server and do some culculation into the table from Oracle and Sql
Hello All,
I'm moving a data from Oracle to Sql Server with ETL (80 tables with data) and i want to track the number of records that i moving on the daily basis , so i need to create a table in SQL Server, wilth 4 columns , Table name, OracleRowsCount, SqlRowCount,
and Diff(OracleRowsCount - SqlRowCount) that will tell me the each table how many rows i have in Oracle, how many rows i have in SQL after ETL load, and different between them, something like that:
Table Name OracleRowsCount SqlRowCount Diff
Customer 150 150
0
Sales 2000 1998
2
Devisions 5 5
0
(I can add alot of SQL Tasks and variables per each table but it not seems logicly to do that, i tryid to find a way to deal with that in vb but i didn't find)
What the simplest way to do it ?
Thank you
Best Regards
DanielHi Daniel,
According to your description, what you want is an indicator to show whether all the rows are inserted to the destination table. To achieve your goal, you can add a Row Count Transformation following the OLE DB Destination, and redirect bad rows to the Row
Count Transformation. This way, we can get the count of the bad rows without redirecting these rows. Since the row count value is stored in a variable, we can create another string type variable to retrieve the row count value from the variable used by the
Row Count Transformation, and then use a Send Mail Task to send the row count value in an email message body. You can also insert the row count value to the SQL Server table through Execute SQL Task. Then, you can check whether bad rows were generated in the
package by querying this table.
Regards,
Mike Yin
TechNet Community Support -
In order to keep each family members' documents organized, I need to create separate "folders". I've seared the help section but to no avail. I'm sure this is very easy for someone out there. Any help is much appreciated. Thank you.
You can't created a folder in Pages. Here's what Help says about new folders:
To create a folder:
Click the desktop (the background area of your screen) if you want to keep the new folder on the desktop; otherwise, open the window where you want to keep the folder.
Choose File > New Folder.
If the New Folder command is dimmed, you do not have permission to create a folder at the current location.
To give the folder a new name, click to select it and press Return. Then type a name for the folder and press Return again.
Walt -
I have some queries usage of RAID 1 on OSX
Hi there
I apologise for the length of this question, but there's quite a bit of relevant data. I work in a small typesetting company (<10 employees) and since a HDD failed on an old G4 iMac that we used as a data archive we have learnt that without our data we are nothing. I have now been asked to implement a more reliable back up/recovery system (with minimum downtime) that increases the 'safety' of our customer's data. Rebuilding the archive took days to sort out and because the archive was constantly accessed by our production macs and a couple of PC as well, it hit us hard.
We are looking into turning an old G5 Powermac (1.8Gz single processor 2.5Gb RAM) into a RAID 1 (mirrored) system with 2 x 1TB SATA drives using Disk Utility. We would have this to protect against one HD failing and losing customers' data. I understand that this is not a back up system, just something that would protect customer's data should a drive critically fail. I have some queries regarding how this works though.
1) How much (if any) maintenance is required on a RAID system? None of use are IT specialists - just typesetters with a bit of technical knowledge.
2) Is a mirrored RAID system reliable, considering multiple people are reading/writing to the machine throughout the day?
3) Do RAID 1 systems handle being accessed by different OSs (WinXP, Win7, OSX 10.4–10.6) well?
4) Am I right in thinking that OSX would see the two drives as separate volumes?
5) Should one drive fail and need to be 'rebuilt' via Disk Utility, can users still access the one working HD, or do you need to replace the failed HD and rebuild before anyone can access the data again?
6) Considering Question 4 above, do we need to have a 3rd 'spare' 1TB Drive just in case?
7) We are looking into a two-week backup system, backing up all the customers data on a daily basis, with the previous week's disk being stored off-site. We were initially looking into either Carbon Copy Cloner or RSync the copy data to external HDDs. How would you rate Time Machine against these products, and does anyone have any experience using these solutions with RAIDed Macs?
8) Is there any 'downside' to RAID 1 systems?
I know this is a lot of questions, but I really don't want to start down this route unless I understand it better first.
Many thanks in advance for your contributions!Mac_fool wrote:
Thanks for your reply!
So, in order to have a RAID visible and accessible by multiple OSs, and to eliminate downtime during rebuilds, a hardware RAID would be necessary.
Well, not quite. When you create a RAID in Disk Utility, the volume only exists as a MacOS X file system. Your Mac can share that volume to any other machines or operating systems.
What I mean by a hardware RAID is some box whose output port is eSATA or USB or some other non-network storage port. On such a device, the logic to create the file system is inside the box. Any machine that is connected to it would see only a single disk. You would still have to ensure that different operating systems could understand whatever file system you were using (HFS+, FAT, NTFS, etc), but that is the same as if you had a non-RAID external drive.
I have one of those. It is an older FireWire 800 drive that has two 300 GB disks inside. To any machine I connect that to, it appears as a single 600 GB drive. This particular device isn't designed for mirroring, however. If it were, it would only show itself as a 300 GB hard drive and I would have the capability to easily swap out the internal mechanisms when they fail.
By 'hardware RAID', do you mean inserting a RAID controller card inside the G5, or a separate storage device, such as a RAIDed NAS-type-thing? Would an ethernet-connected NAS be slower to access than a G5 with internal SATA? Am I right in thinking that those RAID-ready NAS devices cannot be partitioned at all?
I qualified the above to explicity avoid NAS devices just to simplify things.
I'm not familiar with RAID controller cards. My guess is that they are just a cheaper alternative to an external RAID device. It would allow you to plug your own hard drives into the controller card and create the RAID. They would certainly provide higher performance that if the operating system were handling the details.
If you want to have a RAID for data reliablity, you really need an external, self-contained device that has a standard hardware storage port you could plug into any machine. It would look and act just like any other external hard drive. But if a drive failed, a light would flash on the box and you could just pull out the failed hard drive and replace it with a new one. You wouldn't even need to power anything down.
For both RAID controller cards and stand-alone boxes, you may or may not need additional software to partition and format the drive. It depends on the model and manufacturer.
Such a device could also be NAS. In this case, it would have an ethernet interface instead (or in addition). The difference is that such an interface would almost always be slower than a true storage interface like Firewire or USB. Plus, you would usually have to let the box itself handle its partitioning and formatting. Since it is designed to be a networked drive, you don't need another machine to be the server. It is its own server. This is useful in those cases where you don't want/need a dedicated server. The downside is that it probably runs some lowest-common denominator Windows networking for maximum compatibility. Foreign, networked filesystems are always going to be more flaky. Some software may not work. Some OS upgrade may give you hassles.
To be honest, I'm no expert on RAIDs. In such situations, I usually just defer to people I know are experts. So, just buy the amount one of these: (http://eshop.macsales.com/shop/hard-drives/RAID/Desktop/), plug it in, and go. I suggest RAID 5. -
Need to create sales out of purchase order using idocs
Hi All,
I have a requirement to create sales order based on purchase order with in the same sap system and same client(using orders04 idoc type).I have some doubts below could you please some body clarify?
I know the basic steps in ALE(theritical knowlege)but I need clarifications for below questions.
1)Which tehnology I should use here ALE or EDI?
2)With in the same client how can I create 2 logical systems.
3)How the idoc will go the recevier I mean what all are the ways to trigger outbound idoc from sender side.
4)Inbound side how the sales order will create based on the inbound idoc?Is it automatic from inbound settings or we have to do anyting for this?
5)I need to check some conditions with the inbound purchase order data before creating sales order.I think this one we can do in the user exit of inbound function module .Can I control the type of document that it has to create(ex sales order based on some condition or quotation based on some other condition).
Best regards
MaheshHi Mahesh,
My suggetion is that develope program to do your scenario... Use BAPI to create Sales order. First confirm with the Functional team for the input for sales order about sales area, company code, conditions type to be used while creation a sales order against Purchaser order... If the details is same then. First get the details of the Purchase order from BAPI " 'BAPI_PO_GETDETAIL' or you can get details by select queries on EKKO & EKPO for header and details....
Then pass data to BAPI of sales order creation 'BAPI_PO_CREATE' . to create sales order and handle error with parameter RETURN = IT_BAPIRETURN
by giving loop on that....and display in the output.....
This is the simplest way of doing your process...
If any other help please let me know.....
reward points..
Cheers,
Sagun Desai.... -
Uber Noob Needs Help Creating website!
I need help creating my webpage: It has a textbox on it were
the user enters a URL and it then redirects the end user to that
URL when they press the GO Button. It also has a check box saying
"Hide my IP", If the end user clicks this box and then clicks go
they will be directed to the website they stateted in the Textbox
but this time it shall mask there IP Address so they can bypass
proxys and surf anonomosly. Please can someone give me some HTML
code i could use for this site or a Link to a website that can give
me the code.I assume the application is connecting to Oracle using an application ID/password. If so, check to see if that user has a private synonyn to the table. If so drop it since you have a public synonym.
Verify that the public synonym is in fact correct. Drop and recreate the public synonym if you cannot select against the synonym name using an ID that can perform select * from inhouse.icltm where rownum = 1. That is if this other user cannot issue select * from icltm where rownum = 1 without an error.
Check that the application ID has the necessary object privileges on the table.
Queries you need
select * from dba_synonyms
where table_owner = 'INHOUSE'
and table_name = 'ICLTM'
You may find both public and private synonms. Either fix or delete. (Some may reference someelses.icltm table if one exists)
select * from dba_tab_privs
where table_name = 'ICLTM'
and owner = 'INHOUSE'
Note - it is possible to create mixed case or lower case object names in Oracle by using double quotes around the name. Do not do this, but do look to see that this was not done.
You could also query dba_objects for all object types that have the object_name = 'ICLTM'
HTH -- Mark D Powell -- -
Help needed to create Quik Time VR movies, step by step
Hello,
thank you for your attenction.
I need to create Quick time vr movies, and I need to know the exact sequance of steeps to do it, and if the starting point I use is correct.
1) I shooted a sequence of photos with my digital camera (for example: www.stebianchi.com/quicktimevrhelp/still-photo.jpg).
2) Then, with photoshop (CS4) I choose: Automate/photomerge and I select all them to joint them in a bigger 360° panoramic one (www.stebianchi.com/quicktimevrhelp/pan.jpg). If, untill here, all is correct, the first question: in photoshop Photomerge layout option, do I have to choose one voice "auto, perspective, cylindrical, spherical, etc..." rather than anoter one of these?
3) from here, I really need your help.
First of all: the great doubt:
My photos can not cover a spherical panorama, they're only a "ring" around a center (and not a spherical texture). To cover all the surface (or almost all, ok...) of my ambient, do I have to use a wider lens on my camera or there is a different solution (for ex a vertical photomerge?).
4) Done this, I think I shuold buy a software like Cubic converter, to set and export the QTVR movie. Right?
Thanks a lot guys,
all the best!
StefanoYou can call your local apple store(find one on the home page of apple.com) and they will give you instructions how to convert DVD to iPod. That is what they told me, but from what I heard, you may need more than Quicktime Pro. Just call and ask them, because if you make a manual of how to do it, it could help me a lot.
(I'm looking for a good DVD converter, already know some, beside the internet download ones)
Maybe you are looking for
-
How can I transfer photos from PC to iPad?
How can I transfer photos from PC to iPad?
-
Right Click Move menu has duplicate entries
One of my users frequently sorts mail into subfolders on a shared mailbox. They most commonly do this by right clicking the message, selecting Move, then selecting the folder. Somehow, they ended up with a duplicate entry in the right click menu. In
-
Sparse Root Zone using loopback refuses to shutdown
New to zones, so been following along with the System Administration Guide: Solaris Containers-Resource Management and Solaris Zones doc from Sun (#817-1592). Everything seems ok with a plain jane zone, but I've run into trouble trying to use the loo
-
Whats the use of tracking tab in UWL?
Hi, might sound stupid question but could someone help me to understand the use of tracking tab in UWL? What is the use of this tab or what is the purpose of this tab? can this tab be used for deleting task assigned to someone else? Thanks Sid
-
I have a hp pavilion dv6 laptop and i have a problem that the sound comes only from the headphones a
hp pavilion dv6-3009TU windows7 32-bit