IMPORT DATA TO USER DEFINED TABLESPACE

I HAVE FACED A PROBLEM REGARDING IMPORT DATA IN A USER DEFINED TABLESPACE.FOR DOING THIS AT FIRST I HAVE CREATED A TABLESPACE SAY USERS ASSOCIATED WITH A DATAFILE NAME AND PATH IS 'D:\ORACLE\ORADATA\ORCL\USERS01.DBF' ITS SIZE IS 200M.IN THE SAME PATH THERE IS A TEMPORARY TABLESPACE ASSOCIATED
WITH A DATAFILE NAMED 'D:\ORACLE\ORADATA\ORCL\TEMP01.DBF' ITS SIZE IS 80M.
THEN ASBESCO USER CREATED IN USERS TABLESPACE THROUGH THIS SQL COMMAND.
CREATE USER ASBESCO IDENTIFIED BY ASBESCO
     DEFAULT TABLESPACE USERS
     TEMPORARY TABLESPACE TEMP
     QUOTA UNLIMITED ON USERS
     QUOTA UNLIMITED ON TEMP;
GRANT PRIVILAGE TO ASBESCO USER BY THIS SQL .
GRANT CONNECT,RESOURCE,DBA TO ASBESCO;
MY EXPORT FILE NAME IS ASBESCO.DMP WHICH IS EXPORTED FROM ANOTHER MACHINE. I WANT TO IMPORT THIS INTO MY MACHINE'S SPECIFIED TABLESPACE. ITS SIZE IS APPROX 26 MB.
NOW I MPORT ASBESCO.DMP FILE THROUGH THIS COMMAND..
IMP SYSTEM/<SYSTEM PASSWORD> FILE= ASBESCO.DMP FROMUSER=ASBESCO TOUSER=ASBESCO.
AFTER SUCCESSFULL IMPORT OPERATION I HAVE SEEN ALL OBJECTS IN ASBESCO USER ARE CREATED IN SYSTEM TABLESPACE NOT USERS TABLESPACE. WHY?
IT IS TO BE NOTED THAT I HAVE NOT MENTIONED THE DEFAULT TABLESPACE 'USERS' WHEN I CREATED MY USER OBJECTS.

Please change to lower case letters
If the user has UNLIMITYED tablespace privilige
Revoke it
If the user has a privelegs on a tablespace
Revoke it
Create a new tablespace and assign it to the user as Default tablespace.
then import

Similar Messages

  • Import data in user define table through DTW.

    Hi experts,
    Can any one tell me how can i import data from excle in User define tables through DTW. Is any other way/tool avaliable to
    import data from excel sheet to User define tables
    BR,
    Hari

    Hi Hari,
    I suppose u did not do the following..
    1. Open DTW, in the menu click on advanced and clik on maintain interface...
    2. Now here select the UDT which u want to impot the data.
    3. right click on the UDT and click on Create template for structure
    4. NOw u use this tempalte and try.
    Please inform of the outcome  so that i can think of another soluton.
    Hope it helps,
    Vasu Natari.

  • Import data to User defined table

    Dear All
    I created a user define table , it is so simple . and I make it as master object and also define it as a form.
    I am going to import data from excel file, I also prepared import template form DTW (maintenance interface)
    but I cannot import data. always it shows me error (65172).
    Would be grateful if you can advice me in this matter.
    thanks

    Check this Note 804685 - Add records to UDO tables using the DI API
    in this link [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=804685]

  • Update the data in user-defined table

    Dear All,
    Is there anyway we can insert / update the data in user-defined table in a batch instead of update it from the interface one by one? Our customer has 1,000+ data need to be imported.
    They are on SAP2007A SP00 PL45, SQL 2005, CA localization. Thanks a lot.
    Regards,
    yuka

    Dear Yuka,
    If it is UDT, you may use any SQL query to insert, update it. It is not under SAP support anyway.
    Thanks,
    Gordon

  • Access Imported Archive in User Defined Function

    Hi!
    I want to access a XML file in an user defined function in a message mapping. The XML file is included in an imported archive. I need the information out of this XML file for configuring an extended receiver determination.
    Does anyone know how to solve this?
    Best regards,
    Daniel

    Hi Krishna,
    a property file will be a solution but is has to be stored in the filesystem. In my scenario I prefer a file (not neccessary xml) which is editeable in the IR.
    I tried something in this way (just for testing):
    try {
         DocumentBuilderFactory factory = null;
         DocumentBuilder builder = null;
         Document document = null;
         Element element = null;
         factory = DocumentBuilderFactory.newInstance();
         builder = factory.newDocumentBuilder();
         document =  builder.parse(Container.class.getResourceAsStream("routing.xml"));
         element = (Element)document.getElementsByTagName("BUSINESS_SYSTEM").item(0);
         return element.getNodeValue();
    } catch (Exception e) {
         return "Crash: "+e.getMessage();
    But it crashes, because the resource "routing.xml" cannot be found. I tried to add the namespace or the name of the imported archive or both as prefix, but it don't work. How can I find out under which address/url I can open the xml document?
    Best regards,
    Daniel

  • Error Using imported .JAR in user-defined function

    Hi All,
    I am trying to use jar files provided to me in user defined function as follows:
    DataEncryption temp = new DataEncryption();
    String ret = new String();
    ret = temp.getEncryptedData(a);
    return ret;
    All jar files working perfectly in java software, But when i am trying to test the mappings by using above user-defined function.
    I am catching the error and put in target field then, I am getting following message in target field:
    "An error occured in getEncryptedData method :  java.lang.SecurityException: The provider SunJCE may not be signed by a trusted party"
    Please help in finding the error.
    Regards

    Rohan
    Check if the XI Server JRE is the same as the client machine on which you have compiled your JAR.
    1.4 has had this issue and i remember seeing it in a few forums.The problem should not occure in 1.5

  • Importing data into a different tablespace

    How do we import an user level export file into another user and a different tablespace from the tablespace clause specified in the export file ?
    Thanx in advance
    Abhijit

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • Import data and ındexes diffrent tablespace

    Assume that
    I have tablespaces "user_data" and "index_data".
    If I export the entıre schema
    and
    import it into another database, all the data and index are stored in one tablespace.But they are in diffrent tablespaces in the source.
    What should I do to ımport ındexes to diffrent tablespace?
    Oracle 10g

    In Import, there's an parameter "indexfile".
    imp file=abc.dmp show=y indexfile=abc.sql fully=y
    will generate a sql file with metadata definition.i.e. Table creation scripts/index creation scripts.
    modify the script and change the tablespace names for the indexes and execute them.

  • How to add data in User Defined table

    Hello Experts,
    I have design form in screen painter , 3 text boxes and labels, 2 add buttons with uid 1 and 2 , and
    i have created tables and fields maually and registered new object i have also mentioned table name and alias in property box with fields i have created with userdefined fields as   ex: U_age etc and table @EMP in property box 
    I am loading this form as xml file to SAP B1 every thing works fine but when i click add button no data is added to table what is the problem
    Please suggest

    Hi,
    Are you using UDO or not?
    If not you have to write code by hand for manage data insert, update, search, and so on...
    Regards.
    Diego

  • Save data into user defined table while save button is triggered in VF01.

    Hi experts,
                  I got a requirement related to performance in our business process.Before saving the billing document in vf01 that means all the data is entered in vf01 and ready to click on save.
             While we click on SAVE button the data is transfered to the related tables like VBRK,VBRP,KONV,VBKD.......so on.
              I created a sales register depending on the above tables.As there are many records it is taking time and if we give 2years data to be displayed it is going to run time.For this i created a ztable and tried to insert in to ztable in the background by an abap program.Till this it is fine but in the database the table i created is taking more space when compared to other tables like vbrk,vbrp,konv,ekko,ekpo.....(huge data tables).
                So i decided to insert the required data of VF01 tcode into ztable simultaneously while they are being saved in VBRK,VBRP,KONV,VBKD.
                    In what way i have to proceed to insert required data of vf01 into my own ztable when we save button is triggered.Pls help me with a sample code if possible.
                  If possible please let me know why ztable is occupying more space in database as  i mentioned above.
                    Helpful answers are rewarded without failure.
    Thanks,
    Anand.

    What is the purpose of all this? Why do you need to duplicate the data in some Z table?
    If this is for some kind of reporting purposes, then look into using the Logistics Info System:
    http://help.sap.com/saphelp_470/helpdata/en/c1/37544e449a11d188fe0000e8322f96/frameset.htm

  • Error while Importing Data in UDO.

    Hello,
    I had created one User defined table with Master Datatype.
    I register this Table and creating Master type of UDO.
    I created template for this UDO throgh DTW.
    I am using Following Filed in the template.
    Code, Name, Field 1 and Field 2.
    While i am importing data using this template through DTW using, i got following error.
    Master Data Type user Table can not add row65171.
    Regards,
    Arpit Shah

    Dear,
    Please see the Note 804685 for information about how to
    import data into user defined tables linked to an object type.
    It is not possible to import data into UDO tables via the DTW.
    Regards
    Apple

  • Import data into an UDF

    Hi experts,
    I know I can import data through DTW. but since it has fixed format of template. how can I import data into user-defined fields?
    Thanks...

    Hi Vic,
    Open the DTW, Log on to a company,
    Under the menu --> Advansed, click on the Maintain Interface.
    A window appears
    Select the Object from drop down field, Ex. oBusinessPartners,
    Click on the + Sign next to the expand the desired object.
    You can find all the Userdefined fields there in the tree view.
    Right click on parent node of the Tree and click on Create Template for the structure.
    A Save As window appears to save the new template,
    Give the path and save the file,
    Now the new Template contains all the Userdefined fields also.
    Regards
    Reno.

  • Recreate USER - User Defined Report

    Dear all,
    you might find this useful!
    For those who are interested in saving the definition of a user before dropping him.
    I have created this user-defined report. You may save this and import it as user defined report.
    If you have additions please let me know:
    -------------- CUT HERE -------------------
    <?xml version="1.0" encoding="UTF-8" ?><displays><display id="37db04bc-0120-1000-8003-a609686616e5" type="" style="Code" enable="true">
         <name><![CDATA[RECREATE User]]></name>
         <description><![CDATA[Create a script to recreate a user]]></description>
         <tooltip><![CDATA[]]></tooltip>
         <drillclass><![CDATA[null]]></drillclass>
         <CustomValues>
         </CustomValues>
         <query>
              <sql><![CDATA[select line from
    select 1 as line_no,
            'CREATE USER ' || username || CHR(10) ||
            '  IDENTIFIED BY VALUES "' || password || '"' || CHR(10) ||
            '  DEFAULT TABLESPACE ' || default_tablespace || CHR(10) ||
            '  TEMPORARY TABLESPACE ' || temporary_tablespace || CHR(10) ||
            '  PROFILE ' || profile ||
            '  ;' || CHR(10) || CHR(10) as line
    from dba_users
    where username = :USERNAME
    UNION
    SELECT 2 as line_no,
        'ALTER USER ' || username || CHR(10) ||
        '    QUOTA ' || bytes || ' ON ' || tablespace_name ||
        ';' || CHR(10) || CHR(10) as line
    FROM
        dba_ts_quotas
    where username = :USERNAME 
    UNION
    select 3 as line_no,
           'GRANT ' || privilege || ' TO ' || grantee || decode(admin_option,'NO',' ','YES',' WITH ADMIN OPTION ') ||
           ';' || CHR(10) || CHR(10) as line
    from dba_sys_privs
    where grantee = :USERNAME
    UNION
    select 4 as line_no,
           'GRANT ' || privilege || ' ON ' || owner || '.' || table_name || 
           '   TO ' || grantee || decode(grantable,'NO', ' ','YES',' WITH GRANT OPTION ') ||
           ';' || CHR(10)  as line
    from dba_tab_privs
    where grantee = :USERNAME
    UNION
    select 5 as line_no, ' '|| CHR(10) as line from dual
    UNION
    select 6 as line_no,
          'GRANT ' || granted_role || ' TO ' || grantee || decode(admin_option,'NO', ' ','YES',' WITH ADMIN OPTION ') ||
          ' ;' || CHR(10) as line
    from dba_role_privs
    where grantee = :USERNAME
    UNION
    select 7 as line_no, ' '|| CHR(10) as line from dual
    UNION
    select 8 as line_no, 'ALTER USER ' || :USERNAME || ' DEFAULT ROLE ' || defrole || ' ;'  as line from
    (select rtrim(listagg,',') as defrole from (
    select
       xmltransform
          sys_xmlagg
             sys_xmlgen(granted_role)
         xmltype
           '<?xml version="1.0"?><xsl:stylesheet version="1.0"
              xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <xsl:template match="/">
                <xsl:for-each select="/ROWSET/GRANTED_ROLE">
                  <xsl:value-of select="text()"/>,</xsl:for-each>
              </xsl:template>
            </xsl:stylesheet>'
      ).getstringval() listagg
    from dba_role_privs
    where grantee = :USERNAME
    order by line_no
    )]]></sql>
              <binds>
                   <bind id="USERNAME">
                        <prompt><![CDATA[Name of the User to recreate:]]></prompt>
                        <value><![CDATA[TRAINER01]]></value>
                   </bind>
              </binds>
         </query>
    </display>
    </displays>
    -------------- CUT HERE -------------------

    1) Create user defined parameters in builder
    2) While running in web give paramform=yes. This will cause paramform to be displayed and user can enter the values
    Thanks
    The Oracle Reports Team

  • How to fill the records from a User Define Table to PO item Grid

    Hi To all,
    I need to fill data from User Define table records into Purchase Order Item Grid.
    I created an UDF Filed in PO - Header Part - "PRS"(Filed Name)
    By using Formatted Search in itemcode column, i called a query,
    "Select itemcode, qty from (@user define tablename) where PRS = $http://OPOR.U_PRS"
    For eg:
    Output from querry
    ItemCode Qty
    ABC 1
    DEF 2
    DFG 7
    SDGD 9
    By using formatted search it is filling only first data in to itemcode column in PO Grid.
    Please help, how can i fill ALL the data in to my PO Grid?
    Thanks in Advance
    SAGAR

    The easisest way is to create datasource and the result bind to grid.
    Datasource:
               oDBDataSource = oForm.DataSources.DBDataSources.Add("@usertablename")
                Dim xoConditions As SAPbouiCOM.Conditions
                Dim xoCondition As SAPbouiCOM.Condition
                xoConditions = New SAPbouiCOM.Conditions
                xoCondition = xoConditions.Add
                xoCondition.BracketOpenNum = 1
                xoCondition.Alias = "u_zn"
                xoCondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                xoCondition.CondVal = "cond"
                xoCondition.BracketCloseNum = 1
                oDBDataSource.Query(xoConditions)
    binding (example for matrix, in grid is simillar)
                oMatrix.Clear()
                Dim cols As SAPbouiCOM.Columns
                Dim column As SAPbouiCOM.Column
                cols = oMatrix.Columns
                column = cols.Item("colX")
                column.DataBind.SetBound(True, "@usertable", "u_x")
    oMatrix.LoadFromDataSource()
    hoep it helps
    Petr

  • Addition of user defined fields in Results Recording screen (QE01)

    HI All,
    We've a business requirement to add user defined fields in results recording screen (Character Overview screen - QE01), so that the user will enter data in user defined fields during results recording. and the data entered in user defined fields should be saved in data base table along with actual results given by the user in order to retrieve data for reporting purpose.
    Please suggest valuable solutions to acheive the requirement.
    Thanks & regards,
    rajesh

    Hi Sujit,
    Thanks for your reply,
    We've tried using the " QEEM0029 User-Exit for Characteristic Overview Subscreen , however with "QEEM0029"  exit, we are only able to add fields to the characteristics overview screen and there is no provision in this exit to save the data entered in the user fields to a table (QALS,QAMR, QASE).
    Please suggest!
    Thanks & regards,
    rajesh

Maybe you are looking for

  • Error in dbca with orapwd file

    dear all. i want to install 9204 64 bits in centos 4.8 64 bits i installed the rpms and when i want to create the database this show the next error: error in process: /u01/app/oracle/product/9.2.0/bin/orapwd My *.bash_profile* have the next lines: #

  • Problem while working  with sqlserver

    hello i am a user of jdeveloper using swing/jclient in my application. i am using sqlserver with my jdeveloper. i had followed the path necessary for foreign database. i had made a connection with sqlserver . connection is created. but when i test my

  • Data retrieval from a loaded tree in WD ABAP

    Hi All,          I have a node 'ENTRY' and have a recursive sub node called 'SUB_ENTRY' now assume that i have created a 10 level tree by creating 9 recursive nodes. Now i would like to fetch or retrieve all the data from this tree.       So can you

  • All software updates installs stall on 'configuring installation'

    Hello, I've noticed that I've been forced to manually download and install the past three updates for my computer. The 2008-007 security, RAW 2.3, and now the Safari 3.2 update. I've noticed several others with the same problems regarding the individ

  • White Balance - Eye Dropper and Monitor Calibration

    Does the eye dropper correctly set the white point even if the monitor is not correctly calibrated? I do calibrate monthly with the XRite but I'm not sure that the calibration is perfect. I use a grey card, and the eye dropper in LR. So even though I