Adding CBO Tables ... Nobody help me !!!

Hi everybody,
  Now I want to add some CBO tables in BD. And when user input and save data on SBO GUI, it also input data into the CBO table.
  I done, I created trigger on system table (JDT1) for inserted to CBO table but when save data, system message: "JDT1,'1).[Microsoft][ODBC SQL server driver] invalid cursor state 'JDT1"
  Pls help me how to do. thanks all
Message was edited by: Andy Pham

Hi Andy,
As Adele said, your message is not clear. What is CBO table? a user defined table? More info is wellcome!
On the other hand, SAP will not support adding triggers on the system forms. And I don´t recommend it, becouse I used to have locks when I try to use them (I know, it is not supported, but...).
Try to use the SBO_SP_TransactionNotification stored procedure provided for this purpouse. There is a good article in the Downloads area about how to use it.
Regards,
Ibai Peñ

Similar Messages

  • Does length of  CBO table's field is shorter than structure field?

    HI
    length of CBO tables's field name is 16 and structure field name 30.
    how this happen?
    I was trying to make CBO table include some structure.
    and that says field name is too long.
    is this not possible all structucture can include CBO table?
    or should I change table properties like tech. settings?
    does anyone can solve this problem?
    thanks.
    Regards.
    Kim

    Hi!
    Unfortunately there is no way to enter more than 16 chars long names into tables. Nor with an included a structure.
    As the sap help sais:
    "There are some restrictions for certain objects. These objects are included in the following list together with the maximum length allowed:
    Transparent tables and their fields: 16"
    Correct the names within your structure (use less than 16 characters for the field names).
    Best regards
    Tamá

  • Adding additional tables to the extractor configuration

    Hi Experts,
    Can you please help me adding additional tables to the SAP extractor and to configure the field data in the orgstructure to show a flag against the position.
    Luke - I have tried using the option said by you from Application-wide Settings-->Data Centre --> Read SAP Table, it has properly save the added table, but not able to see it from SAP extractor configruation and not able to extract any data. Also, can you please guide me how to use the fields from this table (HRP1010) to write a small piece of logic to show a flag for a particualr position based on data.
    Thanks in advance,
    Purandhar

    Hi Purandhar,
    I have tried using the option said by you from Application-wide Settings-->Data Centre
    --> Read SAP Table, it has properly save the added table, but not able to see it from
    SAP extractor configruation and not able to extract any data.
    This has probably added a data element - I would check in the dataelementconfiguration folder in your build's .delta folder. IF so then you have the first step completed. Now you need to add the necessary configurations to use the data that comes through this data element.
    Go to your orgchart/hierarchy and navigate to Views. Here select your view (or your first view if this needs to be done for more than one view - if so you'll need to repeate these steps but not the step you already did in the Data Centre), and then click the + icon next to Design Details. Here you can add a new linked detail to your view detail. Simply give it a name, select the detail to link it to (usually the top level detail which is in blue), select a link field and then select your data element that was created in the Data Centre.
    Now if you try to add a section to your view inside the Design Details view designer you will see your new detail added. You can then select it and add fields from this detail.
    Also, can you please guide me how to use the fields from this table (HRP1010) to write
    a small piece of logic to show a flag for a particualr position based on data.
    Once you have been able to add the data in the views designer you will probably need to do some XML and XSL editing because you cannot edit XSL files in the AdminConsole and you will need to do this to get your icon/flag to show.
    First of all you need to create a new XSL file and put it into a folder in your .delta\root folder. For example, My_XSL_files. Here you need to write the code to render your flag based on your variable. You can find plenty of examples in all of the pre-existing XSL files. Then you need to copy PresentationResources.xml to .delta\root\XML and add the reference to your new XSL file.
    Go to your build's .delta folder and go to detailconfiguration. Find the detail you just created and open it. You'll find a section in their that you just added with a reference to an XSL file (e.g. if you added a Simple Caption section it will probably be something like SimpleCaptionXSL). Change this to the reference in the PresentationResources.xml.
    Load your build in the AdminConsole and hit Publish. Once done you should see your icon. Sometimes if your XSL is invalid or the code doesn't work you won't see anything. This is not unusual as the whole process can be quite tricky - even for us with lots of experience!
    Good luck!
    Luke

  • Added 3 tables in Entity framework

    I added 3 tables to my EF: 2 tables for data and the third for connection between them (= 3 columns in this table, first ID as
    the primary key, and the second and the third are FK to the other two tables).
    But the problem is that the third table was added with just the first column (= ID).
    Why is that?

    Hello shirley111,
    >>But the problem is that the third table was added with just the first column (= ID).
    Could you please tell which approach you are using, code first, model first or database first? And how do you define these three tables? Please also share them with us. Currently, we cannot understand what exactly happens on your side.
    Here are some information about many to many relationship in Entity Framework which might be helpful(from your description, it seems that you are trying to make a * to * relationship):
    Configure Many-to-Many relationship using Code First Approach
    Entity Relationships
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I total across multiple Tables? Help!

    how do I total across multiple Tables? Help!
    I feel like a complete noob.

    Hi Marc,
    There is no function explicitly for that sort of array calculation in Numbers.
    My favorite way is to use a list of Table Names and the INDIRECT(ADDRESS) function combination to produce a SUM across tables. I'm making the assumption that you want to do something like adding up all the values in a particular cell of multiple tables.  For example "give me the total of all the A1 cells in tables T1, T2, T3 and T4".  For this I would use the formula:
    =INDIRECT(ADDRESS(1,1,1,,A))
    to grab the cell contents of the table names mentioned in column A of a summary table.  Once you have them collected in your summary table, add them up.
    Here's a screen shot...
    Hope that gives you an idea for approaching this problem.
    Jerry

  • Adding Alias Tables

    2 Questions:
    I want to combine my member names and alias table (default) into a new alias table such that the new alias table would be (Member Name - Alias Default). Is there a way to do this through a script ?
    Also currently we only have 1 alias table, default, will there be any considerable performance impacts to adding an addition alias table ?

    If this is a planning application, alias tables have to be created with in the planning web and upon refresh it will be pushed to essbase. I dont think you can do this using a script for planning. Even if you create these tables directly in essbase, those will be dropped during the application refresh.
    If it was an " Essbase-only " application you can import/export tables using maxl/esscmd.
    Adding alias table will not shown a significant impact on performance. You can have upto 9 additional alias tables.
    Hope this helps!
    Nra

  • Adding to Tables in CS4

    I'm having some issues with adding to tables in my files. These are pre-existing files i'm being asked to edit, and there are no table or cell styles set up. I feel dumb asking this, as i'm sure it's a simple answer, but tables are one area of Indesign I haven't explored all that much.
    I have tables that look like this- here's a working and preview view sample:
    My issue is i'm having to insert new locations/dates into the tables- you can see where i've tried- but I can't get the formatting the same, with the two column setup with "Event Date" and then the course name. I can't just copy and paste a section of table- or at least any method I try doesn't work, I just end up pasting into a cell. There are no styles set up, and i'm not sure how to replicate exactly what's there. I'm not an Indesign newbie, but I am a newbie to using tables- my work just hasn't called for it much in the past. Help!? There's got to be a simple solution...

    When I'm doing tables like that
    I'll insert new rows, then I'll Right Click (cmd click on mac) and then choose "Unmerge Cells"
    I can then highlight a range of other cells (as long as it's the same row count) If I select two rows to  copy then I make sure i have 2 unmerged rows to paste into.
    Then I copy into those by highlighting the empting cells and pasting.
    Usually works for me.

  • When setting up my hubby's new phone to itunes, I have somehow merged the 2 itunes accounts together and now itunes is not responding to my phone and all of my info has synced onto my hubby's phone wiping all of his info and adding mine...Help!!

    I have an Itunes account already set up, when setting up my hubby's new phone to itunes, I have somehow merged the 2 itunes accounts together and now itunes is not responding to my phone and all of my info has synced onto my hubby's phone wiping all of his info and adding mine...Help!!

    If her data was not backed up or synced to something, it's gone. Sorry.

  • Adding a table to an existing table results in wrong link

    This is the code being used to add a table to a report:
    private ISCRTable AddLinkTable(ILinkTable linkTable, string sourceTableAlias, ConnectionInfo connectionInfo)
    { // construct a new Table from its name
    ISCRTable newTable = new Table();
    newTable.ConnectionInfo = connectionInfo.Clone();
    newTable.Name = linkTable.LinkTableName;
    newTable.Alias = linkTable.LinkTableName + "_ThisIsTheLinkTable" + LinkTableId++;
    if (_dataServiceSettings.DataProvider == DataProvider.Oracle11G)
    newTable.QualifiedName = _dataServiceSettings.DatabaseUserName.ToUpper() + "." + newTable.Name.ToUpper();
    else
    newTable.QualifiedName = "dba." + newTable.Name;
    // add a field to this new Table
    newTable.DataFields.Add(AddDbField(linkTable.DataField, newTable.Alias));
    // join this table to another one named sourceTableAlias, using linkFields TableLink
    tableLink = new TableLink();
    tableLink.SourceTableAlias = sourceTableAlias;
    tableLink.TargetTableAlias = newTable.Alias;
    tableLink.JoinType = CrTableJoinTypeEnum.crTableJoinTypeEqualJoin;
    Strings sourceFields = new Strings();
    Strings targetFields = new Strings();
    for (int i = 0; i + 1 < linkTable.LinkFields.Length; i += 2)
    sourceFields.Add(linkTable.LinkFields[i]); targetFields.Add(linkTable.LinkFields[i + 1]);
    tableLink.SourceFieldNames = sourceFields;
    tableLink.TargetFieldNames = targetFields;
    TableLinks tableLinks = new TableLinks();
    tableLinks.Add(tableLink); _report.ReportClientDocument.DatabaseController.AddTable(newTable, tableLinks);
    _report.ReportClientDocument.DatabaseController.VerifyTableConnectivity(newTable);
    //AddFieldToReport("{" + newTable.Alias + "." + linkTable.DataField + "}");
    return newTable;
    This is the resulting query SELECT "Article"."ArtId", "Article"."ArtDescr", "ArticleGroup"."AgDescr1", "Article"."ArtPurchLevel", "Article"."ArtMaximum", "Article"."ArtAbc", "Article"."ArtContext", "Article"."ArtPurchPrice", "Article"."ArtServOutUnt", "ArticleSite"."ArtsSitId", "Article"."ArtRecStatus"
    FROM  (dba.Article "Article" LEFT OUTER JOIN dba.ArticleGroup "ArticleGroup" ON "Article"."ArtAgId"="ArticleGroup"."AgId")
    INNER JOIN "10_78_00"."dba"."ArticleSite" "ArticleSite" ON "Article"."ArtId"="ArticleSite"."ArtsPurch" WHERE  "Article"."ArtContext"=1 AND ("ArticleSite"."ArtsSitId"='63'
    OR "ArticleSite"."ArtsSitId"='64') AND "Article"."ArtRecStatus">=0 ORDER BY "Article"."ArtId"
    the link field artspurch is not the field I declared . It happens to be the first column of the table ArticleSite. This seems to be a bug. has anyone ever experienced anything like this?
    ( Fixed the formatting )
    Message was edited by: Don Williams

    Hi Henk,
    What was the SQL before you added the table?
    I reformatted your code but you may want to confirms it correct or simply copy it into Notepad and then paste into this post.
    I find the easiest way to confirm is ad the table and joins in CR Designer first and then look at what Debug mode returns using this:
    btnReportObjects.Text = "";
    string crJoinOperator = "";
    foreach (CrystalDecisions.ReportAppServer.DataDefModel.TableLink rasTableLink in rptClientDoc.DataDefController.Database.TableLinks)
        //get the link properties
        btnCount.Text = "";
        int y = rptClientDoc.DataDefController.Database.TableLinks.Count;
        btnCount.Text = y.ToString();
        string crJoinType = "";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeAdvance)
            crJoinType = "-> Advanced ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeEqualJoin)
            crJoinType = "-> = ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeGreaterOrEqualJoin)
            crJoinType = "-> >= ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeGreaterThanJoin)
            crJoinType = "-> > ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeLeftOuterJoin)
            crJoinType = "-> LOJ ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeLessOrEqualJoin)
            crJoinType = "-> <= ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeLessThanJoin)
            crJoinType = "-> < ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeNotEqualJoin)
            crJoinType = "-> != ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeOuterJoin)
            crJoinType = "-> OJ ->";
        if (rasTableLink.JoinType == CrTableJoinTypeEnum.crTableJoinTypeRightOuterJoin)
            crJoinType = "-> ROJ ->";
        textBox1 = "Only gets Link type:" + rasTableLink.SourceTableAlias.ToString() + "." + rasTableLink.SourceFieldNames[0].ToString() +
            crJoinOperator + "." + crJoinType + rasTableLink.TargetTableAlias.ToString() + "." + rasTableLink.TargetFieldNames[0].ToString() + "\n";
        btnReportObjects.Text += textBox1;
        btnReportObjects.AppendText(" 'End' \n");
    There are some join types RAS is not capable of.
    Attach the report before and after you manually add the join and I'll see if I can get it to work also.
    Don
    ( PS - use the Advanced option to attach files and rename the reports to *.txt. )

  • I am using pages '09. I have been trying to put together a report and I am using tables to help keep my data in line. My data is free text and would like to footnote certain data as to it origin, but footnoting is grey-out. How can I footnote on table mod

    I am using pages '09. I have been trying to put together a report and I am using tables to help keep my data in line. My data is free text and would like to footnote certain data as to it origin, but footnoting is grey-out. How can I footnote in table mode inpages '09?

    Footnotes can only be inserted in the main text area between the margins on a Word Processing document.
    Peter

  • F4-Help without using a table search help

    Hi,
    We´re using CRM 2007 and I have created several F4-Helps for different fields on the webui.
    There it was always necessary to use an existing table search help in the GET_V-method:
    CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = lv_help_id   "search help name
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap
          iv_trigger_submit           = abap_true.
    But how can I create a f4-help without an existing search help. I have an internal table that I want to be shown like an f4-help (not as dropdown -> a dropdown-field wouldn´t be a problem).
    Structure of the internal table: COML_PROD_CAT_REL_F4
    Thanx for help.
    Greetings,
    Sven
    Edited by: Sven Keller on Aug 13, 2008 4:26 PM

    Hi Sven,
    you already pasted the correct call for creating a value help. Now what you have to alter is the variable lv_help_id to reflect a F4-Valuehelp class.
          CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
            EXPORTING
              iv_help_id        = '(CL_CRM_UIU_BP_IDTYPE_2_F4)' "#EC NOTEXT
              iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
              iv_input_mapping  = lt_inmap
              iv_output_mapping = lt_outmap.
    As you can see CL_CRM_UIU_BP_IDTYPE_2_F4 is a normal ABAP class implementing interface IF_BSP_WD_CUSTOM_F4_CALLBACK. Please take a look at it.
    It should not be very hard to implement the single method
    cheers Carsten

  • Steps to Increase / adding New Table Space using BR TOOLS

    Hi
    Can Anyone Tell me the Step by Step Process for Increasing / Adding New Table Space using BRTOOLS.
    Any Demos/Blogs will be appreciated.
    Thanks in Advance.
    Rg
    Dan

    Hi Dan,
    <u><b>Adding a datafile using BRTOOLS</b></u>
    1) su – <b>ora<sid></b>
    2) start <b>brtools</b>
    3) Select option <b>2 -- Space management</b>
    4) Select option <b>1 -- Extend tablespace</b>
    5) Select option <b>3 --Tablespace name (specify tablespace name) and say continue(c- cont)</b>
    6) Select option <b>3 – New data file to be added and return</b>
    7) Select option <b>5 -- Size of the new file in MB (specify the size of the file) and say continue</b>
    regards,
    kanthi

  • StackOverflowError after adding a table to a TopLink Map

    Hello,
    I am really puzzled by the next problem. After adding a table (Customer) to an existing TopLink Map, I get the same kind of error for every query in the project that I use.
    ERROR J2EE EJB8006 [CustomerToplinkTestPublicFacade:public java.util.List com.companyname.toplinktest.model.CustomerToplinkTestPublicFacadeBean.findCustomersByCompany(java.lang.String,java.lang.String)] exception occurred during method invocation: javax.ejb.EJBException: java.lang.StackOverflowError
    I get this with every page and every query, just change the name “findCustomersByCompany” to the name of the named query. Otherwise all pages seems to have the correct behaviour Removing the Customer-table from the application solved all problems, and they reoccurred after adding the table again.
    I have no clue why this happens, the only thing that might be useful is the fact that the Customer-table is also a part of a database view which I already use.
    … but why would that cause errors on queries it has absolutely no relation to…
    Kind regards,
    Nemata

    hello,
    another update on my testcases. I have used the following procedure to narrow down the source of the problem.
    First I create one or more TopLink pojo's based on my database tables and views, add them to a session bean and create the data controls. I'm always working with the default named queries (selectAll).
    Then I create a .jspx file, drag and drop a data control from the data control palette to create an ADF table with the defaults...
    and run... with one of two outcomes.
    I either get all the data from the table (correct) or I get a message "no rows yet" and an error message in the log window "2006-05-04 12:37:40.214 ERROR J2EE EJB8006 [testCustomerSession:public java.util.List model.testCustomerSessionBean.findAllCompany()] exception occurred during method invocation: javax.ejb.EJBException: java.lang.StackOverflowError"
    This is an overview of the testing I have done:
    Objects created | ADF table | Error
    Customer | Customer | Yes
    Company | Company | No
    Customer and Company | Company | Yes
    Company and ViewOfCustomer | Company | No
    Company and ViewOfCustomer | ViewOfCustomer | No
    Company and Person | Company | No
    ViewOfCustomer is a database view with the same data as the Customer. So the table Customer seems to cause the problem.
    Does anybody have an idea why a database table might cause such distinct problems ?
    Kind regards,
    Nemata

  • Adding nested table to object table

    if I alter an object type and add a nested table to it, there seem to be no syntax to add "STORE AS" clause for that nested table in the object table containing the altered object type. E.G.:
    ALTER TYPE fd_dao ADD ATTRIBUTE Own_Name Own_Name_ntt;
    where Own_Name_ntt is a nested table type, then
    ALTER TABLE FD_DOT NESTED TABLE Own_Name STORE AS Own_Name_ntab;
    does not work but the table FD_DOT can not be used since it lacks the storage for the newly added nested table.

    Check your syntax.
    CREATE TYPE Own_Name_ntt AS TABLE OF VARCHAR2(25);
    CREATE TYPE fd_dao AS OBJECT
    (col1        date
    ,col2        number);
    CREATE TABLE fd_dot(cola varchar2(10)
                       ,colb date);
    ALTER TYPE fd_dao ADD ATTRIBUTE Own_Name Own_Name_ntt;
    ALTER TABLE FD_DOT ADD (Own_Name Own_Name_ntt)
        NESTED TABLE Own_Name STORE AS Own_Name_ntab;
    SQL> CREATE TYPE Own_Name_ntt AS TABLE OF VARCHAR2(25);
      2  /
    Type created.
    SQL>
    SQL> CREATE TYPE fd_dao AS OBJECT
      2   (col1        date
      3   ,col2        number);
      4  /
    Type created.
    SQL>
    SQL> CREATE TABLE fd_dot(cola varchar2(10)
      2                     ,colb date);
    Table created.
    SQL>
    SQL> ALTER TYPE fd_dao ADD ATTRIBUTE Own_Name Own_Name_ntt;
    Type altered.
    SQL>
    SQL> ALTER TABLE FD_DOT ADD (Own_Name Own_Name_ntt)
      2      NESTED TABLE Own_Name STORE AS Own_Name_ntab;
    Table altered.
    SQL> desc fd_dot
    Name                                                                          Null?    Type
    COLA                                                                                   VARCHAR2(10)
    COLB                                                                                   DATE
    OWN_NAME                                                                               OWN_NAME_NTT
    SQL> desc fd_dao
    Name                                                                          Null?    Type
    COL1                                                                                   DATE
    COL2                                                                                   NUMBER
    OWN_NAME                                                                               OWN_NAME_NTT
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining options
    SQL> CREATE TYPE Own_Name_ntt AS TABLE OF VARCHAR2(25);
      2  /
    Type created.
    SQL>
    SQL> CREATE TYPE fd_dao AS OBJECT
      2   (col1        date
      3   ,col2        number);
      4  /
    Type created.
    SQL>
    SQL> CREATE TABLE fd_dot(cola varchar2(10)
      2                     ,colb date);
    Table created.
    SQL>
    SQL> ALTER TYPE fd_dao ADD ATTRIBUTE Own_Name Own_Name_ntt;
    Type altered.
    SQL>
    SQL> ALTER TABLE FD_DOT ADD (Own_Name Own_Name_ntt)
      2      NESTED TABLE Own_Name STORE AS Own_Name_ntab;
    Table altered.
    SQL> desc fd_dao
    Name                                                                          Null?    Type
    COL1                                                                                   DATE
    COL2                                                                                   NUMBER
    OWN_NAME                                                                               OWN_NAME_NTT
    SQL> desc fd_dot
    Name                                                                          Null?    Type
    COLA                                                                                   VARCHAR2(10)
    COLB                                                                                   DATE
    OWN_NAME                                                                               OWN_NAME_NTT
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.3.0 - Production

  • Adding condition table into pricing report-reg

    Hi,
    We have a requirement to add additional  condition tables in an existing pricing report. Is there a way to include the condition tables  through V/LB or we have to delete the existing pricing report and create the new one with the required tables. Please suggest..
    Thanks in advance
    Tajudeen S.

    Hi Tajuddin,
    Unfortunately, there is no other way except to delete the report and create a new one by adding the table.
    Regards
    Nikhilesh

Maybe you are looking for