Unknown table name:PERSON

Hi,
I created a table in dbmcli :
C:\>dbmcli.exe -d MAXDB2 -u DBADMIN,pwd  -c sql_execute CREATE TABLE person (pno       FIXED(6),  name      CHAR(20),  city
  CHAR(20))
OK
C:\>dbmcli.exe -d MAXDB2 -u DBADMIN,pwd  -c sql_execute select count(*) from person
OK
END
0
But when query in SQL STUDIO, I receive :
--- Error -
Auto Commit: On, SQL Mode: Internal, Isolation Level: Committed
Base table not found;-4004 POS(23) Unknown table name:PERSON
select count( *) from person
What is wrong ?
Thank you.

Hi BIG136,
if you run a command like
dbmcli -u dbadmin,<pw> -d <db name> -c sql_execute <any command>
the command is executed as user dbm. This is the reason why you do not see the table in SQL Studio as dbadmin. Run instead
dbmcli -u dbadmin,<pw> -d <db name> -uSQL dbadmin,<pw> -c sql_execute <any command>
and the table will be also found in SQL Studio as user dbadmin. To execute an SQL command with dbmcli you normally first open a session, execute the command and then release the session. Because this is hardly possible with a single command line you should use -uSQL option which does all this for you at once.
Regards,
Steffen

Similar Messages

  • SQLError: [-4004] (at 30) Unknown table name:DBPROCEDURES

    Hi Guys,
    1) I conducted a homogenous liveCache Copy from TPC System TSP to TSQ
    2) Now when attempting to start liveCache in TSQ, I encountered the following error when starting liveCache:
    /sapdb/data/wrk/LCQ/lcinit.log
    START ****************************
    liveCache LCQ (restart)
    Tue Oct 30 16:20:53 SST 2007
    installation path: /sapdb/LCQ/db
    operating system : HP-UX
    OK State OFFLINE
    starting LCQ into ADMIN
    OK
    OK DBMServer 7.5.0 Build 021-123-084-954
    starting LCQ into ONLINE
    OK
    creating liveCache application procedures
    ERR
    -24964,ERR_EXECUTE: error in program execution
    1024,/sapdb/LCQ/db/bin/x_python /sapdb/LCQ/db/env/lapps.py -R /sapdb/LCQ/db -d L
    CQ -u SUPERDBA,*
    Installing APPS
    Traceback----
      File "/sapdb/LCQ/db/env/installib.py", line 378, in connectAndInstall
        installRoutine (session, options)
      File "/sapdb/LCQ/db/env/lapps.py", line 48, in install
        "APPS"
      File "/sapdb/LCQ/db/env/installib.py", line 163, in include
        install (session, options)
      File "/sapdb/LCQ/db/env/APPS.py", line 78, in install
        delPackages = getExistingPackages (options.db, sapuser[0], sapuser[1])
      File "/sapdb/LCQ/db/env/APPS.py", line 187, in getExistingPackages
        return getExistingPackagesExecSQL (dbname, username, password)
      File "/sapdb/LCQ/db/env/APPS.py", line 194, in getExistingPackagesExecSQL
        cursor = session.sql (
    Error----
    sql.SQLError: sql.SQLError: [-4004] (at 30) Unknown table name:DBPROCEDURES
    ERROR : liveCache LCQ not restarted (see /sapdb/data/wrk/LCQ/lcinit.log)
    Tue Oct 30 16:21:14 SST 2007
    END *****************************
    Can anyone advice?  Thanks.
    Regards,
    Simon

    Hi Simon,
    did you load the system tables after you performed the system copy?
    Regards,
    Melanie

  • Unknown table name :INFO_STATE

    Hi,
    on 7.6 on Win 2003, when in GUI DBM , when I want to connect  to DB I receive :
    -24988 SQL error [info STATE -d]; -4004, Unknown table name : INFO_STATE
    Any idea ?
    Thank you.

    Hello,
    see:
    [http://maxdb.sap.com/doc/7_7/45/11cbd6459d7201e10000000a155369/content.htm|http://maxdb.sap.com/doc/7_7/45/11cbd6459d7201e10000000a155369/content.htm]
    load_systab [-u <sysdba_user>,<sysdba_user_password>]
    Regards, Michael

  • Unknown table name

    Hello.
    After opening the SQL studio I get the following error.
    Error -
    Auto Commit: On, SQL Mode: Internal, Isolation Level: Committed
    Base table not found;-4004 POS(21) Unknown table name:SYS_MYAUTOSUPPOSE.
    SELECT SUPPOSE FROM SYSDBA.SYS_MYAUTOSUPPOSE WHERE TYPE = 0
    I've checked - such table does not exist.
    Should I create it manually?
    If so, what are its parameters (columns)?
    Thank Yyou, LUCAS.

    Hello,
    the table SYS_MYAUTOSUPPOSE is a SQL Studio system table which was used in a previous version of SQL Studio (7.5). In new database releases the table does not exist. Please install the newest SQL Studio. The newest version of SQL Studio does not need the table SYS_MYAUTOSUPPOSE.
    Regards
       Wolfgang

  • Unknown table names in 10G

    Hi,
    I recently installed 10g on windows and created a databse. I only created one table in my schema "T" but when I do select * fom tab I get all these. Any idea what they are ?
    BIN$4slr2AIkQGmj2B8iyLX/0Q==$0 TABLE
    BIN$PugCzbrBQ+SLa8xfb9jc7A==$0 TABLE
    BIN$UBfhfP2RSJ6MSbcHHhCrtQ==$0 TABLE
    T TABLE
    Thanks,
    Asha

    for the current schema owner
    purge recyclebin
    for all tables, if you are the dba
    purge dba_recyclebin
    and there are other options
    http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10739/tables.htm#i1010137
    These tables are a good thing to get rid of, even though Oracle will purge them, since they also get indluded in your RMAN backups, and can increase backupset sizes. We've encountered problems bumping up against the space limit set for our flash recovery area due to this, even though Oracle claims it will delete tables in the recycle bin when this becomes an issue.
    -Chuck

  • SAP* locked!Unlocking from DB level says unknown table USR02

    Hi,
    The user SAP* is locked.
    I tried to unlock it at DB(MAXDB) by query:
    sql_execute update <db_schema>.USR02 set UFLAG=0 where BNAME='SAP*' and MANDT=u2019000u2019
    It says:
    ERR
    -24988,ERR_SQL: SQL error
    -4004,Unknown table name:USR02
    Anything can be done here to unlock the SAP* user?
    Thanks in advance!

    Below are 2 scripts that will a) show the status of a user and b) unlock that user.
    Note, this was used in MSSQL.
    --This script is used to determine the status of users in a system,
    --the codes are as follows:
    --0 --> not locked
    --32 --> globally locked by administrator
    --64 --> locally locked by administrator
    --128 --> locked due to incorrect loggins
    Use '<SID>'
    go
    setuser '<sid>'
    go
    select * from USR02
    To unlock a user execute the script below.
    Update USR02 set UFLAG=0 where BNAME = '<USER>' and MANDT = '<CLIENT>'

  • Limit on length of table name?

    I created a table named LEARNING_PLAN_COURSE_MAPPING in SAP DB, when I deleted a record in it through EJB, it failed, following is the log.
    Any advice will be appreciated.
    12:14:07,947 ERROR [STDERR] javax.ejb.FinderException: Find failed: com.sap.dbtech.jdbc.ex
    ceptions.DatabaseException: SAP DBTech SQL: [-4004] (at 42) Unknown table name:LEARNING_PLAN_COU_V17Q1U

    I checked, the Max table name length limitation is 32. But how to modify it? I'd like to enlarge it from 32 to 64. Maybe I should ask on SAP DB forum.

  • SAP Business One Ver. 9.0 SQL Table Name

    Dear All,
    This is useful SQL Table Name for SAP Business One Ver.9.0 in details
    Name     Description
    AAC1    Asset Classes - Depreciation Areas - History
    AACP    Periods Category-Log
    AACS    Asset Classes - History
    AACT    G/L Account - History
    AAD1    Administration Extension-Log
    AADM    Administration - Log
    AADT    Fixed Assets Account Determination - History
    ABAT    Attribute - History
    ABFC    Bin Field Configuration - History
    ABIN    Bin Location - History
    ABO1    External Bank Operation Code - Rows - Log
    ABOC    External Bank Operation Code - Log
    ABOE    Bill of Exchange for Payment - History
    ABP1    Business Place Tax IDs
    ABP2    Branch Tributary Info. Log
    ABPL    Business Place
    ABSL    Warehouse Sublevel - History
    ABT1    Internal Bank Operation Codes - Accounts - Log
    ABTC    Internal Bank Operation Codes -  Log
    ABTN    Batch Numbers Master Data
    ABTW    Batch Attributes in Location
    ACD1    Credit Memo - Rows
    ACD2    Credit Memo - Area Journal Transactions
    ACD3    Credit Memo - Item Areas
    ACFP    CFOP for Nota Fiscal
    ACH1    Checks for Payment - Rows - History
    ACHO    Checks for Payment - History
    ACP1    Campaign - BPs
    ACP2    Campaign - Items
    ACP3    Campaign - Partners
    ACPN    Campaign
    ACPR    Contact Persons - History
    ACQ1    Capitalization - Rows
    ACQ2    Capitalization - Area Journal Transactions
    ACQ3    Capitalization - Item Areas
    ACR1    Business Partner Addresses - History
    ACR2    Bussiness Partners - Payment Methods-History
    ACR3    Business Partner Control Accounts - History
    ACR4    Allowed WTax Codes for BP - History
    ACR5    BP Payment Dates
    ACR7    Fiscal IDs for BP Master Data
    ACRB    Business Partner Bank Accounts - History
    ACRC    Credit Cards
    ACRD    Business Partners - History
    ACS1    Asset Classes - Depreciation Areas
    ADG1    Discount Groups Rows
    ADM1    Administration Extension
    ADM2    Administration Electronic Report
    ADMC    GL Account Determination - Criteria - History
    ADNF    DNF Code
    ADO1    A/R Invoice (Rows) - History
    ADO10    A/R Invoice - Row Structure - History
    ADO11    A/R Inv (Drawn Dpm Det) - Hist
    ADO12    A/R Invoice - Tax Extension - History
    ADO13    A/R Invoice Rows - Distributed Expenses
    ADO14    Invoice - Assembly - Rows - History
    ADO15    A/R Inv (Drawn Dpm Applied) - Hist
    ADO16    Draft - SnB properties
    ADO17    A/R Invoice - Import Process - History
    ADO18    A/R Invoice - Export Process - History
    ADO19    Bin Allocation Data - History
    ADO2    A/R Invoice - Freight - Rows
    ADO20    Intrastat Expenses
    ADO3    A/R Invoice - Freight - History
    ADO4    Documents - Tax - History
    ADO5    Withholding Tax - History
    ADO6    Documents History - Installments
    ADO7    Delivery Packages - History
    ADO8    Items in Package - History
    ADO9    A/R Invoice (Rows) - History
    ADOC    Invoice - History
    ADPA    Fixed Asset Depreciation Areas - History
    ADS1    House Bank Accounts
    ADT1    Depreciation Types - Rows - History
    ADTP    Fixed Assets Depreciation Types - History
    AEC1    Parameters for Various Types of Electronic Communication
    AEC2    Messages Processed via Electronic Communication
    AEC3    Statuses and Logs for Actions in Electronic Communication
    AECM    Electronic Communication Types or Protocols
    AEDG    Discount Groups
    AEXD    Freight Setup
    AFA1    Asset Document - Rows
    AFA2    Asset Document - Area Journal Transactions
    AFAD    Asset Document - History
    AFM1    Tax Formula Parameter Declaration
    AFML    Tax Formula Master Table
    AFPR    Posting Period-Log
    AGAR    G/L Account Advanced Rules - History
    AHE1    Absence Information
    AHE2    Education
    AHE3    Employee Reviews
    AHE4    Previous Employment
    AHE6    Employee Roles
    AHE7    Savings Payments
    AHEM    Employees
    AIGW    Item Group - Warehouse - History
    AIN1    Inventory Counting - Rows
    AIN2    Inventory Counting - UoM
    AIN3    Inventory Count - SnB
    AINC    Inventory Stock Counting
    AINS    Customer Equipment Card - History
    AIQI    Inventory Initial Quantity
    AIQR    Inventory Stock Posting (Reconcile)
    AIT1    Item - Prices - History
    AIT11    Asset Item Period Control
    AIT13    Asset Attributes
    AIT2    Items - Multiple Preferred Vendors - History
    AIT3    Items - Localization Fields - History
    AIT5    Asset Item Projects - History
    AIT6    Asset Item Distribution Rules
    AIT7    Asset Item Depreciation Params - History
    AIT8    Asset Item Balances - History
    AIT9    Item - UoM Prices
    AITB    Item Groups - History
    AITM    Items - History
    AITT    Product Tree - History
    AITW    Items - Warehouse - History
    AJD1    Journal Entry - History - Rows
    AJD2    Withholding Tax - History
    AJDT    Journal Entry - History
    AKL1    Pick List - Rows - History
    AKL2    Pick List for SnB and Bin Details
    ALR2    Dynamic message data row
    ALR3    Dynamic message data cells
    AMD1    Amout Differences Report Lines
    AMDR    Manual Distribution Rule
    AMDR1    Manual Distribution Rule - Rows
    AMGP    Material Group
    AMR1    Inventory Revaluation - History - Rows
    AMR2    Inventory Revaluation FIFO Rows (Archive)
    AMR3    Inventory Revaluation SNB
    AMRV    Inventory Revaluation - History
    ANCM    NCM Code
    AOA1    Blanket Agreement - Rows
    AOA2    Blanket Agreement - Details
    AOA3    Item Details: Activity
    AOA4    Blanket Agreement - Recurring Transactions
    AOAT    Blanket Agreement
    AOC1    Distribution Rule - Rows
    AOCR    Distribution Rule
    AOPR    Sales Opportunity
    APJ1    Project Plan Steps
    APJ2    Project Plan Steps Time Record
    APJT    Project Plan
    APKL    Pick List - History
    APLN    Price Lists
    APRC    Cost Center
    APRJ    Project Codes
    AQI1    Inventory Initial Qty Rows
    AQI2    Inventory Count - SnB
    AQR1    Inventory Stock Posting (Reconcile) Lines
    AQR2    Inventory Counting - UoM
    AQR3    Inventory Count - SnB
    ARC1    Incoming Payment - Checks - History
    ARC2    Incoming Payment - Invoices - History
    ARC3    Credit Vouchers History
    ARC4    Incoming Payment - Account List - History
    ARC5    Reciept log  vat adjustment-History
    ARC6    Incoming Payments - WTax Rows - History
    ARC7    Incoming Payments - Tax Amount per Document - History
    ARC8    Incoming Payment - TDS Entries - History
    ARCT    Incoming Payment - History
    ARI1    Add-On
    ASC1    Service Call Solutions - History
    ASC2    Service Call Inventory Expenses - History
    ASC3    Service Call Travel/Labor Expenses - History
    ASC4    Service Call Travel/Labor Expenses - History
    ASC5    Service Call Activities - History
    ASCL    History
    ASGP    Service Group for Brazil
    ASP1    Special Prices - Data Areas
    ASP2    Special Prices - Quantity Areas
    ASPP    Special Prices
    ASRN    Serial Numbers Master Data
    AST1    Sales Tax Codes - Rows
    ASTC    Sales Tax Codes
    ASTT    Sales Tax Authorities Type
    ATC1    Attachments - Rows
    ATHL    Thresholds
    ATSC    CST Code for Nota Fiscal
    ATT1    Bill of Materials - Component Items - History
    ATX1    Tax Invoice - History - Rows
    ATX2    Tax Invoice Operation Codes
    ATXI    Tax Invoice - History
    AUG1    UoM Group Detail
    AUGP    UoM Group
    AUOM    UoM Master Data
    AUSR    Archive Users - History
    AVT1    Tax Definition
    AVTG    Tax Definition
    AWEX    Workflow Engine Execution Entity
    AWFQ    SWFQ History Table
    AWH1    Tax Definition
    AWH2    WTax Definition - Rows2
    AWH3    Value Range
    AWHS    Warehouses - History
    AWHT    Withholding Tax
    AWL1    Potential Processor of Tasks
    AWL2    Input data for tasks
    AWL3    Task Notes
    AWL4    Task Output Data
    AWL5    Task Field Mapping Information
    AWLS    Workflow - Task Details
    AWMG    Workflow Manager
    AWO1    Production Order (Rows) - History
    AWO2    Production Order - Base
    AWOR    Production Order - History
    AWTS    Workflow Engine Task Table
    BGT1    Budget - Rows
    BGT2    Budget - Cost Accounting
    BGT3    Budget - Cost Accounting Rows
    BNK1    Bank Statement - Documents List
    BNK2    Bank Statement - Recommendation List
    BOC1    External Bank Operation Code - Rows
    BOE1    Bill of Exchange for Payment - Rows
    BOT1    Bill of Exchange Transactions
    BOX1    Box Definition - Rows
    BOX2    Box Definition - Accounts
    BOX3    Box Definition - Choice
    BOX4    Box Definition - Contra Accounts of Accounts
    BPL1    Branch I.E. Numbers
    BPL2    Branch Tributary Info.
    BTC1    Internal Bank Operation Codes - Accounts
    BTF1    Journal Voucher  - Rows
    BTF2    Journal Voucher Withholding Tax - History
    CASE    Internal Recon. Upgrade 2007A
    CASE1    Internal Recon. Upgrade 2007A
    CCAL    Chinese Chart of Account Level Definition
    CCFG    Company Configuration
    CCPD    Period-End Closing
    CCS1    Cycle Count Determination- Subtable
    CDC1    Cash Discount - Rows
    CDIC    Dictionary
    CFH1    Cash Flow Statement Report - History - Rows
    CFUS    Functionality Usage Statistics
    CHD1    Checks for Payment Drafts - Rows
    CHO1    Checks for Payment - Rows
    CHO2    Checks for Payment - Print Status
    CIF1    Country Specific Information
    CIN1    Correction Invoice - Rows
    CIN10    Correction Invoice - Row Structure
    CIN12    Correction Invoice - Tax Extension
    CIN13    Correction Invoice Rows - Distributed Expenses
    CIN17    Correction Invoice - Bin Allocation Data
    CIN18    Correction Invoice - Export Process
    CIN19    Correction Invoice - Bin Allocation Data
    CIN2    A/R Correction Invoice - Freight - Rows
    CIN20    Intrastat Expenses
    CIN3    A/R Correction Invoice - Freight
    CIN4    Correction Invoice - Tax Amount per Document
    CIN5    A\R Correction Invoice - Withholding Tax
    CIN6    Correction Invoice - Installments
    CIN7    Delivery Packages - Correction Invoice
    CIN8    Items in Package - Correction Invoice
    CIN9    Correction Invoice - Drawn Dpm
    CPI1    A/P Correction Invoice - Rows
    CPI10    A/P Correction Invoice - Row Structure
    CPI12    A/P Correction Invoice - Tax Extension
    CPI13    A/P Correction Invoice Rows - Distributed Expenses
    CPI14    A/P Correction Invoice - Assembly - Rows
    CPI15    A/P Corr Inv - Drawn Dpm Appld
    CPI16    A/P Corr. Inv - SnB properties
    CPI17    A/P Correction Invoice - Import Process
    CPI18    A/P Correction Invoice - Export Process
    CPI19    A/P Correction Invoice - Bin Allocation Data
    CPI2    A/P Correction Invoice - Freight - Rows
    CPI20    Intrastat Expenses
    CPI3    A/P Correction Invoice - Freight
    CPI4    A/P Correction Invoice - Tax Amount per Document
    CPI5    Withholding Tax Data
    CPI6    Documents History - Installments
    CPI7    A/P Correction Invoice - Delivery Packages
    CPI8    A/P Correction Invoice - Items in Package
    CPI9    A/P Corr. Invoice - Drawn Dpm
    CPL1    Quick Copy - Instance Log
    CPN1    Campaign - BPs
    CPN2    Campaign - Items
    CPN3    Campaign - Partners
    CPT1    Cockpit Subtable
    CPV1    A/P Correction Invoice Reversal - Rows
    CPV10    A/P CrIn Rev - Row Structure
    CPV12    A/P Correction Invoice Reversal - Tax Extension
    CPV13    A/P Correction Invoice Reversal Rows - Distributed Expenses
    CPV14    A/P Correction Invoice Reversal - Assembly - Rows
    CPV15    A/P CrIn Rev - Drawn Dpm Appld
    CPV16    A/P Correction Invoice Reversal - SnB properties
    CPV17    A/P Correction Invoice Reversal - Import Process
    CPV18    A/P Correction Invoice Reversal - Export Process
    CPV19    A/P Correction Invoice Reversal - Bin Allocation Data
    CPV2    A/P Correction Invoice Reversal - Freight - Rows
    CPV20    Intrastat Expenses
    CPV3    A/P Correction Invoice Reversal - Freight
    CPV4    A/P Correction Invoice Reversal - Tax Amt per Doc.
    CPV5    A/P Correction Invoice Reversal - WTax
    CPV6    A/P Correction Invoice Reversal - Installments
    CPV7    A/P Corr Inv Rvsl - Deliv Pkgs
    CPV8    A/P Correction Invoice Reversal - Items in Package
    CPV9    A/P Corr Inv Rvrsl - Drawn Dpm
    CRD1    Business Partners - Addresses
    CRD2    Bussiness Partners - Payment Methods
    CRD3    BP Control Account
    CRD4    Allowed WTax Codes for BP
    CRD5    BP Payment Dates
    CRD6    BP's Payer Name
    CRD7    Fiscal IDs for BP Master Data
    CRD8    BP Branch Assignment
    CRD9    OCRD Extension
    CSI1    A/R Correction Invoice - Rows
    CSI10    A/R Correction Invoice - Row Structure
    CSI12    A/R Correction Invoice - Tax Extension
    CSI13    A/R Correction Invoice Rows - Distributed Expenses
    CSI14    A/R Correction Invoice - Assembly - Rows
    CSI15    A/R Corr Inv - Drawn Dpm Appld
    CSI16    A/R Corr. Inv. - SnB properties
    CSI17    A/R Correction Invoice - Import Process
    CSI18    A/R Correction Invoice - Export Process
    CSI19    A/R Correction Invoice - Bin Allocation Data
    CSI2    A/R Corr Inv - Freight - Rows
    CSI20    Intrastat Expenses
    CSI3    A/R Correction Invoice - Freight
    CSI4    A/R Correction Invoice - Tax Amount Per Document
    CSI5    A/R Correction Invoice - Withholding Tax
    CSI6    A/R Corr. Inv. - Installments
    CSI7    A/R Corr. Inv. Deliv. Pkgs
    CSI8    A/R Corr. Inv. - Items in Pkg
    CSI9    A/R Corr. Inv. - Drawn Dpm
    CSN1    Certificate Series - Series
    CSPI    Solution Packager Information
    CSTN    Workstation ID
    CSV1    A/R Correction Invoice Reversal - Rows
    CSV10    A/R Correction Invoice Reversal - Row Structure
    CSV12    A/R Correction Invoice Reversal - Tax Extension
    CSV13    A/R Correction Invoice Reversal Rows - Distributed Expenses
    CSV14    A/R Correction Invoice Reversal - Assembly - Rows
    CSV15    A/R CrIn Rev - Drawn Dpm Appld
    CSV16    A/R Correction Invoice Reversal - SnB properties
    CSV17    A/R Correction Invoice Reversal - Bin Allocation Data
    CSV18    A/R Correction Invoice Reversal - Export Process
    CSV19    A/R Correction Invoice Reversal - Bin Allocation Data
    CSV2    A/R Correction Invoice Reversal - Freight - Rows
    CSV20    Intrastat Expenses
    CSV3    A/R Correction Invoice Reversal - Freight
    CSV4    A/R Correction Invoice Reversal - Tax Amount Per Document
    CSV5    A/R Correction Invoice Reversal - WTax
    CSV6    A/R Correction Invoice Reversal - Installments
    CSV7    A/R Correction Invoice Reversal - Delivery Packages
    CSV8    A/R Correction Invoice Reversal - Items in Package
    CSV9    A/R CrIn Rev - Drawn Dpm
    CTG1    Installment Layout
    CTNS    Transaction Notification Setting
    CTR1    Service Contract - Items
    CTR2    Service Contract - Recurring Transactions
    CUL1    Customer Usage Statistics Log
    CUMF    Folder
    CUMI    My Menu Items
    DAB1    Dashboard Queries
    DADB    Data Archive DSA Balance
    DAR1    Data Archive - Transaction Log
    DAR2    Data Archive - Transaction Log
    DAR3    Data Archive - Handwritten Documents
    DATB    Data Archive Tax Balance
    DBADM    Read-Only DB User
    DDT1    Withholding Tax Deduction Hierarchy - Rows
    DGP1    Customer List
    DGP2    Expanded Selection Criteria
    DGP3    Expanded Consolidation Options
    DGP4    Business Place List
    DGP5    Sort By List
    DLN1    Delivery - Rows
    DLN10    Delivery - Row Structure
    DLN12    Delivery - Tax Extension
    DLN13    Delivery Rows - Distributed Expenses
    DLN14    Delivery Notes - Assembly - Rows
    DLN15    Delivery - Drawn Dpm Applied
    DLN16    Delivery - SnB properties
    DLN17    Delivery - Import Process
    DLN18    Delivery - Export Process
    DLN19    Delivery - Bin Allocation Data
    DLN2    Delivery Notes - Freight - Rows
    DLN20    Intrastat Expenses
    DLN3    Delivery Notes - Freight
    DLN4    Delivery - Tax Amount per Document
    DLN5    Delivery - Withholding Tax
    DLN6    Delivery - Installments
    DLN7    Delivery Packages
    DLN8    Items in Package - Delivery
    DLN9    Delivery - Drawn Dpm
    DMW1    Query List
    DOC20    Intrastat Expenses
    DPI1    A/R Down Payment - Rows
    DPI10    A/R Down Payment - Row Structure
    DPI11    A/R DP - Drawn Dpm Detail
    DPI12    Down Payment In - Tax Extension
    DPI13    A/R Down Payment Rows - Distributed Expenses
    DPI14    A/R Down Payment - Assembly - Rows
    DPI15    A/R DP - Drawn Dpm Applied
    DPI16    A/R Down Payment - SnB properties
    DPI17    A/R Down Payment - Import Process
    DPI18    A/R Down Payment - Export Process
    DPI19    A/R Down Payment - Bin Allocation Data
    DPI2    A/R Down Payment - Freight - Rows
    DPI20    Intrastat Expenses
    DPI3    A/R Down Payment - Freight
    DPI4    A/R Down Payment - Tax Amount per Document
    DPI5    A/R Down Payment - Withholding Tax
    DPI6    A/R Down Payment - Installments
    DPI7    Delivery Packages - A/R Down Pymt
    DPI8    Items in Package - A/R Down Pmt.
    DPI9    Down Payment Incoming - Drawn Dpm
    DPO1    A/P Down Payment - Rows
    DPO10    A/P Down Payment - Row Structure
    DPO12    Down Payment - Tax Extension
    DPO13    A/P Down Payment Rows - Distributed Expenses
    DPO14    A/P Down Payment - Assembly - Rows
    DPO15    A/P DP - Drawn Dpm Applied
    DPO16    A/P Down Payment - SnB properties
    DPO17    A/P Down Payment - Import Process
    DPO18    A/P Down Payment - Export Process
    DPO19    A/P Down Payment - Bin Allocation Data
    DPO2    A/P Down Payment - Freight - Rows
    DPO20    Intrastat Expenses
    DPO3    A/P Down Payment - Freight
    DPO4    A/P Down Payment - Tax Amount per Document
    DPO5    A/P Down Payment - Withholding Tax
    DPO6    Down Payment Out - Installments
    DPO7    Delivery Packages - A/P Down Pymt
    DPO8    Items in Package - A/P Down Pmt.
    DPO9    Down Payment Outgoing - Drawn Dpm
    DPS1    Deposit - Rows
    DRF1    Draft - Rows
    DRF10    Draft - Row Structure
    DRF12    Draft - Tax Extension
    DRF13    Draft Rows - Distributed Expenses
    DRF14    Draft - Assembly - Rows
    DRF15    Draft - Drawn Dpm Applied
    DRF16    Draft - SnB - Rows
    DRF17    Draft - Import Process
    DRF18    Draft - Export Process
    DRF19    Draft - Bin Allocation Data
    DRF2    Draft - Freight - Rows
    DRF20    Intrastat Expenses
    DRF3    Draft - Freight
    DRF4    Draft Documents - Tax
    DRF5    Draft Documents - Withholding Tax
    DRF6    Document Drafts - Installments
    DRF7    Delivery Packages - Drafts
    DRF8    Items in Package - Draft
    DRF9    Document Draft - Drawn Dpm
    DRN1    Depreciation Run - Posting
    DRN2    Depreciation Run - Posting - Asset
    DSC1    House Bank Accounts
    DTP1    Depreciation Types - Rows
    DUT1    Dunning Term Array1
    DWZ1    Dunning Wizard Array1 - BP Filter
    DWZ2    Dunning Wizard Array 2-Invoice Filter
    DWZ3    Dunning Wizard Array 3 - Recommended Service Invoice
    ECM1    Parameters for Various Types of Electronic Communication
    ECM2    Messages Processed via Electronic Communication
    ECM3    Statuses and Logs for Actions in Electronic Communication
    EDG1    Discount Groups Rows
    EJB1    ERV-JAb Wizard Signing Persons
    EJB2    Docs List for ERV-JAb Wizard
    EJD1    ERV-JAb Signing Persons List
    EOY1    End of Year UDOs
    ERX1    Excise Registering Number-Rows
    FAA1    Asset Attributes - Rows
    FAC1    Fixed Asset Parameter Change - Rows
    FAC2    Fixed Asset Parameter Change - Period Control Change
    FAM1    Fixed Asset Data Migration - Rows
    FAR1    Fixed Asset Revaluation - Rows
    FCT1    Sales Forecast - Rows
    FIX1    Fixed Asset Transaction - Rows
    FLT1    856 Report - Selection Criteria
    FML1    Tax Formula Parameter Declaration
    FRC1    Extend Cat. f. Financial Rep.
    FTR1    Transfer - Rows
    FTR2    Transfer - Area Journal Transactions
    FTR3    Transfer - Item Areas
    GBI1    GBI Row 1 - Electronic Account Book
    GBI10    GBI Row 10 - Enterprise's Cash Flow Statement
    GBI11    GBI Row 11 - Devalue Provision of Enterprise Assets
    GBI12    GBI Row 12 - Shareholder's Rights and Interests Changing Report
    GBI13    GBI Row 13 - Enterprise's Profit Distribution Report
    GBI14    GBI Row 14 - Small Enterprise's Cash Flow Statement
    GBI15    GBI Row 15 - Enterprise's VAT Payable Detail Report
    GBI16    GBI Row 16 - Employees
    GBI2    GBI Row 2 - G/L Account Master Records
    GBI3    GBI Row 3 - Departments
    GBI4    GBI Row 4 - Business Partners
    GBI5    GBI Row 5 - Projects
    GBI6    GBI Row 6 - G/L Account Balance
    GBI7    GBI Row 7 - Accounting Vouchers
    GBI8    GBI Row 8 - Enterprise's Balance Sheet
    GBI9    GBI Row 9 - Enterprise's Profit and Loss Statement
    GFL1    Grid Filter Rules
    GFL2    Grid Filter Name
    GPA1    Gross Profit Adjustment - Log
    GPA2    Gross Profit Adjustments - Parameters
    GTI1    GTS Invoice Details
    GTM1    GTS Mapping Object Details
    HEM1    Absence Information
    HEM2    Education
    HEM3    Employee Reviews
    HEM4    Previous Employment
    HEM5    Employee Data Ownership Authorization
    HEM6    Employee Roles
    HEM7    Savings Payments
    HET1    Employee Transfer Details
    HLD1    Holiday Dates
    HMM1    Child Table of OHMM
    HMM2    Child Table of OHHM
    HTM1    Team Members
    IBT1    Batch Number Transactions
    ICD1    Inventory Counting Draft - Rows
    ICD2    Inventory Counting Draft - UoM
    ICD3    Inventory Count Draft - SnB
    IEI1    Incoming Excise Invoice - Rows
    IEI10    Incoming Excise Invoice - Row Structure
    IEI11    IEI - Drawn Dpm Detail
    IEI12    Incoming Excise Invoice - Tax Extension
    IEI13    Incoming Excise Invoice Rows - Distributed Expenses
    IEI14    Incoming Excise Invoice - Assembly - Rows
    IEI15    IEI - Drawn Dpm Applied
    IEI16    Incoming Excise Invoice - SnB properties
    IEI17    Incoming Excise Invoice - Import Process
    IEI18    Incoming Excise Invoice - Export Process
    IEI19    Incoming Excise Invoice - Bin Allocation Data
    IEI2    Incoming Excise Invoice - Freight - History - Rows
    IEI20    Intrastat Expenses
    IEI3    IEI - Freight
    IEI4    Incoming Excise Invoice - Tax Amount per Document
    IEI5    Incoming Excise Invoice - Withholding Tax
    IEI6    IEI - Installments
    IEI7    Delivery Packages - Incoming Excise Invoice
    IEI8    Incoming Excise Invoice - Items in Package
    IEI9    IEI - Drawn Dpm
    IGE1    Goods Issue - Rows
    IGE10    Goods Issue - Row Structure
    IGE12    Goods Issue - Tax Extension
    IGE13    Goods Issue Rows - Distributed Expenses
    IGE14    Goods Issue - Assembly - Rows
    IGE15    Gds Issue - Drawn Dpm Applied
    IGE16    Goods Issue - SnB properties
    IGE17    Goods Issue - Import Process
    IGE18    Goods Issue - Export Process
    IGE19    Goods Issue - Bin Allocation Data
    IGE2    Goods Issue - Freight - Rows
    IGE20    Intrastat Expenses
    IGE3    Goods Issue - Freight
    IGE4    Goods Issue - Tax Amount per Document
    IGE5    Goods Issue - Withholding Tax
    IGE6    Goods Issue - Installments
    IGE7    Delivery Packages - Goods Issue
    IGE8    Items in Package - Goods Issue
    IGE9    Goods Issue - Drawn Dpm
    IGN1    Goods Receipt - Rows
    IGN10    Goods Receipt - Row Structure
    IGN12    Goods Receipt - Tax Extension
    IGN13    Goods Receipt Rows - Distributed Expenses
    IGN14    Goods Receipt - Assembly - Rows
    IGN15    Gds Rcpt - Drawn Dpm Applied
    IGN16    Goods Receipt - SnB properties
    IGN17    Goods Receipt - Import Process
    IGN18    Goods Receipt - Export Process
    IGN19    Goods Receipt - Bin Allocation Data
    IGN2    Goods Receipt - Freight - Rows
    IGN20    Intrastat Expenses
    IGN3    Goods Receipt - Freight
    IGN4    Goods Receipt - Tax Amount per Document
    IGN5    Goods Receipt - Withholding Tax
    IGN6    Goods Receipt- Installments
    IGN7    Goods Receipt - Delivery Packages
    IGN8    Goods Receipt - Items in Package
    IGN9    Goods Receipt - Drawn Dpm
    ILM1    Srl & Batch Det of Inv Log Msg
    ILM2    Inventory Account Substitute
    IMT1    Acct data in selected template
    IMT11    Calculated expression's constituent with sign for specifying account in specific template
    INC1    Inventory Counting - Rows
    INC2    Inventory Counting - UoM
    INC3    Inventory Count - SnB
    INV1    A/R Invoice - Rows
    INV10    A/R Invoice - Row Structure
    INV11    A/R Invoice - Drawn Dpm Detail
    INV12    A/R Invoice - Tax Extension
    INV13    A/R Invoice Rows - Distributed Freights
    INV14    A/R Invoice - Assembly - Rows
    INV15    A/R Inv. - Drawn Dpm Applied
    INV16    A/R Invoice - SnB properties
    INV17    A/R Invoice - Import Process
    INV18    A/R Invoice - Export Process
    INV19    A/R Invoice - Bin Allocation Data
    INV2    A/R Invoice - Freight - Rows
    INV20    Intrastat Expenses
    INV3    A/R Invoice - Freight
    INV4    A/R Invoice - Tax Amount per Document
    INV5    A/R Invoice - Withholding Tax
    INV6    A/R Invoice - Installments
    INV7    A/R Invoice - Delivery Packages
    INV8    A/R Invoice - Items in Package
    INV9    A/R Invoice - Drawn Dpm
    IOD1    Inventory Initial Qty Draft Rows
    IOD2    Inventory Count Draft - SnB
    IPD1    Inventory Stock Posting Draft (Reconcile) Lines
    IPD2    Inventory Posting Draft - UoM
    IPD3    Inventory Posting Draft - SnB
    IPF1    Landed Costs - Rows
    IPF2    Landed Costs - Costs
    IPF3    Landed Costs - Customs Summary
    IQI1    Inventory Initial Qty Rows
    IQI2    Inventory Count - SnB
    IQR1    Inventory Stock Posting (Reconcile) Lines
    IQR2    Inventory Posting - UoM
    IQR3    Inventory Posting - SnB
    ISW1    Reported Business Partners
    ISW2    Intrastat Reported Items
    ISW3    Declaration Rows
    ITL1    Srl & Batch Details in Transac
    ITM1    Items - Prices
    ITM10    OITM Extension
    ITM11    Asset Item Period Control
    ITM12    UoM in Item
    ITM13    Asset Attributes
    ITM2    Items - Multiple Preferred Vendors
    ITM3    Items - Localization Fields
    ITM4    Package in Items
    ITM5    Asset Item Projects
    ITM6    Asset Item Distribution Rules
    ITM7    Asset Item Depreciation Params
    ITM8    Asset Item Balances
    ITM9    Item - UoM Prices
    ITR1    Internal Reconciliation - Rows
    ITT1    Bill of Materials - Component Items
    ITW1    Item Count Alert
    IVL1    IVL Layer Level
    IVM1    Invoice Mapping Object Details
    IVRU    Inventory Valuation Utility
    IWB1    Batch No. Quantities Backup
    IWB2    Serial No. Quantities Backup
    IWZ1    Accounts Revaluation History
    IWZ2    Inflation Warehouse Filter
    IWZ3    Items Last Revaluation Data
    JDT1    Journal Entry - Rows
    JDT2    Withholding Tax - History
    JST1    TDS Adjustment - Rows
    KPS1    KPI Set Array 1
    LGL1    Legal Data - Rows
    LLR1    Electronic Report Generation Result - Reports
    MAP1    Input and Output of Mapping
    MAP2    Mapping Input and Output Relation
    MDC1    Master Data Cleanup - Log
    MDC2    Master Data Cleanup - MD Log
    MDP1    Manual Depreciation - Rows
    MDP2    Manual Depreciation - Area Journal Transactions
    MDP3    Manual Depreciation - Item Areas
    MDR1    Manual Distribution Rule - Rows
    MIN1    Monthly Invoice Report Document Information
    MIN2    Item Imformation of MI
    MIV1    A/P Monthly Invoice - Document
    MIV2    A/P Monthly Invoice - Item
    MLS1    Distribution Lists - Recipients
    MLT1    Translations in user language
    MRV1    Inventory Revaluation Information Array
    MRV2    Inventory Revaluation FIFO Rows
    MRV3    Inventory Revaluation SNB
    MSN1    MRP Scenarios - Warehouses Array
    MSN2    MRP Run Results
    MSN3    MRP Pegging Information
    MSN4    MRP Scenarios - Items Array
    MSN5    MRP-Specific Document
    NFN1    Not a Fiscal Sequence
    NNM1    Documents Numbering - Series
    NNM4    Electronic Series
    NNM5    Document Numbering - Removed Serial Numbers
    OACD    Credit Memo
    OACG    Account Category
    OACK    Acknowledge Number
    OACM    Accumulation
    OACP    Periods Category
    OACQ    Capitalization
    OACR    Accrual Type
    OACS    Asset Classes
    OACT    G/L Accounts
    OADF    Address Formats
    OADG    Depreciation Groups
    OADM    Administration
    OADT    Fixed Assets Account Determination
    OAGM    Arguments for B1i
    OAGP    Agent Name
    OAGS    Asset Groups
    OAIM    Archive Inventory Message
    OALC    Loading Expenses
    OALI    Alternative Items 2
    OAMD    Amount Differences Report
    OARG    Customs Groups
    OARI    Add-On - Company Definitions
    OASC    Account Segmentation Categories
    OASG    Account Segmentation
    OAT1    Blanket Agreement - Rows
    OAT2    Blanket Agreement - Details
    OAT3    Item Details: Activity
    OAT4    Blanket Agreement - Recurring Transactions
    OATC    Attachments
    OBAT    Bin Location Attribute
    OBBI    Brazil Beverage Indexer
    OBBQ    Item - Serial/Batch - Bin Accumulator
    OBCA    Bank Charges Allocation Codes
    OBCD    Bar Code Master Data
    OBCG    Bank Charge for Bank Transfers
    OBDC    B1i DI Configuration
    OBFC    Bin Field Configuration
    OBFI    Brazil Fuel Indexer
    OBGD    Budget Cost Assess. Mthd
    OBGS    Budget Scenario
    OBGT    Budget
    OBIN    Bin Location
    OBMI    Brazilian Multi-Indexer
    OBNH    Bank Statement Header
    OBNI    Brazil Numeric Indexer
    OBNK    External Bank Statement Received
    OBOC    External Bank Operation Code Category
    OBOD    BIOD Master Data
    OBOE    Bill of Exchange for Payment
    OBOS    Box Set Definition
    OBOT    Bill Of Exchang Transaction
    OBOX    Box Definition
    OBPL    Business Place
    OBPP    BP Priorities
    OBSI    Brazil String Indexer
    OBSL    Warehouse Sublevel
    OBST    BoE Stamp Tax
    OBTC    Internal Bank Operation Codes
    OBTD    Journal Vouchers List
    OBTF    Journal Voucher Entry
    OBTL    Bin Transaction Log
    OBTN    Batch Numbers Master Data
    OBTQ    Batch No. Quantities
    OBTW    Batch Attributes in Location
    OBVL    Serial Numbers and Batch Valuation Log
    OCBI    Central Bank Ind.
    OCCD    Cargo Customs Declaration Numbers
    OCCS    Cycle Count Determination
    OCCT    Cost Center Type
    OCDC    Cash Discount
    OCDP    Closing Date Procedure
    OCDT    Credit Card Payment
    OCFH    Cash Flow Statement History
    OCFP    CFOP for Nota Fiscal
    OCFT    Cash Flow Transactions - Rows
    OCFW    Cash Flow Line Item
    OCHD    Checks for Payment Drafts
    OCHF    312
    OCHH    Check Register
    OCHO    Checks for Payment
    OCHP    India Chapter ID
    OCIF    Configuration of Intrastat Fields
    OCIG    CIG Codes
    OCIN    A/R Correction Invoice
    OCIP    Configuration of Integration Packages
    OCLA    Activity Status
    OCLG    Activities
    OCLO    Meetings Location
    OCLS    Activity Subjects
    OCLT    Activity Types
    OCMN    Customized Menu
    OCMT    Competitors
    OCNA    CNAE Code
    OCNT    Counties
    OCOG    Commission Groups
    OCPC    Quick Copy Config.
    OCPI    A/P Correction Invoice
    OCPL    Quick Copy Log Manager
    OCPN    Campaign
    OCPR    Contact Persons
    OCPT    Cockpit Main Table
    OCPV    A/P Correction Invoice Reversal
    OCQG    Card Properties
    OCR1    Distribution Rule - Rows
    OCRB    BP - Bank Account
    OCRC    Credit Cards
    OCRD    Business Partner
    OCRG    Card Groups
    OCRH    Credit Card Management
    OCRN    Currency Codes
    OCRP    Payment Methods
    OCRT    CRDB Tables Tree List
    OCRV    Credit Payments
    OCRY    Countries
    OCSC    Crystal Server Configuration
    OCSI    A/R Correction Invoice
    OCSN    Certificate Series
    OCSQ    Column Sequences
    OCST    States
    OCSV    A/R Correction Invoice Reversal
    OCTG    Payment Terms
    OCTR    Service Contracts
    OCTT    Contract Template
    OCUC    CUS Configuration
    OCUL    Customer Usage Statistics Log
    OCUP    CUP Codes
    OCYC    Cycle
    ODAB    Dashboard
    ODAR    Data Archiving
    ODBN    Bat. Nos - Draft - Master Data
    ODBW    Batch Draft Attribs in Locat.
    ODCC    Dashboard Cache Configuration
    ODCI    Intrastat Configuration
    ODDG    Withholding Tax Deduction Groups
    ODDT    Withholding Tax Deduction Hierarchy
    ODGL    Deduction Group List
    ODGP    Document Generation Parameter Sets
    ODIM    Cost Accounting Dimension
    ODLL    Bar Code Algorithm File
    ODLN    Delivery
    ODMC    GL Account Determination - Criteria
    ODMW    Data Migration
    ODNF    DNF Code
    ODOR    Doubtful Debts
    ODOW    Data Ownership - Objects
    ODOX    Data Ownership - Exceptions
    ODPA    Fixed Asset Depreciation Areas
    ODPI    A/R Down Payment
    ODPO    A/P Down Payment
    ODPP    Depreciation Type Pools
    ODPS    Deposit
    ODPT    Postdated Deposit
    ODPV    Fixed Assets Depreciation Value
    ODRF    Drafts
    ODRN    Depreciation Run
    ODSC    Bank Codes
    ODSN    SNs - Draft - Master Data
    ODSW    SN Draft Attribs in Location
    ODTP    Fixed Assets Depreciation Types
    ODTY    BoE Document Type
    ODUN    Dunning Letters
    ODUT    Dunning Terms
    ODWZ    Dunning Wizard
    OECDW    ECD Wizard
    OECM    Electronic Communication Types or Protocols
    OEDG    Discount Groups
    OEI1    Outgoing Excise Invoice - Rows
    OEI10    Outgoing Excise Invoice - Row Structure
    OEI11    OEI - Drawn Dpm Detail
    OEI12    Outgoing Excise Invoice - Tax Extension
    OEI13    Outgoing Excise Invoice Rows - Distributed Expenses
    OEI14    Outgoing Excise Invoice - Assembly - Rows
    OEI15    OEI - Drawn Dpm Applied
    OEI16    Outgoing Excise Invoice - SnB properties
    OEI17    Outgoing Excise Invoice - Import Process
    OEI18    Outgoing Excise Invoice - Export Process
    OEI19    Outgoing Excise Invoice - Bin Allocation Data
    OEI2    OEI - Freight Rows
    OEI20    Intrastat Expenses
    OEI3    OEI - Freight
    OEI4    Outgoing Excise Invoice - Tax Amount per Document
    OEI5    Outgoing Excise Invoice - Withholding Tax
    OEI6    Outgoing Excise Invoice - Installments
    OEI7    Delivery Packages - Outgoing Excise Invoice
    OEI8    Outgoing Ex

    Hi,
    You should post as "Write document" or "Write a blog post" option not as discussion.
    Thanks & Regards,
    Nagarajan

  • How get all table name from database

    hi master
    sir
    how get all table name from database

    The big question is 'why'.
    Selecting from view 'dba_tables' will indeed give the list of all tables in the database, but that includes the dictionary tables and the internal tables, and many others that are probably not of interet to a person who needs to ask this question. Besides, the dba_tables view requires access to a DBA account.
    There are several other views: "user_tables" will list all the tables in this user's schema; and "all_tables" will list all the tables this user can access in some way.
    The above do not, of course, include any information about synonyms, sequences, views, indexes and so on.
    The correct answer and the meaningful answer may be two different things.

  • How can we get the table name...

    Hi All,
    How can we get the actual table name for an argument if its datatype is %ROWTYPE.
    For Ex :
    function ACCOUNT_UPDATE (account_no number,
    person person%rowtype,
    amounts dbms_describe.number_table,
    trans_date date)
    return accounts.balance%type;
    In the above function 'ACCOUNT_UPDATE', for argument person the datatype is 'person%rowtype'.
    Is there any way to get the name from Data Dictionary tables.
    I tried using All_Arguments and DBMS_DESCRIBE, I can able to get all the individual fields of %ROWTYPE by I could not able to know the exact table name thru the DD.
    my requirement is dynamically I need to declare a variable for the argument datatype.
    Your help is highly appreciated.
    Thanks

    hi vinay,
    this is the easiest way to find the tablename of a particular field.
    t.code:XD01.
    enter.
    select the kunnr field.
    press F1.
    the top of the screen u will get 'Technical setting icon.
    select that one.then u will get tablename,fieldname,parameter id also.
    if helps give the rewards.
    regards,
    akash.k

  • Writing procedure using table name as parameter

    I want to write a procedure to sample size any table. It could be employees, departments, etc. It will not know anything about the table (what table, columns, datatypes) until it is called.
    I want to invoke it sample_size(table_name_in, table_name_out, sample_sz).
    Table_out will be created and empty. It will determine the columns to be selected from table_in.
    It is a given that all columns in table_out exist in table_in with same name/datatypes.
    Pseudocoding:
    determine increment using size of table_in and sample_sz
    build out_var list from table_out
    select out_list from table_in
    for (rows in table_in) loop by increment
    insert into table_out
    end for
    I wrote function to get cursor:
    create or replace
    FUNCTION get_cursor
    (table_nm IN VARCHAR2,
    flds IN VARCHAR2)
    RETURN sys_refcursor
    IS
    cur sys_refcursor;
    vQry VARCHAR2(4000);
    BEGIN
    vQry := 'SELECT ' || flds || ' FROM ' || table_nm;
    OPEN cur FOR vQry;
    RETURN cur;
    END get_cursor;
    What I cannot figure out is how to define rowtype in calling procedure:
    PROCEDURE
    sample_size( table_in IN VARCHAR2,
    table_out IN VARCHAR2,
    sample_sz IN NUMBER )
    IS
    c1 sys_refcursor;
    vInto VARCHAR2(4000);
    BEGIN
    -- code to get variables desired into variable vInto (I know how to do this)
    c1 := get_cursor(table_in,vInto);
    LOOP
    FETCH c1;
    EXIT WHEN c1%NOTFOUND;
    -- code to decide wether to insert row into table_out
    END LOOP;
    CLOSE c1;
    END sample_size;
    I get error on FETCH c1; line:
    Error(47,15): PLS-00103: Encountered the symbol ";" when expecting one of the following: . into bulk
    All discussions I found about subject will have something similar to:
    Rec emp%rowtype
    and then
    fetch c1 into Rec
    None of the discussions showed me how to process an unknown table.
    If tomorrow someone tells me to sample_size table CITIES, I want to use function without having to change it.
    This is my first post. I hope I gave enough information. Thanks for any answer.

    Welcome to the forum.
    If yours is not an exercise why you don't want to use just
    <tt><b>[url http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_10002.htm#SQLRF01702]select * from table_name {sample_clause}</b></tt> ;)
    Regards
    Etbin

  • Unknown table--- BIN$q9sxdXaDQgWvL8DWKxQFbw==$0

    I found the following unknown table in my scott/tiger instance.this table is named as
    BIN$q9sxdXaDQgWvL8DWKxQFbw==$0
    i am unable to run desc command or drop command on this table
    looking for some help regarding this
    thanks and regards

    Hi,
    Oracle introduce the concept of Recyclebin in 10g,whenever u drop the tables from schema then it automatically move to recyclebin and its names has changes with bin+some uq identifier,now in 10g ,after droping the tables from schema u can easily recover it by issuing one command.
    and if u want to be purge this table then use
    PURGE TABLE BIN$q9sxdXaDQgWvL8DWKxQFbw==$0;
    http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10739/tables.htm#sthref2018
    Kuljeet

  • What are the table names for CRM and APO?

    hi friends,
    what are the table names for CRM and APO?
    Regards
    suneel.

    hi Suneel,
    check in crm forum
    Re: SAP-CRM Tables
    BUT051 BP Relationship: Contact Person Relationship
    Similar to BUT050 , additionally contains Contact Person’s Address data
    BUT0BK Business Partner: Bank Data & Details
    BP Number, Bank Key, Bank Country Key, Bank Account Number
    BNKA Bank Master Data
    BUT100 BP: Roles
    ADR2 Telephone Numbers (Business Address Services)
    ADR6 SMTP Numbers (Business Address Services)
    Contains Email – Id of the BP.
    ADRC Addresses (Business Address Services)
    BP’s Complete Address Details- City, Country, Post Code, District, Street, Title No Etc
    TSAD3T Table containing the Title text against a Title No.
    COMM_PRODUCT Master Table for Product
    CRMM_BUAG Master table for Business Agreement
    CRMM_BUAG_H Header Data for Business Agreement such as Tax Category, Tax Characteristic, Form key, Business Agreement Class. Data in this table correspond to ISU CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
    Note:
    1. It doesn’t store the Business Partner
    responsible for the transaction. To
    get the Partner No, link it with
    CRM_ORDER_INDEX.
    2. This table can be used for search
    based on the Object Id(Business
    Transaction No).
    CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
    CRMC_PROC_TYPE Master table Business Transaction Type
    CRMC_PARTNER_FCT Definition of Partner Functions
    SCPRIOT Priorities for Activities with priority text.
    CRMC_PROC_TYPE_T Text for a transaction type
    CRMC_ACT_OBJ_T Objective Number and Text for Activities
    TJ30T All the status code and text
    CRMC_PR_ASSIGN : Transaction Type and its Transaction Type Object.
    IBIB : Installed Base/Ibase
    IBIN : Installed Base Components
    COMM_PRODUCT : Products
    CRMC_T077D : customer account groups
    CRMD_ORDERADM_H (for header) CRMD_ORDERADM_I (Item data)
    CRMD_ORDERADM_H Business Transactions CRM
    CRMD_ACTIVITY_H Activity
    CRMD_OPPORT_H Opportunity
    BUTOO : Customer details
    BUT001 BP: General data II
    BUT100 BP: Roles
    BUT150 BP relationship: Attribute table (test
    different
    BUT_HIER_TREE Business Partner Group Hierarchy
    CDBC_T_PRODUCTID Mapping: Product Id
    CDBD_ORGMAN Business transaction - organizational unit -
    set
    COMC_PRODUCT General Product Settings
    COMC_R3_FIELDS Assignment of R/3 material master fields to
    CFOP
    COMM_CATEGORY Category
    COMM_CFGMAT Basic Data for Materials
    COMM_HIERARCHY Category Hierarchy
    COMP_TYPES Hierarchy Tool: Comparison Type Check
    Table
    CRMC_CPRICPROC Customer Pricing Procedures
    SMOKVBEZ15 Assignment employees to positions
    CRMMLSGUID: GUID entry (should match GUID in CRMPRLS)
    CRMM_BUT_CUSTNO : Also GUID table (GUID here should match GUID in R/3 table CRMKUNNR)
    SMOFSUBTAB : Mapping & Parameters
    SMOFDSTAT : Download Monitor (R4AM1)
    SMOFFILTAB : Filters (Should match filters in R3AC1 & R/3 Table CRMFILTAB)
    SMOFOBJECT Definition of Objects for Download
    SMOFOBJPAR Parent Objects of an Object in Table
    SMOFPARSFA Middleware Parameter
    SMOFQFIND Queue Finder Table for MW-Queue finder
    SMOFTABLES Definition of Tables for Download

  • How do I list all of the table names in my excel database

    I am writing code for an electronic sales board display in my
    office. unfortunatly the datasource that is available to me is an
    excel file that is updated by the sales manager every day. each
    sales persons information is listed in a different tab and the tabs
    name is the same as the corrosponding sales person. unfortunatly we
    hire and fire many sales people every month so I need to loop
    through a list of the tab names outputing the results as the table
    name for my detail query for each sales rep.
    anyone have this query information?

    Yet another creative use of Excel as something which it's
    not, i.e. a database.
    COM it is if your access must be real-time.

  • Report data binding error unknown column name

    Hi,
    I am having a problem with the new 7.02 update of Report
    Builder. The issue is it's not finding my SQL query.
    I have wrote my query initally in the advance mode, and it
    doesn't seem to reconize it. Is there an issue with this?
    I did manage to fix one of my reports by using the basic mode
    and selecting all my tables and seting my linkage and criteria.
    I have other computers that i have not updated to 7.02 and
    they do not have this issue. Below is the error:
    Error Occurred While Processing Request
    Report data binding error Unknown column name : work_phone.
    Please try the following:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 13-Jul-06 02:33 PM
    Stack Trace (click to expand)
    coldfusion.runtime.report.Report$ReportDataBindingException:
    Report data binding error Unknown column name : work_phone.
    at
    coldfusion.runtime.report.Report.runReport(Report.java:420)
    at
    coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
    at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    This report works in 7.01. So all query variables match with
    a variable in the SQL select statement.
    Anyone have any Ideas??
    Thanks,
    Daniel

    Thank you very much for help.
    The "Unknown column name " is a field still used in my
    report, so I can't remove it.
    After I clear the query in the report and reopen the report
    and apply the same query back to it, I get different error message:
    Element TASKNUM is undefined in QUERY.
    The error occurred in : line 1
    -1 : Unable to display error's location in a CFML template.
    I know for sure this "Element TASKNUM is undefined in QUERY."
    is defined in query. each time it complains something different. I
    get really confused.
    Thanks again.
    Yueming

Maybe you are looking for

  • Domicilio Fiscal , UF e Codigo de Pais

    Prezados, Estamos com a seguinte situacao: Cliente está na ECC 6.0 apos uma migracao meramente técnica, mas todas as configuracoes e cadastros (impostos, e etc.) estao na época da 3.0F, e obviamente usam TAXBRJ. Vi todas as documentações e dicas ref.

  • Auto-Login Not Working!

    So, I've figured out that the auto-login doesn't work if I have a password with numbers or symbols. It works just fine if my password has only letters. What gives?

  • Alternative to enable/disable javascript ?

    I am looking all the time into Firefox options but there is no option into the menu to disable or enable javascript. Is there any alternative solution or only "about:config" trick (which is very uncomfortable)...

  • How Good Is Dynamic RT Likely To Be?

    Will every single effect etc. be able to be previewed in realtime? Or is it just an improvement of the existing RT Preview - depending on the power of the computer and even with the fastest, only able to preview a selection of effects? Ian.

  • Photo Mail

    I'm just finishing putting together a new computer with Windows 7-64, PSE8, and Outlook 2010.  PSE8 does not recognize Outlook as a valid choice under Share.  One of the main features I use PSE for is the Photo Mail function.  Are there any suggestio