Read on peoplesoft table

Hi,
on FSCM91, tools 8.52 , Oracle 11g R2 DB,
I want to create a user to be able to read all tables of peoplesoft owner SYSADM.
I gave it :
grant select on any table;
But when it select from psoprdefn (for example) oracle says : table does not exists. Because user should issue :
select * from sysadm.psoprdefn;
Other than create synonyms for all sysadm tables , is there any way ( to avoid creating 65000 synonyms) ?
We do not want alter session at each connection.
Thank you.

No, I really mean myuser[sysadm]@mydb
You don't habe to know sysadm's password, you connect with your user as sysadm. Then you become sysadm to query on all the sysadm's tables as you were sysadm.
Find out more :
http://docs.oracle.com/cd/E11882_01/network.112/e10744/concepts.htm#DBIMI223
Nicolas.

Similar Messages

  • Peoplesoft tables

    Hi all,
    when I want to know an oracle database table and its purpose I go here :
    Oracle Database Online Documentation 11g Release 2 (11.2)
    and look for the name of the table.
    And I find for exemple :
    V$SESSION displays session information for each current session.
    Column     Datatype     Description
    SADDR     RAW(4 | 8)     Session address
    SID     NUMBER     Session identifier
    But for the PeopleSoft tables like PSOPRDEFN or PSDBOWNER or whatever else where can I find the information ?
    Thank you.

    user10274093 wrote:
    then it means that there is no general reference for tables. Poor PeopleSoft :=((
    Poor comment. It's in the database, what's wrong ?
    Anyway, I don't know if Peoplesoft is poor, but this is an ERP and you are not supposed to query the tables from outside the application unless and until you know exactly what you are doing, or with trained consultant help. Else you're going to customization and out-of-support.
    Nicolas.

  • How do I read this "standard" table in my Function Module?

    I have a remote-enable Function Module (RFC).  I am receiving two tables as part of the parameters.  Table "A" is header information, and Table "B" is detail information.  So for every 1 "A" header record, I may have 1 to many "B" detail records.  I have a field we'll call "vendor_number" that is the common link between the two tables.
    Here's what I want to do:  I want to loop through table "A", and for each record, I want to do a READ on table "B", using the "ref_doc_no" from "A" as my key, to get the position of the first matching record.  I hold onto the value of the table index and then start looping table "B", adding 1 to the saved table index each time to process all of the detail records.
    Here's the problem:  This worked great as an ABAP program.  I had my "B" table declared with "ref_doc_no" as a non-unique key.  But when I ported my code over to the RFC, it told me that the RFC could only deal with standard tables.  I had to remove the "ref_doc_no" key declaration.  So now when I try to activate, I get an error similar to this:
    The declaration for the key field "another_field" is incomplete; however, "another_field" is contained in the key of table "B" and must be filled.
    I don't understand that.  I've not declared any keys for table "B".  I don't understand why it's thinking I need to populate "another_field" (I don't even know what the value would be).  My code to read the table (i.e. the line getting the error) is this:
    Priming read on table (sets the initial sy-tabix index value)
        READ TABLE it_incoming_invoice_line_item "table 'B'
          WITH TABLE KEY ref_doc_no =
                         wa_incoming_invoice_header-ref_doc_no
                    INTO wa_incoming_invoice_line_item.
    Is it possible for me to do some sort of direct read on a table in an RFC?  The only alternative I can think of would be to have to loop through table "B" until I find the first occurrence of a match.  Is that what I need to do?
    Thanks everyone.  Points, as always, awarded for helpful answers.

    Dave,
    1. You can fire SELECTS in an RFC as well, but in your case the data exists in SYSTEM A and the RFC is in System B, so you can't do that. You can fire SELECTS on tables in the same system.
    2. Quick example of two table loops - EKKO (HEADER) EKPO (ITEM).
    LOOP AT EKKO.
    LOOP AT EKPO WHERE EBELN = EKKO-EBELN.
    ENDLOOP.
    ENDLOOP.
    I hope this is clear now.
    Regards,
    Ravi

  • Read Only Element Table Attributes not working since we migrate 3.0.1

    Dear all,
    I have a page to dispaly the content of a journalling table and highlight the changes in red.
    To do it, the guy before me use the read only.
    In the read only condition type he put pl/sql expression.
    the expression is :P120_OLD_DEADLINE_DT NOT LIKE :P120_NEW_DEADLINE_DT
    And in Read Only Element Table Cell(s) Attributes the code is bgcolor="#FF0000"
    In 2.2 the background was red and in now the the background doesn't work.
    Do you have an idea why in 3.0.1 it doesn't work.
    Thanks
    Eric

    Scott,
    The background works only with the read only condition always.
    In my new item the select is select 10 from dual.
    In the read only condition I select Value of item in expression 1 is not null.
    I put in expression 1 the name of my item :p997_test.
    The read only doesn't work.
    In your test, did you select the condition always or you chose something else ?
    Thanks
    Eric

  • How to read the TEXT TABLE (or) .CSV in HSQLDB Standalone using Java

    Hi, I like to use the text tables in our application. And like to use the HSQL Database Engine as Standalone. I created the text tables, those are stored in the disk as ".CSV" files. But i am unable to read that text table (.CSV) when i relogin and gave the CSV file path as URL along with "jdbc:hsqldb:file". So can anybody give me the tips how use the text tables.
    Regards,
    Vinay

    You need to make a URLConnection to the page you want, and get the input stream from that page.
    The contents of the input stream (use a reader to get them) will give you the raw HTML code. Use a parser to get the actual content. I dont know of a parser offhand, but you can search for one.

  • Read only af:table first row select and focus on form load

    I use a read only af:table in my page. When my page loads and I click on my table, then I can use up / down arrow keys to navigate in my table's rows. But if I don't click on the table, I can't navigate in my table's rpws.
    What can do in my page to give the first focus to my table's first row and navigate in my rows without using mouse clicks....
    findElementById function in javascript does not work in jdeveloper 11...
    Do you help me for this?
    Thanks..

    Hi,
    actually findElementById does work, but you should use the ADF client side framework for this. Add a clientListener to the component that intercepts the keyboard usage and make it callin the next record on the table.
    I'll take a note for a how-to to put on my blog as I don't have the code ready. However, its possible this way
    Frank

  • Accessibility: Reading order of tables and anchored frames

    I am creating accessible, tagged (section 508 compliant) PDFs in FrameMaker 9. The reading order for tables and frames is not correct.
    When I view the PDF reading order using Adobe Acrobat Professional or another screen reader, anchored items such as tables and anchored frames are  placed last in the reading order, regardless of where they appear in the document flow or page layout. The reading order skips over all tables and frames, reading all paragraphs on a page first, then reading the tables and frames as the last objects on the page. This logically doesn't make sense to skip over tables/frames as they generally apply to the content that preceeds it.
    For example, the following document structure:
    <Paragraph 1>
    <Table 1>
    <Paragraph 2>
    <Anchored Frame 1>
    <Paragraph 3>
    <Anchor Frame 2>
    <Paragraph 4>
    is being read by assistive technology as:
    <Paragraph 1>
    <Paragraph 2>
    <Paragraph 3>
    <Paragraph 4>
    <Table 1>
    <Anchored Frame 1>
    <Anchor Frame 2>
    I want the document structure to be read correctly as intended.
    In otherwords, the PDFs generated by FrameMaker 9 are not completely accessible because of incorrect reading order output by default. This information is not listed in the VPAT for FrameMaker 9.
    I want to avoid any post processing using Acrobat's Touch Up Reading Order tool. Is there a way to automate updates to reading order?
    Can FrameMaker 9 logically place tables and anchored frames into the correct reading order? How do I adjust these settings?
    Thanks in advance!

    As mentioned above, tables and anchored frames are inserted into thier own paragraph style "Frame". The paragraph style "Frame" is tagged. To my knowledge, there are no options for tagging or not tagging tables or anchored frames.
    Regardless of which paragraph type the table or anchor frame is inserted into, and what that paragraphs tagging settings are, it is still last in the reading order.
    I've tried a variety of options: tagging the "Frame" paragraph style as a sibling, child, and parent of my other paragraphs; I've even tried omitting it from the reading order. None of these options present anchored frames (and tables) in the logical reading order.
    Even images that are inline (within a paragraph; not in thier own paragraph) are not being read as part of the paragraph.  Inline images get skipped over by screen readers and get read at the end of the page, which makes no sense whatsoever.
    All tables and images end up at the end of the reading order (after ALL paragraphs) regardless of the tagging settings.
    Refer to my previous screenshot for a clear diagram of what is happening to the reading order. Each of those anchors is in it's own paragraph style. I want tables and anchored frames to be sequential in the reading order along with paragraphs. (1,2,3,4,5,6 not 1,4,2,5,3,6.)
    I'm using the Tags tab of the "PDF Setup" dialog to adjust these settings. Is there somewhere else I should be making changes to the reading order?
    This is a bit disturbing because FrameMaker touts creating accessible documents and this severe reading order issue impares my ability to do so. I would not consider documents that jump around the page in an illlogical, fixed order, to be accessible. I'm very suprised that no one else has encountered this issue (at least that I can find...)

  • How to read an APO table from excel in place using Visual Basic ?

    We have enhanced some APO reports using layouts that use excel in place with custom visual basic (VB) code. For example, the VB code can append the data with additional columns that perform specific calculations and then proceed to create pivot table reports in excel..That is working fine.
    The challenge is to see if that VB code could read specific APO tables (e.g. product master tables) to bring additional elements into excel and thus expand the report content. We know that additional fields can be added to the reports, but having the flexibility to read tables from VB could be more flexible.
    Can that be done?. If so, would it be possible using exclusively the VB code attached to the layout, i.e. no ABAP?

    Hello Anselmo,
    I am assuming you are doing this either using BeX analyzer or by reading the planning book using the RFC ActiveX component and a BAPI.
    I think it's possible to retrieve the data from the product master table. Here are my thoughts on how can this be done:
    1) You can create a generic datasource (transaction RSO2) for the product master table, connect that to a BW remotecube and use a BeX query to retrieve that values. You can then join the queries using VBA. Alternatively, you can build a muti-provider that connects your current InfoCube to the new RemoteCube and build a query from there. The multi-provider, in this case, joins the data (no more VBA).
    2) If you have already loaded your product master data into master data carrying InfoObjects then you can try the same technique as #1 but this time there is no need to create the generic datasource. You can use the InfoObjects for your master data as the InfoProviders for your query.
    3) You can try the ActiveX component from SAP which can  connect to any emote enabled function in SAP system. SAP already provided some BAPIs (check transaction BAPI for a list) which might be able to provide the data. You can also create your own function modules (be sure to make it remote enabled) using ABAP. (transaction SE37).
    Hope this helps

  • How to read a databae table and current user name?

    Hi All,
    We need to add two radio buttons in a standard template.The RBs should be visible to some users and should not be visible to others.For this we need to read a database table in the template , compare the logged in user name with a field of the databse table.
    Something like...
    select single * from ZDBTAB into WA WHERE username = sy-uname.
    IF SY-SUBRC = 0 .
    Radio Button1
    Radio Button2
    ENDIF.
    Please provide the exact ITS code for the same.
    Regards,
    Anubhav

    Hi All,
    We need to add two radio buttons in a standard template.The RBs should be visible to some users and should not be visible to others.For this we need to read a database table in the template , compare the logged in user name with a field of the databse table.
    Something like...
    select single * from ZDBTAB into WA WHERE username = sy-uname.
    IF SY-SUBRC = 0 .
    Radio Button1
    Radio Button2
    ENDIF.
    Please provide the exact ITS code for the same.
    Regards,
    Anubhav

  • Read an SRM Table from XI

    hi,
    I have to read a lookup table in SRM from XI and use it in the mapping.
    What is the process?
    Thanks,
    Tirumal

    hi,
    client is using a classic scenario so no purpose of SAP Predelivered content.
    Initially i thought of creating a lookup table in R3 and by using RFC_READ_TABLE i can use the lookup table.
    But since there exists a table of the same purpose in SRM i abandoned my R3 idea.
    I would like to see if there is a code snippet to read SRM table through a proxy.
    Thanks,
    Tirumal

  • Read from cluster table ZL-PCL2

    Hi all,
    I need to read cluster table ZL that stores wage type for pernr. Now previously i was suggested
    FM 'CU_READ_RGDIR'
    FM 'CD_RED_LAST'.
    FM 'PYXX_READ_PAYROLL_RESULT'. But i want to use the statement
    Import from database.
    i have included the file RPC2ZL00.
    then the statement
    Import ZL to ZZL from database PCL2(ZL) ID ZL-KEY.
    Now does anyone have idea abt ZL-KEY??
    means what value i need to feed in ZL-KEy and how do i feed it??
    thanks in advance for all those who help me..
    Reena

    Hi Reena,
    Key is the combination of Pernr & sequence no., which u see it from report display payroll result(HINCLSTR) or RGDIR table.
    Instead of Import statement You can also use macro as below .
      CALL FUNCTION 'CU_READ_RGDIR'
           EXPORTING
                PERSNR          = PERNR-PERNR
           TABLES
                IN_RGDIR        = RGDIR
           EXCEPTIONS
                NO_RECORD_FOUND = 1
                OTHERS          = 2.
      CHECK SY-SUBRC = 0.
      PAY_BEGDA = SEL-BEGDA.
      LOOP AT RGDIR WHERE SRTZA = 'A'  AND VOID = SPACE
                      AND  ( PAYDT >= SEL-BEGDA AND PAYDT <= SEL-ENDDA ).
        IF RGDIR-RUNDT >= PAY_RUNDT.
          MOVE RGDIR-RUNDT TO PAY_RUNDT.
          PAY_BEGDA = RGDIR-FPBEG.
          SEQNR = RGDIR-SEQNR.
        ENDIF.
      ENDLOOP.
      RX-KEY-PERNR = PERNR-PERNR.
      UNPACK SEQNR TO RX-KEY-SEQNO.
      <b>RP-IMP-C2-RU.</b> 
      CHECK RP-IMP-RU-SUBRC = 0.
    Read the cluster table
      LOOP AT CRT.
      ENDLOOP.
      Hope this helps.
    Thanks,
    Sarika.

  • Read from 2 tables, write only to one. Simple, but impossible??

    I've been messing about with various annotations for quite a while now, and I can't seem to figure out how to accomplish this seemingly simple task. I'm hoping somebody could explain to me the probably very obvious and simple mistake that I am making.
    I realize that question would otherwise point to problems in my database design and persistence strategy, but I can't seem to read from 2 tables, and write to only one. I have an entity bean that refers mainly to one table, but needs just one column of information from another table. It should not attempt to alter the secondary table, just join on it to get the one field it needs. So far, I've got the following:
    @Entity
    @Table(name = "ventureprofile")
    @SecondaryTable(name = "venture",
                    pkJoinColumns = @PrimaryKeyJoinColumn(name="ventureid"))
    @NamedQueries( {
            @NamedQuery(name = "Ventureprofile.findByVentureprofileid", query = "SELECT v FROM Ventureprofile v WHERE v.ventureprofileid = :ventureprofileid"),
            @NamedQuery(name = "Ventureprofile.findByVentureid", query = "SELECT v FROM Ventureprofile v WHERE v.ventureid = :ventureid"),
            @NamedQuery(name = "Ventureprofile.findByVenturesummary", query = "SELECT v FROM Ventureprofile v WHERE v.venturesummary = :venturesummary"),
            @NamedQuery(name = "Ventureprofile.findByLogoimagelocation", query = "SELECT v FROM Ventureprofile v WHERE v.logoimagelocation = :logoimagelocation"),
            @NamedQuery(name = "Ventureprofile.findByVisible", query = "SELECT v FROM Ventureprofile v WHERE v.visible = :visible ORDER BY v.venturename")
    public class Ventureprofile implements Serializable {
        @Id
        @GeneratedValue(strategy=GenerationType.AUTO, generator="Ventureprofile.ventureprofileid.seq")
        @SequenceGenerator(name="Ventureprofile.ventureprofileid.seq", sequenceName="ventureprofile_ventureprofileid_seq", allocationSize=1) 
        @Column(name = "ventureprofileid", nullable = false)
        private BigInteger ventureprofileid;      
        @Column(name = "ventureid", table="ventureprofile", nullable = false)
        private Long ventureid;
        @Column(name = "venturesummary")
        private String venturesummary;
        @Column(name = "logoimagelocation")
        private String logoimagelocation;
        @Column(name = "visible", nullable = false)
        private boolean visible;  
        @Column(table = "venture", name = "venturename", nullable=false, insertable=false, updatable=false)
        private String venturename;
    //... The extra column of data is "venturename", the tables are related by the column "ventureid". I contest, that since I have specified for read/write access no fields mapped to the 'venture' table (I specified with 'table=' any ambiguous columns), and described the table relationship via my @PrimaryKeyJoinColumn annotation, that toplink should not try to persist anything to the 'venture' table. However, I am getting the following exception:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: org.postgresql.util.PSQLException: ERROR: null value in column "venturename" violates not-null constraint
    Error Code: 0
    Call: INSERT INTO venture (ventureid) VALUES (?)
            bind => [220]
    Query: InsertObjectQuery(VCMarkWeb.db.entity.Ventureprofile[ventureprofileid=220])
            at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:311)
    ...It seems pretty clear that toplink is trying to insert an empty row into the secondary table, and barfing since it is inserting no values, including those constrained to be nonnull. Anyway...I hope it's clear what's going on here, and perhaps somebody knows the right way to do this. Thanks fot your help!

    Tom and Cornelius,
    Thank you both for your ideas. This what I think I will do:
    1) Drive up to OWC (fortunately they are only about 15 miles away from where I live) and get a bigger HD and some more RAM.
    2) Copy the OS9 applications on the existing HD to a thumb drive.
    3) Install the new hard drive and memory
    4) Install OSX TIger and 9.2.2
    5) Maybe do the 4.1.8 firmware update also, maybe.
    6) Look around for a Superdrive and if I can get one for a good price, I'll do it otherwise I'll just use USB thumb drives if I need to copy something off the PB.
    One thing that I was fighting with the other day was that when I had the yoyo power supply plugged in and attached when the PB was in the kitchen, the batteries would not charge although the yoyo was outputting +24 VDC.
    I move everything to the garage, where I originally fixed the yoyo power supply, plug it in out there and the batteries started charging!!! Scratching my head...then I check the voltage between the metal barrel (with the Vsensing resistor attached between the metal shell and the ground wire) of power supply plug and the +24 VDC wire and there is 22 to 23 VDC with the batteries being charged. In the kitchen when they were not being charged, it was about 1.0 VDC. So I rotate the plug a little bit and the batteries start charging. Rotate it more and the batteries don't charge. Something else to do when I have spare time.
    Anyway, thanks for the help and suggestions.
    John

  • How to read an internal table with more than  one (2 or 3) key field(s).

    how to read an internal table with more than  one (2 or 3) key field(s). in ecc 6.0 version

    hi ,
    check this..
    report.
    tables: marc,mard.
    data: begin of itab occurs 0,
          matnr like marc-matnr,
          werks like marc-werks,
          pstat like marc-pstat,
          end of itab.
    data: begin of itab1 occurs 0,
          matnr like mard-matnr,
          werks like mard-werks,
          lgort like mard-lgort,
          end of itab1.
    parameters:p_matnr like marc-matnr.
    select matnr
           werks
           pstat
           from marc
           into table itab
           where matnr = p_matnr.
    sort itab by matnr werks.
    select matnr
           werks
           lgort
           from mard
           into table itab1
           for all entries in itab
           where matnr = itab-matnr
           and werks = itab-werks.
    sort itab1 by matnr werks.
    loop at itab.
    read table itab1 with key matnr = itab-matnr
                              werks = itab-werks.
    endloop.
    regards,
    venkat.

  • How do I read from one table and write to another identical table?

    I am very new to Oracle. I am trying to do something that should be very simple.
    I am trying to read from one table in SQL and then write to another
    Identically formatted table. I keep getting various errors. Could someone please
    post some vey simple code that will work so that I can play around with it?
    Any help would be greatly appreciated.
    Thanks,
    Ron

    Thanks, but I must be missing something.
    I have two tables, SONGLIST and SETLIST.
    The second line by itself works just fine on either table.
    Here is the code I used following your seggestion, along with it's error message.
    Hope you can help. Thanks again...
    INSERT INTO SETLIST
    SELECT TITLE FROM SONGLIST WHERE ROTATION <> 'X'
    ORA-00947: not enough values

  • How to  Read data base table at runtime

    Hi,
      i have an internal table with two fields they are
       tablename and field name.
    itab has some entries.
    like :
      itab-table name   itab-fieldname
      kna1              kunnr
      mara              matnr
      vbuk              vbeln
      tvak              auart
      i want to read these tables with field names.
    like :
    loop at itab
       select singe * from <itab-tablename> into <jtab>
          where <itab-fieldname > = <dyanmic value from       prog>.
    endloop.
    Is it possible to read the db table in the above scenario.
    Please try to give me the solution.
    Thanks,
    srik

    Hi, try this example program.
    report zrich_0002 .
    data: begin of itab occurs 0,
          tabname(20) type c,
          fldname(20) type c,
          end of itab.
    data: ref_descr type ref to cl_abap_structdescr.
    data: where_clause(100) type c occurs 0 with header line.
    data: it_details type abap_compdescr_tab,
          wa_details type abap_compdescr.
    data: new_table type ref to data,
          new_line  type ref to data,
          it_fldcat type lvc_t_fcat,
          wa_it_fldcat type lvc_s_fcat.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    start-of-selection.
      itab-tabname = 'T000'.
      itab-fldname = 'MANDT'.
      append itab.
      itab-tabname = 'T001'.
      itab-fldname = 'BUKRS'.
      append itab.
      loop at itab.
    * Get the structure of the table.
        refresh it_fldcat.
        refresh where_clause.
        ref_descr ?= cl_abap_typedescr=>describe_by_name( itab-tabname ).
        it_details[] = ref_descr->components[].
        loop at it_details into wa_details.
          clear wa_it_fldcat.
          wa_it_fldcat-fieldname = wa_details-name .
          wa_it_fldcat-datatype = wa_details-type_kind.
          wa_it_fldcat-inttype = wa_details-type_kind.
          wa_it_fldcat-intlen = wa_details-length.
          wa_it_fldcat-decimals = wa_details-decimals.
          append wa_it_fldcat to it_fldcat .
        endloop.
        if <dyn_table> is assigned.
          refresh <dyn_table>.
          unassign <dyn_table>.
        endif.
    * Create dynamic internal table and assign to FS
        call method cl_alv_table_create=>create_dynamic_table
                     exporting
                        it_fieldcatalog = it_fldcat
                     importing
                        ep_table        = new_table.
        assign new_table->* to <dyn_table>.
        concatenate itab-fldname '<> ''' '''' into where_clause
                        separated by space.
        append where_clause.
        select * from (itab-tabname) into table <dyn_table>
                      where (where_clause).
      endloop.
    Regards,
    Rich Heilman

Maybe you are looking for

  • (216) 116-11 error when trying to send a text message

    I have read the posts and tried everything except a complete reset of the phone. I still cannot text 2 of my contacts.

  • GREP STYLE, find/change

    Hi! My problem is.. I got these numbers: 17 31.9 32.9 15 in a table/cells. They need to have an .00 and 0 like this: 17.00 31.90 32.90 15.00 I can use this one for that: find: .$  change: $0.00 but then the numbers with 31.9 gets the .00 also.. 31.9.

  • Plant specific rebate agreement.

    Hi Gurus. My customer is ordering material  2-3 depots & 1-2 factories. Can we  configure it as when customer orders material from "X" depot only he should be liable for  rebate. whereas rebate agreement is already created on customer, but it doesn't

  • Airport express vista:help with joining a protected or unprotected network

    hello, i've been trying to set up a network between my computer and the airport express, with no luck, it works if i don't tell it to join my networks, but then i don't have internet access, and when i'm connected to the internet, i can't get both of

  • Error - control indicators for control area do not exist

    Hi All, When I am trying to hire a person and entering his personal data, I am getting this error: control indicators for control area XXXX do not exist Please help