Solved

ORA-01720: grant option does not exist for 'APPLSYS.FND_USER'

Posted on 2013-02-04
3
1,450 Views
Last Modified: 2013-02-05
I have created a view as
DROP VIEW BOLINF.TPCO_SHIP_TO_LOCATION;

/* Formatted on 2/4/2013 10:31:56 AM (QP5 v5.149.1003.31008) */
CREATE OR REPLACE FORCE VIEW BOLINF.TPCO_SHIP_TO_LOCATION
(
   LOCATION_CODE,
   SHIP_TO_LOCATION_ID
)
AS
   SELECT UNIQUE HRL.LOCATION_CODE, PHA.SHIP_TO_LOCATION_ID
     FROM PO_HEADERS_ALL PHA,                              --PO_LINES_ALL PLA,
                             HR_LOCATIONS HRL, FND_USER FU
    WHERE     1 = 1
          --PHA.PO_HEADER_ID = PLA.PO_HEADER_ID
          AND HRL.LOCATION_ID = PHA.SHIP_TO_LOCATION_ID
          AND PHA.CREATED_BY = FU.USER_ID
--AND PHA.CANCEL_FLAG ='Y'
;


when i am trying to run this

grant SELECT on BOLINF.TPCO_SHIP_TO_LOCATION to apps

ORA-01720: grant option does not exist for 'APPLSYS.FND_USER'

i am getting this error
0
Comment
Question by:pardeshirahul
  • 2
3 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
You can only grant select permissions on a view if you have the admin option granted to you on the underlying objects.

If you Google the ORA-01720 error there is a lot of information out there on this.

Check out:
http://ora-01720.ora-code.com/
0
 

Author Comment

by:pardeshirahul
Comment Utility
Now it is saying under lying objects of the view should also be granted to apps

for PO_HEADERS_ALL  the owner is PO and grant option is not given to apps
for HR_LOCATIONS the owner is apps
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
Comment Utility
Think about it:
I grant you select on one of my tables.

You create a view on my table.

You grant select on your view to a friend of yours I don't know.

Should your friend be able to select against my table?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to recover a database from a user managed backup

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now