Table manual creation

Hi,
I have to manually create around 25,000 tables and indexes. I have made as a script, where i just drag and drop the tables to sql prompt. While doing like this many tables are not getting created. When I try to create manually the uncreated tables one by one then It's getting created.
Why are not all the tables created altogether while I drag and drop?
What is the best parctice to create such huge tables?
Just an example of my table script
CREATE TABLE "DXF_DX_EXCH007" ("RECID" VARCHAR2(200), "XMLRECORD" "SYS"."XMLTYPE") PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "BMPRODNEW" LOGGING NOCOMPRESS XMLTYPE "XMLRECORD" STORE AS CLOB "LOB_DXF_DX_EXCH007" (TABLESPACE "BMPRODNEW" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION CACHE STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT));
Like this I have thousands to create...
Thanks
KSG

Hi,
The tables which are not getting created might be missing semicolon or parenthesis.Can you please check them and try creating them by running from SQL prompt as said above.For best practise write your scripts as below:
eg.sql
sqlplus <<EOF
${DB_USERNAME}/${DB_PASSWORD}@${DB_ORACLE_SID}
set echo on timing on
SPOOL eg.sql
drop table test1;
drop table test2;
Create table test1......;
create table test2 .....;
SPOOL OFF
exit
EOF
SQL>@@eg.sql
Best regards,
Rafi.
http://rafioracledba.blogspot.com/
Edited by: Rafi (Oracle DBA) on Mar 24, 2010 3:10 AM

Similar Messages

  • Manual creation of planned order in REM

    Hi, 
    Can we manually create a planned order in repetitive manufacturing? I know that in case we run MRP , then planned order for finished is created with order type 'PE' due to which it cannot be converted to production order.
    I dont want to run MRP , still can i create a planned order manually with the same order type 'PE' ? I tried in MD11, but not getting option to chose PE as it is not available  in F4 of planned order profile.
    Please help..
    Regards.

    Dear,
    You cannot create a planned order with PE order type manually, because a planned order of REM related material gets order type "PE" only when it is assigned with a Production Version.
    So achieve manual creation of REM Planned order with PE type with the following options,
    I - Using MD11 transaction create a planned order with LA type and assign a suitable REM related Production version to the planned order during creation itself, now this order would automatically become "PE" order type on saving the order.
    2. In the planning table using MF50, you can directly create a planned order for a production line using F7 key.
    Regards,
    Prasobh

  • Scenarios for "manual creation of inspection lot"

    Hi QM gurus!!
       I would just like to ask the main function of QA01 or "<b>Manual creation of inspection lot</b>"
    What are the cases/scenarios where this tcode is used? I would really appreciate if you could help me.. Thank you.
    Regards,
    Heinrick Palad

    HI,
    The table below provides a brief overview of the functions you can use to process inspection lots. Appropriate cross references are included for the more extensive tasks or for those for which additional information is available.
    Prerequisites
    The inspection lot processing functions can be linked to various authorizations that are checked by the system whenever you try to process an inspection lot. The following types authorizations are relevant to inspection lot processing:
    Material authorizations
    The material authorization for QM is stored in the material master. For more information, see  Creating and Changing QM-Specific Data for a Material.
    Inspection type authorizations
    This authorization controls which inspection type the user can access in order to create an inspection lot. The inspection type authorization is plant-specific.
    No authorization checks are executed in QM when an inspection lot is created automatically.
    Features
    Function
    Pushbutton / Menu path
    What you should know
    Accessing the initial screen for the inspection lot processing functions
    Logistics ® Quality management ® Quality inspection ® Inspection lot processing ® Inspection lot
    Creating an inspection lot manually
    See Creating an Inspection Lot Manually
    Changing an inspection lot
    Choose Change
    Enter the number of the inspection lot you want to change and then choose Enter.
    Displaying an inspection lot
    Choose Display
    Enter the number of the inspection lot you want to display and then choose Enter.
    Creating a new batch in an inspection lot
    See Batch Creation in Inspection Lots
    Cancelling an inspection lot
    Call up an inspection lot in the change mode and choose Inspection lot ® Functions ® Cancel lot.
    See Cancellation of an Inspection Lot
    Blocking/unblocking an inspection lot
    Call up an inspection lot in the change mode and choose Inspection lot ® Functions ® Block lot.
    To unblock an inspection lot, choose Inspection lot ® Functions ® Unblock lot.
    When you block an inspection lot, you cannot process the lot further. You must unblock the lot if you want to perform any additional operations.
    Transferring stock in an inspection lot
    See Stock Transfers
    Making corrections to inspection lot quantities
    See Corrections to Inspection Lot Quantities
    Creating a QM order
    Call up an inspection lot in the create or change mode and choose Goto ® Insp. lot acc. assgnmt.
    See QM Order Creation
    Resetting the sample calculation
    See Resetting the Sample Calculation
    Printing inspection instruction/sample-drawing instruction
    See Printout of Instructions
    Approving a task list
    Call up an inspection lot in the create or change mode and choose Inspection lot ® Functions ® Give approval
    If the task lists in your company must be approved before they can be used, you should make sure that only approved task lists are assigned to an inspection lot. If the system selects a task list that has not yet been approved, you can use this function to approve the task list (provided you have the necessary material authorization).
    this link help u.
    http://help.sap.com/saphelp_erp2004/helpdata/EN/be/00bbe7ca5311d2961800a0c930e04c/frameset.htm
    reward is usefull.
    tahnks.

  • Is BDC's CALL TRANSACTION 'VA01' is not equals to ONLINE(manual) creation?

    Hi Experts,
    Ours is IS-Oil.
    If the user do not enters/inputs OIC_MOT (Mode Of Transport) at ITEM level on the External Details popup, SAP will get it from Customar Master-KNA1 and populates on it, because its a mandatory field (OIC_MOT), but, do not throws an Error message and interupts the sales order creation process.
    We have a inbound IDOC posting function module for sales order (VA01), which posts the sales oreders by using BDC (CALL TRANSACTION 'VA01') in the system. In this function module, we are not populating the OIC_MOT field contained segment by hoping SAP will populate/default it while it hits CALL TRANSACTION 'VA01' of my BDC of my FM of IB IDOC. But, SAP is not defaulting/populating and throwing error message (saying 'OIC_MOT field is a mandatory input field' data is missing) and IDOC is failing, pls. let me know Wht its so? is the BDC's CALL TRANSACTION 'VA01' is not equals to ONLINE (manual ) creation of sales order?
    Thank you

    Hi
    Several transactions can ba a different behavior between online and bdc process, but if you simulate the trx by SM35 you should find out these gaps
    I don't know OIL vertical, but the main transactions have a bapi can be used insted of BDC program (BAPI_SALESORDER_CREATEFROMDAT2, but perhaps there's a particular BAPI for OIL).
    Max

  • Check on Manual creation of PM order

    Hi,
         I have a business requirement that the manual creation of a particular order type should be stopped i.e. when i am going to create that order type through IW31 or the generation of that order type even through a notification should not be possible.The  system should not allow that.Pls. reply.
    Edited by: ind kumar on Aug 4, 2011 3:07 PM

    Hi
    Please use the user exit IWO10009.
    we can add the condition that the field "Order Category Indicator Plant Maintenance"-AFIH-AKKNZ has below values, you can restrict them to create manualy.
    "Category
    AFIH-AKKNZ"     Short Descript.
    blank     Order created online
    1     Order created historically
    2     Order created subsequently
    3     Order from notification
    4     Order from maintenance plan
    5     Order from reference
    6     Follow-up order
    7     Generated order from IM_SM_CREATE_ORDER
    8     Order for an SD service item
    9     Order for an SD repair item (RMA)

  • Not scheduling on manual creation of planned order

    Creating planned order through MD11 and noticed there scheduling not done and capacity planning not done and on doing scheduling manually dates altered and capacity planned which are appearing in CM01 for the respective week
    Planned order created through MRP are fine with scheduling an capacity planning .
    Please let us know what could be a reason for not updating on manual creation.

    Hi
    This is standard behavior of SAP as when you create the planned order through MD11 manually , you need to do the detailed scheduling manually by executing schedule in Edit>Schedule.
    Check this thread:
    Need Automatic Lead-time scheduling in Planned Order using MD11
    Regards,
    Anupam Sharma

  • MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)    -   NOT TO BE ALLOWED

    MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)   -  NOT TO BE ALLOWED while creation of Process Orders.

    Hi,
    Check t code OMCZ whether internal Batch no assignment is active or not.
    From F1 help
    In this step:
    you activate internal batch number assignment
    you define whether internal batch number assignment is allowed for goods receipts that have an account assignment
    Standard settings
    The standard version of the SAP system contains a predefined number range.
    Further notes
    Batch number assignment uses two function model exits with which you can define templates for batch numbers. You make the necessary settings in work step function module exits for internal batch number assignment.
    The system checks whether the assigned batch number already exists in the system. Should the number already exist, the function is terminated.
    When creating a client by copying another client, please note that internal number assignment is not active in the target client. You must activate it manually.
    Regards
    Anupam Sharma

  • Why there is no manual creation of deliveries for STO...

    Individual(VL01N) : You can create one delivery for each sale order on the screen. There is no manual creation of deliveries for STOu2019s. Transaction VL01N
    Why there is no manual creation of deliveries for STO...
    Thank you very much.
    Hoolaa
    Edited by: Hoo Laa on Mar 28, 2011 12:28 PM

    hi ,
             you have  to create a sale order process to delivery the tcode VL10B for STO Porcess. not VL01N.
    Regards,
    A.Sithanandan

  • Do i need to create table manually for disconnected analytics?

    Hi, i wanna ask, when i create a disconnected analytics client, do i need to create the table manually for SQL Anywhere? Or it has another means?
    Thanks.

    Thanks John
    I just find the answer
    Yes, it's recomeded to add new group , for instnace If I have 10 group from 1 to 10 then the standby shoudl be from 11 to 20
    Thanks I found the answer.

  • How to fill the table manually

    Hi guys,
    may I fill z table manually and how?
    thanks
    Nihad

    Hi,
    Please create a Table maintainance generator for the Table created, and then either use SM30 or SE16 or SE16N to fill the entries to that table.
    Please dont use SE11 to create entries to the database table created, because, If you are creating entries using SE11, then these entries will not be available in Quality system when you have transported your table from Development system to quality system.
    But those entries created using SM30 or SE16 or SE16N, will ask for a TR name and you can save the entries under that TR.
    Best Regards,
    Suresh

  • How to update PAYMENT tables manually from backend after invoice creation.

    Hi,
    I am Financial beginner. how to update payment details from invoices using backend in P2P.
    Thanks and Regards,
    Srikanth

    I have created a invoice and updating payment details.
    I just need small information regarding payaments.
    After invoice we create payments using validate, pay in full.
    But What actually happens when we do validate and pay in full.
    and what are the fields and tables effected in this process.FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 [ID 296559.1]
    R12 Docs
    http://docs.oracle.com/cd/E18727_01/index.htm
    eTRM
    http://etrm.oracle.com/
    Thanks,
    Hussein

  • Manual creation of PPDS Planned Orders by start date and time

    Hi,
    When an order is manually created in any ppds standard transaction the start date is calculated according to the availability date entered, the order quantity and the master data 
    Is it possible to manually create an order based on the start date and then the availability date is calculated according to the order quantity and master data?
    Thanks
    CTF

    CTF,
    You can 'forward schedule' manually created orders.
    Scheduling direction is dependent on the Strategy profile.  During order creation, you can change this.
    When on the order create screen (/sapapo/rrp5), select the strategy button at the top.  This will bring up the default strategy for your userid.  You can alter the "planning direction" to be 'forward' or 'forward & reverse' depending on your business requirements.  Selecting Save will then make this scheduling strategy your default; otherwise just hit green checkbox.
    Now the order entry screen will have 'start date' entry box.  Avail date will then be calculated.
    Best Regards,
    DB49

  • To save the sales order number in custom table while creation of the order.

    Hi Experts,
    Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
    Regards,
    Sunitha

    Hi Sunita,
    You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
    You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
    Regards,
    Ravi Kiran

  • BRtools table space creation error

    hi,
    Iam trying to create new table space in my R/3 system. When i went to brtools - space management sytem throwing error owner failed.I tried with all users to login like ( <SID>adm,administrator etc ...)even then same problem.Could you please suggest how to create table space with what login id
    Error:
    Main options for creation of tablespace in database WA6
    1 - Tablespace name (tablespace) ......... [PSAPECDATA]
    2 - Tablespace contents (contents) ....... [data]
    3 - Segment space management (space) ..... [auto]
    4 - SAP owner of tablespace (owner) ...... [EC5ADM]
    5 - Data type in tablespace (data) ....... [both]
    6 # Joined index/table tablespace (join) . []
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRSPACE time stamp: 2006-06-14 21.08.45
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0824E Owner EC5ADM not found in database or not SAP owner
    BR0691E Checking input value for 'owner' failed
    BR0669I Cannot continue due to previous warnings or errors - you can go back to
    repeat the last action
    BR0280I BRSPACE time stamp: 2006-06-14 21.08.45
    BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
    Please suggest.
    - Cheers

    Login as ora<sid> and run brtools. Tablespace owner will be SAP<SID> or SAPR3 depends upon your version.
    Thanks
    Prince

  • Refresh table after creation of new Toplink BO

    Hi,
    i have the following Problem and i hope someone can help me. I use ADF11g/Taskflows with TopLink-mapped BOs (no ADF BC).
    Consider following Taskflow(s):
    main activity is a jsff-page (view) showing a table of BOs. From this view there are two action-outcomes defined called "edit" and "create". The edit-action calls another Taskflow constisting of one pageFragment showing the detailForm of the given BO. This Taskflow has one input and one output parameter (the BO to edit) and has two exists called "save" and "cancel". The add-Action calls a Method called "createNewBO" first and then calls the mentioned Taskflow also. Every Taskflow has ist own managed Bean in the pageFlowScope working as a Controller and DataControl for the TaskFlow and directly included views.
    The edit-action works fine. The add action also except that the table from the default activity of the first taskflow does not refresh after return from the second Taskflow. I tried to set the Refresh-Property in the PageDef to all possible values in combination with the RefreshCondition but no combination works. I can make a manual refresh or change the sorting then the new BO is shown in the table.
    Is there a possibility to call a refresh of a jsff from a taskflow or can i force the refresh on entering the jsff?
    I'm really stuck and appreciate any help ;)
    Friedrich

    You can try this:
    - on your taskflow diagram select the page that contains the table you want to refresh, and add a Page Parameter (from #{true} to #{viewScope.refresh})
    - in pageDef for that page add one invokeAction in executables and point it to methodAction that fills the iterator you want to refresh
    - for newly created invokeAction, set Refresh to ifNeeded and Refresh condition to #{viewScope.refresh}
    This should refresh the iterator each time the page (fragment) is loaded.
    Hope this helps!
    Pedja

Maybe you are looking for

  • How to see whether GR has been done on PO or Inbound Delivery

    Hi Gurus How to know whether GR has been done on PO or inbound delivery. Is there any report or tables through that we can see this. Regards Irfan

  • Questions about RH Server features

    Hi Adobe users, we're considering to recommend RoboHelp Server as a publishing solution to a client. They are already using RoboHelp and want to make the contents available online. Another issue is centralized management of their help content documen

  • Using IP address in order to open a web page

    Hello all, For example, if I want to open the page www.google.com, i simply write this address in the address bar, then I press enter, and I see the page of the google in my browser. However, instead, if i write the IP address of the page www.google.

  • Page background loads before content

    I am wondering what causes this page to always load the background color before the page contents.... http://itunahotel.com/Events.html

  • Missing .xml file and ratings...

    Hello, I moved my itunes collection to another sdd disk, but forgot to consolidate, now i have lost my ratings. Ithought i could get the .xml file back on my timecapsule back up so was not too worried, only to realise that TC doesnt keep the .XML fil