Manual Creation of Database

DATAFILE '/u03/oradata/oracle/sys01.dbf'
SIZE 50M AUTOEXTEND ON NEXT 30M MAXSIZE 150M
MAXDATAFILES 240
I understand that these datafiles will hold tables for the data dictionary and and system undo segment. I understand that the maximum size of this datafile is 150M. I dont understand what MAXDATAFILES might mean.
I read that they are "The maximum number of datafiles that can be open"
Does this mean we can have 240 separate data files of up to 150M each in size? What does one datafile amount to? 1 datafile = 150M ? Does this mean we could have 240 * 150M ?
Thanks for looking at this newb question

The SIZE info means:
- create teh datafile using 50M of space
- if the datafile fills up, keep extending it by 30m, up until you reach 150m (if you need more space, then you will start seeing errors that the Oracle could no longer extend the tablespace by XXXX)
The MAXDATAFILES means that you can have up to 240 datafiles in your database. In most cases, this is enough. If you end up needing more in the future, you would have to recreate the controlfile to increase this number. You will need a minimum of one datafile per tablespace, so if you know how many of these you will need, this may help in picking the right number.

Similar Messages

  • Problem in connecting after manual creation of database in 9i.

    Hi,
    I had installed Oracle 9i and I tried to created the DB manually. I tried all possible ways to connect, but it was in vain. I tried - connect / as SYSDBA(ORA-24314: service handle not initialized), connect / as SYSDBA/password (where password is the one given during the creation of the service - as suggested in the Post installation guide of Oracle, just to receive an invalid option in connect string error) and connect "/ as SYSDBA" (ORA-12560: TNS:protocol adapter error).
    Please throw some light on this problem.
    Thanks in advance.
    Vijay

    I have the same problem with Personal Oracle 8i. I tried to create a database manually and the creation failed the first time because Oracle claimed it ran out of process memory. I was never successful in getting the database functioning and couldn't even deleted it although I did manage to delete the service.
    Now, whenever I use SQLPlus from the command prompt, I get the TNS Protocal Adapter error. SQLPlus worksheet and SQLPlus under the "Developer" menu both work and I can use the JDBC driver successfully.
    Anyone have any suggestions?
    Dianne

  • RC-00118: Error occurred during creation of database

    adcrdb.sh started at Mon Nov 14 16:16:13 EAT 2011
    The environment settings are as follows ...
    ORACLE_HOME : /u04/d01/tech_st/11.2.0
    ORACLE_SID : JCLONE
    TWO_TASK :
    PATH : /usr/bin:/u04/d01/tech_st/11.2.0/bin:/usr/bin:/usr/sbin:/u0 4/d01/tech_st/11.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/u04/ d01/tech_st/11.2.0/appsutil/clone/bin/../jre/jre/bin:/usr/lib/qt-3.3/bin:/usr/ke rberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbi n:/usr/bin:/usr/X11R6/bin:/root/bin:.
    LD_LIBRARY_PATH : /u04/d01/tech_st/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib :/u04/d01/tech_st/11.2.0/ctx/lib
    Executable : /u04/d01/tech_st/11.2.0/bin/sqlplus
    The log information will be written to
    /u04/d01/tech_st/11.2.0/appsutil/log/JCLONE_oracle/adcrdb_JCLONE.txt
    Creating the control file for JCLONE_oracle database ...
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:13 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    Database mounted.
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-01119: error in creating database file
    '/u04/d01/tech_st/11.2.0/dbs/MISSING00015'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4754
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
    ERROR at line 1:
    ORA-01109: database not open
    Error Running create/replace library with adupdlib.sql
    ORA-01109: database not open
    PL/SQL procedure successfully completed.
    File created.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    exit_code=0
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:32 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oracle
    sDbDomain : jtl.co.ke
    sDbPort : 1524
    sDbSid : JCLONE
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oracle.jtl.co.ke:1524:JCLONE
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE)))
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE.jtl.co.ke)))
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:595)
    Current database Version is 11.2.0.2
    Apps Version is 11.5.10.2
    RUP version is 6
    Forms Patchset version is 19
    Please advise how to resolve this error ?
    Regards
    Mohammed.

    Please refer to these docs/links.
    Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
    Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01503+AND+ORA-01159+AND+ORA-01110&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • 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

  • RC-00118: Error occurred during creation of database Raised by oracle.apps.

    Hi Experts,
    Please note i am doing the clonning from production to test server.
    Production Server -
    1. Run the adpreclone.pl on the apps & db tier.
    2. run the autoconfig on the apps and db tier.
    3. shut down the production instance.
    4. Moved the files and started the clonning process on the db tier i am getting the below issue.
    My current E-Business Suit Version is R12.0.4 Database Version is 10.2.0.3. Operating system is SUN SPARC 64 BIT SUN SOLARIS 10.
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : proddb
    sDbDomain : clientdomain
    sDbPort : 1530
    sDbSid : TEST
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    adcrdb.sh started at Wed Mar 21 18:09:54 WAT 2012
    The environment settings are as follows ...
    ORACLE_HOME : /erptestdata2/u01/d01/tech_st/10.2.0
    ORACLE_SID : TEST
    TWO_TASK :
    PATH : /erptestdata2/u01/d01/tech_st/10.2.0/perl/bin:/erptestdata2/u01/d01/tech_st/10.2.0/bin:/usr/ccs/bin:/usr/sbin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/sbin:/usr/bin:/opt/EMCpower/bin:/etc/emc/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,SPARC-Enterprise/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin
    LD_LIBRARY_PATH : /erptestdata2/u01/d01/tech_st/10.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/erptestdata2/u01/d01/tech_st/10.2.0/ctx/lib:/erptestdata2/u01/d01/tech_st/10.2.0/lib32
    Executable : /erptestdata2/u01/d01/tech_st/10.2.0/bin/sqlplus
    The log information will be written to
         /erptestdata2/u01/d01/tech_st/10.2.0/appsutil/log/TEST_proddb/adcrdb_TEST.txt
    Creating the control file for TEST_proddb database ...
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:09:54 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "TEST"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01167: two files are the same file/group number or the same file
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-00210: cannot open the specified control file
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "TEST"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01167: two files are the same file/group number or the same file
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
    ERROR at line 1:
    ORA-01109: database not open
    Error Running create/replace library with adupdlib.sql
    ORA-01109: database not open
    PL/SQL procedure successfully completed.
    File created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    exit_code=0
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:10:16 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : proddb
    sDbDomain : clientdomain
    sDbPort : 1530
    sDbSid : TEST
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    Please advise ASAP.
    Regards
    Mohammed.

    Nikki,
    Check alert<SID>.log file for more details about the error.
    It looks like that the source database was not cleanly shutdown before copying the files to the target node. Please do the following and check then:
    SQL> connect / as sysdba
    SQL> startup mount;
    SQL> recover database using backup controlfile until cancel;
    -- type CANCEL
    SQL> alter database open resetlogs; If the above does not help, then shutdown the source database normally (make sure it is down), re-copy the files and start the cloning process again.

  • 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

  • Creation of Database View , Projection View

    Hi ABAP EXPERTS,
    Can anyone plz send me the step by step creation of DATABASE and PROJECT VIEWS. Just steps by step explanation will do , screen shots will be more than appreciated.
    Kind Regards,
    Sunil Ranal.

    Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    Check this link for database view creation.
    http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm
    Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed. A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    Check this link for Projection view creation.
    http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ed20446011d189700000e8322d00/content.htm
    Regards,
    Maha

  • 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)

  • Cloning Issue RC-00118: Error occurred during creation of database

    Friends,
    I execute following scripts on source system preclone.pl dbTier  &perl adpreclone.pl appsTier
    then take the cold source backup and transfer on another machine for cloning but when i am executing cloning script on db tier i am getting below mention error after 50% completion. I have very limited time and i cant go back on source system for fresh backup, please help me to sort out his issue.
    -------------------ADX Database Utility Finished--------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
            at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyData
            at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDat
            at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyData
            at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier
            at sun.reflect.NativeConstructorAccessorImpl.newInstan
            at sun.reflect.NativeConstructorAccessorImpl.newInstan
            at sun.reflect.DelegatingConstructorAccessorImpl.newIn                      rce)
            at java.lang.reflect.Constructor.newInstance(Unknown S
            at oracle.apps.ad.clone.util.CloneProcessor.run(CloneP
            at java.lang.Thread.run(Unknown Source)
    Hopes you will support.
    Regards
    Irfan Ahmad

    plz check :
    http://doganayn.blogspot.in/2013/11/rc-50004-fatal-error-occurred-in.html
    Rapid Clone Failed While Running "Adcfgclone.pl dbTier": ORA-01194 and RC-00118 (Doc ID 375389.1)
    Troubleshooting RapidClone issues with Oracle Applications R12 (Doc ID 603104.1)
    Troubleshooting RapidClone issues with Oracle Applications 11i (Doc ID 364565.1)
    Regards,
    Haafiz

  • 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

  • Can I create a non-Unicode database manually via create database segment

    Hi
    As unicode encode use more bytes than 2-bytes encode (for instance, ZHS16GBK), and XE has the limit with 4GB totally. So, can I create a non-Unicode (for instance, ZHS16GBK) database manually via create database segment? or I just could use unicode?
    Thanks.
    Samuel

    Could you load or paste this scripts? Well, the script is (obviously) a shell script, useless on Windows, unless you have some emulator (CygWin, MKS toolkit or similar). The following is the Sql part :
    sqlplus /nolog <<END
    spool xe_createdb.log
    connect sys/oracle as sysdba
    startup nomount pfile=$filedir/init$ORACLE_SID.ora
    whenever sqlerror exit;
    create database
      maxinstances 1
      maxloghistory 2
      maxlogfiles 16
      maxlogmembers 2
      maxdatafiles 30
    datafile '$filedir/system.dbf'
      size 200M reuse autoextend on next 10M maxsize 600M
      extent management local
    sysaux datafile '$filedir/sysaux.dbf'
      size 10M reuse autoextend on next  10M
    default temporary tablespace temp tempfile '$filedir/temp.dbf'
      size 20M reuse autoextend on next  10M maxsize 500M
    undo tablespace undo datafile '$filedir/undots1.dbf'
      size 50M reuse autoextend on next  5M maxsize 500M
    --character set al32utf8
    character set $dbcharset
    national character set al16utf16
    set time_zone='00:00'
    controlfile reuse
    logfile '$filedir/log1.dbf' size 50m reuse
           , '$filedir/log2.dbf' size 50m reuse
           , '$filedir/log3.dbf' size 50m reuse
    user system identified by oracle
    user sys identified by oracle
    -- create the tablespace for users data
    create tablespace users
      datafile '$filedir/users.dbf'
      size 100M reuse autoextend on next 10M maxsize 5G
      extent management local
    -- install data dictionary views:
    @?/rdbms/admin/catalog.sql
    -- run catblock
    @?/rdbms/admin/catblock
    -- run catproc
    @?/rdbms/admin/catproc
    -- run catoctk
    @?/rdbms/admin/catoctk
    -- run pupbld
    connect system/oracle
    @?/sqlplus/admin/pupbld
    @?/sqlplus/admin/help/hlpbld.sql helpus.sql;
    -- run plustrace
    connect sys/oracle as sysdba
    @?/sqlplus/admin/plustrce
    -- Install context
    @?/ctx/admin/catctx oracle SYSAUX TEMP NOLOCK;
    connect CTXSYS/oracle
    @?/ctx/admin/defaults/dr0defin.sql "AMERICAN"
    -- Install XDB
    connect sys/oracle as sysdba
    @?/rdbms/admin/catqm.sql oracle SYSAUX TEMP;
    connect SYS/oracle as SYSDBA
    @?/rdbms/admin/catxdbj.sql;
    connect SYS/oracle as SYSDBA
    @?/rdbms/admin/catxdbdbca.sql 0 8080;
    connect SYS/oracle as SYSDBA
    begin dbms_xdb.setListenerLocalAccess( l_access => TRUE ); end;
    -- Install Spatial Locator
    connect sys/oracle as sysdba
    create user MDSYS identified by MDSYS account lock;
    @?/md/admin/catmdloc.sql
    create spfile='$filedir/spfile.ora' from pfile
    alter user anonymous account unlock
    disconnect
    -- recompile invalid objects
    connect sys/oracle as sysdba
    begin dbms_workload_repository.modify_snapshot_settings(interval => 0); end;
    begin dbms_scheduler.disable('AUTO_SPACE_ADVISOR_JOB', true); end;
    spool off
    exit
    ENDWords prefixed with $ are OS variables, you have to substitute them with your values.

  • Object services - manual implementation of database access layer

    Hello,
    this is my first time with object services. I read a lot but can't find the information which I really need to implement my requirements.
    I have build a persistent class, clicked to "persistence", mapped my persistent attributes. I want to use a table-like attribute in my class, which contains references to another class. I added this attribute manually to the attribute list in the class builder. Consequently, GET and SET methods were generated automatically. Then I changed the generator settings by activating "manual implementation of database access layer".
    So, my first notice is - If I choose manual implementation a call of create_persistent-method will not work. Nothing will be inserted into the mapped data base table.
    Can anybody give me a example which shows how I can implement the database access layer manually? What do I have to do to write object attributes into data base table?
    Which methods do I have to enhance?
    Thanks a lot for any help in advance!
    Anne

    Thanks for your answer, but I would not be sure if you really got my problem.
    I really really read much stuff (including SAP help, sappress "object services in ABAP" by Assig, Fobbe, Niemitz, sappress "abap objects" by keller), I googled a lot. But I couldn't find detailed information about this manual implementation of database access which you can activate in persistence settings.
    This is the only extract out of SAP Help regarding this topic:
    "If you prefer to carry out a manual implementation of the database access layer, select  to change the generator settings and select the field of the same name. In this case you can implement your own database read routines, through which you can redefine the generated SET and GET methods for access to the database. This is particularly recommended if you want to improve performance by providing these routines with their own buffer mechanism. "
    And some information about so calles Structure mapping which means the same idea in my opinion
    "Structure Mapping
    In this case, you map ABAP Dictionary structures, rather than database tables or database views to persistent objects. The application developer must therefore program the type of persistent data storage in the appropriate methods of the class actor.
    You will need to map a structure (or structures) if you want a persistent object to contain table-like attributes. Database tables can only have flat structures, which prevents your mapping the object to a table in this case. You must still use structure mapping, even if you want to store the data in a different form u2013 such as in a file on the application server."
    I used the debugger to get the idea of the SAVE method. But I couldn't find the difference between manual and automatic implementation in the code.
    I tried to use implicit enhancement, but was not successful. Right now I am trying to redefine the SAVE method of the interface IF_OS_CA_SERVICE. But I can't believe that I have to implement the whole attribute-table-mapping on my own now. That can't be the idea of object service and their manual implementation. In my opinion it must be possible to use predefined algorithm to map business key etc. to corresponding table fields and to implement own ideas just for those table-like attributes..
    Or am I totally wrong with this thoughts?
    Thanks in advance!!
    Anne

  • 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

  • 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.

Maybe you are looking for