CG_REF_CODES and sub-entity discriminator columns

I using a super-type implementation of an entity and its sub-entities i.e. they are represented by a single table with a discriminator column. Designer creates the allowable values for the discriminator column.
I thought that I could generate the CG_REF_CODES and have these allowable values included, but I can't seem to get it to happen!
Should discriminator column allowable values appear in CG_REF_CODES? If so, how!
Thanks for any help,

Andy Hardy wrote:
I using a super-type implementation of an entity and its sub-entities i.e. they are represented by a single table with a discriminator column. Designer creates the allowable values for the discriminator column.
I thought that I could generate the CG_REF_CODES and have these allowable values included, but I can't seem to get it to happen!
Should discriminator column allowable values appear in CG_REF_CODES? If so, how!
Thanks for any help,Sorry! Spent ages working through the generator preferences and the help files before posting the question, then a couple of plays later found the answer - which is... go to the table definition and on the discriminator column set 'Dynamic List' to 'Yes'.
Edited by: Andy Hardy on Mar 10, 2009 6:10 PM

Similar Messages

  • Sub-total and Total for a column having checkboxes in WD ABAP ALV

    Hello Experts,
    I have used ALV in We bdynpro ABAP to display my output. There are 2 columns that are checkboxes in Output. I want a sub-total and total for those two columns. I know tht total and sub-total functionality is available only for numeric fields .
    Is there any other indirect way by which i can achieve the same ?

    Hi Ragini,
    Please refer this thread: [alv total and subtotal|How to display graphs;.
    I hope it helps.
    Regards
    Arjun

  • What if value of discriminator column changes?

    Let's say we have a base entity object and two subclasses of the impl. One column is defined as discriminator column. "M" for male and "W" for female is probably not a good example. :o)
    Let's take "C" for contractor and "E" for employee.
    What if the value of this column changes? A contractor becomes an employee? How can I force BC4J to exchange the ContractorEntityImpl against a EmployeeEntityImpl at runtime without re-executing the VO?
    I tried refreshing and setEntity but couldn't get it to work.
    Thanks in advance!
    Sascha

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Excel, since you need a macro, thus, I'll move your question to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Bug with workflow that creates a folder and sub folder with the same name.

    Hi,
    I've found a possible bug in SharePoint 2010 workflows. I only have access to SharePoint 2010 and SharePoint Designer 2010 over my companies intranet, afaik I don't have access to to logs or anything server side so sorry for the any missing information.
    I had some problems with a workflow in one list that needed to create some folders and subfolders in a second list. The production version did a lot more so I setup a test area with 1 list and a workflow that only does the folder creation part and have managed
    to consistently replicate this problem.
    The test list has two columns, [title] and [sub folder title]
    The workflow starts by getting the values for [title] and [sub folder title] into variables.
    It then creates a folder in the same list with the same name as [title], and then creates a sub folder under this with the name from [sub folder title]
    So the resulting structure would be:
    Test List:-
        List item with fields [title] and [sub folder title]
        [folder: title]:-
            [folder: sub folder title]
    If both folder names are different (e.g Folder1 and Folder2) then it works perfectly fine, if both folder names are the same (regardless of character case, e.g. samefolderName and sameFolderName) then the workflow fails.
    As part of the test i made the first action of the workflow to log the message "Workflow Started" to the history list. When the workflow fail there's nothing logged in the history list other than the error: "The workflow could not update the
    item, possibly because one or more columns for the item require a different type of information."
    Creating a sub folder with the same name as it's parent works fine manually but for some reason a workflow can't seem to do it in one action.
    As there's no history list entries before the error it looks like the workflow is just failing to start but if i do something like add an if statement to check if [title] and [sub folder title] are the same, and only create the subfolder when they are not
    then it runs fine doing what it's set to.
    The function of the workflow in our office was for convenience so were just working without it. Just wanted to post to see if anyone else has come across this/could try to replicate or explain this  and see if it's a SharePoint bug or something specific
    to our setup.
    thanks,
    Martin

    not sure about the specifics of your workflow, but if you're querying the list for the folders... keep in mind that a list lookup will only ever bring back ONE item... even if there are several items that meet the filter criteria... example: if i search
    a list for an item assigned to "john doe", there may be 15 tasks that meet the criteria, and it'll only grab one... this is why SP Designer WARNS you when your list lookup may exhibit this behavior.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • SharePoint 2010 View Group By Category and Sub-Category

    I have a document Library with Category and Sub-Category columns. In the view I am grouping by Category and then Sub-Category. However, most of the documents do not have a Sub-Category. My desired result would be that the document would appear underneath
    the Category. However, if no Sub-Category is assigned then SP creates a generic Sub-Category and puts the document there. It should look something like this:
    Category : Main Category
    Document-1
    Document-2
    Sub-Category : Sub Category
        -Document-3
        -Document-4
    Instead it is Creating a generic SubCategory:
    Category : Main Category
    Sub-Category : (1)
        -Document-1
        -Document-2
    Sub-Category : Sub Category
        -Document-3
        -Document-4

    Hi,
    Per my knowledge, when you set group by Category and then Sub-Category, it should looks like the following:
    Category : Main Category
    Sub-Category : (2)
        -Document-1
        -Document-2
    Sub-Category : Sub Category
        -Document-3
        -Document-4
    I think there is no OOTB method that could make it looks like the following:
    Category : Main Category
    Document-1
    Document-2
    Sub-Category : Sub Category
        -Document-3
        -Document-4
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to disable a single cell in a table (and not the whole column)

    Hi there,
    I've got a webdynpro table with a few columns, rows can be created dynamically through a button in the table toolbar.
    Depending on the value of a certain cell I have to disable another cell (in the same row).
    I tried to manipulate the view in the modifyview but no joy. I also tried to manipulate the attribute property through the coding below:
      DATA lv_knttp TYPE knttp.
      lo_nd_kostl = wd_context->path_get_node( path = `MULTIVALUES.KOSTL` ).
      lo_el_kostl = lo_nd_kostl->get_element( ).
      lo_el_kostl->set_attribute_property(
      attribute_name = 'LTEXT'
              property       = lo_el_kostl->e_property-enabled
              value          = ''
    but it disables the whole column!!!! I just need the cell to be disabled (I thought the code above, through the lead selection, would affect a certain cell only - but I was wrong).
    Any ideas?
    Thanks!!!

    Hi,
    using cell variants you can do this.,
    check this article: [Cell Variants in WDA|http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynproforABAPCellVariants]
    Instead of binding the read only property of table as a whole , just bind the read only property of column group of table., You can do this bu drill down the table and select the required column and bind the read only column.,
    then In onAction Event of button .,
    loop the table, if condition satisfied set the read only property to true else false.,!!
    hope this helps u.,
    Thanks & regards,
    Kiran

  • How to get the values of all elements and sub elements from  following xml

    how to get the values of all elements and sub elements from following xml...
    <?xml version="1.0" encoding="UTF-8" ?>
    <List_AML_Finacle xmlns="http://3i-infotech.com/Cust_AML_Finacle.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://3i-infotech.com/Cust_AML_Finacle.xsd List_AML_Finacle.xsd">
    <TransactionID>TransactionID</TransactionID>
    <Match>
    <Src_Matched_Field>Src_Matched_Field</Src_Matched_Field>
    <List_Matched_Field>
    <FSFM_Matches>
    <NUMBER>NUMBER</NUMBER>
    <TERROR>TERROR</TERROR>
    <TU>TU</TU>
    <NAMEU>NAMEU</NAMEU>
    <DESCRIPT>DESCRIPT</DESCRIPT>
    <KODCR>KODCR</KODCR>
    <KODCN>KODCN</KODCN>
    <AMR>AMR</AMR>
    <ADDRESS>ADDRESS</ADDRESS>
    <SD>SD</SD>
    <RG>RG</RG>
    <ND>ND</ND>
    <VD>VD</VD>
    <GR>GR</GR>
    <YR>YR</YR>
    <MR>MR</MR>
    <CB_DATE>CB_DATE</CB_DATE>
    <CE_DATE>CE_DATE</CE_DATE>
    <DIRECTOR>DIRECTOR</DIRECTOR>
    <FOUNDER>FOUNDER</FOUNDER>
    <TERRTYPE>TERRTYPE</TERRTYPE>
    </FSFM_Matches>
    <OfacMatchDetails>
    <UID>UID</UID>
    <TITLE>TITLE</TITLE>
    <SDNTYPE>SDNTYPE</SDNTYPE>
    <REMARKS>REMARKS</REMARKS>
    <ID_UID>ID_UID</ID_UID>
    <IDTYPE>IDTYPE</IDTYPE>
    <IDNUMBER>IDNUMBER</IDNUMBER>
    <IDCOUNTRY>IDCOUNTRY</IDCOUNTRY>
    <ISSUEDATE>ISSUEDATE</ISSUEDATE>
    <EXPIRATIONDATE>EXPIRATIONDATE</EXPIRATIONDATE>
    <ADDRESS1>ADDRESS1</ADDRESS1>
    <ADDRESS2>ADDRESS2</ADDRESS2>
    <ADDRESS3>ADDRESS3</ADDRESS3>
    <CITY>CITY</CITY>
    <STATEORPROVINCE>STATEORPROVINCE</STATEORPROVINCE>
    <POSTALCODE>POSTALCODE</POSTALCODE>
    <COUNTRY>COUNTRY</COUNTRY>
    </OfacMatchDetails>
    </List_Matched_Field>
    </Match>
    </List_AML_Finacle>

    avoid multi post
    http://forum.java.sun.com/thread.jspa?threadID=5249519

  • Failed to open a rowset....offset and/or length of column {table_name} exceeds maxium record length of 0

    Post Author: anand.kolipakkam
    CA Forum: Data Connectivity and SQL
    hi all,
    I moved  Transoft USQL Database from one server to another, even though i am able to validate the server with usql client but my crystal reports is giving errors while trying to open up some of the reports.
    Unfortunately doesnt happens for all the reports, it happens for only for the reports which prompts for values in preview screen.
    This is the error i get
    first error screen....Failed to open a rowset....
    second error screen
    Failed to open a rowset
    Details:HY000:&#91;Transoft&#93;&#91;TSODBC&#93;&#91;MF&#93;(log: 3816-175022)offset and/or length of column exceeds maxium record length of 0
    Thats it i get a blank crystal report screen.
    I would appreciate if experts would help me out..

    Don't use localhost as your server name. It's a reserved name and should not be used in code.
    Try this also [Kbase |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333433363339%7D.do] SAP Note 1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
    Edited by: Don Williams on Jan 30, 2011 6:02 AM

  • GR and IR as separate columns in the BEx report

    Hi,
    I am working on a Purchasing report in which the user needs the snap shot of PO history,Like PO no.,Item,Netprice,PO Qty,Net order value,GR no.,IR number etc.
    I created a view on EKPO and EKBE.Here,based on the BELNR(Material document) field we are taking GR and IR values.(When VGABE =1 BELNR=GR and VGABE = 2 BELNR=IR).I created DSO to load the data.The problem is they need the GR and IR as separate columns in the BEx report.Could u please help me how to achieve this in BI?
    Thanks & Regards,
    Dinakar.

    Hi Neel,
    I need the BELNR has to be split into GR No.and IR No. separately based on VGABE field.
    Thanks & Regards,
    Dinakar.

  • Email and sub acounts

    Is there any way I can move my email and sub accounts over to my verizon business accounts?

    Yes, depending on your services you'll need either a "repoint" or a "scrub." You will have to contact Verizon's tech support to get it done though. They have options available on their Contact Us page.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Creating a table based on Category and Sub-Categories

    Hi
    I am building an extensive home budget. I have 3 tables showing, monthly, quarterly and annual costs. These tables contain Categories and Sub-Categories. I have created a table and chart to show the percentage of the total costs for each Category. For the two Categories with the largest percentage of the total cost I would like to create a table (and chart, no problem, based on my first template) showing the breakdown of the Sub-Categories. However this information is to be retrieved from 3 tables, and I was hoping to create the table automatically. If not I must individually go to each different table and find the relevant Sub-Category and manually input the text and link the cell for the value to my new table. This gives room for error in my opinion and is a nuisance as my budget file now contains about 8 sheets so even on 27" iMac requires a considerable amount of scrolling around.
    Am I expecting too much of Numbers or missing something totally? I do not have much experience of spreadsheets, just basic tables and calculations in Excel before coming over from the Dark Side!
    Many thanks for any advice
    Shirley

    Hi Barry
    Many thanks for your reply and apologies for my delay in responding.
    Hope I am doing this photo embedding correctly via Flikr:
    Page 1
    I apologise also for my incorrect terminology - please bear with me on this, unfortunately I never used Excel much so terminology is pretty much my own . I believe that I have one sheet, which then changes into different numbers of pages depending on the page size I set, so with these examples 4 pages. 14 tables and one chart at this time
    The tables on the second screenshot were the only way I could figure out how to retrieve the data for the final table and chart (% Total Monthly Expenses)
    Now what I want to do is for each (or in fact the three largest) budget categories is to give a breakdown of what in that category is, percentage wise, costing the most. Preferably, I want to get this breakdown category information automatically so that human error is ruled out (that I cannot overlook an entry in the any of the tables in my first example). Perhaps I am asking too much, but I thought it was worth asking!
    Again many thanks for responding and for your help with this
    regards
    Shirley

  • Creation of new employee groups and sub groups

    Hi All,
    What all the steps should I follow to create new employee groups and sub groups? and  How many structures should I create for this?
    Its urgent pls.......
    Good replies will be rewarded!!!!
    Regards,
    Sita

    Hi
    You can create the employee groups depending up on your clients requirement, Eg: Permanent, Temporary, Seasonal, Trainee, Advisor etc
    And define the employee subgroups and assign them to the employee groups Like
    Enterprise structure>Definition>Human Resource Management-->Employee Groups & Employee Groups
    Enterprise structure>Assignment>Human Resource Management-->Assign employee subgroup to employee group
    you can create employee subgroups depending up on your requirement like asst manager, manager, GM, MD, VP ETC an assign them to the employee subgroups ok.
    Ensure that certain empployee subgroups may not be assigned to employee group based on requiremen, but create all the employee sub groups which is existing in the organization.
    Regards

  • I am struggling! Help! I need to move 3500 pics-in TIFF format in 175 folders and sub folders from my old PSE6, Windows XP to my new PSE13, Windows8.1. I have the PSE6 backed up on an external hard drive. What is the safe way to do this? Can anyone at Ado

    I am struggling! Help! I need to move 3500 pics-in TIFF format in 175 folders and sub folders from my old PSE6, Windows XP to my new PSE13, Windows8.1. I have the PSE6 backed up on an external hard drive. What is the safe way to do this? Can anyone at Adobe help me? Please?

    Use the Organizer backup & restore method, starting the restore from the TLY file. Probably best to use a custom location as the XP file structure will be different. See this link for further help:
    http://helpx.adobe.com/photoshop-elements/kb/backup-restore-move-catalog-photoshop.html

  • Check 2 tables(Table A and Table B) and figure out new columns present in Table A and add these new columns to Table B

    How to check 2 tables(Table A and Table B) and figure out new columns present in Table A and add these new columns to Table b.
    DDL-
    Create table A
    ( A INT,
    B INT,C VARCHAR(2)
    Create table B
    A INT,
    B INT
    Any advice on the best approach or method to achieve this.
    I understand that I need to check the schema of the columns and then do a match between 2 tables and find new columns and then alter my target table
    Mudassar

    Can you try this..
    CREATE TABLE A ( A INT, B INT, C VARCHAR(2) )
    CREATE TABLE B ( A INT, B INT )
    Declare @ColumnVar nvarchar(128),@DatatypeVar nvarchar(128)
    SELECT @ColumnVar=x.COLUMN_NAME, @DatatypeVar=x.DATA_TYPE
    FROM INFORMATION_SCHEMA.COLUMNS AS x
    WHERE TABLE_NAME = 'A'
    AND NOT EXISTS ( SELECT *
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE TABLE_NAME = 'B'
    AND COLUMN_NAME = x.COLUMN_NAME )
    Declare @SQL VarChar(1000)
    SELECT @SQL = 'ALTER TABLE B ADD ' + @ColumnVar + ' '+ @DatatypeVar
    Exec (@SQL)
    select * from B
    Please Mark This As Answer if it helps to solve the issue
    http://stackoverflow.com/questions/2614101/alter-table-my-table-add-column-int

  • Current Day Bank Statement post to GL and Sub-Ledger

    Hello SAP Friends,
    I need help on Current Day Bank Statement. Appreciate your input/help/opinion.
    My client wants to update Current day bank statement to G/L and Sub-Ledger so that any electronic payment received from customer updated in real-time. As the sale cycle is very short about a week, they do not want to wait to update book with prior day bank statement.
    SAP standard functionality allows creating memo record from current day bank statement to reflect Correct Cash Position.
    Can someone share there experience for Current day bank statement posting and how process has been managed technically?
    Thanks for all help.
    Suresh

    Hi,
    When Manual bank statement is run, a JV gets posted knocking of subledger with debit or credit (Payment/Deposit) and one line item will be posted in the main bank account.
    In you scenario, take the document available in the main bank account and reverse it in transaction code FBRA. This will knock off all the balances and the ledger will be zero.

Maybe you are looking for

  • J1Ih error for return sales

    Dear All, I have done a return sales and returns delivery. Out of 10 items 5 items got returned. While doing J1IH (adjustment entry) the BED value is automatically getting captured by system for full 10 items. Can anyone pls solve this error? if iam

  • N80 On 3 And Firmware Upgrades

    Hi, I'm hoping to use Navicore satnav software on my N80, but the Navicore website suggests a version of firmware higher than I have on my phone. Link below states the requirement for '4.0623.0.41 or later': http://www.navicoretech.com/Consumer/Suppo

  • Batch rename of avi files

    I am looking for the solution to batch rename multiple avi files simply. In iphoto, I just select a bunch of image files and using the ctrl+Shift+CMD keyboard shortcut, I input the name something like 'boat_trip_kids' I get the files renamed instantl

  • 1.1.4 - Photo Albums title overshadows first album name?

    Hmm. Is this just me? After the update, when I click Photos, it shows the list of albums, starting with the overall "Photo Library" item, as usual, followed by my own folders. But the Title "Photo Albums", now is laid on top of that first item. In fa

  • Needs rendering multiple times.

    Hey all, I am working on a project using HD footage. I have captured it all straight from the hardrive (tapeless camera used to shoot video) and once I put it in the timeline I render it once, like usual. But when I click away or drag another clip in