Both my checkboxes need to be checked for commit to be allowed.

My block has the following fields :
AMD_CODE NOT NULL VARCHAR2(10)
AMD_RISKY NOT NULL VARCHAR2(1)
AMD_PAYABLE NOT NULL VARCHAR2(1)
AMD_DATE_CREATED NOT NULL DATE
AMD_USER_CREATED NOT NULL VARCHAR2(8)
When I add a new row and if I don't check AMD_RISKY and AMD_PAYABLE , I get the following errors :
Error Mandatory Data are missing.
Commit Failure .
What can I do to remove those errors and allow commit even if AMD_RISKY and AMD_PAYABLE are unchecked ?
Thanks in advance.

AMD_RISKY and AMD_PAYABLE are not null fields in your table and hence they must be assigned some value.
Few suggestions:
1. Alter your table to add default constraint on the two columns.
2. Assign some default values through your form for the two fields.
3. If you really don't want values to be mandatorily entered in two fileds, remove the NOT NULL constraint on the columns by altering the table.
4. You can set the rquired property of the two columns as "No", but as long as they are NOT NULL fields, you must assign some default value, else you can't insert records.
Hope it helps.
Please mark answer as helpful / correct, if it helps you
Navnit

Similar Messages

  • Need script to check for duplicate file names when copying a folder

    Hello,
    I am a new applescript user trying to write what I believe should be a simple script. I was planning on using the "add-new item alert" script as a template.
    Basically I have people copying folders of photos into a library folder, but I don't want the Finder to copy the photo if it already exists in the library. The images in the library are organized into subfolders.
    I need a script that will check all the file names in the new folder against all the file names in the library, and NOT add the new one if it already exists.
    If anyone can help it would be greatly appreciated,
    Thanks,
    C

    I have a script that "kind of" works. The only problem I've seen is that it gets confused when filenames contain characters that are fine in Macland but not good in Unixland. Forward slashes are a good example of this.
    In this case I have a folder in my home named "copytest" Inside copytest are two folders:
    Source (containing the images to be added)
    Dest (My existing library of images)
    It also assumes that the folder of images to be added contains no sub-folders. Hope this helps.
    tell application "Finder"
    set theSource to folder "source" of folder "copytest" of home
    set imagesToBeCopied to name of every file of theSource
    end tell
    repeat with theFile in imagesToBeCopied
    try
    if (do shell script "find -r ~/copytest/dest -name " & quoted form of (theFile as string)) is not equal to "" then
    --The file exists. Don't copy it
    else
    --the file doesn't already exist. Copy it.
    end if
    on error
    return "Failed while trying to check for existence of a file"
    end try
    end repeat

  • Disable "check for updates" iTunes AND allow update iPad iPhone

    In an enterprise environment we followed http://support.apple.com/kb/HT2102 to disable the "check for updates" in iTunes, although this is preventing users from updating thier iPad and iPhone devices as well.
    How would we manage the Windows computer software (disable check for updates) but allow users to manage (update) thier own portable devices that require iTunes to update?

    No.  For now we have decided to perform the default install for our users with specific instructions not to update when Apple informs them of an update.  When they see the pop up notification of an Apple update, they are to open the SCCM (SMS) "Run Advertised Programs" where we have packaged the new version to install with Admin rights.

  • I need to Health check for Web server and need report on daily basis

    Hello,
    How to monitor Web servers  ?
    It would be great for administrators to have a daily alert using power shell script for web server
    Can anyone have any scripts that triggers email like IIS services , etc.. are up and running.
    Thanks
    Pushparaj
    Thanks, Pushparaj

    Hi Pushparaj, this forum is not for sharing or building script based on request
    You check the below code and build your script
    $Service = Get-WmiObject -Class Win32_Service -ComputerName SERVERNAME | ?{$_.Name -eq 'IISADMIN'}
    Send-MailMessage -From 'mailID' -To 'mailID' -SmtpServer 'XXXX.DOMAIN.XXX' -Body $Service.State `
    -Subject 'IIS Service'
    Search Script
    Request Script
    See this script and modify as per your needs
    Regards Chen V [MCTS SharePoint 2010]

  • Need sample authority-check for division...

    Hello Experts,
    I want my report to check what division/s are valid to be processed by a certain user.
    For example, If I run the said report and I am only valid to process divisions 02, 15 and 16
    then when I press F4 in the selection-screen(for the division parameter) I will only see
    divisions 02, 15 and 16. How do I do this guys? need help on this one. Below is my selection screen.
    Thank you and take care!
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE text-010.
    PARAMETERS: p_spart LIKE mara-spart OBLIGATORY,   "<---
                p_valid LIKE a004-datab.
    SELECTION-SCREEN END OF BLOCK 1.

    viray ,
    u are not getting my point what i have given in my prev.post.
    are u maintaining Authorizations on Divisions ? are u sure ? --->ask basis.
    If yes , ---> then ask ur basis person in what objects they are maintained and also activities.
    that it, that object u have to all in ur program for validations.
    revert back with issues or smiles.
    Regards
    Prabhu

  • Needed help in check for order type and subtransaction type in J1iin

    Hello experts,
    We have implemented a sub transaction type 'EN'(Excise Notification) for a particular customer only while creating excise invoice via J1IIN.
    Now the system should only let the user to select the sub transaction type 'EN' when the billing document belongs to that particular customer or particular billing document range...
    So how to achieve this functionality before creating excise invoice ?Please guide me
    regards,
    Abhay

    Hi,
    Please do the following configuration and check
    Menu Path
    IMG --> Logistics - General --> Logistics - General --> Tax on Goods Movements --> India -->  Business Transactions --> Outgoing Excise Invoices --> Maintain Default Excise Groups and Series Groups
    Assign desired Sub transaction type for the following combination :
    Sales Org - Distribution Channel - Division - Shipping Point - Plant - Excise Group - Series Group - Sub transaction type.
    Hope your issue gets resolved by this else revert.
    Regards,
    Tejas

  • Need a function module for commit

    Hi Experts,
    I have a requirement of displaying a PO report in alv and when the user clicks the po it showed navigate to ME23N to display the PO.
    Here the user can go in change mode to change some details in po, and when he returns back, the report should show the changes in the PO.
    I am able to update the report once the user return back to the report from ME23N.
    But only thing is there is a lag(5 Secs) of updating the database table when the user saves the PO.
    So we need to commit once the user return to the report and then fetch the data from database.
    I tried to use the " Commit work Statement" but it does't update as early.
    can some one please telll me some commit Fucntion module which can update the ME23N related tables qiuckly.?
    Regards,
    Venkatesh.

    >
    kartik tarla wrote:
    > since the same answer is already given above there's no need to post again.
    Especially when that answer is wrong...
    As we talk about a standard transaction here, the COMMIT is included in the standard transaction, so it does not make any sense to do it once more in an FM, or directly in the ABAP program (not mentioning that the LUW is closed already, so there is nothing to commit...)
    On the other hand, the replies with WAIT UP TO ... are very strange, because now the time is 5 seconds, but next time it could be 7 seconds, who knows... this is not a stabile solution.
    The only reply is worth considering is the one from Thomas!

  • Disable QuickTime Player "check for updates"

    We have Windows 7 Enterprise SP1 and QuickTime Player 7.7.1 installed. How can we need to disable "Check for Updates" for all users on a workstation?

    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager05.htm l

  • Need to Perform Check again and again in Oracle Workflow

    Hi All,
    I have one requirement in Oracle Workflow where if there is any hold applied on any Invoice and if the hold is released then workflow should get cancel immediately.
    I have one workflow activity which can check the current status on workflow by querying AP_HOLDS_ALL table.
    How I can perform the same check again and again to check the current status so that I can immediately cancel the workflow?? Please suggest if anybody has any idea like do-while Loop etc to achieve the requirement.
    Thanks.
    Viswas

    WF Definition loops are expensive for the background process and take good amount of data in wf_item_activity_statuses and wf_item_activity_statuses_h. I would recommend defining a business event to be raised from the form/module where the base table is updated. Then you create a subscription to that event and the function associated to that subscription can abort the workflow process.
    So there would not be a need to constantly check for a condition.
    Regards,
    Alejandro

  • Windows disk partition frequently checked for consistency

    I have installed Windows XP Pro with bootcamp, using FAT32 format. The installation seemed to go fine, but now about 75% of the time, after I log into my Windows account, the computer spontaneously restarts and tells me that it is Checking the file system on C, and that one of my disks needs to be checked for consistency. Sometimes it finds a problem and fixes it, and other times there are no problems. After the disk is checked/fixed, I can log back into Windows. I tried removing the Windows partition and reinstalling, and the problem remains.
    Is this a problem with Mac/bootcamp/how the disk is formated, or with Windows (maybe my copy of the Windows XP install disk?), or something else? Apple's technical support was no help.

    Do you write to the Windows partition from OS X? Have you been shutting Windows down normally? If you don't need write access from OS X, I suggest that you convert to NTFS.
    See:
    http://support.microsoft.com/kb/307881

  • How do I have Firefox check for expired/revoked certificates?

    The Heartbeat vulnerability fix requires servers update openssl, get a new certificate, and revoke the old certificate. To be sure a spoofed site isn't using the revoked certificate, I need Firefox to check for revoked certificates. How do I turn this revoked certificate checking on in Firefox?

    hello eghuff, firefox should be set to check for revoked certificates by default, you can check that under ''firefox > options > advanced > certificates > validation''.

  • Need to Create a Check for Plant in WBS & Plant in Network

    Dear Guru's,
    While creating Project (CJ01) my users are creating in a Plant, and while creating network for the same project/WBS, they are using different Plant Code.
    Since my Profit center is related to the plant in CJ01,
    and because of wrong Plant in network, all my PR/ PO is going in a different Profit center, which is creating a huge problem while auditing.
    I need to Create a Check for Plant in WBS & Plant in Network...!!
    Kindly suggest me the ways to do it and how to do it...

    Hi Deepa,
    The Check you are trying to create between Plant defined at Project def and network level that should be same can be achieved through validation at the network level by using a user exit at network level.
                    While creating the network you can change the plant value not equal to the value at proj def/network profile may be one of the reason is since the network type is defined for more than one plant (OPUV).
                    While creating validations at network level we do not have the option of setting the prerequisite/check  using WBS or Proj def fields (i.e. PROJ-, PRPS- fields)    so we need to create a user exit at the network level.
    I am not sure but logically u can have a user exit for both prerequisite and check steps of the validation.
    You need to create the user exit in program ZGGBR000.
    Please take help from your Abaper for the same.
    OPSI-Network header-Validation- Step - Prerequisite u2013 Check u2013 Message.
    Prerequisite
    If Proj Profile = u2018XXXu2019 and Network Profile = u2018XXu2019 (or as per your logic if need be use a exit)
    CHECK.
    PROJ-WERKS = CAUFVD-WERKS   (This logic needs to be defined in user exit and set the same user exit at the check.)
    Once you define the user exit in ZGGBR000, it will be available in the tab u2018exitsu2019 at the Prerequisite and Check levels.
    The name of the form pool (e.g., ZGGBR000) that contains your user exit must be stored in table T80D.
    It is important that you make declare the code generation program for your user exit; how many and what type of parameters you are using for the user exit. You do this by entering your newly defined user exits in the form routine GET_EXIT_TITLES. Found in program ZGGBR000.
    Check with your Abaper to check on all the aboveu2026
    Message:
    Plant at Network level should be same as at Project def level.
    Hope it helps you,All the best..
    Regards
    Vinayak.

  • I keep getting the message that I need to download the images update to open old documents.  The update was downloaded on 11/24/13.  Checking for new updates shows all updates have been made.  What is the issue?

    I keep getting the message that I need to download the new update for ipages when opening old documents.  The latest update that I have download was done 11/24/13.  When I check for updates it shows that there are no new updates available.  I downloaded Maverick a few weeks back on to my iMac.  What is the issue

    You have both your older iWork apps and the newer Maverick apps on your computer.
    The new Maverick apps are in the Applications folder.
    The older iWork apps are in the Applications/iWork folder.
    Of the two, the older iWork apps are more useful so don't throw them out.
    Check out about Pages 5, keeping the older Apps and how to manage updates here:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=6f02f15454adf b3c68b0a871f2ed6447&mforum=iworktipsntrick
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=432&mforum=iworktips ntrick
    Peter

  • Need to do availability check for multiple materials (in bulk)

    HI Friends,
    I need to do availability check for multiple materials. Currently i am using function module AVAILABILITY_CHECK within a loop.For my purpose I could find this particular FM as well as BAPI "BAPI_MATERIAL_AVAILABILITY" however both of this options can not be used for more then one materials at a time.
    I want to take out the loop from the code and get multiple materials be ckecked at once for availability. If AVAILABILTY_CHECK FM can be used for multiple materials, please post the usage.
    Any other options are there?
    Any help or clue would be appreciated.
    Thanks in advance.

    Use the BAPI.  Even if such a function existed, it would still perform the relevant internal logic required for checking by material, so you wouldn't gain anything.

  • Aye have bought an old iphone 8gb phone its not a 3g one and aye can't download any apps because it needs to upgrade to ios4.3 how do aye upgrade my iphone? I have tried checking for updates but it keeps saying its up to date

    Aye need to update my old iphone 8gb its not a 3g phone its the older one to ios4.3 and it won't let me update so aye can't download any apps and aye have tried checking for updates and it says that my iphone is up to date can anyone help?

    To identify your iPhone see:
    http://support.apple.com/kb/HT3939

Maybe you are looking for