Time format in xml forms

Hello.
I'm having a problem with the time format in the xml forms generated from one of the pdf forms I have made in live cycle. The time is already set to be HH:MM:SS, but when my users are submitting at e.g. 8:00 the time in the xml file is 8:00:00 and not 08:00:00, which I would like it to be, because of the validating going on in my database.
Is that possible?
Best regards
Mathias

Try with the below patterns for the Date Time field..
Display Pattern: time{HH:MM:SS}
Edit Pattern: time{H:M} //I am assuming the users will not enter the seconds in the input.
Data Pattern: time{HH:MM:SS}
Thanks
Srini

Similar Messages

  • How to change the date format in xml form?

    hi,
    How to change the date format in xml form?
    For example:  11/20/2008 3:00:03 PM    ->   11-20 03:00
    Any opinions greatly appreciated!
    Thanks.
    Edited by: ke wenxing on Dec 2, 2008 8:33 AM

    You could go to System - User Profile - Own Data would take you to the "maintain user profile screen"
    Click the defaults button and change the date format.This changes date format for all the dates in your login.

  • Date format in XML Forms

    Hi all,
    I already have done my article using XML FORMS. I added into the article the date field that I needed. So, I would like to format the date output in Render List as “dd/mm/yyyy” instead of “mm/dd/yyyy”. It’s possible? Anyone knows how to do it?
    Thanks in advanced,
    Alcides Flach

    Hi,
    By adding in the Additional Metadata parameter the  entry "customFormat=dd.MM.yy", you'll force the display of this property to this format. Look at SAP note 816761 for more info about this.
    Patricio.

  • Changing date format in XML form!!

    Hi,
    I have created a form by using XML form builder.I have many date fields in the form. I want to change the date format of date field from default MM.DD.YY to DD.MM.YYYY.
    Helpful answer will be appreciated with points.
    Regards,
    Dharam

    Hi Dharam,
    you can change the date format in the KM Layout set as described here:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=240057
    but the XML Forms functionality does not refer to the additional format information set on he property as you can read here:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=105044
    Hope this helps,
    Robert

  • Change date/time format in XML

    Hi,
    I have changed the date format in KM, by adding 'customFormat=d MMM yyyy HH:mm'in the Additional Metadata field of a property (e.g. app_date). The change is properly displayed in KM Folders.
    However when I change app_date into a custom format and then try to use it in a XML form, it doesn't work. It still uses the general settings, thereby ignoring my additional metadata.
    Does anyone know how I can solve this issue?
    Kind regards,
    Joost

    hi Christenhusz,
      Check the links,
    Documentation:
    http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormat.html
    customFormat
    To set a customer pattern according to documentation:
    http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    hope it helps,
    Regards,
    Vinoth

  • Error in XML form builder application

    Hi SDN,
    I have created a form builder application. I am able to create items from the application. But when i try to edit or delete the item...From the edit option if I try to save or preview or cancel or reset ....it is throwing the following error message
    Runtime Error
    An exception occured while processing the request.
    Additional information: Exception during PageProcessorComponent.doContent()
    Exception ID = a0d623c1-d35e-2b10-8ab7-f6c10479e59b
    How to rectify the following issue....
    Regards,
    Ganesh N

    Hi,
    I have also encountered this problem the first time I did XML form builder.
    A simple restart of my portal solved the problem.
    Fabien.

  • XML Forms and the Lifetime timestamp format

    Hello all,
    I have an XML form we use to create News.  When the content manager creates the News item, they provide Valid From and Valid Until timestamps for the News item's lifetime.  For the time, they must use military time format (00:00:00 - 23:00:00) because if they input 03:00:00 PM, in the system it will display 03:00:00 AM.
    We are fine using military time... the content managers have now been trained to do this.  However, when they edit an existing News item, the edit form will not display the time in military time anymore.  So, for example, if the content manager originally set the Valid Until time to 15:00:00, when they edit the News item, 03:00:00 PM will display instead, and then will save it with the incorrect time (03:00:00 military time) after the change.
    Has anyone else experienced this problem?  I'm not sure where the trouble lies... on the XML form side?  In the configuration of the KM metadata?  On the server?  Any help would be greatly appreciated.
    Thanks in advance,
    Fallon

    Hi Fallow, did you resolve the problem?
    Can you reply the solution?
    Thanks,
    Jesú

  • In XML Forms Date Format want to display like this (dd-MMM-YY)

    Hi All,
    I created one Custom Property for Date and use that property in XML Form Builder. In the RenderList that Date Field Display as (Medium Format) showing like this Apr 21, 2009 Format.
    But i requirement is to display Date Field as like this 21-Apr-2009 (DD-MON-YEAR) Format.
    In the Custom Property i set the
    Additional Metadata (csv): +   customFormat=dd.MMM.yyyy but this way is not working for XML Forms.(Refered this SAP NOTES:816761)
    when the IE Browser language is English(United States) [en-us] Date Field Display as (Medium Format) showing like this Apr 21, 2009 Format.
    But when the IE Browser language is English(canada) [en-ca] Date Field Display as (Medium Format) showing like this 21-Apr-2009 Format. so this way is not a right way..
    I need to achieve this..  please help me.. Appreciate for helpful answer.
    Regards
    Thillai J

    Thillai:
    Refer to this post:
    https://www.sdn.sap.com/irj/scn/thread?messageID=1166540
    Hope this helps!

  • Ack file date and time format is same as in source xml format

    Hi...All,
    1) my scenario is file-rfc-file using BPM,
    we are getting file in xml format from source along with timestamp and this data will be going to R/3 and the acknowledgement (success or failure) file will be sending back to source system.
    in this sceneario we have to fulfill in the follwing client requirement
    File1.<same File1 date and time>.XML
    Is it possible to make it as the following? if it is possible
    could u please let me know how to fulfill the follwing requirement.
    ACK File1.<same File1 date and time>.XML
    Where <same File1 date and time> format = u2018YYYYMMDDhhmmssu2019 .
    2) Is the XML file name visible in the SAP-XI monitoring screen and will it help to trace the messages?
    thanks in advance,
    Pasi.

    Hi,
    I didnot under stand your first question coulf you be more specfic.
    2. Ans : In general , we will follow the below steps
    --First we we check for the file is picked or no, if not see the Sender side CC parameters like mode and path details
    --If file was picked then we need to check whether we are using the File content conversion parameters or not if yes we need to check the FCC parameters ,
    Goto RWB-Channelmonitoring by the following link
    http://host:port/mdt/channelmonitorservlet
    select the sender side CC name and check for errors
    If no errors in above, goto SXMB_MONI for Integration Engine xml processing , check for successful or error occured black or red color
    --if success in SXMB_MONI then we need to check in RWB as above channel monitor now select the receiver side CC
    If no errors then check for output file is placed intarget or not
    Please reward points if it helps
    Thanks
    Vikranth

  • With in smart forms   i need time format like 12:26:37

    hi,
    in smart forms time format is coming to one variable time in this format 122637, but i need this format  12:26:37
    plz tell me the answer.
    thanks.

    Hi
    Check this:
    REPORT  ztest_time_conv.
    DATA: hour(2) TYPE n,
          min(2) TYPE n,
          sec(2) TYPE n,
          tim TYPE i.
    DATA: time TYPE p DECIMALS 2.
    DATA: timeformat TYPE sy-uzeit.
    time = '1.38'.
    tim = time * 3600.
    hour = tim DIV 3600.
    tim = tim MOD 3600.
    min = tim DIV 60.
    sec = tim MOD 60.
    CONCATENATE hour min sec INTO timeformat.
    WRITE timeformat.
    BREAK-POINT.
    PS:Code given by Vijay Babu Dudla in other thread..in ABAP general..when I pasted the link,it did not work..so I am giving it here like this.
    Regards,
    VIshwa.
    Edited by: Vishwa Sri Hari on Nov 5, 2008 1:01 PM

  • Date format(UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

    Hello Everybody,
                            I am facing a problem regarding creating an update program. The program will pick up data from a DB table through the RFC: RFC_READ_TABLE and then it will modify the custom DB table present in the system from where the program will be executed. Among the data of the fields to be transfered date field will be present but the format is of UTC Time Stamp in Short Form (YYYYMMDDhhmmss). Data is coming properly inside the internal table of the program, but on encountering a MODIFY or an INSERT statement its giving a short dump with a message: In a statement an invalid request was made to the database interface when accessing table "ZZTTT". What to do to transfer the data for the date field for the above said format. Eagerly waiting for your reply. Enclosed below the domain of the data element used in the table:
    Domain name: TZNTSTMPS(Data Type:DEC, No of Char: 15, Output Length: 19)
    Regards,
    Pulokesh

    data : d like sy-datum.
    CONVERT TIME STAMP tstamp TIME ZONE 'UTC' INTO
            DATE d TIME t.
    Check also fm : 'CIF_GEN3_CONVERT_TIMESTAMP'
    Hope this helps,
    Erwan

  • How to import xfa(XML Forms Architecture) to indesign without losing rich text format.

    Hello All,
    i created pdf form in livecycle.i am populating this pdf form and submit.when i am submiting form ,i will get the data in xfa(xml forms architecture).now i want to import this xml to indesign.when i importing this xml to indesign,it imported without rich text format.this means in indesign formate is not preserved when importing xfa(xml forms architecture).
    how to import xfa(XML Forms Architecture) to indesign without losing rich text format.
    please help me,its urgent.
    thanks
    Humayoo

    I really have no idea what kind of file that is and how is the structure, but if it´s valid XML, I guess you could use InDesigns Tags to Styles mapping engine to format incoming stuff....

  • XML FORMS - Date Format

    Hi,
    I have a problem that I am sure is just config, but when opening any xmlforms and displaying they only appear with american date format.
    Has anyone changed this format, from what appears the standard?
    Will award points for any help.
    Thanks
    Kai Chalker

    Hi Kai,
    You can create a custom property in KM and assign a different date format to it.
    Then if u use that in your XML Forms, probably u can get the new date format.
    In the Additional Metadata row of the KM Property u can enter
    customFormat=dd-MMM-yyyy
    Please follow this [Help|http://help.sap.com/saphelp_nw04/helpdata/en/42/e646150fbc3ee6e10000000a1553f7/frameset.htm] link to get more info on the formats
    Regards
    BP

  • XML Forms Time-based publishing

    Hi,
    I'm testing an XML form that uses Time-based publishing but it isn't working correctly. The fields in the Edit form that correspond to Valid to / from are working. When I input the timestamps, they show up in the properties. I have also activated the Time Based Publishing service for this folder (it is in the documents repository). I have created two forms, one that should be published and one that shouldn't. When I test the iview with my administrative user, both appear (this is the expected behavior)
    When I log in with a user who only has Read permissions on that folder, I can't see any content. I've tried different combinations of dates for the elements but nothing seems to be getting through. I've also waited for the 15 minutes that the guide establishes for the content to appear but nothing shows up. What could be the problem?
    Thanks for your help,
    Luis

    hi
    There are Valid to & Valid from properties in the data model section of the XML Forms Builder. Would imagine you could play around with these as a starting point.
    when creating the XML Form, you can drag and drop the KM Properties "Valid From" and "Valid Until" from the left pane "Data Model" -> "Properties" -> "Lifetime" on your form. activate the tbp (time-based publishing) service on the used repository and also to "Enable Time-Dependent Publishing" on every folder where you want to use the forms (from the folder menu "Details" -> "Settings" -> "Lifetime".pèleas also go through this
    http://help.sap.com/saphelp_bw33/helpdata/en/c1/c87d3cf8ff3934e10000000a11405a/content.htm
    hope this helps you
    please don,t forget to allocate points.
    with regards
    subrato kundu

  • XML form Time based Publishing

    Hi Everyone
    I added the valid until and valid from properties to the XML form and activated the time dependent publishing for the folder where this form is displayed. My problem is that it is not taking the time that I enter in the XML form fields but considering the time only if I go to the details tab of that particular doc and set up the lifetime. I want to set this up in the edit form of the XML form. Can somebody please tell me if I am missing something.
    Thanks
    Renu

    hi
    There are Valid to & Valid from properties in the data model section of the XML Forms Builder. Would imagine you could play around with these as a starting point.
    when creating the XML Form, you can drag and drop the KM Properties "Valid From" and "Valid Until" from the left pane "Data Model" -> "Properties" -> "Lifetime" on your form. activate the tbp (time-based publishing) service on the used repository and also to "Enable Time-Dependent Publishing" on every folder where you want to use the forms (from the folder menu "Details" -> "Settings" -> "Lifetime".pèleas also go through this
    http://help.sap.com/saphelp_bw33/helpdata/en/c1/c87d3cf8ff3934e10000000a11405a/content.htm
    hope this helps you
    please don,t forget to allocate points.
    with regards
    subrato kundu

Maybe you are looking for