Allowable values of super/subtypes

When I run the Database design transformer in Designer6i for a table with subtypes and sub-sub types (so one table which contains the sub- and supertypes, not more than one table) I get a table definition where the field 'table alias_type' is added. So far so good. But when I look at the allowable values that are generated, I only find allowable values for the subtypes and not for the supertype. But I would also like to have an allowable value for my supertype. I know I can add it myself in the Design editor but then I also have to make the business rules for the supertype myself whereas now I have had them generated with the Headstart utility 'Maintain supe/subtype business rules'.
Thanks.
Lilian.

From a modelling point of view, an instance of an entity that has subtypes, should be of either one of the subtypes. So, normally there are no instances that belong to a supertype. Hence is does not make sense to generate allowable values for supertypes. That's why, I guess.
Jan Kettenis

Similar Messages

  • Super/subtype allowable values

    When I run the Database design transformer in Designer6i for a table with subtypes and sub-sub types (so one table which contains the sub- and supertypes, not more than one table) I get a table definition where the field 'table alias_type' is added. So far so good. But when I look at the allowable values that are generated, I only find allowable values for the subtypes and not for the supertype. But I would also like to have an allowable value for my supertype. I know I can add it myself in the Design editor but then I also have to make the business rules for the supertype myself whereas now I have had them generated with the Headstart utility 'Maintain supe/subtype business rules'.
    Thanks.
    Lilian.

    From a modelling point of view, an instance of an entity that has subtypes, should be of either one of the subtypes. So, normally there are no instances that belong to a supertype. Hence is does not make sense to generate allowable values for supertypes. That's why, I guess.
    Jan Kettenis

  • Maintain Super/Subtype Business Rules

    Headstart Utilities
    Utility : Maintain Super/Subtype Business Rules
    Revision : 6.5.1.1
    Message : Activity aborted with ORACLE internal errors. -6502 ORA-06502: PL/SQL: numeric or value error
    Situation : Super-entity, with two sub-entities. Both the sub-entities have no attributes, the super-entity contains all the attributes. From each of the sub-entities, a relation is defined to another entity (the sub-entities are the parent).
    Ludovic Swiggers

    Rene, thanks for your reply but if I generate the CAPI's I get errors like these:
    LINE/COL ERROR
    676/4 PLS-00201: identifier 'CAE_VTR_CAPI.PRE_OPERATION' must be
    declared
    676/4 PL/SQL: Statement ignored
    884/4 PLS-00201: identifier 'CAE_VTR_CAPI.POST_INSERT' must be declared
    884/4 PL/SQL: Statement ignored
    943/4 PLS-00201: identifier 'CAE_VTR_CAPI.PRE_OPERATION' must be
    declared
    943/4 PL/SQL: Statement ignored
    1294/4 PLS-00201: identifier 'CAE_VTR_CAPI.POST_UPDATE' must be declared
    1294/4 PL/SQL: Statement ignored
    1419/4 PLS-00201: identifier 'CAE_VTR_CAPI.PRE_OPERATION' must be
    declared
    1419/4 PL/SQL: Statement ignored
    1425/7 PLS-00201: identifier 'CAE_VTR_CAPI.G_RECORD' must be declared
    1425/7 PL/SQL: Statement ignored
    Lilian.

  • Retrieving Allowed Values of a property.

    Hi,
    I created a custom property and have like 5 or 6 values assigned to it.
    From the API, as mentioned below, I could only find a way to get these values if they are set to a resource and if the property is a multi-valued.
    String namespace = "http://com.sap.netweaver.bc.rf.sample/xmlns/sample";
    String name = "property";
    IPropertyName propertyName = new PropertyName(namespace, name);
    IProperty property = resource.getProperty(propertyName);
    if( property.isMultivalued() ) {
        // property is multi valued
        List values = property.getValues();
    If the property is not Multi-Valued and not set to a resource, is there any way to retrieve all the "Allowed Values" for that particular property.
    I appreciate if anyone can throw some light on it.
    Thanks,
    Ravi.

    You might not need all this code (depending on what you are doing, and what items you may already have),
    the part relevant to fething the allowed values is at the bottom:
    IResource fileresource=//however you're getting it.
    IPropertyConfigurationService propConfigService = (IPropertyConfigurationService) ResourceFactory.getInstance().getServiceFactory().getService(
    "PropertyConfigurationService");
    IMetaModel mm = propConfigService.getMetaModel();
    metaContext = mm.createEmptyMetaContext();
    metaContext.setResource(fileresource);
    metaContext.setResourceContext(fileresource.getContext());
    IMutablePropertyMap propertymap = fileresource.getProperties().getMutable();
    metaContext.setPropertyMap(propertymap);
    propName = new PropertyName("yourNamespace", "yourPropertyName");
    IMetaName metaname = propConfigService.getMetaModel().searchByPropertyName(propName);
    IMetaValueListIterator iml = metaname.allowedValueIterator( metaContext );
    while (iml.hasNext()) {
         IMetaValue vl = iml.next();
         String myvalue = vl.getValue();
    //... do something with it
    [email protected]

  • How to get all the allowed values of a property?

    Hi all,
    I want to read all the allowed values of a property. I have created a new custom property and given 3 values as allowed values.
    What i want to do is programtically read all the allowed values of that particular property.
    Regards
    Rajeev

    Hi guys,
    I'm trying to do exactly the same, i need a list with all the KM properties, i'm using the very same code thar Romano putted on his post, and i'm getting this:
    InitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.#
    On this sentence:
    IConfigurationAccess icAccess =  Configuration.getInstance();
    I'm developing a  Webdynpro application on server A and i'm using the KM libraries through an EJB inside a Webservice on server B.
    Do you have any suggestions?
    Thanks in advance

  • How to get rid of Business Rule in JhsModel: JHS-00128 Allowable Values req

    JHeadstart 10.1.3.2
    We are using FlexItems in our application.
    The JhsModel implementation, shipped in Jar file jhsadfrt-10.1.3.jar, contains the underlying ADF BC objects for the FlexItem functionality.
    When we try to create (or remove) a FlexItemDefinition of type Dropdown List, we are stopped by the error: JHS-00128: Allowable Values are required for this Item Display Type.
    We do not want that - we have a UID that does not allow editing of master and details on the same page. Therefore, we will never be able to successfully create a dropdown list item since we cannot in the same transaction create the allowable values as well.
    How could we disable this business rule - or remove it altogether? I suppose it is implemented somewhere in the jar file that contains the JhsModel project. What is the recommended way of disabling this constraint?
    thanks for your help
    Lucas

    Hi Lucas,
    This error is raised if the number of allowable values is zero and the allowable values query of the flexitemdefinitions entity is 'empty'. You could write a (temporary) dummy allowable values query in the flexitemdefinitions entity in order to save the master, and then once you've input the allowable values in the details page, remove or reset the value in the allowable values query attribute of the flexitemdefinitions entity.
    Hope this helps,
    Regards,
    Ibrahim

  • SQL Developer Data Modeler-  Creating super/subtype relationship

    The User's Guide does not tell you how to create super/subtype relationship.
    To create super/subtype relationship in a logical model, you must already have the two candidate entities; one to be the supertype, the other subtype.
    - on the logical model diagram, right click the candidate subtype and select Properties
    - on the Entity Properties dialog box, select the candidate supertype from the Super Entity drop-down list, then OK
    Depending on whether you enable or disable the Box-in-box Presentation on your logical diagram, the subtype would be shown inside or outside its supertype entity, respectively

    Hi Peter,
    When I examine an XML file for a relation converted from version 2.0, the XML elements "nameOnSource" and "nameOnTarget" are missing in the converted 3.0 EA1 versionthey are not loaded during "open" of older design. If you define them they will go into XML file.
    Philip

  • Dynamic Select List Allowed Values

    Howdy Folks,
    I am trying to allow end users to select their username. The usernames are generated from a rule library, and displayed in a select form element. I am doing this by having the allowedValues call the rule that generates the possible names directly. The rule returns a list of valid names. The problem I am currently having, is that if the page reloads or refreshes, then the allowedValues calls the rule again. Some of the username choices involve random numbers, so it is possible (and very likely), that separate calls to the rule will generate different potential values. So what is now happening, is that when a user selects the value, the page reloads, and the end user sees an error that looks like this:
    ( ) - Warning: Selected value for field 'Select a Valid User Name' does not match any of the allowed values.
    The reason I am reloading the page, is that I am also trying to show the user what their email address will look like with the new value. So I have a different form element that is loading is value dynamically, and referencing the select form element. This mostly works, but the warning above is unacceptable.
    Is there a way I can load the dynamically created list only once, the first time the form is viewed, and not load it again every time the page refreshes?
    Another thing I tried to do (but didn't have luck with, so I sorta gave up on it) was to use the onChange of the select to change the value of email display field. This way the page never reloads and I don't have to deal with that issue. I'm thinking the onChange might actually work, but I would need to execute javascript or something, and not just use an express <set/> command to set the value of the field name that displays the email text.
    Does anyone have advice on how to make the values only load once? Or how to change the value on the onChange event?
    Thanks!
    Jim

    Mike,
    Thanks for the feedback. I actually did try that eventually. I created a variable in the form, and initialized that variable to the list of possible values. Then I referenced the variable in the 'allowedValues' of the select form item. At that point in time I still had the select box set as an action, so it would reload the page, hoping to reload the value in the email display field. This still did not work. Each time the action fired off, the variable was re-initializing itself. I eventually tried to put in a check, so it would not re-initialize itself if it had already been initialized. That caused a syslog error.
    I ended up solving the problem using javascript. I changed the field that reported the potential email address to an html element. Then for the html attribute I made a div with an ID. I then set a line of javascript into the onChange attribute of the select form element. This worked when ever the select form value changed. I then added the same line of javascript to the onLoad attribute of the jsp pages body element. This worked for loading the page.
    This solved the problem of the page reloading and the select getting new values. That still happens if you actually reload the page, but all the form elements work without the reload now.
    Thanks!
    Jim

  • Is it possible to change Allowed Values (csv) in a property through an API?

    Hi everyone
    I would like to enable end users to change the Allowed Values (csv) in a property without giving them access to the system administration > system configuration part of the portal. Actually I would like to create a simple iview which could show the list from the Allowed Values (csv) entry of a specific property and let certain users maintain the values from that iview instead of through system administration.
    Do any of you know if its possible to develop this in some way? We have not been able to identify possible ways to change the Allowed Values (csv) entry through the KM API.
    Any help will be awarded.
    Best regards,
    Martin Søgaard

    Hi Martin,
    This is possible..
    try out below code..
    public void onActionUpdateProperty(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpdateProperty(ServerEvent)
         String strPropName =  wdContext.currentContextElement().getPropertyName();
         String strCurrentProp =  wdContext.currentContextElement().getCurrentProp();
         String strSelectedProp =  wdContext.currentContextElement().getSelectedProp();
         String namespace = "";
         boolean isNotSaved = false;
         //isPropertySaved = true;
         com.sapportals.wcm.service.propertyconfig.IMetaModel metaModel = null;
              //     IPropertyConfigurationService configService=null;
                   IMutableConfigurable imConf = null;
                        try
                             IConfigurationAccess icAccess = Configuration.getInstance();
                             IWDClientUser wdcu = WDClientUser.getCurrentUser();
                             com.sap.security.api.IUser sapUser = wdcu.getSAPUser();
                             IUser user = WPUMFactory.getUserFactory().getEP5User(sapUser);
                             IConfigClientContext confContext = IConfigClientContext.createContext(user);
                             IConfigManager icManager = icAccess.getConfigManager(confContext);
                             IConfigPlugin icPlugin = icManager.getConfigPlugin(ConfigurationProxy.CFG_PLUGIN_CM_SERVICES_PROPERTIES_METADATA);
                             IMutableConfigurable[] mcs = icPlugin.getConfigurables();
                             String propertyUniqueID = "";
                             String propertyNameSpace = "";
                             for (int i = 0; i < mcs.length; i++) {
                               IMutableConfigurable mc = mcs<i>;
                               if (mc.getPropertyValue("property_id").equals(strSelectedProp)) {
                                  propertyUniqueID = mc.getPropertyValue("unique_id");
                                  break;
                             try {
                                  imConf = icPlugin.getAndLockConfigurable(propertyUniqueID, 0, 0);
                                  imConf.setPropertyValue("values",<b>strCurrentProp</b>);
                             } catch (RuntimeException e1) {
                                       e1.printStackTrace();
                             icPlugin.replaceConfigurable(imConf);
                        catch (Exception e)
                             wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
                        finally
                             if (imConf != null)
                                  try
                                       imConf.unlock();
                                  catch (LockConfigException e)
                                       wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
        //@@end
    strCurrentProp is the value that is being set.
    Regards,
    Vikas

  • Can you specify the allowable values for vertical range and offset for the NI 5112 PCI Digitizer?

    The NI 5112 manual indicates that the vertical range can be set from +/- 25mV to +/-25V in 10% steps. Can you explain exactly what this means? (For example, could you give me a series of allowable values.)
    Also, what are the allowable values for voltage offset?
    The reason for my question is: I am specifying the vertical configuration using the niScope_ConfigureVertical() function. The observed raw (8 bit) sampling does not appear to change at all for small changes in voltage range and offset. I would like to know where the hardware breakpoints are, so that I can apply correct scaling from bits to voltage.
    In addition, I have tried to use the niScope_CheckAt
    tributeViReal64() function to "check" a value before applying it to NISCOPE_ATTR_VERTICAL_RANGE or NISCOPE_ATTR_VERTICAL_OFFSET, but it fails in the linking step in Microsoft Dev. Studio. (niScope.lib & niscope_32.lib do not seem to contain any of the CheckAttribute functions that are listed in the NI-Scope function reference.)
    Thank you for your response.

    There is a nice reference at:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/38f18d418e2433ed8625690e006bbe94?OpenDocument
    which explains that allowable voltage ranges can be expressed by the equation:
    next_range_value = range_value * 1.1 starting at +/- 25 mV.
    When a range is specified that does not match this series, the device driver rounds UP to the next value.

  • Value of service item exceeds allowed value limit

    Hi Friends,
    This is regarding a service PO or Contract . I want a create a Value/quantity Contract of more than 100 crores value.When the service line item value is more than 99.99 crores system is issuing a error message (Message number SE371) displaying the text under the subject from which I am unable to proceed further. I even tried to delete  the message from attributes of system message under Purchasing as well as in external service management.but still the problem continues .Is there any system setting where value of more than 11 digits are not allowed. But in target value in header what ever value i am putting is no problem. How to solve this.It is also observed that the field Total value PLANVALUE has length of 11 characters for which this is not happening.Should I change the length to more than 11 in the structure RM11P.
    Dhruba
    Edited by: Dhruba Charan Behera on Mar 11, 2009 3:27 PM

    I'm with the same problem in my client and that "just technical limit" is "just" the big issue that I'm facing here.
    I don't think we have to accept the limit but force SAP to change it, once I know a few more cases like this. How can I say to the client that he has to change his way of doing business, because SAP refuses to change a field?
    In African countries, for instance, the currencies have a low power, so this limitation is easily reached.
    So, is there real solution?
    Thanks

  • Which segment in INVOIC IDoc holds Allowance value @ header level?

    Hi all,
    I want a segment in INVOIC IDoc to hold SAC (Service Allowance and Charge) Values @ Header level. Plz suggest me one. I know @ item level SAC values are stored in E1EDP26 segment. Tell me which segment i can use it for holding SAC values at header lever??
    Thanks,
    Creasy

    Thanks MxG for your reply.
    I have a scenario. I have to accommodate EDI SAC codes into SAP through IDocs(inbound vendor invoice (FB60)). I have around 4 to 6 SAC codes which have values that will be either credited or debited to GL accounts. some are at header level and some are at detail level.
    How come I implement this scenario. I have no clue to implement this scenario.
    Plz do reply.
    Thanks very much,
    Creasy

  • How do I disallow negative numbers in a selected group of cells (i.e. only allow values greater than or equal to zero)?

    I have a table of calculated values in Numbers, and I want to disallow negative numbers in the entire table. Any numbers that would be negative I would like changed to/displayed as zeroes, that way future calculations that may be based on this cell use the value of 0 for the calculation rather than the negative value. I have seen ways of doing this to single cells at a time, but I am interested in applying it to a large selection of cells.
    There is the Conditional Format option when you bring up the inspector, but I cannot get a custom rule to work for me. I select "Greater than or equal to" and I enter 0 in the box, but nothing changes. Can anyone help with this?
    Thanks

    A step toward simplifying the application of MAX to the issue, Jerry.
    This part, though:
    Now apply your long, animal-modeling, expressions to this new, interposing, table rather than the original.
    may still leave several references to be change from the original data table to the new one.
    One way to get around that is to use the Duplicate ("DATA-1) as the new table for raw data, and the Original (DATA) as the interposing table, using the formula =MAX(DATA-1::A2) as above, starting in DATA::A2.
    This way, the long expressions could continue to reference the original table (with its content now modified).
    ALTERNATE process:
    Find/Replace could also be used to speed the process of reassigning the modeling expressions to the duplicate table, as suggested by Jerry. But some cautions apply here.
    Find/Replace can be limited to Formulas only, but not to Some formulas only.
    Find/Replace can be limited to the Current Sheet only, but this can't be combined with Formulas only.
    More on this later, when I've had a chance to check some possibilities.
    Regards,
    Barry

  • What are the allowed values for nsmerge?

     

    As requested, elaboration on the question. Is available in 4.11 & 5.0 via Console as follows:
    Directory Server.Directory tab.NetscapeRoot.<domainname>.Global Preferences.Common
    it appears as multi-valued attribute (nsmerge). Out of box is configured with {nsuniqueattribute}ADD_IF_EMPTY, {nsuseridformat]ADD_IF_EMPTY, {nsuserrdncomponent}ADD_IF_EMPTY & {nsgrouprdncomponent}ADD_IF_EMPTY.
    We have changed the naming attribute for a user entry to be cn. We use an external application to create the entries in the DIT (it does not add a userid); the entries are created. However, if you attempt to change an attribute in one of these user entries (via Console) & then save the change, an error is tossed saying data is missing (userid -> it is blank). We are trying to disable the mandatory userid. Any insight on how to achieve this objective would be most welcomed.

  • Allowable values in templatePages.ula

    I appologize if this is posted in the wrong area because the question does not pertain specifically to development of LR modules.
    Does there exist anywhere accessible any documentation on the tepmlatePages.ula file?  I have been looking into the file and am trying to learn what the various parameters are, what others might exist, and what at the legal values for each.
    I have not had much luck in forum discussions with non-technical people, so I am hoping that those familiar with programming for LR might have some insight.  I have a programming background, but have never worked with Lightroom's SDK.
    Thanks for your help.

    I appologize if this is posted in the wrong area because the question does not pertain specifically to development of LR modules.
    Does there exist anywhere accessible any documentation on the tepmlatePages.ula file?  I have been looking into the file and am trying to learn what the various parameters are, what others might exist, and what at the legal values for each.
    I have not had much luck in forum discussions with non-technical people, so I am hoping that those familiar with programming for LR might have some insight.  I have a programming background, but have never worked with Lightroom's SDK.
    Thanks for your help.

Maybe you are looking for

  • BI 7.0 InfoSet Error/Mutiprovider

    Hi, We have upgraded to SAP Netweaver 2004s, BI 7.0 SP 05. we are getting errors when I try to execute Infoset and also with the MultiProviders "Error Error Reading the data of InfoProvider" "Error Error when generating the SQL Statement" "Error An e

  • NavigationCacheMode is readonly problem ...

    Hello everyone. First post - please be gentle ;-) I have a problem with the 'back' browsing for a particular page and I want to turn off cacheing. I'm trying to do it like this: public partial class MainPage : PhoneApplicationPage // Constructor publ

  • IPad MIni Model ID and Specifications

    OK, I am trying to figure out exactly what the specifications are on my iPad Mini. I don't know why it has to be so hard to find this information out. This is the model I have. Model IPAD MINI WI-FI + CELLULAR (MM) This is all Apple supplied me with

  • 3G works with my car charger, WiFi version doesn't!

    I have a Belkin auto charger for the iPhone. When I tried it out on my WiFi iPad, it didn't switch over to external power. I returned the WiFi for the 3G which I got yesterday. To my surprise, when I plugged in the 3G iPad, the external power indicat

  • LabVIEW 8.0 Run-Time engine & shared variables

    Has LabVIEW 8.0 Run-Time Engine the shared variable's support, I wonder? The thing is that .exe with globals/locals runs alright, but beeing replaced with shared variables it refuses to run. What's wrong? May be need in library(s) absend? Thanks.