Reg Date field in Form

I am working with a form in which I need to display a date from a XXXX table. Initially when I run that form online it should display MM/DD/YYYY (to let the user know that he/she should enter the date in the specified format)in the date field if the value in the table is empty for the current record otherwise it will display the date from the table. It should allow the user to update the date from the form itself, if it is empty.
Can anyone help to resolve this issue?
Thanks

In then WHEN-CREATE-RECORD you could do:
COPY( 'MM/DD/YYYY', '<date_item>');
Copy allows you to copy something that isn't a valid date, into the date item.
Of course you ought to make this NLS_DATE_FORMAT compliant, and not hard code the format, but that's up to you.

Similar Messages

  • Reg Data fields in DSO

    Hello SAP Guru's!!!!
    I have some doubt on maximum number of data fields in DSO. I gone through so many threads on SCN, but could not clarify my doubt.
    The max no of key fields in DSO is -- 16
    Max no of data fields in DSO is --749.
    But i read in some of the scn documents  a table can have maximum 256 columns .
    DSO is also like a two dimensional table which can also have the same properties of a two dimensional table.
    if the above statement of mine is correct.. the number of columns in a DSO is 256 columns = 16(primary key)+240 (data fields--non key fields)
    but how come 749 data fields (max) will be there ? if it is so ... the max no of  fields will be  749+16 = 765.
    I need some clarification on this ....
    Awaiting for your responses!!!!
    regards,
    vamshi

    Hi Rajavamshi,
    For DSO:
    1. See for Standard DSO we have Key fields & Data Fields will be there
    2. Key Fields will store only Characterisitc Info Objects, maximum no.of characteristic info object we can add here was 16
    3. But in Data fields we can add both Characterstics & Keyfigure infoobjects, Max of 749 data fields we can add here.
    4. Atleast one field should be there in either Key fields & Data fields.
    For InfoCube :
    1. Info cube structure will be having the 16 Dimensions and the Key Fields.
    2. In that 16 Dimensions 13 User defined and the 3 pre defined dimensions.
    3. One user defined Dimension will maximum can hold 248 Characteristics Info Object, not the Keyfigure Info Object here.
    4. But the Key Fields here will store maximum will hold 233 Key Figure Info Object.
    Thanks..!!
    Regards,
    Harish. K

  • Auto populate date field in form

    Hi
    I have been trying to get a field in a form to automatically populate with todays date. I have got a script which defines the default value for the field as: document.dform.currentdate.value=displayfirst+"/"+displaysecond+"/"+displaythird
    where dform is the name of the form, and currentdate is the name of the field.
    This works fine.
    But I am using the form to populate another program, and the field name must be 00N20000001QbHo
    I assumed therefore that I should use: document.dform.00N20000001QbHo.value=displayfirst+"/"+displaysecond+"/"+displaythird
    But this does not work. In Dreamweaver the .00 appear red.
    I suspect that I need to put 00N20000001QbHo in parentheses or something similar.
    Can anyone help a newbie who doesn't know what he is doing? Full script below
    <form name="dform">
    <input type="text" name="00N20000001QbHo" size=11>
    </form>
    <script>
    var mydate=new Date()
    var theyear=mydate.getYear()
    if (theyear < 1000)
    theyear+=1900
    var theday=mydate.getDay()
    var themonth=mydate.getMonth()+1
    if (themonth<10)
    themonth="0"+themonth
    var theday=mydate.getDate()
    if (theday<10)
    theday="0"+theday
    var displayfirst=themonth
    var displaysecond=theday
    var displaythird=theyear
    document.dform.00N20000001QbHo.value=displayfirst+"/"+displaysecond+"/"+displaythird
    </script>

    JavaScript.is.not.Java.
    This is a Java forum. You could look out for a JavaScript forum at JavaScript.com. I believe JavaRanch also has one.
    db

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

  • Date field not retent in Adobe form - Review

    Hi,
    I have a date field(Last day worked) which is not bound to any data view field in SFP transaction. When the form is in a Edit mode, I select a date in Last day worked field. After I click on Click & Send option, the form is in Review mode (with field editable), the Last day worked field goes blank.
    How do I save the value that I entered in Edit mode.
    Kindly advice.
    Thanks,
    Gowri

    You should bind the field to an attribute.
    Regards,
    Antony

  • How to add a mm-dd-yyyy date field type in a Planning Data Form

    Hi John,
    pls, I have one question regarding the possibility of adding a date field type for example 03-03-2009 in a cell of Planning Data Form application.
    for example, I created:
    - 2 members in Period dimension: StartProject and EndProject and I need to enter and track date for these fields;
    - one Account member called Project;
    - and a simple form with these collumns and row;
    Trying different settings for my members - seems that I cannot input date in the cell and rcvd errror: "you have entered invalid value".
    Pls, can you confirm me if it's possible to enter date type in a form?
    If yes, what is the specific setup for the Account and Period properties: Data storage, Time Balance, Data type, Account type etc
    many thanks,
    Robert

    Many thanks John!!! that's it!!!
    I had to change it in Data Type evaluation Order because I'm using EPMA and it's working now!!
    Thanks again!!!
    Rgds,
    Robert

  • Error while updating Date Field on Process Form.

    Hi,
    I am using java code to pre-pop date on the process form.First I used a java code whic took java.sql.date as input and returned the same java.sql.date.But it gave an error that:java.lang.String cannot be converted to java.sql.date.......
    So I changed the java code and now it takes string as input and returns java.sql.date. This code works fine for Pre-pop adapter and the date is populated on the process form.
    But when i use the same code in a Process Task adapter to update the date, then it gives the following error:
    ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: Adapter Execution Error: updateDataObjFieldValuePost: error updating UD_OID_USR_DATE_OF_BIRTH
    ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: {1}
    Can anyone suggest any method to update date field on process form?

    Hi Abhi,
    Can you tell me how you have implemented populating an UDF based on Prepopulation of another UDF. I have a similar kind of requirement. It would be great if you share your code or relevant part of it.
    Regards,
    Sunny Ajmera

  • When creating a fillable form and saving it as a pdf, the default color of the data fields is a light blue. How do I change the color to something else that will copy better, e.g. a light yellow?

    When creating a fillable form and saving it as a pdf, the default color of the data fields is a light blue. How do I change the color to something else that will copy better, e.g. a light yellow?

    It's probably the fields highlight color of the application, which you can change via Edit - Preferences - Forms.

  • How to validate date fields in the flash form

    i want to validate the date fields to make sure the values
    are not greater than today's date and from-date is less than or
    equal to to-date in the flash form. Does the actionscript have a CF
    DateDiff function for the validatation?
    Thanks

    I finally (after much reading up on actionscript) figured out
    my problem with date validation...which was similar to yours...
    I posted the solution I found for my AS date validation issue
    here:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=22&threadid=1232361
    I hope it helps!!!

  • Strange error in online Adobe form for the date field

    Hi Experts,
    I am facing strange problem with online Adobe forms. I could able to save data when i click save button on the form.
    But some times in the form the date field is throwing error message 'MMDDYYYY field is invalid' when i click on save button.
    Is this the problem with versions of Adobe liveCycle designer, Adobe reader or GUI?
    Thanks in advance,
    Ram

    Hi
    Check the format (in the object pallete) of the date field in Adobe liveCycle Designer, If it is not set already set it according to your requirement. then see if it works
    Hope this helps
    Regards
    Amita

  • Created By and Created Date fields not showing up on Custom List form webpart

    Hi,
    I have added Custom Listform WebPart on "DispForm.aspx" of custom list. I need to display, out of box fields "Author" [Created By] and "Created" [Creation Date] on this custom list form webpart, I have added them on the webpart, following is the code behind of aspx page:
    <td width ="400px" valign= "top" class="ms-formbody">
    <xsl: value-of select = "@Author" disable-output-escaping = "yes"/>
    </td>
    However these fields are not showing/populating data on the form ?? Any inputs ???
    Regards

    Hi,
    I think that when you insert a custom list form web part you select “Item” content type, so custom list form is designed to display only the fields that are appropriate for that content type “Item”, but the item content type doesn’t contain the created and created by column, when you add the two columns, it will not find the field value. By default, the two columns will display at the foot of the list form using SharePoint:CreatedModifiedInfo.
    Hope it can help you.
    Xue-Mei Chang

  • How do I auto fill a date field for an Adobe form?

    Hi. I am new to Acrobat. I would like to have Acrobat auto fill today's date in a date field when I open an acrobat form. I check the forum help and it indicated that I associate this javascript text to the field:
    var f = this.getField("Today"); if (f.valueAsString=="") f.value = util.printd("mm/dd/yyyy", new Date());
    However, when I try it out, nothing happens.
    Any clue as to what I am doing wrong?
    - Michael

    Hi M. Krebs,
    Is there a text field in the PDF labeled "Today" and set as a date field? And does the Date Options format set for the field match what is in the JavaScript (mm/dd/yyyy)?
    Best,
    Sara

  • Date field is always disabled in qlist form

    Hi,
      We are using Qlistform(quest webpart), and observed that when I include a date time field(new form), date field's calendar popup is greyed out, But I can only change the time, but not the date.  Any resolution for this?
    Thanks,
    Poonam

    Can you try deactivating the web part in a test site collection, or one that doesn't have any work you want to make live and see if this reverts to the normal behaviour.  This way you'll be able to see if the error can be attributed to that product.
    I'd also suggest downloading
    SharePoint Manager 2010 and seeing what property that field has been set to.
    Quest also maintain a community form which you might want to consider posting into. 
    http://communities.quest.com/community/sharepointforall/customization?view=discussions#/?filter=answered
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How do I set blank data to date field in pdf form ?

    Dear Sir,
    I made PDF form by Acrobat X on Windows PC and then,
    read the pdf form by acrobat reader on iPad.
    Date field  is included in the form.
    The Acrobat version is 10.1.6 .
    The acrobat reader version is 10.5.0 .
    First, I put the wrong date data to the date field.
    So, I tried to clear the date field.
    I want to put the blank data to the date, but I think
    there are no way to put the blank data on iPad
    I would like to know how to reset the date data.
    If that helps, I tried to the same thing on Android.
    I could put blank data to the date field by BS key.
    Sincerely,
    PV NEXT CO., LTD.
    Kiyonobu Matsuo
    PVネクスト株式会社

    Here is how to clear the Date field on the Ipad.
    NOTE: In order for this to work that has to be another TEXT field in the PDF to get the keyboard to pop-up.
    Click on Text field (this is to get the regular keyboard on screen)
    Click on Date field (date spinner control will show up)
    Click on SAME DATE field (spinner control will disapper)
    Click on "Reset Field" on top of keyboard (date field will now be empty)
    Click any where on PDF that is not another Date field (keyboard will disappear and date field will be empty)
    Bingo! your free and clear.

  • How do I add a current date to a form field so that it will give me the current date each time it is opened?

    I have adobe 9 pro. I am currently adding fields to a document and would like my date field to display the current date when the document is opened so that the user does not have to enter the date each time. How do I do that?

    Have you searched for this issue. It has been answered many times.
    Example Acrobat JavaScripts
    Scroll down to the . Insert Today's Date into Form Field section.

Maybe you are looking for