Automatic New Tables

I tried searching for an answer to this but I don't really know what terminology to use. So I apologize if this has been covered recently or is really easy to find in the user's guide.
I'd like to be able to automatically fill tables using data from another table. Let me lay out my exact scenario so this will make more sense. I'm creating a master roster for everyone attending an all night event for teenagers. Some of the attendees are adult counselors. Also, some of the students attending are sort of like student helpers. So I'd like to make three other tables that would auto fill with data from the master table based on this criteria. For example, if the student column in the master table equaled "yes" then that student's row would also be added to the "Student" table. But if the student leader column in the master table also equalled yes, then that student's row would be added to the student leader table. Lastly, if the counselor column in the master table equalled yes, then that person's row would be added to the counselor table.
I hope this makes sense. I know that I can "categorize" by this column, but I'd like to keep my master table as it is and be able to look back and forth at the different categories without having to re-categorize all the time.
Thanks for your attention to this post. Best wishes.

Wilsone wrote:
the setup you posted doesn't completely matchup what I'm trying to do. I actually have several types of counselors and need more than three sub-tables, so I was trying to figure out the process so that I could apply it to exactly what I was doing.
But the setup Yvan posted doescome very close to a "completely matchup" of what you said you were trying to do:
So I'd like to make three other tables that would auto fill with data from the master table based on this criteria. For example, if the student column in the master table equaled "yes" then that student's row would also be added to the "Student" table. But if the student leader column in the master table also equalled yes, then that student's row would be added to the student leader table. Lastly, if the counselor column in the master table equalled yes, then that person's row would be added to the counselor table.
Yvan used checkboxes to indicate if the person was a counsellor ("adult") or was a student leader ("helper"). Other than the labels, that's a close match for your Counsellor and Student Leader tables.
His interpretation of the third category differs from mine, though.
Yvan's formula for column D ("basic") assumes that a Student Leader ("helper") is not to be included on the "Student" table. My reading is that the student leaders are also Students, and should be on both tables.
Here's Yvan's formula, followed by a version that will mark the "basic" column for inclusion in the Students table:
=IF(OR(B=TRUE,C=TRUE),"","*")
=IF(B=TRUE,"","*")
I wouldn't make the change yet, though. The edited formula works fine for only three categories on the table, one of which (Students) includes the members of one of the others ("helpers").
But you have more that three categories, so in its present form, the edited formula won't work for you.
Columns E, F and G of Yvan's main table are indexes that tell Numbers which names to include on each sub table.
The formula in column E: IF(B=TRUE,ROW(),999999)
places the row number in the cell if the checkbox in that row of column B is checked, or the number 999999 if the box is not checked.
You'll note that the first three small numbers in column E are 2, 7 and 8, and that those are the row numbers of the first three checked boxes in column B.
The formula in column F is the same except for the column it references (C), and does the same thing.
The formula in column G is the same, except for the column reference (D) and the condition (D="*").
The assumption here is that anyone who is on the master list is in only one of the three categories. For rows where neither of the first two checkboxes is checked, the person must be in the third category ("basic"). The (original) formula in column D looks at columns B and C. If either has been checked, the formula puts a null string ( "" ) in its cell, if neither has been checked, it puts a marker ( "*" ) in the cell.
The presence of that marker (D="*") is what makes the formula in column G place the row number in its cell, marking the name for inclusion in the "basic" (Students) table. See rows 3, 5 and 7.
For your case, which has more than three categories, you will need a column of checkboxes for each category except "Students", for which you can use the same technique as Yvan, with a formula revised to fit the new conditions. (See below)
For each (checkbox) category you will also need a matching 'index' column, similar to and using the same formula as those in columns E and F of Yvan's table, plus an index column using the similar formula using "=*" for the "Students" column.
Formulas for each of the breakout tables (sub-tables) will be the same as those for Yvan's example, with the column reference changed to match the index column for each table.
The Warning table will need one row for each breakout table. The two column references in the formulas for this table need to match column A on the table for which the warning applies, and the column on the main table holding the checkboxes (or "*"s ) for the category matching that table.
The formula for the "Students" (or "basic") column will depend on how many categories of 'counsellor' there are , how many 'student leader' categories there are, which columns hold the checkboxes for each of these categories, and whether 'student leaders' are to be included in the 'students' table as well as one or more of the 'student leaders' tables.
The formula below is for three categories of Counsellors (checkboxes in columns B, C and D; excluded from the 'students' column and table), two categories of Student Leaders (checkboxes in columns E and F; included in the 'students' column and table) and one category of Students (column G; includes all who are NOT checked in columns B, C or D).
G2 (and Fill down):   =IF(OR(B,C,D),"","*")
Remember that you'll need an index column for each breakout table.
Regards,
Barry

Similar Messages

  • Is it possible to create a new table in the master database with SSMS ?

    Hello ,
    I have problems with this thread :
    http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/5153c43b-7844-41c4-a414-d14730abe435/
    If no user database has been created , in SSMS , we can see only the 5 system databases ( master, msdb , tempdb... ).
    Logically , the user should connect automatically on the Master database ( if the user is the same as this used to install a new SQL Server instance, this user should be sysadmin that's to say he/she has all possible permissions and especially dbcreator ).
    Is it true that it is impossible to create a new table on the master database ?
    I have done many researches about this possibility , all I have found is the advice : don't touch to the master database. This database is used to store critical information about the instance and its user databases. Even in the last book of Kalen Delaney
    about SQL Server 2012 Internals , I have found nothing clear about the creation of tables in this database ( and what about the other system databases ? I am excluding tempdb ).
    If someone has an idea about this thread and my questions , I would be thankful for a reply on this thread or on the related thread in the SQL Server Express Forum ( with my poor written English , I am not sure to have poster in a correct and understandable
    way ).
    If you think that this thread is not in the good forum , a moderator of this forum can move this related thread ( I have not done the move as I am not sure which is the good forum Database Engine or Transact-SQL ... )
    Thanks beforehand and have a nice day.
    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

    >>Logically , the user should connect automatically on the Master database ( if the user is the same as this used
    to >>install a new SQL Server instance, this user should be sysadmin that's to say he/she has all possible permissions and >>especially dbcreator ).
    If you add the current user during the installation you can have it as system admin , or you can add him/her later on
    in SQL Server. BTW regarding dbcreator I have wrote some blog , need to read... :-)
    http://sqlblog.com/blogs/uri_dimant/archive/2010/09/02/be-careful-to-grant-dbcreator-server-role-to-the-user.aspx
    You can (if you have needed permissions) to create objects in master database, usually I create objects for instance maintenance (like rebuild indexes...) 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How can I insert a new table whose cells are linked to Cell Styles?

    How can I define a Table Style so that cells in new tables are automatically linked to my Cell Styles? (Not sure if "linked" is exactly the appropriate word....I'm going for "connected in such a way that when the Style is changed, the character/paragraph/cell/table/object updates to reflect the change.")
    I thought the whole point of using Cell Styles in Table Styles would be so the cells can be automatically linked to the desired Cell Styles when the table is created -- but that isn't happening for me. I don't know if I'm just confused or if this is a bug:
    When I insert a new table of a Table Style I have defined, it seems all cells in the new table are simply linked to Cell Style [None], with overrides for each cell that are consistent with the applicable Cell Style as it was defined when the table was inserted. So although the appearance of each cell is consistent with the Cell Style I defined for for that region of the table, the cells don't update if I later make changes to the Cell Styles I defined.
    (If, after inserting a new table, I manually select each cell and apply the desired Cell Style, then the cells do (of course) update when I change the Cell Styles.)
    Is it possible to have cells be actually linked to Cell Styles when a new table is inserted, instead of cells being simply linked to style [None] with overrides?
    (I'm using the up-do-date 2014 release of InDesign CC, in case that's relevant.)

    there is a example on Page 1149 of book Graphic Java 2 mastering the JFC
    by David M. Geary. ISBN: 0-L3-079667-0, Try to take a look the code. It will help.

  • CMP Beans from Tables: Why does the Container try to create new tables?

    I'm trying to develop an EJB application using JDeveloper on 9iAS. I have several CMPs and have my tables that I want my CMPs to be based on already defined in my DB schema. I want to use CMP but I don't want the Container to create the tables, rather I want the Container to map my CMP EJBs to the already existing tables.
    The issue is:
    While creating these CMP EJBs in JDeveloper I chose the "New Enterprise Java Bean" EJB creation wizard using the option labeled "Container-managed Entity Beans from Tables". My assumption is that this does what I want, because the wizard prompts for a schema and table you want to map to. Then it creates the attributes & getter/setter methods, PK class, etc. all based on the table defintion automatically. Great. So why when I try to run my application do I get error messages for each EJB such as:
    Auto-creating table: create table STREET_TYPE (PK_STYP_ID NUMBER(8), STREET_TYPE VARCHAR2(20), primary key (PK_STYP_ID, STREET_TYPE))
    Warning: Error creating table: ORA-00955: name is already used by an existing object
    Huh?? I thought the idea is that the CMP EJB is mapped to the existing table in my schema. Why is the Container trying to create new tables?? Is this possible? Or am I missing something fundamental about how Containers create and manage CMPs? Or is this just a JDevelop container issue? TIA

    I presume you are getting the problem on application
    deploy? This happens when upon initialization of the application using the built-in OC4J container/app server that is part of JDeveloper. Here is the full messaging:
    [Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
    C:\OraHome1\jdk\bin\javaw.exe -ojvm -classpath C:\OraHome1\j2ee\home\oc4j.jar com.evermind.server.OC4JServer -config C:\OraHome1\jdev\system\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Copying default deployment descriptor from archive at Q:\CBTCOF\COF_APPLICATION\COF_Project\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\OraHome1\jdev\system\oc4j-config\application-deployments\current-workspace-app\classes...
    Auto-deploying file:/Q:/CBTCOF/COF_APPLICATION/COF_Project/classes/ (No previous deployment found)...
    Auto-creating table: create table STREET_TYPE (PK_STYP_ID NUMBER(8), STREET_TYPE VARCHAR2(20), primary key (PK_STYP_ID, STREET_TYPE))
    Warning: Error creating table: ORA-00955: name is already used by an existing object
    [...OTHER SIMILAR ERROR MESSAGES]
    done.
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    If so, in the application.xml file of you
    OC4J instance the is a setting autocreate-tables,
    which by default is true!
    Set it to false as below and that should clear up
    your problem.
    <orion-application autocreate-tables="false"
    default-data-Hmm. I found at least a dozen or so files with that name and set everyone that had this attriute to "false", restarted the OC4J server and still got these errors.

  • How to create new table using pertioned table

    hi,
    i am using a partitioned table , now i want to craet a new table with same structure of my existing partitioned table.
    so can i use this syntax
    create table abc_new as
    select * from my_partitioned_table
    where 1=2;
    if i use this syntax would it make same structure of my existing partitioned table ?
    and
    when
    we use syntax like
    create table abc_new as
    select * from my_partitioned_table
    where 1=2;
    so would it make also indexing on new table to if old table exists ? if not so how can we create that indexing too at time of running this syntax ?
    reagrds

    No.
    Although the command would create a new table with the same column names and datatypes, it would NOT be a partitioned table. You must explicitly specify the PARTITION BY clause and Partition definitions when creating the table.
    Similarly, index definitions are not copied automatically. You must explicitly run the CREATE INDEX statements (which you can generate from the source using DBMS_METADATA.GET_DDL or using any other tools/utilities).
    (However, if you use Export-Import -- e.g. importing to another schema or to another database, it would create a partitoned table with the same name and with the same index definitions).
    Hemant K Chitale

  • How add new table in derby  travel database

    sir i use Sun Java Studio Creator with derby
    sir i want create new table in derby travel database but when i right click
    on table not that disable and not give and table create button
    please give me idea how i add new table in derby travel database
    thank's aamir

    Within JDeveloper the generation of entities (Persistent POJOs) from tables will overwrite exiting classes. If you have additional tables you wish to map without losing existing work you will need to create the new classes and map them manually. If you are using the native TopLink mappings there is auto-map support on individual descriptors in the structure pane to automate much of this. If you are using JPA mappings it is a bit more manual at present but the tooling is ntended to give you feedback on problems as you construct and configure your mappings.
    Doug

  • What index will be created by default when new table is created

    Hi Team,
    1.  When creating new table, what type of index wil be created in sql server ?
    2.  what is the table name if we create new table without primary key?
    Please help me on this
    Anand Rajagopal

    Hi Anand,
                    Your Question is quite wide in range and I am agree the other answers too. I would like to talk about your second question first because it will depend upon the first one.
                    When we creating a fresh table without specified any primary key it is called "Heap" table. A Heap table is not containing clustered index but it can non-clustered index (but not automatically we have
    to create explicitly). It means the data is not in order and we have to apply ORDER BY clause to short the data. Heap structure is not good for big tables which requires filtration frequently. 
                     When we create a table without specifying primary key, then none of indexes created on table. but if we specify primary key then it will create a clustered index with it. It means it is now physically
    shorted. But It doesn't guarantees that if you fire SELECT statement then It will fetch record in same order (It seems but it is not) because the RDBMS is based on "SET THEORY" and it doesn't guarantee the shorting order or records.
                     Also have a look on "Create Table", "Indexes" & "Table Scan", "Table Seek" for better understanding.
    Shivendra

  • Create a new table maintenable by user using SM30 transaction

    Hi,
    is it possible to create a new table maintenable by user using sm30 transaction with class C without opening the customizing each time there is a modification to do.
    thank you.

    Hi,
    u told u alredy create table and corresponding view. Now u can follw below this process.........
    go to se11.
    go to menu Utilities ->table maint. generator.
    after that u will go to menu -> Environment -> maintence Object -> Generate.
    then u select category -> CUSY
    Transport -> 2 automatic transport
    Adjustment-> automatically adjustment
    then save it and create T. code .
    I think your problem will be solve.
    Regards,
    Tarapada D.

  • Can I replicate new tables using the ACTIVE STANDBY PAIR replication scheme

    Hi,
    I have created myself a simple setup using an active/standby pair with a single subscriber like so:
    CREATE ACTIVE STANDBY PAIR cie ON "tt-test1", cie ON "tt-test2" RETURN RECEIPT SUBSCRIBER cie on "tt-test3";
    I have then added some tables on the master, they did not replicate automatically. I find this:
    Command> repschemes;
    Replication Scheme Active Standby:
    Master Store: CIE on TT-TEST1
    Master Store: CIE on TT-TEST2
    Master Return Service: Return Receipt
    Subscriber Store: CIE on TT-TEST3
    Excluded Tables:
    ROOT.EXTRACTOR_
    ROOT.PROMPT_
    ROOT.PREFERABLE_
    Included Tables:
    List too long (59 items), use verbosity 4 to display
    <snip>
    My question is ... how do I include these tables in replication?
    Do I need to trash and clone the secondary master store and the subscriber again? Even doing that won't add the tables to the replication scheme so I don't think that is a solution.
    I couldn't find much documentation on the ALTER REPLICATION statement but from what I could find it requires me to know the 'name' of the replication scheme and the examples in the documentation didn't work when I used 'Active Standby' as the scheme name in the statement.
    Am I being retarded here? Is this a limitation of using the ACTIVE STANDBY PAIR replication model?
    Thanks in advance.
    Huw

    When you setup and rollout the ACTIVE/STANDBY pair (or indeed legacy replication) it only includes tables that already exist. The normal deployment process is:
    1. Create the first datastore (the one which will initially be the 'active').
    2. Create (and populate) all necessary tables.
    3. Create the active/standby pair replication scheme.
    4. Start the repagent
    5. Make the datastore active by calling ttRepStateSet('ACTIVE')
    6. Use ttRepAdmin -duplicate to create the standby store from the active
    7. Start repagent at standby
    8. Use ttRepAdmin -duplicate to create the subscriber store from the standby
    7. Start repagent at subscriber
    If you need to add/remove tables later you must do the following:
    At active node:
    1. Create any new tables (and populate them) as needed
    2. Stop repagent
    3. Execute ALTER ACTIVE STANDBY PAIR with INCLUDE and/or EXCLUDE clauses as required
    4. Start repagent
    Then you need to redeploy the other stores:
    At standby:
    5. Stop repagent
    6. Drop datastore (ttDestroy)
    7. Re-create datastore from active using ttRepAdmin -duplicate
    8. Start repagent
    At subscriber:
    9. Stop repagent
    10. Drop datastore (ttDestroy)
    11. Re-create datastore from standby using ttRepAdmin -duplicate
    12. Start repagent
    This is documented in the TimesTen Replication Guide in the section on administering an active/standby pair.
    Chris

  • How can I create a new table in a MySQL database in MVC 5

    I have an MVC 5 app, which uses MySQL hosted in Azure as a data source. The point is that inside the database, I want to create a new table called "request". I have already activated migrations for my database in code. I also have the following
    code in my app.
    Request.cs: (inside Models folder)
    public class Request
    public int RequestID { get; set; }
    [Required]
    [Display(Name = "Request type")]
    public string RequestType { get; set; }
    Test.cshtml:
    @model Workfly.Models.Request
    ViewBag.Title = "Test";
    <h2>@ViewBag.Title.</h2>
    <h3>@ViewBag.Message</h3>
    @using (Html.BeginForm("SaveAndShare", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
    @Html.AntiForgeryToken()
    <h4>Create a new request.</h4>
    <hr />
    @Html.ValidationSummary("", new { @class = "text-danger" })
    <div class="form-group">
    @Html.LabelFor(m => m.RequestType, new { @class = "col-md-2 control-label" })
    <div class="col-md-10">
    @Html.TextBoxFor(m => m.RequestType, new { @class = "form-control", @id = "keywords-manual" })
    </div>
    </div>
    <div class="form-group">
    <div class="col-md-offset-2 col-md-10">
    <input type="submit" class="btn btn-default" value="Submit!" />
    </div>
    </div>
    @section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    HomeController.cs:
    [HttpPost]
    public ActionResult SaveAndShare(Request request)
    if (ModelState.IsValid)
    var req = new Request { RequestType = request.RequestType };
    return RedirectToAction("Share");
    The point is that, I want the user to fill the form inside the Test view and click submit, and when the submit is clicked, I want a new entry in the new table to be created. But first of course I need to create the table. Should I create it using SQL query
    through MySQL workbench? If yes, then how can I connect the new table with my code? I guess I need some DB context but don't know how to do it. If someone can post some code example, I would be glad.
    UPDATE:
    I created a new class inside the Models folder and named it RequestContext.cs, and its contents can be found below:
    public class RequestContext : DbContext
    public DbSet<Request> Requests { get; set; }
    Then, I did "Add-Migration Request", and "Update-Database" commands, but still nothing. Please also note that I have a MySqlInitializer class, which looks something like this:
    public class MySqlInitializer : IDatabaseInitializer<ApplicationDbContext>
    public void InitializeDatabase(ApplicationDbContext context)
    if (!context.Database.Exists())
    // if database did not exist before - create it
    context.Database.Create();
    else
    // query to check if MigrationHistory table is present in the database
    var migrationHistoryTableExists = ((IObjectContextAdapter)context).ObjectContext.ExecuteStoreQuery<int>(
    string.Format(
    "SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = '{0}' AND table_name = '__MigrationHistory'",
    // if MigrationHistory table is not there (which is the case first time we run) - create it
    if (migrationHistoryTableExists.FirstOrDefault() == 0)
    context.Database.Delete();
    context.Database.Create();

    Hello Toni,
    Thanks for posting here.
    Please refer the below mentioned links:
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/
    http://social.msdn.microsoft.com/Forums/en-US/3a3584c4-f45f-4b00-b676-8d2e0f476026/tutorial-problem-deploy-a-secure-aspnet-mvc-5-app-with-membership-oauth-and-sql-database-to-a?forum=windowsazurewebsitespreview
    I hope that helps.
    Best Regards,
    Sadiqh Ahmed

  • "Program terminated in remote system NONE: Logon failed" when adding a new table

    Hello,
    I set up a replication flow from a SAP ERP 6.0 EHP7 with SAP ASE 16.0 source to SAP HANA 1.0 rev 82 target
    I am using a standalone SLT system NetWeaver 7.0 with DMIS 2011_1_731 (with SP 1 to 7).
    I have 100 tables to replicate.
    I succeeded to set up replication for 57 tables. These tables are replicating properly.
    Whenever I try to add a new one (with LTRC transaction, Data Provisioning -> Start Replication), the new table is marked as 'Failed' after a little while.
    When I press 'Show Error Log' button I got an obscure error message:
    "Program terminated in remote system NONE: Logon failed "
    I do not understand this message. I checked both on SAP ASE source and SAP HANA target. I am still able to connect against both source and target.
    Can you please tell how to troubleshoot this error.
    Thanks in advance,
    Christian

    First thank you for answering my questions. I really appreciate your answers.
    I rechecked the documentation.
    "Application Operations Guide SAP Landscape Transformation Replication Server Document Version: 2.3 – 2014-07-08"
    Page 29 - 30
    3.5.2.2 Data Transfer Jobs
    This section explains the relationship between the number of data transfer jobs and the number of available background work process.
    Data transfer and data transformation processing on SLT server system is accomplished by the background work processes of the underlying SAP NetWeaver ABAP application server. Each job occupies 1 background work process in the SAP LT Replication Server system. For each configuration, the parameter Data Transfer Jobs restricts the maximum number of data load job for each mass transfer ID (MT_ID). In total, a mass transfer ID (MT_ID) requires at least 4 background jobs to be available:
     One monitoring job (master job)
     One master controller job
     At least one data load job
     One additional job either for the migration objects definition, access plan calculation or to change configuration settings in the Configuration & Monitoring Dashboard
    Example
    If you set the parameter Data Transfer Jobs to 04 in a configuration “SCHEMA1”, a mass transfer ID 001 is assigned. As a result, the following jobs should be in the system:
    1 Master controller job: /1LT/IUC_REP_CNTR_001
     At most 4 parallel jobs for MT_ID 001: /1LT/IUC_LOAD_MT_001_001/~002/~003/~004
    When configuring your data load or replication scenario, consider the following:
     Do not define more data transfer jobs than the number of available application server background work processes. If all available background work processes are already occupied by jobs, any other job will have to wait until a free work process becomes available. This can lead to long wait times until a new activity (for example creating triggers) can start, and can also result in significantly increased latency times for data replication.
     The number of dialog work processes in the source system corresponds 1:1 with the number of data transfer jobs in the SAP LT Replication Server system.
     Besides the work processes allocated by the data transfer jobs you need to provide additional available work processes for controller and monitoring jobs, the migration objects definition, access plan calculation or to perform configuration changes, and so on.
    Sizing for SAP LT Replication Server involves determining how many work processes are required to perform the initial load of data into the target system within an acceptable timeframe, and accomplish the change capturing and the transfer of data changes to the target system within expected latency times.
    Ensure that you add enough additional work processes to allow other required SAP LT Replication Server jobs to run.
    Finally, you map the number of required application server work processes to their system resource consumption (CPU, memory, disc space) using the formulas provided by the SLT Sizing Guide.
    With the simple formula below, you can calculate the number of required application server work processes (WPs) on the SLT Server for each active SLT configuration.
    The number of required work processes can be determined by adding
     The Number of required data transfer jobs ,
     plus one background work process for Central Master (Monitoring) Job (only one per system!),
     plus one background work process for Master Controller Job,
     plus 3-5 additional empty background work processes (recommended per configuration),
     plus approx. 3 dialog work processes (recommended for each configuration).
    Note: A lack of available free application server work processes can negatively affect the data load or data replication processes.
    To summarize everything, the number of 'Data Transfer Jobs' must be set depending of the number of source tables, it is not the actual number of tables.
    Assume that for my 100 tables I use 10 'Data Transfer Jobs' :
    - The number of work processes on the SLT server would be 20. I took the simple formula of the documentation:
    10 data transfer jobs ,
    + 1 background work process for Central Master (Monitoring) Job (only one per system!),
    + 1 background work process for Master Controller Job,
    + 5 additional empty background work processes (recommended per configuration),
    + 3 dialog work processes (recommended for each configuration).
    - The number of dialog processes on the source server would be 10 ( equal to the number of 'Data Transfer Jobs')
    Am I correct ?
    Regards,
    Christian

  • Error while creating new table

    Hi
    First I had deleted one custom table. Then I try to create the same table with different fields. Now I am gettinh the errors.
    1.    ZLV_COMP_TABLE: Inconsistency DD <-> DB (check table with analysis tool)
    2.   A table called ZLV_COMP_TABLE exists in the database
    3.   No active nametab exists for ZLV_COMP_TABLE
    4.   Termination due to inconsistencies
    5.  Table ZLV_COMP_TABLE (Statements could not be generated)
      6.  Error number in DD_DECIDE (9)
    Please help me ... how can I create a table with same name.
    thanks
    Subhankar

    Hello,
    goto SE14 -- Give the table name
    use Tables Radio button
    click on Edit
    check the Delete Data Radio button
    click on ACTIVATE AND ADJUST DATABASE.
    Now check the table in SE11.
    If it still exits you can change the same table or Delete it again & create a new table with Same Name.
    This might help your query.
    Anil.

  • Creation of New Table for Delivery Output Type.

    Hi Guys,
    I need to replace an existing table by creating a new Table in the existing Access Sequence with the combination of "Ship to Party/Product Hierarchy".
    Logistics>Shipping>basic Shipping functions>Output determination>Maintain Condition Tables-->maintain output condition table for deliveries.
    I am choosing a new table by the name 902, but i am not getting the field " PRODH Product Hierarchy" on the right hand side to choose from.
    I checked the field catelog also. Firstly the field catelog was also not having the field, and then i added the field in it by choosing new entries.
    I guess i am missing some step in between, thats why the new field (PRODH) is not showing on the right hand side while creation of the condition table.
    One more thing, when i am seeing the Field Catelog, i am able to see a very large number of fields, then why only a few are appearing during creation of a new table??????
    Can you guys correct me and let me find a way.????
    Thanks very much indeed.
    Regards,
    Vivek

    Hi If u have already the field in FC u can add with new entries .
    Try with ,enter t- code <b>SE11</b>, enter <b>KOMB</b>- it will ask for access key get from basis and add u r Field catalog
    Field catalog for condition key: output determination
    If at all u want a new field tao add to u r FC u Can try with userexit.
    1)ADDING OF NEW FIELDS IN PRICING  
    In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure.This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields.
       The fields which are not in either of the two tables KOMK and KOMP
    cannot be used in pricing .Sometimes a need arises when the pricing
    is to be based on some other criteria which is not present in the form of fields in either of the two tables.
      This problem can be solved by using USEREXITS which are provided for pricing in SD.
      Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done.Hence SAP provides 2 userexits ,one for sales order processing which is
    USEREXIT_PRICING_PREPARE_TKOMP  or
    USEREXIT_PRICING_PREPARE_TKOMK
    Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.
    In the case of userexit which will be called when invoicing is done ,these
    are provided in the include RY60AFZZ which is in the standard SAP
    program SAPMV45A. The name of the userexits are same. i.e
    USEREXIT_PRICING_PREPARE_TKOMP  or
    USEREXIT_PRICING_PREPARE_TKOMK
    These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newely
    created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that
    has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.
    Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose
    includes are provided in each of them .
    To create the field in header data(KOMK) the include provided is KOMKAZ
    and to create the field in item data(KOMP) the include provided is KOMPAZ.
    One possible example for the need of creating new fields can be e.g. Frieght to be based upon transportation zone ,for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.
    2)The other method of finding userexit is to find the word USEREXIT in the
    associated program of the transaction for which we want to determine userexit using SE38.
    3)The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located ,this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.
    Some other examples of userexits in SD are:<b></b>
    Message was edited by:
            SHESAGIRI GEDILA

  • New table in Report painter

    Dear All,
    Can some one guide me as to how to include the new table FAGLFLEXT in the report painter reports.
    Thanks and Regards,
    Gokul.

    Hi,
    use KE5B to make the FSV nodes available in Report painter reports. This function can be used to create/change sets based on FSV.
    Best regards, Christian

  • How to add a new table or view in the view object

    hello,every one.
    I wanna add a new table or view in the view object's query statement.
    when the table or view not in the where clause,the query statement is working fine.
    If they in the where clause,I got the "java.lang.NullPointerException".
    who can help me
    thank you very much

    thank you for your reply
    I wanna extend the VO
    oracle.apps.pay.selfservice.payslip.US.server.PayPayslipGetPersonDetail
    the original sql is:
    SELECT ppf.person_id,
    FROM per_people_f ppf,
    per_assignments_f paf,
    pay_assignment_actions paa
    where paa.assignment_action_id = :1 AND paf.assignment_id = paa.assignment_id AND SYSDATE BETWEEN paf.effective_start_date AND paf.effective_end_date AND paf.person_id = ppf.person_id
    I wanna extend:
    SELECT ppf.person_id, pay_v.element_name,pay_v.assignment_action_id
    FROM per_people_f ppf,
    per_assignments_f paf,
    pay_assignment_actions paa,
    pay_run_results_v pay_v
    where paa.assignment_action_id = :1 AND paf.assignment_id = paa.assignment_id AND SYSDATE BETWEEN paf.effective_start_date AND paf.effective_end_date AND paf.person_id = ppf.person_id
    pay_v.assignment_action_id =paa.assignment_action_id
    if the pay.v in the where clause. I will got the exception. whereas,it's works fine.

Maybe you are looking for