How to create a single 'not null ' validation for all the items in a page ?

Hi everyone ,
how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
Thanks & Regards
Umer

Nice1 wrote:
bob , as u said I have done the following :
1) under create button , there are 9 items and for each item I have set Required to 'Yes'
2) under delete button , there is 1 item and have set Required to 'Yes' for the item
3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
The best solution is as the reply a couple replies up
Create 2 page type validations as a PL/SQL with code
1st validation
:P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL  include all 9 items
Set the When Button Pressed to the CREATE button
2nd validation
:P1_ITEM10 IS NOT NULL
Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
Edited by: Bob37 on Apr 27, 2012 12:02 PM

Similar Messages

  • How to create a named not null constraint

    Hi All,
    How to create a table with a named not null constraint?
    and how to add a named not null constraint to a table?
    Thanks for the help.

    Hi,
    I guess you are asking for a column inside a table, having a named not null constraint. Am I correct? Try the following.
    SQL> create table checktab (col1 varchar2(30)  constraint NN_const not null);Is this what you required?
    Please post technical questions in respective forums.
    Hope that helps.
    Savitha.

  • How to create general message in sap screen for all users

    Hi Forum
    I am using ECC6 version and i want to keep a message for all the users for assistance (like who is the administrator,contact number,mail id, etc)
    Can anyone show me how to do this and also i want to know what is sm02 is used for?
    Regards
    Friend

    You can do this by creating a message at the logon screen
    Read SAP Note 205487
    SM02 is used to send system messages like prior a system downtime or a scheduled maintainance, etc.
    regards
    Juan

  • How to create a new user, USERA, to have all the objects of USERB?

    Question as the title.
    Also, the USERA can only SELECT the objects of USERB.
    There is no any other previlage available to USERA.
    Thanks in advance.

    Hi, If USERA can ONLY see the objects of USERB, than granting SELECT ANY TABLE will not help, with this privilege USERA wil be able to select pretty much any table in the database, except for dictionary tables.
    I think what you need to do is create USERA, create public synonyms for all the tables under USERB, grant select to USERA on all the tables individually owned by USERB( if there are many tables that you can generate a script using SQL).
    This USERA will only have access to USERB tables and has only SELECT access and any other user whom you want to access these tables, you create the same grant script and run it.
    This way you need not have to maintain a seperate copy of all the USERB tables under USERA .
    Hope this helps.
    -Ramki

  • How to update the condition price in the sales order for all the items

    Hi,
    How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
    Thanks,
    Balaram

    Hi,
    There is a change in the requirement.
    Scenario:
    I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
    For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
    Thanks.
    Balaram

  • Grouping to display null values for all the missing dates

    Hi SAP,
    I am trying to display '0.00' value for all the missing dates in my crystal reports as follows:
    17-Jan-14     40.00
    18-Jan-14       0.00
    19-Jan-14       0.00
    20-Jan-14     80.00
    However, my crystal report is showing as follows:
    17-Jan-14     40.00
    18-Jan-14       0.00
    19-Jan-14
    20-Jan-14     80.00
    The missing dates with no data are group together and my '0.00' value is not. Kindly advise me the solution. The formula is shown as per attached.
    Thank you.
    Regards.

    Hi,
    Thanks for your reply.
    Fyi, I am using a formula field in crystal report to display "0.00" for days in between as follows:
    whileprintingrecords;
    if Days_Between({Command.DocDate},next({Command.DocDate}),'dd-MMM-yy') = "" then "" else "0.00"
    There is another formula field in crystal report to display the missing dates in between as follows:
    whileprintingrecords;
    Days_Between({Command.DocDate},next({Command.DocDate}),'dd-MMM-yy')
    Below is my report custom functions:
    Function Days_Between (datefield as datetime, nextdatefield as datetime, format as string)
    ' This function is only used to display what data is missing within a specified date range...output type is text
    dim thisdate as date
    dim nextdate as date
    dim output as string 'output is the text display
    dim daysbetween as number
    dim looptimes as number
    looptimes = 0
    daysbetween = 0
    output = ""
    thisdate = datevalue(datefield) + 1
    nextdate = datevalue(nextdatefield)
    if nextdate - thisdate > 1 then daysbetween = nextdate - thisdate else daysbetween = 1
    do
    if nextdate - thisdate > 1 _
    then output = output + totext(thisdate, format) + chr(10) _
    else _
    if nextdate - thisdate > 0 _
    then output = output + totext(thisdate, format)
    looptimes = looptimes + 1
    thisdate = thisdate + 1
    loop until looptimes = daysbetween
        Days_Between = output
    End Function
    The issue arise when when there is more than one missing dates in between but the null values ("0.00") displayed is only for the first missing dates and not for all the missing dates.
    Regards,
    Ting Wei 

  • How to create a playlist on my computer of all the songs on a device?

    ok, i have LOTS of music and i perfer to start over when i get a new device so i would like to get music from my old ipad to my new one without using auto downloads and all that.  i have more people on my account so it doesn't work anyway.  the real question is how do i create a playlist or a smart playlist on my computer that includes all the songs from one of my ipod devices.  that way i could have a playlist on my computer for every device to keep it organized for playing music atleast. 
    thanks for any help.

    Ok i got it figured out. since i had all the music on my computer it was just the fact of what i wanted. i went to my old ipad and created a playlist of ALL the songs then went into itunes right clicked that play list and exported it as a txt to my desktop.  i then in itunes clicked flie>library>import playlist.  selected that txt document and it imported to itunes library. i was then able to select all the songs in that play list and transfer them to my new ipad.

  • Single XML configuration file for all the SSIS packages(including parent and child packages)

    Hi
    I have some 16 ssis packages. source Db and destination Db for these packages are common. I am calling these child packages in a master package.
    I want to use only one XML config file for this master.
    How do i use same for all child packages?
    and can i do it with parent package variable?

    I created a master package with a variable master, and in value i have entered the configuration file path.
    Hi vjp dinu,
    You should create variables in the parent package to pass values to variables in each child package rather than pass the file path of the XML Configurations file of the parent package.
    As Visakh mentioned, you can achieve your goal by creating corresponding variables in the parent package for each child package, and enable Package Configurations for the parent package so that you can control the values through the XML Configurations file
    for the variables of the parent package.
    Supposing there is a variable FilePath in child package 1, a variable ServerName in child package 2, then, we need to create two variables pFilePath, pServerName in the parent package. After configuring the Parent package variable in each child package (e.g.
    mapping pFilePath to FilePath, pServerName to ServerName), you can enable XML Configurations for the parent package, and expose the value property for both pFilePath and pServerName variables. In this way, you can modify the XML Configurations file of the
    parent package and the specified values will passed to the child packages.
    Reference:
    http://microsoft-ssis.blogspot.com/2011/06/passing-variables-from-parent-package.html 
    Regards,
    Mike Yin
    TechNet Community Support

  • How can a consistent volume level be set for all the songs in an iTunes library?

    The volume of the songs in my iTunes library varies significantly when played on my iPod.  Is there any way of setting a consistent/equal volume for the songs in my library so that I don't have to change the volume level when listening to my iPod?

    I have used the $30 iVolume utility to equalize my iTunes song's volume for several years and it works well. I just wish it worked for music videos.  iVolume is available on the Mac  App Store, or you can try before you buy at the developer's site: http://www.mani.de/en/ivolume/index.html

  • Apex 4.1. cannot see the details of not null validations generated by apex

    Hi there,
    I have worked with APEX 3 quite a while. Now I move to new place, and they use APEX 4.
    I am currently doing the Advanced Tutorials - Issues Tracker (written for 3.2 ) on an APEX 4.1.
    I am quite impressed with a lot of enhanced features of APEX 4.
    However, I think I got quite confused about the NOT NULL vaildations.
    In the tutorials, they said when creating a form based on a tablle of which the columns have NOT NULL constraint, it will automatically generate NOT NULL validation.
    But when I extend the validation section (in both Component View and Tree View), I cannot see any vaildation there.
    So I go a head and create some NOT NULL validations for all NOT NULL fields.
    Guess what, when I test the form, I got duplicate error messages.
    I get these
         6 errors have occurred
    Project Name must have some value. (Go to error)
    Start Date must have some value. (Go to error)
    Target End Date must have some value. (Go to error)
    Please provide project name. (Go to error)
    Please provide project start date. (Go to error)
    Please provide target end date. (Go to error)
    My validation has error message "Please provide project name" while the automatic one has "Project Name must have some value".
    The issue is I cannot find where the automatic validation is.
    What if I want to customise the error message rather than just "#Label# must have some value".
    Do any of you have any ideas why ?
    I guess I must have chosen something wrong during page generation.
    It could be quite simple but I don't know where to find the place that turn on/off the automatic not null validation, or at least customize these automatic error messages.
    I currenly develop the application using workspace admin account.
    Thanks a lot in advance.
    Ann

    I found it. Turn out to be the Settings, choose No for Required Value.

  • How to Create a Single Backend Socket connectivity in a Server Socket Pgm

    Hi Everybody,
    I have a written a Server Socket which connects to back end socket and receiving the data and sending back to the front end. But as per my client requirement i need to create only one socket at the back end. But the code I have written is creating new sockets for each request. Is there any way to use the single client socket connection for all the transactions. I have attached the sample code for the reference.
    import java.io.*;
    import java.net.*;
    import java.nio.ByteBuffer;
    import java.nio.channels.SocketChannel;
    public class serl implements Runnable
    ServerSocket serversocket;
    Socket clientsoc;
    Socket fromclient;
    PrintStream streamtoclient;
    BufferedReader streamfromclient;
    SocketChannel socket_channel=null;
    Thread thread;
    public serl()
    try
    serversocket = new ServerSocket(1001);//create socket
    clientsoc = new Socket("10.100.53.145",200);
    socket_channel = clientsoc.getChannel();
    catch(Exception e)
    System.out.println("Socket could not be created "+e);
    thread=new Thread(this);
    thread.start();
    public void run()
    try
    while(true)
         PrintStream streamtobackend=null;
         BufferedReader streamfrombackend = null;
    fromclient=serversocket.accept();//accept connection fromclient
    streamfromclient=new BufferedReader(new InputStreamReader((fromclient.getInputStream())));
    //create a input stream for the socket
    streamtoclient=new PrintStream(fromclient.getOutputStream());
    //create an a output stream for the socket
    String str=streamfromclient.readLine();
    //read the message sent by client
    System.out.println("Output Input From Vtcpd "+str);
    streamtobackend.print(str);
    streamtobackend = new PrintStream(clientsoc.getOutputStream());
    //create an a output stream for the backend socket
    streamfrombackend = new BufferedReader(new InputStreamReader(clientsoc.getInputStream()));
    //create a input stream for the backend socket
    str=streamfrombackend.readLine();
    System.out.println("Output From Backend Client"+str);
    streamtoclient.println(str);
    }//end of while
    catch(Exception e)
    System.out.println("Exception "+e);
    finally
    try
    fromclient.close();
    catch(Exception e)
    System.out.println("could not close connection "+e);
    public static void main(String ar[])
    new serl();
    }

    Srikandh,
    Create a singelton pattern for you socket ( IP, port, etc..) and each time you read the input stream and write to the output stream, do the following to the socket to reset it in the working thread
    fromclient.getInputStream().mark(0);
    fromclient.getInputStream().reset();Hope this could help
    Regards,
    Alan Mehio
    London,UK

  • How to create a single SCN [Inbound Deliery]  ' VL31n '   for multiple PO's

    How to create a single SCN [Inbound Deliery]  ' VL31n '   for multiple Purchase-Orders with the help of BAPI or BDC Recording in 4.6 b version.
    Manually its possible.. but how is it possible in the background i.e through BDC Recording or BAPI's.  
    [ As we donot have an option of creating one same  SCN [Inbound Deliery]  for multiple Purchase-Orders in 'VL31n' ].
    Please provide the needful Information.

    These mpeg2 clips do not have audio.
    I simply want to create a script that can read in the files, append to each other and then export to an .mov format.
    I want the process to be called from a command line that will open QT, run the script, read in the files, append and export.
    Thanks.
    G5 and Mac Pro Mac OS X (10.4.8) PC's and Windows
    G5 and Mac Pro Mac OS X (10.4.8) PC's and Windows

  • How to create a single action for adding a border and signature for portrait AND landscape images???

    i would love to be able to create a single photoshop action for adding a border, plus a signature in the bottom right corner, that works for both portrait and landscape images.
    need i say more?!
    i already have an action that adds a signature in the centre of the border at the bottom of the image e.g. the image below. what i want though is for that signature to be on the RHS and for the same action to work for portrait images as well.
    supplementary info: reason for this is that I want to be able to export 300 wedding images (mix of landscape and portrait images) from lightroom in my pre-selected order (meaning the files are labelled from 001 to 300, ordered according to how the wedding day unfolded) and then use PS to add the border and the signature, in the same place, and for it to work for both orientations.
    i need this to work for full sized exported jpeg images, i.e. i want the files that i give on CD to my clients to include my signature in this manner. so I don't want to copy the initial layer and then reduce the second layer size to leave a border around the second layer.
    i hope i've been clear and that someone can help me here. I think that this sort of presentation makes such a difference to final printed image, and I DONT want to have to go to all 300 images picking out the landscape from portrait ones (although this may be what I have to do and wouldn't really take that long but surely there's a better way!!!!).
    Thanks in advance photoshoppers ...

    It is actually quite easy to do if you have a good understanding of how Photoshop works.  To be able to handle any size Landscape and Portrait you need to scale the document to a known width or height.  Once the document is resized to the width or height it easy.  When yot resize the document you use Image size with resample NOT checked.  Not a single image pixels is changed all the happens is the documents DPI is set to the proper DPI resolution to print that size.  This lets you add a border sized for and document.  You can use Canvas Size check relative and  leatve the anchor point centered and set width and height to 2" this will add 1"on all sides. Use Canvas size a second time move the anchor point to the top center check relative and set height 1" the will add an additional 1" border on the bottom.  You then record a text layer with your Name title or what ever to the top left of the image. Select all ant the align the text layer to the selection to move it to the bottom right.
    Adding a couple of scripts to the action you can make sure there is a background layer so the added canvas will be filled with pixels.  You can restore the document to its original DPI resolution to retain the images print size. Down load my crafting actions package it contains a dozen scripts to be used within actions. There are text file with tips and guidelines additionaly there is one on dealing with document size and includes a sample action set with a watermarking action the can watermark and size image. The Action set is also saved as a text file with additional comments I added my downloads can be found here http://mouseprints.net/Photoshop.html

  • HT1222 Wheb I try to update iTune I am getting a message "the site has not a valid signature" and the downloading is stopped. How can I fix IT?

    Wheb I try to update iTune I am getting a message "the site has not a valid signature" and the downloading is stopped. How can I fix IT?
    I am using windows 7 64

    That suggests that the installer is getting damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • How to create a pop up window while creation of the delivery note.

    Hello Experts
    How to create a pop up window while creation of the delivery note.
    As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
    For e.g.
    Str. Loc     Qty      UOM
    DE01        100        KG
    DE99          50        KG

    Dear all,
    i m having two document numbers for invoic of same types such as output type print program and smartform.
    biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
    Directly the cursor comes to initial stage of vf03.
    suggest what to do
    Thanks and regarnds
    ravi

Maybe you are looking for

  • Assigning roles to different users in GP

    Hello, We have developed a small application using CAF.The UI part is done using  <b>Webdynpro module which is a part of CAF project</b>. Now we have to apply Guided procedures to this application . I have followed steps in this link to create a proc

  • Anyconnect IKEV2 restricting access via AAA auth Group

    Hi Everyone, I have ASA config with 2 connection groups Say Group  1 and 2. Currently both are assigned to Same Auth AAA group One of our external vendor has access to both XM files of connection group 1 and 2.. If i want Vendor should connect only t

  • Different process revisions with inbound Database Adapters

    Hi, we've got a BPEL-process deployed in different revisions (1.0 and 1.1). The process state of Revision 1.0 is still "on", but it is marked as "inactive" because no new instances of this process are needed, but old instances are still running. Revi

  • Open-vm-tools-modules and kernel rebuild

    Initially when I installed open-vm-tools-modules the wiki instructed me to rebuild the kernel to include the VMWare drivers. Today there was an upgrade to open-vm-tools-modules and I was wondering if a kernel rebuild is required every time this packa

  • HT201077 I have a slideshow how can I put it on Facebook

    I have an ipad3 did a slideshow but can't move it to Facebook? I don't have iPhoto I have the one that brings the ipad3,