Popup Calendar and date fields

I have two date fields on a form with one field having a "MM/DD/YYYY HH:MI" date format and the other having a "MM/DD/YYYY" date format. The calendar that pops up for the field with a timestamp requires the user to choose the time, a date, then click on the OK button. The other calendar will automatically choose the date and close the calendar when the user clicks on a date. Is there any way I can get the calendar with the timestamp to have the same functionality as the "regular date" calendar? In other words, can the popup calendar automatically close when the user chooses a date when the time is shown on the calendar?
Thanks in advance,
Dan

DTP,
I don't know if you'd be interested in trying something completely new but with jQuery you could use a completely serverside solution by combining jQuery with uidatepicker and clockpick...
Check these out:
http://marcgrabanski.com/code/ui-datepicker/
http://www.oakcitygraphics.com/jquery/clockpick/trunk/ClockPick.cfm
Getting started with jQuery can be a little confusing at first. But if you stick with it there are many benefits!
Regards
Dan

Similar Messages

  • My Question On Calendar and Date

    Hi, I am making a query to a table: T_HR_CONTRACT,
    which stores the labor contract of a company.
    END_DATE is a field of table T_HR_CONTRACT. Its type is date.
    Now, I need to search the contract end in each month.
    select * from T_HR_CONTRACT where fEND_DATE >= theStartDayOfCurrenctMonth and fEND_DATE < theStartDayOfNextMonth;
    or
    select * from T_HR_CONTRACT where fEND_DATE >= theStartDayOfCurrenctMonth and fEND_DATE <= theLastDayOfCurrenctMonth;
    How can I utilize the java class Calendar or Date to get
    the first day of current month,
    the last day of current month,
    the first day of next month?
    I am new to Calendar and Date class. Please give me some help!

    Ok, I have solve the problem as following:
    //get the first day of this month, by using StringBuffer, we can enhance
    //the effiency
    StringBuffer today = new StringBuffer();
    Calendar rightNow = Calendar.getInstance();
    today.append(rightNow.get(rightNow.YEAR));
    today.append("-");
    today.append((rightNow.get(rightNow.MONTH) + 1));
    today.append("-01");
    String todayDate = today.toString();
    //get the first day of next month
    StringBuffer next = new StringBuffer();
    //if the month is December, then get the first day of next year!
    if(rightNow.get(rightNow.MONTH) == 11)
    next.append(rightNow.get(rightNow.YEAR) + 1);
    next.append("-01-01");
    else
    next.append(rightNow.get(rightNow.YEAR));
    next.append("-");
    next.append(rightNow.get(rightNow.MONTH) + 2);
    next.append("-01");
    String nextDate = next.toString();

  • DSO - What key fields and data fields in dso

    Hi experts,
    I need to create a dso in between the cube and 2 data sources(2lis_11_vaitm, 2lis_12_vcscl) to stage the data. My question is: what key fields and data fields to choose for the dso? is there a standard dso to copy? please explain in detail the model to set up, whether to connect both the ds's to dso and then to cube or one ds to dso and the other to the cube. more details will help.

    Check this for standard DSO:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/fcdc387f34384f94c3227baf3837a8/content.htm
    Thanks...
    Shambhu

  • Infoset Join condition on Key feilds and data fields

    Hi Guys,
    I have a requirement to biuld the Info set with join conditon on two DSO's  the info objects which i am using in the JOin condition are defined as data fieds in one DSO and defined as key fields in another DSO, is it possible to define join condition on key fields and data fields.
    The two info objects are                
                           0AC_DOC_NO
                           0ITEM_NUM
    These two info objects are defined as  data fields in DSO :   0LIV_DS1   Invocie verificaion
                                                            key fields in DSO:    0FIAP_0o3 FI AP Line Item
    Please suggest me is it possible to define join the condtion on the data fields and key feilds.
    Thanks
    Best regards
    SG

    Hi
    yes you can create join, you will get any issue in reporting level.
    example: Say i want to create Info Set on 0MATERIAL and Sales DSO.
    In 0MATERIAL Info Object it is key filed, but in my DSO 0MATERIAL is data field.Still we can create
    Creation of join is dependent on fields common in your source objects.
    check out the below document
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh
    Edited by: Venkateswarlu Nandimandalam on Sep 27, 2011 2:26 AM

  • Key fields and data fields in a DSO  ??

    i have a question regarding key fields and data fields in a Standard DSO...
    i am using 2 datasources to build a open sales report 2LIS_11_VASTH  and  2LIS_11_VASTI   i am pulling in data from these 2 data sources to a DSO and i am wondering what infoobjects should be in the key fields and data fields .....does this reflect back to table VBUK and VBUP tables and does the key field in the DSO have to be the key fields in VBUK and VBUP tables  ????  or what really should be included as key fields and data fields   ????  
    please help....

    If you look at the various SD tables, VBELN and POSNR are commonly used as the document number and document line item.
    For VBAP and VBUP, it's referring to the Sales Order Line Item with the columns VBELN and POSNR as the key for both tables. However, if you look at the LIPS table, which is the Delivery Line Item table, it too has VBELN and POSNR as the key. Likewise, the VTTP table, which is the Shipment Line Item table, also has VBELN and POSNR as the key.
    While using RSOSFIELDMAP as a map is a fairly good "rule of thumb", it still needs to be used with a level of skepticism.

  • Prerequsites for deciding Key fields and data fields

    Hi
    I would like to know the criteria to decide upon KEY fields and Data fields for an infoprovider.

    Hi,
    What is a Key field in a Database and How should I choose one?
    Keys are crucial to a table structure for many reasons, some of which are identified below:
    They ensure that each record in a table is precisely identified.
    They help establish and enforce various types of integrity.
    They serve to establish table relationships.
    Datafields may be Charecteristics and it may be keyfigures
    Regards,
    Marasa.

  • Key Fields and Data Fields in ODS

    Hi Guru's ,
    Can u Explain what are Key Field's and Data Field's in ODS,and How they work.
    Thanx in Advance.

    Hi Pradeep,
    An ODS’ key fields forms a unique combination of chars according to which data in the ODS will be summed up. Data fields are additional fields, chars or key figures.
    For example, you have the following key fields:
    Doc No, Doc line item (item no in the doc) and you load the following data:
    Doc# Item# Amount CALDAY
    1234  1        100       26.09.2005
    1234  1        150       27.09.2005
    1234   2        300      27.09.2005
    1235   1        400      27.09.2005
    The first two rows with the same key fields (1234-1) will be aggregated and into ODS will go amount of 250.
    What I said is true if for Amount key figure the ‘Add’ option is set.
    But if you set an ‘Overwrite’ option, then the second record will overwrite the first one and only amount of 150 will go to ODS!
    But if CALDAY is also a key field, then into ODS will go all records without any aggregation, because key fields combination is different for all records.
    So, ODS’ key fields choice and KFs settings are very important for data aggregation in the ODS.
    Best regards,
    Eugene

  • Chart report Condition fields and Data fields

    Hi all,
    i have tried chart report by adding two condion fields and one data field, the report is more meaning full in this scenario. the first condition field is taken as x-axis, the 2nd condition fields is taken as legend.
    while adding more condition fields and data fields, i feel its not showing meaningfull data.
    can anyone explain how the condition fields and data fileds are manipulated by crystal report.
    i am using CR XI R2 Server.
    Thanks
    Padmanaban V

    i am using Crystal Report XI R2 RAS Embedded in my server.
    as we can add any number condition fields programatically using the method
    ConditionField.Add(FieldObj), i would like to know how these fields are manipulated internally by the RAS server.
    that means, what is the significance of condition fieldobject 1, condition fieldobject 2,condition fieldobject 3 etc...
    if i add more than two condition fields , RAS Chart Report always returns 0 as legend value for all legends.
    Thanks in advance
    Regards,
    Padmanaban V
    Edited by: Padmanaban Viswanathan on Dec 22, 2008 9:53 AM

  • Identify key fields and data fields

    Hi
    i have datasource 0co_om_cca_9 .
    i want build 1 DSO, how can i identify what are key fields and data fields to build DSO based on that datasource.

    Hi sunnel,
    The DSO are like 2-D database tables.
    We use the technical keys here in counterpart to the business keys in Infocubes.
    The key fields are the one based on which the records are identified uniquely in the database table.
    And the data fields are the ones which are aggrgated or summarised or overwritten based on the value in key filed.
    For example:
    The ID no.s of the employees will be unique and it can be used as a key field.
    The feilds like the Salary taken by the employee every month :"SALARY"
    and the no. of leaves they taken: " NO. OF LEAVES" can be used as data fields.
    So that the salary or the leaves taken by a particular employee can be aggregated based on her/his ID no.
    The key fields in DSO doesnty mean Key figures.The key field means any unique key or a key based on which the records are sorted in the DSO
    And key figures are the data fields.Some of the Characteristics can also be data fields in DSO.
    Please give points if u r satisfied wit the information
    Also let me know if u hav any doubt and if any thing is wrong.
    Regards,
    Kalpana M

  • Defining Key -field and data fields

    Hi all
    i have to define Key-Fields and data-Fields for a DSO(say DSO3).
    DSO1 is a combination of DSO2 and DSO3..
    DSO1 and DSO2 are SAP defined DSOs.
    DSO3 is a User defined DSO.
    my assumption:
       DSO3 has 30 fields
       DSO2 has 16 fields.
       can i create the DSO3 with remaining 14 fields which is there in DSO1?
       or i have to create the DSO3 with 30 fields(all DSO1 fields).
    can any body explain....
    Thanks & Regards
    krishna

    The problem is not how many fields you create where, the issue is where is the data is going to come from.
    Since you data is going from DSO3 to DSO1and if the field is already getting populated in DSO1 from DSO2, then you don't have to worry about populating those fields again, unless and otherwise you want to overwrite them.
    Remember any fields exist in both DSO3 and DSO2 which overlapping will be overwritten by the latest update.
    Again, going back to your question, you should consider does your datasource has missing fields (14 of them).
    thanks.
    Wond

  • "Amount, currency, and date fields and service provider reset"

    Hi all,
    I am trying to save a trip request via TCode: TRIP but receive the following message:
    "Amount, currency, and date fields and service provider reset"   Messsage no. PTRA_WEB_INTERFACE150
    The system is on ECC6.0 with IS-PS (i.e. Funds management activated).
    Anyone encountered this previously - hope you can share your solution.
    Thanks in advance.

    Hi
    I am also facing the same and checked the table mention below and dates are same but still facing the error "Amount, currency, and date fields and service provider reset" along with other error message i.e "Expense type not allowed (T70S_RECEIPT)" .
    Please guide .
    V_T706B1
    V_T706B1_A
    V_T706B1_B
    V_T706B4
    V_T706B4_A

  • Create Multiple Signature and Date fields with a custom Toolbar Button

    First off, thanks in advance!  I am a scripting newbie and I am trudging my way through with very little experience with scripting of any kind.  I am good at taking other's scripts and forming them into something I need, but I can't seem to find anything to do what I want.
    Using Adobe Acrobat X, I am trying to create a toolbar button that I can press to create multiple signature and date fields with predetermined locations.
    Below is the script I have that is working to create just a single signature box, but I can't seem to figure out the exact syntax to have that same button create multiple fields.  In total it is 9 signature fields and 9 date fields need to be created.  If you can just give me an example of what the button would look like with multiple scripts?  I was assuming I would set up multiple variables and then in the cExec property of the toolbar button I could just call out all of those variables? 
    var sigswm = "addField('sigSWM', 'signature', '0', [108, 198, 494.64, 72])"
    app.addToolButton({cName: "dotbutton", cExec: sigswm, cLabel: "Place Signature and Date Blocks",});
    Thanks in advance for any help you can provide.
    Billy Sweeney

    Thanks!  That was probably the only thing I didn't try.
    I do have one more question.  What I want is when the signature field is clicked it fills out a specific date field. I beleive the script I want would be:
    var currentTime = new Date()
        var month = currentTime.getMonth() + 1
        var day = currentTime.getDate()
        var year = currentTime.getFullYear()
        var signingTime = day +"/"+month+"/"+year
        var f = this.getField("dateSWM"); 
        f.value = signingTime;
    I found this on another thread that mentioned it could be placed in the Signed tab of the signature properties dialog.  I am assuming it would be placed in my button script file as a setAction script for each signature, but I am not real sure exactly where or how?

  • Calendar popup for a date field in ITS service

    Hi
    I am working with SRM EBP module we want to add date help(with calendar function) to existing date fields in Shopping cart and PO screens . I found some HTML and scripts in SYSTEM and BBPGLOBAL(assuming in regular ITS this service might be GLOBAL) services but not sure which ones to use if anyone used date functionality or even have access to Standard SAP ITS screens that already have date field with calendar functionality can you help???????????????
    Scenario what we are trying to do
    1) On the shopping cart details there is a require on field
    2) we are trying to add a f4 icon(which we did successfully)
    3) when a click happens on the icon a calendar popup should appear(for this we are trying to identify what standard SAP function we can use if not i got a JavaScript on the web trying to see how to integrate that script)
    Thanks in Advance

    Hi
    I browsed thru other services i found PZLE_06 and there is a date field with popup but difference between ESS and SRM is ESS i saw uses webgui concept and SRM has different approach if you can point me to the html template in one of the service where the calendar function is called that will be helpful i tried no luck i got the funciton issue is integrating it with existing code in HTML i mean calling the javascript from HTML i am not able to .
    Thank You
    Vineela

  • Distributed Document Capture and date fields

    Greetings!
    We are using Oracle Distributed Document Capture and Universal Content Management as repository, it works fine. However we defined a custom metadata field with data type "date" in UCM and we defined a scan profile with its asssociated date field and the problem that we have is when we are using the distributed document capture client and the user selects a date from the calendar and send the document, the commit process fails with the following error message :
    The field 'xxx' does not contain a valid date.
    However If the user types the date field as "29/01/2009 00:00" the commit process works fine and the document is stored on UCM.
    My question is how to enable the calendar on the Distributed Document Capture client in order to enter a valid date with format "dd/m/yyyy hh:mm"
    Thanks!

    Thanks for your answer I set the property "Automatically assign a Content ID on check in" Should I specify the minor revision label and the major revision label?.
    Because I set just the "Automatically assign a Content ID on check in" and now I got the following when I am scanning documents:
    ***Error*** Failed to process batch 01354425_01354446. Error Number: 40011, Error: Failed to commit batch (with delete). Commit Profile - ucm: Document file already exists. Commit is configured to abort. Document File: \\svrdocumentos_ejc_ejercito_mil_co\batch\00J\0000000D\0000000D_1.TIF
    The good news is the previous error "Error Number: 40008" is solved
    I really appreciate yor help.
    Thanks.

  • Key fields and data fields re-arranged

    Hello SDN,
    Which design contains more records due to it showing more granularity? :
    1. ODS with more infoobjects assigned as Keys.
    2. ODS with less infoobjects assigned as Keys.
    assuming the total number of infoobjects remain the same.
    Where data fields can contain characteristics that can be used as keys or non-keys, depending on choice of design.
    My understanding is with more keys, less details available due to aggregation. Could you kindly help to confirm this is correct?
    I need to ask this because I am trying to change the re-arrange the keys by putting data fields as keys but not sure how this will turn out / behave.
    Thanks,
    Suzie

    Hi,
    <i>BUT! I cannot say that it will increase. That means, I think the record number remains the same!</i>
    I do not think that this is Right?
    for ex:
    1)
    Key fields:
    <i>Billing document</i>
    Data Fields
    <i>Sales Office
    Customer
    Net sales</i>
    So in the update rules , you can see the Overwrite for all Data fields. If the sales office is chaged for a record , the the OLD value will be over written by new value. So Before and after change to the records, the no of records are equal to 1.
    2)
    Key fields:
    <i>Billing document
    Sales Office</i>
    Data Fields
    <i>Customer
    Net sales</i>
    So in the update rules , you can see the Overwrite for all Data fields(now not for 'Sales Office'). If the sales office is chaged for a record , the the OLD value will not be over written by new value. It creates 2 records in Active table with respect to one change in new table.  So Before the change , the no of records was 1.now after change, the records' number becomes 3.
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for

  • IPod nano 6th gen (brand new) doesn't recognize when headphones are plugged in

    I have a brand new iPod nano (6th gen), and it doesn't detect when headphones are plugged in. I have read that the problem can ocurr because the headphones are not correctly inserted (which is not the case.. i'm absolutely sure about this) or that th

  • Where can I get a new adapter for my iBook clamshell model M6411?

    Hi, my iBook clamshell is a little ancient but in perfect working order.  However, the power cord is completely damaged and emits blue sparks when plugged in, so need a replacement.  Does anyone know where I can get a replacement from?  I tried ebay

  • IDVD08 lower quality video than iDVD06

    I'm not a pro video guy, so I really relied on the "simple" Mac apps and associated iLife (mainly '06). There were MANY changes from iMovie/iDVD '06 to '08 and maybe I'm missing something. With a recent import of DV tape into iMovie '08 and sharing i

  • MMS messages will not automatically download.  Samsung Galaxy 3

    I will not be notified when I have a MMS.  I will sometimes check my text messages.  It will show I have a message.  I click on it and it's from someone that has sent me a picture.  It will ask me to download it.  I click download, it downloads then

  • Error A12E1 when I try to update the Creative Cloud desktop

    I get an Error code: A12E1 when I try to update the Creative Cloud desktop on my Mac, OS 10.7.5. I tried creating a different user account but that made no difference. I uninstalled the Creative Cloud desktop app and downloaded a new one from the CC