Domain constraint not being generated

Hello,
I have a case where a logical model was reverse engineered from a database, along with the constraints. Now domains have been created to represent those constraints and the columns on the entities have been updated to reflect these domains, and the reverse engineered check constraint removed.
The problem now is that when I generate a relational model, the column check constraints are not always generated. even though the "use domain constraints" flag is checked on the relevant attributes. On the relational model the flag is also checked, but the DDL preview, and the generated DDL script do not reflect the column check constraint.
In some cases, it appeared to be because the attribute also had a check constraint name the presence of which appeared to override the "use domain constraints" flag. In some cases, removing the reverse engineered constraint name and regenerating the relational model solved the problem, but in other instances the column check constraint is simply not generated when the DDL is previewed, even though everything appears ok on both the logical and relational models.
Has anyone experienced this before, and is there a solution?
Thank you
Femi
Edited by: fakintoye on Feb 9, 2012 5:30 PM
I started the process with DM 3.0 665, but even with DM 3.1 700 the same thing happens

Hello Femi,
A few points to add:
1. If the Constraint Name property is not set on the Column, the Check Constraint is generated in the CREATE TABLE statement, but (in Data Modeler version 3.0) if the Constraint Name property is set on the Column, the Check Constraint is generated in a separate ALTER TABLE statement.
2. Data Modeler version 3.1 has a new option in the Data Modeler/DDL section of the Preferences (on the Tools menu). If the new "Generate Inline Column Check Constraints" option is set, the Check Constraint is always generated in the CREATE TABLE statement.
3. The bug I mentioned previously also applies to Lists of Values and Ranges. Forward Engineering into an existing Relational Model can remove the Lists of Values and Ranges from the referenced Domain definitions when the Attributes/Columns have the "Use Domain Constraints" option set.
This bug can be avoided either
a) by Forward Engineering into a new Relational Model (but this would mean losing any other details held in the Relational Model and its Physical Model), or
b) In the Engineer to Relational Model dialog, examine the entry for each Column, and where the property "Check Constraint", "Range Constraint" or "LOV Constraint" is in red (because the new value is different from the old value), remove the tick from the "Selected" column for this property. Then use the Engineer button to complete the process.
Provided the Lists of Values are present on the Domain and the Column has the "Use Domain Constraints" option set, the Check Constraint should appear in either the CREATE TABLE statement or a separate ALTER TABLE statement.
Hope this helps,
David

Similar Messages

  • Spool file not being generated in production server

    Hello
    Our end users are using automatic payment program F110 to print multiple cheques.
    The settings in SPAD are identical in Quality and Production Server,but some how
    spool file is not being generated in production.
    Test printing is fine in Quality server.
    Printer being used is Epson LQ 300.Device type is EPESCP2.
    We are using z custom page size ,and it is assigned to printer device Type as well
    Would be very great if some can can comment on which settings to check,as SPAD setting is
    same in both server ,yet no spool.Very Very urgent.
    Iam not sure ,whose domain is it now-BASIS or ABAP.
    Thanks a lot
    Nouman

    If there is a problem with the spool, the variant that is being in F110 parameters.
    As you are saying the quality system is working fine, please compare both the variants in Production and Quality systems.
    This should solve your situation.

  • BPM alert not being generated

    Hi guys,
    I'm having quite a little trouble in doing one thing which has been done for several times but which is giving  me a hard time...
    I've created a bpm process which in an error condition will trigger a simple alert.
    I've tested the process and everything goes allright, except the alert. What is happening? Well, the alert is not being sent to my inbox. Why? Maybe because the alert is not being generated.
    I've went to sxmb_moni_bpe and everything is OK. I can see the message of the alert being fired. After that I went to slg1 to see if my alert is being generated, and the answer is no. It's not being generated....
    I've gone through Michal's blogs and everything was checked...The question is, if I execute RSALERTTEST with my alert category, the alert is generated and send to my inbox. Do you have any ideas?
    Thanks a lot for your attention

    Hi,
    Yes the job scheduling is needed only for Sp14 and below.
    Can you recheck if the Alert is actually getting triggered or not in the BPM in the control step? Make sure that you have given the correct Alert Category in your Control Step and also, make sure that the recipient in your alert as well as the Alert Inbox entry you are seeing is the same.
    Finally, refresh the Alert Inbox.
    Regards,
    Bhavesh

  • SWF File not being generated by compiler

    I am using Flash Builder 4.5.
    One of the modules that compiles without error is still not being bound into the runtime image (in this case debug).
    There are no compiler errors (auto build is switched ON) but a swf file is not being generated.
    I have tried removing the reference to the module in the Project ->Properties->Modules window and then adding it back in to no avail.
    This was working up until I made a change to the module in question and then saved it.

    I would check all imported images in the library. If you cannot see the image in your library preview; there is a good chance that there is an issue and it will need to be reimported.

  • Notifications are not being generated for any emails that have rules applied to them.

    Notifications are not being generated for any emails that have rules applied to them. Any clues how to fix this?

    In System Center 2012 Operations Manager, the alert notification will be sent when the alert first meets all criteria, regardless of resolution state, unless resolution state itself is a criterion. If alert suppression is enabled for the rule or monitor
    that raises an alert, only one notification will be sent when the subscription criteria are first met. No additional notifications will be sent until the alert is closed and a new alert is raised that meets all subscription criteria.  PLease check
    1) whether your rule has trun on alert supression
    2) Close the alert, craised by rule,  and do it again
    Roger

  • Reports not being Generated

    I use Crystal Reports with another program that supposed to generate 2 reports with a click of a button, but it is not working. The reports are not being generated. I installed Crystal Reports on my system twice and there doesn't seem to be a problem with the installation, but the program is not working. Please help.

    I am fairly new at this so let me try my best to answer these questions:
    Crystal Reports  XI
    Visual Studio? Not sure
    No service pack applied. How and where do i get it?
    I am using Windows XP
    I am not viewing the reports as it has to be generated before i am able to view and the systems does nothing after I click the generate button
    No  have not tried to view a single report; i don't know how.
    I have not used Crystal reports designer for anything else.
    Edited by: Sharon Aird on Dec 1, 2008 5:05 PM

  • TA1 Acknowledgement not being generated.

    Hi All,
    I have a requirement for the Inbound 820 to generate 999 and TA1 Acknowledgement. 999 is fine but TA1 is not being generated. I tried changing the ISA14 element to '1' from '0'(by referring http://docs.oracle.com/cd/E28280_01/user.1111/e10229/app_ta1.htm), but of no use. The ISA of the EDI file is as follows
    (ISA*00* *00* *30*905454545 *30*805454545 *130315*0758*^*00501*100000174*1*T*\~). I am using B2B 11.1.1.6.
    Please help me out with some suggestions.
    Thanks in Advance!!
    Edited by: soa999 on Apr 15, 2013 4:17 PM

    I am using B2B 11.1.1.6.TA1 Ack feature has been introduced in PS6 (11.1.1.7). So please use PS6 (11.1.1.7) to get benefit of this feature. If you cannot use PS6 then raise a SR with support to check if you can get a patch on top of PS5 (11.1.1.6) to use this feature.
    Regards,
    Anuj

  • ADDM report not being generated

    I noticed that addm reports are not being generated from last 2 days. So I did the following:
    SQL> exec dbms_workload_repository.create_snapshot;
    BEGIN dbms_workload_repository.create_snapshot; END;
    ERROR at line 1:
    ORA-13516: AWR Operation failed: only a subset of SQL can be issued
    ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 10
    ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 33
    ORA-06512: at line 1
    I got above error. I am not sure what that means. I also ran below SQL:
    SQL> select nam.ksppinm name, val.KSPPSTVL, nam.ksppdesc description
    2 from x$ksppi nam, x$ksppsv val
    3 where nam.indx = val.indx and
    4 nam.ksppinm = '_awr_restrict_mode'
    5 order by 1
    6 ;
    awrrestrict_mode
    FALSE
    AWR Restrict Mode
    What could be the reason that the reports are not being generated anymore

    Check Note:308003.1 - AWR Snapshots Not Generating

  • Default Personnel No. Ranges not being generated through NUMKR

    Default personnel number ranges according to the company / client are not being generated. what should I do further to fix the problem?

    Hi first go to PA04 and maintain the different number ranges as stated above.
    01            1 to 2000
    02           2001 to 5000 etc
    here 01, 02 are different number ranges.
    In your case maintain a number range number 6 with a range as per your requirement.
    Then go to PE03 NUMKR feature.
    Create subnodes using Personnel Area with a return value as the number range number.
    So in you case decision tree should look like should look like
    NUMKR
    WERKS
    GUJ1 ( PA for Gujraat)
    06 ( return value = number range number )
    Hope this helps.
    Ajay

  • Document Category not being generated Automatically for AR transaction type

    Hi,
    we have defined some transaction type in AR. But the corresponding document category is not being automatically generated
    Kindly help

    This doesn't look feasible, the only issue I ever encountered with this was the document category not being updated if the transaction type was updated. Maybe the customer has some custom triggers which are preventing the record from being inserted into FND tables. You can easily debug this by opening the form and testing in a TEST environment.

  • Emails not being generated using UDF

    Hi,
    We had setup a functionality to send email via UDF using the following blog.
    Mail without email adapter? Part - I - Process Integration - SCN Wiki
    This worked fine for some time. However, it does not generate emails anymore. There were no changes done on the objects. We checked the java mail service settings as suggested in some of the SCN posts and everything looks configured fine.
    We are not able to determine what is preventing the emails from being generated. Any pointers would be really helpful.
    We are using SAP PI 7.31 java only installation.
    Thanks,
    Ravi

    Hi Ravi,
    Did you check SMTP services availability?
    SMTP Configuration in SAP XI - Process Integration - SCN Wiki
    Regards,
    Krupa

  • Check Number not being generated

    We do not have SAP Check printing functionality activated right now. So the checks will be handwritten. When i created the Payment Method for check, I assigned RFFOEDI1 in the payment medium program. I also created the check lot for that House bank and Company code in FCHI. I created a variant for RFFOEDI1 although i dont really need anything printed. Now when I am executing payment run, the payments are being posted fine. The check number is not being populated. I checked the Register (FCHN) and there are no entries. The Vendor has CHeck payment method in the master record and the payment method is also assigned as "Checks" in the Invoice.
    Not sure what is wrong. Help is highly appreciated.

    Hi,
    In case you use the check printing program from SAP, it will generate the check information and will assign to the documents automatically. However it is upto you whether you need to print the checks or not? But the check numbers have been generated by SAP. You can manually create the check for the payment documents matching those check numbers.
    The only thing is that the manual control should be there so that the check is manually created with same number as system generated in payment run. (Otherwise, do not generate check in F110, rather create check manually and assign to payment document in FCH5.)
    Regards,
    Gaurav

  • Spool Request Not being Generated.

    HI,
    when ever a PO is delivered as O/P spool request is not generated.
    if we choose LP01 as printer Spool is being generated. if client printer or LOCAL printer is selected spool
    is not generated. is there any settings to be done for generating the SPOOL request?
    i need to get the O/P as well as i need to view the O/P in Spool also... please help me on this.
    Regards,
    Dinesh R

    Hi,
    go to SPAD-->check the spool setting generally for some outputs the if you check delete spool after output
    then the spool will be deleted once the print is taken.
    remove the setting ..
    or go to t-code SU01 -->Under spool control -->remove the check mark for Delete after Ouput.
    Regrds,
    Prabhudas

  • DAC source system parameters not being generated

    HI all,
    We are implementing BI apps 7962 with Informatica 861 Hot FX11, OBIEE 101341 on Linux5. We have installed and set up the configuration completely. The Informatica services are created and the DAC was configured with the Source System Parameters. When I generated the execution plan parameters, the files are being generated in the SRC files folder. But it seems like the source system parameters I set in the DAC client are not being picked up.
    For example I have set the Initial Extract date as 1/1/2008. But when I ran the load and saw the log files it still seems like the Initial Extract date is 1/1/1970. We have set the custom property for Integration Service overrideMpltVarWithMapVar as Yes. Please help me if any one has seen this before.
    Thanks
    MN
    Edited by: MNRK on Apr 5, 2011 12:49 PM

    Hi,
    When you have configured all the tasks in DAC, while running the loads DAC will generate the parameter files at runtime.
    You need to make sure that parameterfileDW.txt and parameterfileOLTP.txt files are present in DAC Installation Directory\bifoundation\DAC\Informatica\Parameter\Input folder.
    If these files are not present in the above mentioned location then you need to copy them from Informatica Installation Directory\PowerCenter 8.6.1\server\Infa_Shared\SrcFiles folder.
    Hope this helps...................
    Thanks,
    Navin Kumar Bolla

  • Security constraints not being applied after using custom login module

    I am using form based authentication and I applied the custom login module - DBProcLoginModule to work with the embedded OC4J (JDeveloper 10.1.3.2). I have specified two security contraints in web.xml. The authentication is working correctly, however the security contraints are not being applied. All users are able to access all url resources. The security constraints were working properly before applying the custom login module. Pls help.
    Leena

    Hi,
    if "All users are able to access all url resources" then this indicates that the RL isn't properly protected. If the authorization would fail then noone would have access and you would see error code 401
    Make sure the role names in web.xml are the same as added by the LoginModule. Also make sure you set the dynamic.role property and the custom security provider property in the orion-application.xml
    <jazn provider="XML">
         <property name="custom.loginmodule.provider" value="true"/>
         <property name="role.mapping.dynamic" value="true"/>
    </jazn>
    Note that the above is not required (because done automatically) if the custom LoginModule configuration is deployed through the orion-application.xml file
    Frank

Maybe you are looking for