?
Solved

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

Posted on 2013-02-04
3
Medium Priority
?
1,587 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38851658
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
ID: 38851703
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 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 38851737
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

743 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