View based autorization in MM01
Hi All,
We would like to restric the users not allowed to enter the data in costing and accounting views of MM01. only few user will be having authorization to enter the data in accounting and costing view of MM01,
Waiting for your reply
Ranjan
hi
go to OMT3E
here define the acces to the screen for material masters
regards
KI
Similar Messages
-
Want to update data in a view based on multiple tables
Hi
I am facing a problem i want to update data in tables using a view. As that view is based on multiple tables so i am unable to update data. i came to know we can update table from view only if view is based on single table. so if anyone knows any alternative please let me know.
Thanx
DevinderDevinder,
The table can be updated through a view based on multiple tables, if and only if the table is a "key preserved" table. Rather than explaining myself, i avoided the burden of typing by finding the material in Oracle Docs and pasting it for you :-)
If you want a join view to be updatable, all of the following conditions must be
true:
1. The DML statement must affect only one table underlying the join.
2. For an INSERT statement, the view must not be created WITH CHECK
OPTION, and all columns into which values are inserted must come from a
key-preserved table. A key-preserved table in one for which every primary
key or unique key value in the base table is also unique in the join view.
3. For an UPDATE statement, all columns updated must be extracted from a
key-preserved table. If the view was created WITH CHECK OPTION, join
columns and columns taken from tables that are referenced more than once
in the view must be shielded from UPDATE.
4. For a DELETE statement, the join can have one and only one key-preserved
table. That table can appear more than once in the join, unless the view was
created WITH CHECK OPTION.
HTH
Naveen -
Adding tabs to View based application in mobile project
Hi,
I wanted to if tabs can be added to a view based (ViewNavigatorApplication) ? I need tabs few of my views also tabs will be different in different views.
If using TabbedNavigatorApplication is the only option how do I create a first view without tabs and different tabs in different section of the application.on what page of the app (P-Track, right?)... I assume you desire to see them listed in the project details, page 200? If so, the source for the query for that region has a where clause hard-coded for m.milestone_status='Open' ... removing it would get what you want there (they will still be color coded). I've modified this application extensively such that I have an actual control on the region(s) to allow the user to choose "open/all" (for milestones and actions)
Otherwise, you can adjust the search filter 'status' option on page 35 to 'all' (the default is 'open') and click go.. (and/or add a new list option in that control for 'closed'..)
does that help? -
OBIEE report based on same criteria but different view based on filter
Hi,
I am trying to create a report in OBIEE 11.1.1.5 where In the same report using the same criteria, I can have different views which applies different filter.
Suppose, I have a report criteria as
Dim1, Dim2, Measure1, Measure 2.
I want to create two pivot view based on the same data.
One view will be showing data Dim1="Value1". The other view is duplicate of this view but will show data Dim1="Value2".
Is it possible in OBIEE?
basically what I want is work on the same dataset but different representation and show them in the same report. Please share your opinion.
Regards,
Tanveer.Hi,
You create a new dim dummy column in criteria and in presentation level create new pivot table view use this dummy dimension column and filter with dim1=value2.
give updates on this.
Mark if Helpful/correct.
Thanks. -
How to create a view based on Lookup Column?
Hi All,
I am working as a SharePoint developer 2013.
When i tried to create a view based on look up column it is not showing lookup column.
How to fix this problem?
Please help me out here.
Thanks & Regards,
Santhoshican you elaborate the issue? Do you mean you cannot view the column name in the filter section when creating a new view for the list or the column is not getting displayed in the view created?
--Cheers -
Table View in View-based Application
Hi.
I want to use an UITableView in a View-based Application.
All examples I found are for Navigation-based Applications.
I Found only one example for View-based Applications, but it create all components himself without the Interface-Builder.
I search an example with Interface-Builder.
My main problem is, when i create a view with Interface-Builder, the controller class does not inherit from UITableViewController.GrinderFX wrote:
I want to use an UITableView in a View-based Application.
Hi, and welcome to the Dev Forum!
Firstly, I would point out that you don't need to use UITableViewController to control a table view. The table view controller is just more convenient. So for example, you could simply drag a table view from the library in IB and drop it onto your view. Then you could hook up the table view's dataSource and delegate outlets to the File's Owner. Then you would add the data source and delegate protocols to the @interface of your UIViewController subclass and add the required data source and delegate methods to the @implementation.
I mention the above because building your table view that way is very instructive. If you want to learn more about table views in general I would recommend Chapter 8 of +Beginning iPhone Development: Exploring the iPhone SDK by Mark and LaMarche+, which includes 3 table view projects that don't involve a navigation controller.
My main problem is, when i create a view with Interface-Builder, the controller class does not inherit from UITableViewController.
Returning to your specific question, IB allows you to change the class of an object. Here are the steps to use the View-Based Application template as you described (In the following I'm using Grinder as the name of the project; e.g. the app delegate class is named GrinderAppDelegate, and the view controller subclass is named GrinderViewController):
1) _Change parent of view controller subclass in your code_
In GrinderViewController.h, you only need to change the superclass from UIViewController to UITableViewController:
@interface GrinderViewController : UITableViewController {
However it will be easier later on if you make new files from the UITableViewController file template:
a) Ctrl-click on GVC.h and GVC.m in the Groups & Files tree; select Delete->Also Move to Trash;
b) Ctrl-click on Classes; select Add->New File->iPhone OS->Cocoa Touch Classes;
c) Select UITableViewController subclass from the right center panel and click Next;
d) File Name: GrinderViewController.m; check Also create GrinderViewController.h;
e) Make sure the name for these new files is exactly the same as the ones you deleted; if you make a mistake here, delete the new files and start over, because that name must be the same in several other files;
f) Click Finish; the replacement files should now appear under Classes.
2) _Change the view controller class in IB_
a) Double click on MainWindow.xib under Resources in the Groups & Files tree;
b) Make sure the MainWindow.xib window is open by selecting Window->Document from the IB menu;
c) Locate the View Mode switch, upper-left, in the xib window, and select the Center position;
d) The xib window should now be displaying two columns with small icons on the left;
e) Select the Grinder View Controller icon;
f) Select Edit-Delete to delete that icon;
g) Select Tools->Library from the menu, and expand Controllers in the Library Panel;
h) Drag a Table View Controller to the xib window and drop it right under the app delegate icon;
i) Select Tools->Identity Inspector from the menu to open the Grinder View Controller Identity Panel (the new Table View Controller should still be selected in the xib window);
j) Under Class Identity, select Grinder View Controller from the list; tab out of the Class field to be sure the selection is recorded;
k) Ctrl-Click on Grinder App Delegate and connect the view controller outlet (ctrl-drag) to Grinder View Controller;
l) Expand GVC in the xib window and delete the Table View icon (since we want it in the other xib file);
m) Reselect the GVC icon and open the Grinder View Controller Attributes panel;
n) Under View Controller, select GrinderViewController from the NIB Name list;
o) In the Table View Controller IB Editor window, select GrinderViewController.nib to open the other xib file;
p) Make sure the GrinderViewController.xib window is open in small icon mode as in steps b-d above;
q) The class of the File's Owner should be GrinderViewController;
r) Delete the View icon;
s) Drag a Table View from the Library to where the View icon was;
t) Ctrl-click on File's Owner and connect (ctrl-drag) it's view outlet to the Table View;
u) Ctrl-click on Table View: connect both the dataSource and delegate outlets to File's Owner;
v) File->Save both xib files.
3) _Make some rows in the table view and test_
a) Open GrinderViewController.m in Xcode;
b) Add the commented lines (be sure to use the correct line for your target OS);
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 20; // <-- change to more than zero
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
// Configure the cell
// add this line for OS 2.x
cell.text = [NSString stringWithFormat:@"Row %d", indexPath.row];
// add this line for OS 3.0
// cell.textLabel.text = [NSString stringWithFormat:@"Row %d", indexPath.row];
return cell;
c) Build and Go.
I should add that the procedure might be a little easier if you start with the Window-Based Application Template. But the above is good practice in editing xib files.
Hope that's helpful!
- Ray -
How to create materialized view based on a view?
Hi,
I hope this is not very far fetched idea.
I have a very complex view and I would like to replicate it 'in place' that is I would like to make a materialized view that is based on this view complex view. I would like to use this materialized view (i.e table) to query data instead of using the original view, since it takes Oracle some 10-15 seconds to execute my query on the original view and I am not allowed to create indexes on most of the tables that are included in the original view.
Can this be done?
Best regards,
Tamas SzecsyThe best way to do this is to create a materialzed view based on the underlying code of the original view. If you don't have this handy, issue the following in sqlplus:
select text
from user_views
where view_name = 'NAME_OF_VIEW'
You can then cut and paste the sql statement into your create materialized view statement.
Please note, you will probable have to set the long parameter to a higher value to reveal the complete statement for example:
SQL> set long 2048 -
How to create materialized view based on a synonym
Hi all,
I am trying to create simple materialized view based on a synonym and that synonym is pointing a view in other database (using dblink). I am getting table or view not found error . I am able to select synonym if i use select but not in materialized view. Please help me.
Thanks,The best way to do this is to create a materialzed view based on the underlying code of the original view. If you don't have this handy, issue the following in sqlplus:
select text
from user_views
where view_name = 'NAME_OF_VIEW'
You can then cut and paste the sql statement into your create materialized view statement.
Please note, you will probable have to set the long parameter to a higher value to reveal the complete statement for example:
SQL> set long 2048 -
List View Filter - I want to create List View based on a specific user
I want to create a List View Filter based on specified user ID. I dont want to specify the [Me] for filtering the view based in current logged in User.
I want the view to be based on specific user ID for Ex: "AD\JohnDoe"
Thanks
NateThe People/Group Picker field has several options for how the name is displayed. For example you can set it to be the friendly name or the account name. When you create your View Filter, make sure that you are using the same format as the field's display
type.
Dimitri Ayrapetov (MCSE: SharePoint) -
Update a field in view, based on change in one of it's tables.
Hi,
I have created a Maintenance view based on three DB tables.
My requirement is if i change data in one the database tables the view should get automatically updated with the new data.
Could anyone please soleve my issue, points are definite.
Thanks and regards,
raghavendra goutham p.Hi,
any changes to the database field value will
automatically gets reflected in view .
please check it.
Regards
Amole -
Firing a view based on a selection from a popup window
Hi,
I have a main window in which there is "Display Details" button and a view container to hold a view. On clicking this display button I'm showing a pop-up window which will show the user the options to select a particular view. After the selection and clicking on OK in the pop up window the corresponding view should be shown the view container.
I tried this by firing an outboung plug to the corresponding view based on the selection in the popup window. The problem is I cannot create a navigation link in the window as the popup view is not part of the main window.
Could you please provide me your insights on how to handle this scenario?
Regards,
VivekHi Vivek,
Please refer this article: [Creating Navigations and Embedding Views at Runtime - Web Dynpro ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50f3660d-ad29-2b10-2482-8120e56942dd?QuickLink=index&overridelayout=true]. Also refer [Thomas' reply in this thread|Embed a view dynamically in a ViewContainerUIElement;.
Regards -
Create a view based off a query in Access WebApp
I'm trying to create a summary view based on a query. The query is being used to make a simple join two tables. I don't have an issue creating a datasheet or list view off the query, but when I try to create a summary view, I'm unable to
create it.
From the desktop app, I'm able to click on the plus sign to add a new view, give it a name, choose the type and select my record source. When I click on "Add New View" nothing happens. I do not get any progress dialog box as I do for
other views. The popup for the "Add New View" simply disappears. Is this the expected behavior?
Based on this thread I don't think so.
https://social.msdn.microsoft.com/Forums/en-US/a5e60abc-0061-429e-8ce8-2014626c42c2/access-web-app-open-a-subform-from-a-query-based-summary-view?forum=accessdev
Again, this is a simple query table 1 has 8 colums, all of them are simple text except for one lookup column that includes the data with the table, one column stores the a primary key from the second table. The second table is a simple table with
3 columns.
Is this a limitation of the Access Web App?Hi,
You should be able to create a new summary view off a saved query. The behavior you describe sounds very odd but I’m not able to repro this on my computer. Could
you try something for me? Try and create a new summary view and use a table as its record source. Does that get created OK?
Jeff Conrad - Access Junkie - MVP Alumnus
Senior Content Developer - Modern Assistance and Support Experience - Microsoft Corporation
Author - Microsoft Access 2013 Inside Out
Author - Microsoft Access 2010 Inside Out
Co-author - Microsoft Office Access 2007 Inside Out
Access 2007/2010/2013 Info: http://www.AccessJunkie.com
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/en-us/legal/Copyright/Default.aspx -
Creating View based on Current and previous data from same table
I am trying to create a view based on a table called “my_companies”. The table has following columns: “company_id”, “start_date”, “product_type_code”, “partner_id”
The main purpose of this view is to obtain previous company_id’s associated with a particular “partner_id“and “product_type_code”. So basically, I’m looking to create an extra column, say “prev_company_id” in the view along with all the other columns. The “previous” data can be obtained depending on the “start_date”. I’m not able to write a query successfully to do this.
Can anyone help? Thanks in advance.Hi,
Whenver you have a question, it helps to post:
(1) The version of Oracle (and any other relevant software) you're using
(2) A little sample data (just enough to show what the problem is) from all the relevant tables
(3) The results you want from that data
(4) Your best attempt so far
Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
Formatted tabular output is okay for (3). Type before and after the tabular text, to preserve spacing. The sample results should include any special cases that you foresee, such as one company having many previous companies, or vice-versa.
It sounds like might need a +self-join+, where you have two copies of the same table, as if the current companies were in one table and the previous companies were in another, even though they are all actually in the same table. -
Create a view based on a public synonym
Hi I'm trying to create a view based on a public synonym, but getting "ORA-01031: insufficient privileges" error.
When i retrieve records from the same public synonym, i could able to do so. But when i try to create a view based on that synonym, it is not possible. Why is it? Can anyone please explain?
11:58:04 IT00053.it0053@SCOTT> connect sys as sysdba
Enter password: ******
Connected.
11:58:14 IT00053.it0053@SYS> create role general_user_role;
Role created.
Elapsed: 00:00:00.14
11:58:33 IT00053.it0053@SYS> connect scott
Enter password: *****
Connected.
11:58:41 IT00053.it0053@SCOTT> select * from tab;
TNAME TABTYPE CLUSTERID
DEPT TABLE
EMP TABLE
BONUS TABLE
SALGRADE TABLE
DEPT_TAB SYNONYM
Elapsed: 00:00:00.01
11:58:47 IT00053.it0053@SCOTT> create public synonym scott_emp for scott.emp;
Synonym created.
Elapsed: 00:00:00.06
11:59:14 IT00053.it0053@SCOTT> grant select on scott_emp to general_user_role;
Grant succeeded.
Elapsed: 00:00:00.14
11:59:35 IT00053.it0053@SCOTT> connect sys as sysdba
Enter password: ******
Connected.
12:00:13 IT00053.it0053@SYS> create user beginning_user
12:00:31 2 identified by beginning_user
12:00:38 3 default tablespace users
12:00:45 4 temporary tablespace temp;
User created.
Elapsed: 00:00:00.04
12:00:53 IT00053.it0053@SYS> grant connect, resource, create table, create view to beginning_user;
Grant succeeded.
Elapsed: 00:00:00.01
12:01:13 IT00053.it0053@SYS> grant general_user_role to beginning_user;
Grant succeeded.
Elapsed: 00:00:00.01
12:01:35 IT00053.it0053@SYS> connect beginning_user/beginning_user
Connected.
12:01:49 IT00053.it0053@SYS> connect beginning_user
Enter password: **************
Connected.
12:02:01 IT00053.it0053@SYS> show user
USER is "BEGINNING_USER"
12:02:06 IT00053.it0053@SYS> select * from scott_emp;
EMPNO ENAME JOB MGR HIREDATE SAL
COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800
20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600
300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250
500 30
7566 JONES MANAGER 7839 02-APR-81 2975
20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250
1400 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850
30
7782 CLARK MANAGER 7839 09-JUN-81 2450
10
7788 SCOTT ANALYST 7566 19-APR-87 3000
20
7839 KING PRESIDENT 17-NOV-81 5000
10
7844 TURNER SALESMAN 7698 08-SEP-81 1500
0 30
7876 ADAMS CLERK 7788 23-MAY-87 1100
20
7900 JAMES CLERK 7698 03-DEC-81 950
30
7902 FORD ANALYST 7566 03-DEC-81 3000
20
7934 MILLER CLERK 7782 23-JAN-82 1300
10
14 rows selected.
Elapsed: 00:00:00.21
12:02:16 IT00053.it0053@SYS> create or replace view new_view_1 as select empno, ename, job from
12:02:50 2 scott_emp;
scott_emp
ERROR at line 2:
ORA-01031: insufficient privileges
Why is this error?
Your help will be much appreciated...
Thanks and regards
Muthucreate any view privilege
10:15:07 IT00053.it0053@SYS> connect sys as sysdba
Enter password: ******
Connected.
10:22:27 IT00053.it0053@SYS>
10:22:28 IT00053.it0053@SYS>
10:22:28 IT00053.it0053@SYS> grant create any view to beginning_user;
Grant succeeded.
Elapsed: 00:00:00.00
10:22:53 IT00053.it0053@SYS> connect beginning_user/beginning_user
Connected.
10:22:59 IT00053.it0053@SYS> create or replace view new_view_1 as select empno, ename, job from scot
t_emp;
create or replace view new_view_1 as select empno, ename, job from scott_emp
ERROR at line 1:
ORA-01031: insufficient privileges
---> Same result
But When creating a view, the owner must have granted the select directly.
10:23:08 IT00053.it0053@SYS> connect scott/tiger
Connected.
10:25:43 IT00053.it0053@SCOTT> grant select on scott_emp to beginning_user;
Grant succeeded.
Elapsed: 00:00:00.07
10:26:14 IT00053.it0053@SCOTT> connect beginning_user/beginning_user
Connected.
10:26:19 IT00053.it0053@SCOTT> create or replace view new_view_1 as select empno, ename, job
10:26:25 2 from scott_emp;
View created.
Elapsed: 00:00:00.03
This works. Thanks a lot for your timely help.
danke shun herr bochum. thanks to mr.ankara -
Strange behaviour of view based on several tables join with union all
Dear fellows we r facing a strange problem we have a view based on several tables joined by union all ,when we issue an ordered query on date,rows returned are unusually different than they should be .
Is oracle has some special behaviour for view based on union all ?
I m using oracle 8.1.6 on windows 2000
Kashif SohailDid you ever solve this problem? I have two select statements based on 4 tables and 3 views using about 5 more tables. When I execute each select individually I get exactly what is expected. When I UNION ALL both selects together, I get "no rows returned", however when I UNION them I get exactly what is expected. I should get the same answer for both UNION ALL and UNION. The two select statements are identical, except for one column where I changed the constant to be different. Any thoughts?
Maybe you are looking for
-
Spotlight and search field in Outlook on MacBoon cannot find files as of a certain date. What can be the problem and how to solve?
-
Where is the TWAIN plug-in for Photoshop Elements 13?
I just upgraded from PE 12 to PE 13. Windows 8.1 system. I did not see an option to import an image using Editor so I looked in the Organizer and found one. BUT, it only has WIA support for my HP scanner. And that means limited options when scanni
-
Photoshop 6 & Photoshop 7 in Windows 7?
Will Photoshop 6 & Photoshop 7 install in Windows 7? What, if any, limitations (incompatibilities) will I encounter running Photoshop 6 & Photoshop 7 in Windows 7?
-
Curve -downloaded ringtone deleted but won't stop playing
I downloaded a ringtone which was very annoying. I deleted it but it is still playing when a message is closed, I put the phone down after a cal and at random moments when using my phone. Does anyone know how to delete it completely so this will ceas
-
AddressBook: Only 8 characters for field lables, cannot begin to describe
Frustrated that lables for each field box only allows like 8 letters to explain. Like lables for fields: 'Phone', 'Email', Address, web page, etc. Only 8 characters then "..." dot dot dot ... What goood is it to onlly have 8 characters or letters> Do