Can't see organization from hr_legal_entities table

I try to launch query:
SELECT *
FROM hr_legal_entities hle
WHERE hle.organization_id = SUBSTRB( USERENV( 'CLIENT_INFO' ), 1, 10 );
I tried with 2 responsibility - XX - AP USER and XX - AP MANAGER. Both return from SUBSTRB( USERENV( 'CLIENT_INFO' ), 1, 10 ) the same number. But with XX - AP USER i can't see row, but with XX - AP MANAGER i can. What can be the reason?

Hi,
XX - AP USER and XX - AP MANAGER have difference only in:
ENDELIG_BILAGSNR_SEKVENS
PA_ALLOW_FLEXBUILDER_OVERRIDES - N (have only XX - AP USER)
PER_BUSINESS_GROUP_ID - 0 (have only XX - AP MANAGER)
On test environment XX - AP USER have the same values as on production, but on production it's not working.

Similar Messages

  • How can i fetch records from 3 tables in a single query  without using join

    Hi.
    Can any body please tell me <b>How can i fetch records from 3 tables with a single query  without using joins</b>
    Thanx
    prabhudutta

    Hi Prabgudutta,
    We can fetch the data by using the views concept.
    Go throuth this info we can know the how to create view and same like database table only we can fetch the data.
    Views conatin the data at runtime only.
    Four different view types are supported. These differ in the
    way in which the view is implemented and in the methods
    permitted for accessing the view data.
    Database views are implemented with an equivalent view on
    the database.
    Projection views are used to hide fields of a table (only
    projection).
    Help views can be used as selection method in search helps.
    Maintenance views permit you to maintain the data
    distributed
    on several tables for one application object at one time.
    step by step creation of Maintenance view:
    With the help of the table maintenance generator, you are able to maintain the ENTRIES of the table in SM30 transaction.
    It can be set in transaction SE11 - Tools - Table maintenance generator.
    Table maintanance Generator is used to manually input values using transaction sm30
    follow below steps
    1) go to se11 check table maintanance check box under attributes tab
    2) utilities-table maintanance Generator-> create function group and assign it under
    function group input box. Also assign authorization group default &NC& .
    3) select standard recording routine radio in table table mainitainence generator to move table
    contents to quality and production by assigning it to request.
    4) select maintaience type as single step.
    5) maintainence screen as system generated numbers this dialog box appears when you click on create button
    6) save and activate table
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    SM30 is used for table maintenance(addition or deletion of records),
    For all the tables in SE11 for which Table maintenance is selected , they can be maintained in SM30
    Sm30 is used to maintain the table ,i.e to delete ,insert or modify the field values and all..
    It creates the maintenance screen for u for the aprticular table as the maintenance is not allowed for the table..
    In the SE11 delivery and maintenance tab, keep the maintenance allowed..
    Then come to the SM30 and then enter the table name and press maintain..,
    Give the authorization group if necessary and give the function group and then select maintenance type as one step and give the screen numbers as system specified..
    Then create,,,
    Then u will able to see the maintenance view for the table in which u can able to insert and delete the table values...
    We use SM30 transaction for entering values into any DB table.
    First we create a table in SE11 and create the table maintenance generator for that Table using (utilities-> table maintenance generator) and create it.
    Then it will create a View.
    After that from SM30, enter the table name and Maintain, create new entries, change the existing entries for that table.
    Hope this resolves your query.
    Reward all the helpful answers.
    Rgds,
    P.Naganjana Reddy

  • How can i extract data from oracle table  to flat file or excel spread shee

    Hello,
    DB Version is 10.1.0.3.0
    How can i extract data from oracle table to flat file or excel spread sheet by using sub programs?
    Regards,
    D

    Here what I did
    SET NEWPAGE 0
    SET SPACE 0
    SET LINESIZE 80
    SET PAGESIZE 0
    SET ECHO OFF
    SET FEEDBACK OFF
    SET VERIFY OFF
    SET HEADING OFF
    SET MARKUP HTML OFF SPOOL OFF
    Sql> SPOOL bing
    select * from -------;
    SPOOL OFF;
    I do not see file.
    I also tried
    Sql> SPOOL /tmp/bing
    select * from -------;
    SPOOL OFF;
    But still not seeing the fie,

  • I have an ipad version 5.1.1. i have multiple albums in the ipad and i want to transfer some photos to my computer but when i open the ipad files via "computer" i can only see picture from one of the albums.what should i do?

    i have an ipad version 5.1.1. i have multiple albums in the ipad and i want to transfer some photos to my computer but when i open the ipad files via "computer" i can only see pictures from one of the albums.what should i do?

    You can only import photos from the camera roll into the computer. Is that the album that you are seeing?
    Any albums that you create on the device itself (the iPad that is) cannot be transferred to your computer. iPad created albums do not contain copies of your photos but merely pointers to those photos so they do not actually exist in those albums.

  • Can't see video from youtube

    I can't see video from youtube when the video is embedded in a page.
    I am using Safari (italian version)  6.0.2 (8536.26.17).
    When I click on the arrow, the system show me the following error message: "Unbale to load the video".
    With Firefox that's all OK.
    Please, help me to solve the problem.
    Message was edited by: vinsoft

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • How can I select columns from a table EMP, using Select statement?.

    Hi Friends,
    How can I select columns from a table EMP?.
    I want to select columns of EMP table, using select statement.
    Please reply me urgently.
    Shahzad

    Something like this:
    scott@DBA> select empno,ename,job from emp;
         EMPNO ENAME      JOB
          7369 SMITH      CLERK
          7499 ALLEN      SALESMAN
          7521 WARD       SALESMAN
          7566 JONES      MANAGER
          7654 MARTIN     SALESMAN
          7698 BLAKE      MANAGER
          7782 CLARK      MANAGER
          7788 SCOTT      ANALYST
          7839 KING       PRESIDENT
          7844 TURNER     SALESMAN
          7876 ADAMS      CLERK
          7900 JAMES      CLERK
          7902 FORD       ANALYST
          7934 MILLER     CLERK
    14 rows selected.Check the documentation:
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_10002.htm#sthref9697
    Message was edited by:
    Delfino Nunez

  • Why I can not see messages from Messenger on lock screen?

    I can not see messeges from Messenger on the lock screen, when my mobile data is on, also there is no sound, even I make ringer and volume louder. In Notification Centre>"Messenger" I setted it  to show on lock sreen, but I can not see messages anyway... What I need to do, can You please help me?

    hello,
    yes you are correct in all the above points...
    as the third one is referring to data element directly the refer check box is not coming...
    to maintain your own text for the other two..you have to uncheck that.... 
    you can also use Go->Translation to maintain text in other languages instead of SE63...
    Thanks.
    K.

  • I can-t see netTV from Mediaset on the ipad because I cannot install Silverlight. Is there any ipad compatible Silverlight version goin to be released? When? Or is there any other apple application I can use in place of Silverlight?

    I can't see netTV from Mediaset on the ipad because I cannot install Silverlight. Is there any ipad compatible Silverlight version goin to be released? When?
    Or is there any other apple application I can use in place of Silverlight?
    I just want to see a service I'm paying for on the ipad instead of PC, it should be allowed!!!!
    Roberto

    I red about a Silverlight 5 version that should run also on ipad/iphone, annouced last year for 2011, but I can't find any recent update. On apple store you can find a silverlight 3 version at 5.99$, but it does not seem to be the same thing, just same name.
    I'm not sure that this closure is a good policy from apple side. If I knew in advance I would never buy an ipad.

  • How can i see movie from my mac to tv

    how can i see movie from my macpro in to tv screen

    Its not clear what MacPro you have.   If it is a newer one then the thunderbolt adapter will work.  If it's like mine, a 2008 model then you may face some issues.
    If your MacPro is older and has DVI outputs for video then you are going to have to either use a TV with DVI in or get a DVI to HDMI or DVI to VGA, whatever your TV will accept as input.
    Also if you have to go this way the DVI doesn't contain audio so you'd need another cable to move audio from your MacPro to your TV.   So this could get complicated. There might be some easier solutions.
    As mentioned you might be able to airplay it to an apple TV if you have one.

  • HT4623 how can I see pages from my iphone 5 on my pc?

    How can I see pages from my iphone 5 on my pc?

    What does "Pages from my iPhone 5" mean?
    If it means documents from the Pages app, you can probably convert them to Microsoft Word.
    If it means screen shots, you can find them once you sync your iPhone.

  • How can I retrieve data from one table to another automatic in SQL?

    Hi, everione,
    I am having a big problem, trying to create datebase.
    I have 3 tables: SUPERAVATAR, MASTERAVATAR, MEGAAVATAR.
    - SuperAvatars are heroes in an online role playing gaming. They have an ID, ‘superavatarID’ which contain an UNIQUE NUMBER NOT NULL PRIMARY KEY to identify them.
    A wisdom – ‘trickster’,’conjuror’,’magician’, etc..
    A current owner… who is the user or player of the game and has that Super Avatar– we associate the link to USERID to know the person.
    SuperAvatars can be fathers or mothers of Mega Avatars.
    -MegaAvatars are the children of SuperAvatars…. They also have an ID UNIQUE NUMBER NOT NULL PRIMARY KEY to indentify them.
    A magic power – it can be a ‘Leader’ or ‘Sheep’…
    A ‘parent’ – parent is the number identifying to know to who Super Avatar belongs.
    e.g.
    SUPERAVAT WISD CURRENTOWNER FATHEROF MOTHEROF
    1 Thick 3 1
    2 Mentally Ch. 11 3
    3 Smart 9 2
    4 Genius 16 4
    5 Thick 19
    MEGAAVATARID MAGICPOWER PARENT
    1 MAGICIAN 1
    2 WIZARD 3
    3 SORCERER 2
    4 MAGICIAN 4
    -We see that MEGAAVATAR 1 has a magic power as Magician and his father is ‘1’. ‘1’ identifies the SUPERAVATAR.
    We see SUPERAVATARID…. who has the number ‘1’? the first in the row… who has wisdom – thick and he belongs to the USER with ID number 3.
    -We see MEGAAVATARID… we choose the number 2…. His magic power is as WIZARD… and his father is the number 3.
    We see SUPERAVATARID now… we look up the SuperavatarID 3…. We can see he has a wisdom – GENIUS… who belongs to the USERID 16 and he is father of MEGAAVATAR number 2.
    The list can carry on and never stop.
    I have this Problems:
    We create in this example 3 tables: Users, SuperAvatar, MegaAvatar
    SQL
    CREATE TABLE users(userID NUMBER CONSTRAINT pk_user PRIMARY KEY,email VARCHAR2(50) NOT NULL UNIQUE,password VARCHAR2(15) NOT NULL UNIQUE,subscription CHAR(8) NOT NULL CHECK (subscription IN('ACTIVE' , 'INACTIVE' ) ) );
    CREATE TABLE superavatar(superavatarID NUMBER CONSTRAINT pk_superavatar PRIMARY KEY, wisdom VARCHAR2(19) NOT NULL CHECK (wisdom IN ('THICK', 'MENTALLY CHALLENGED', 'AWAKE', 'SMART', 'GENIUS')), currentOwner NUMBER NOT NULL, fatherOf NUMBER,motherOf NUMBER);
    CREATE TABLE megaavatar (megaavatarID NUMBER CONSTRAINT pk_megaavatar PRIMARY KEY, magicPower VARCHAR2(12) NOT NULL CHECK (magicPower IN('TRICKSTER','CONJUROR','MAGICIAN','WIZARD','SORCERER')), parent NUMBER);
    Now, the 3 tables are created…..
    What happen when we try to insert values to this table?
    In this case we insert to User Table some examples:
    INSERT INTO users VALUES('3','[email protected]','great78','ACTIVE');
    INSERT INTO users VALUES('9','[email protected]','chrisandra)','ACTIVE');
    Now, we insert to SuperAvatar some examples;
    INSERT INTO superavatar VALUES('1','THICK','3','1','');
    INSERT INTO superavatar VALUES('3','SMART','9','3','');
    |
    |
    ‘9’ is the UserID that we already insert to the User table
    What’s the problem?
    We have to insert manually the data from USERID to CURRENTOWNER as we didn’t match or link CURRENTOWNER from SUPERAVATAR Table to USERID from USER Table with a SQL CODE.
    What happen if we have thousands of USERS that they register to this game…? We will never know to how belongs that SUPERAVATAR but if someone do it manually can spend a year.
    I am trying to fix this problem …. I add in SUPERAVATAR TABLE ‘CHECK’ in currentOwner..
    SQL> CREATE TABLE superavatar
    (superavatarID NUMBER CONSTRAINT pk_superavatar PRIMARY KEY, wisdom VARCHAR2(19) NOT NULL CHECK (wisdom IN ('THICK', 'MENTALLY CHALLENGED', 'AWAKE', 'SMART', 'GENIUS')),
    currentOwner NUMBER NOT NULL CHECK (currentOwner IN(SELECT userID FROM users)),
    fatherOf NUMBER,
    motherOf NUMBER);
    ERROR:
    ORA-02251: subquery not allowed here
    It doesn’t work.
    Please HELP, I have exam tomorrow
    thank you
    Desy

    Hallo,
    you can use trigger on table USER and fill the userid in AVATAR.currentowner,
    but i don't understand, how you join these tables ?
    Which user id must come in which column currentowner ?
    Design problem ?
    Regards
    Dmytro

  • How can I see the relationship of tables in Microsoft SQL Server?

    How can I see the relationships of the tables? Exactly like what we see in Access. In Access if we select Database tool and then relationships, we can see how the tables are linked to each other. How can I find this option in SQL Server Management Studio?
    Thanks,
    GGGGGNNNNN
    GGGGGNNNNN

    Thanks,
    I could verify what you explained here. how can I overcome this message and resolve it when my database owner is not there:
    Message while starting with database diagrams of a attached/restored database
    If you have just attached/restored a database from another SQL Server instance. While accessing its database diagrams folder, you may get the following message
    It is an informational message and would prevent you from working on database diagrams. The message says that your database has no valid owner currently. Reason for this error is that database owner on a previous SQL Server instance does not exist here.
    To overcome this error just add the valid database owner through T-SQL or SSMS. Also verify the compatibility level of your database is correct for your SQL Server instance.
    I appreciate your help.
    GGGGGNNNNN
    GGGGGNNNNN

  • Can't see objects from all db schemas in AV when creating a FGA Policy

    Hi all,
    I have installed Audit Vault successfully but when I try to create a FGA policy, in the Object field the objects from certain schemas don't appear in the list. I tried to verify if the user that the Agent uses to connect to the source database can see objects from all the schemas, so I connected to the source database trough SQL*Plus with this user and did a select on the table ALL_OBJECTS and could see all the objects.
    Does anyone know if this could be a product bug? I have installed the version 10.2.3.2.
    Any help will appreciated. Thanks!

    Is there an existing AV protection on any of the objects, perhaps related to IP, program, etc.?

  • Can we export DATA from all tables in a schema?

    Hi,
    I have a question; Can we export all the DATA from all the tables present in the schema to any source (eigther CSV, TXT, DAt, etc..)?
    Or
    Can I have a PL/SQL procedure to display DATA from all Tables in a schema?
    With Best Regards,
    - Naveed

    Hi,
    This is pretty much what you need.
    DECLARE
    V_COUNT NUMBER;
    v_sql varchar2(1000);
    IN_OWNER_NAME VARCHAR2(100) := 'AP' ; -- SCHEMA NAME
    TYPE T_COL_NAME is table of varchar2(1000) index by binary_integer;
    v_col_tbl t_col_name;
    BEGIN
    FOR i in
    (SELECT object_name
    FROM dba_objects
         WHERE owner = IN_OWNER_NAME
         AND object_type ='TABLE'
    and rownum < 2)
    LOOP
    v_sql := 'SELECT COUNT(*) FROM ' || i.object_name ;
    EXECUTE IMMEDIATE v_sql INTO V_COUNT;
    if v_count > 0 then
    v_sql := 'SELECT * FROM ' || i.object_name ;
    select column_name
    bulk collect
    into v_col_tbl
    from DBA_TAB_COLUMNS
    WHERE TABLE_NAME = I.OBJECT_NAME
    AND OWNER = IN_OWNER_NAME;
    -- start selecting the column and exporting using the column names selected.     
    end if;
    if v_col_tbl.count > 0 then
    for i in v_col_tbl.first .. v_col_tbl.last
    loop
    DBMS_OUTPUT.PUT_lINE(v_col_tbl(i));
    end loop;
    end if;
    DBMS_OUTPUT.PUT_lINE( i.object_name || '-' || v_count);
    END LOOP;
    END;
    - Ronel

  • How can I see photos from my photo stream on my pc with the iCloud application installed on my pc.

    I want to download the photos from my iCloud onto my PC.  I installed the iCloud for PC and can open it, but cannot figure out how to see the photos.  Photo Streaming in turned on for the iCloud.

    Check Pictures>Photo Stream>My Photo Stream.  Note: when you turn it on you will only see photos from the last 30 days as photo stream photos only remain in iCloud for 30 days.  If you want to stream older photos to your PC, create a shared photo stream containg the photos and invite yourself as a subscriber (see http://help.apple.com/icloud/#mmc0cd7e99).

Maybe you are looking for

  • Can we call value of a variable in to another BPS Variable?

    Dear Team, We need your help in resolving the following issue: We have 3 different layouts that will be selected by user for different purposes of planning. We have created 3 different variables to process the display of cost elements based on the se

  • Safari blank page or loading for ages and then timeout!

    Hi, this is my first topic so please any reply would be much appreciated. I had a week holiday when my Mac was switched off. Before that I havent noticed any problem with it, everything was working fine and fast. I came back on the 1st, had some upda

  • My email isn't working on my ipad I just get a blank screen when I tap on mail

         My e-mail isn't working on my iPad2 I just get a blank screen when I tap the mail icon. I had e-mail for the first 2 days I had my iPad then it disappeared I don't know what happened.                          

  • Read command

    hi all, i am looping over an internal table. in that loop i am reading another table like this loop at itab1 into wa1. read table itab into wa  with key aufnr > wa1-order1                                                aufnr < wa1-order2. endloop. BU

  • Help me plzzz..... URGENT

    hello neighbourhood..., can anyone help me plz... how can i pass a value through header ? e.g setHeader("uname","mmx"); setHeader("paswd","hula"); i want to pass it to http://192.100.86.69:8001/login which reside in another terminal in different plac