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

Similar Messages

  • 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!

  • XML Forms - Data model - writing to XML or Doc property

    Hi,
    Can someone please explain how user data inputted into an XML Form is stored?  I understand how it is stored in XML format, but am a little lost with SDN help doco, below:
    "Data Model
    The data model is a structured description of the data that is stored in XML forms. The data that you enter in forms is written in either an XML file or in properties of documents. A combination of the two is also possible."
    (link: http://help.sap.com/saphelp_nw04/helpdata/en/8f/fe743c74fa6449e10000000a11402f/frameset.htm)
    What does "properties of documents" refer to?  Is this an existing document? A new KM resource (not of type XML)? Or is this document property of the XML file being created?
    Also, does ALL user input from a form need to be stored as XML files, rather than an XML file or some other resource type?
    Many thanks,
    Justin

    Hello Justin!
    >
    Justin Hume wrote:
    > What does "properties of documents" refer to?  Is this an existing document? A new KM resource (not of type XML)? Or is this document property of the XML file being created?
    >
    Look at this you wrote  "The data that you enter in forms" - writing in "properties of documents"  - it means that you can do some changes with KM files from XML forms, or you can administrate (approve doc. and so on).. So all property will be change in KM doc - wich you customize from XML form
    >
    Justin Hume wrote:
    > Also, does ALL user input from a form need to be stored as XML files, rather than an XML file or some other resource type?
    >
    Only XML (if use XML Form Builder)

  • SSIS XML task date format issue

    Hi, there;
    I created an SSIS package XML task to import customer XML data.     The LocaleID is set to "New Zealand"
            I have an xml file which has date fields as attribute (dd/MM/yyyy). I created this package and run it in an .NET console program.
        The interesting thing is that: when I run under my own windows account, I can import data into SQL properly (dd/MM/yyyy), but when I run it as scheduled task (under another special windows account) it gives America format (MM/dd/yyyy).
        What I found is that my personal account in AD is set to New Zealand, the special windows account given by the infrastructure engineer
    is set to "default"  which is American user.
        So, my question is that is there any way/something we can set in the package or
     XSD somewhere to tell SSIS what the source date format is rather then controlled by the "AD account"?. The reason is that imagine that
    if I have 2 XML files from different clients, one is New Zealand date format(dd/MM/yyyy), another one is American date format (MM/dd/yyyy), I want same package (NOT same XML task) to import 2 XML files with result in New Zealand format.
       Thank you in advance.
    Cheers
    Robert
    qiuwei

    Hi Robert,
    Based on your description, there are two scenarios:
    You want to format the XML file column date with dd/MM/yyyy or MM/dd/yyyy format to dd/MM/yyyy. In this scenario, we can use Derived Column Transformation to convert the MM/dd/yyyy format to dd/MM/yyyy format for the American XML task, then use the new
    column maps to the corresponding Destination column. The following expression is for your reference:
    LEFT(RIGHT(Column,7),2) + "/" + LEFT(Column,2)+"/"+ RIGHT(Column,4)
    The XML file data already import to SQL table, different country people view the data with different date format. Please note that a datetime column is stored as binary in database, the display format is related to the SSMS server. For more details, please
    see the following KB:
    INF: How to Set the Day/Month/Year Date Format in SQL Server
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • PDF Print Forms - Date format

    Hi Frnds,
    This is my first time to work in PDF print forms.
    I am using standard interface and program to print my PDF forms. The PDF form alone is customised.
    I need to format my date as dd-mmm-yyyy. how can i do it?
    can i call a subroutine from a Zprogram in the context or interface?
    Can anyone help me to solve my issue? thanks a lot.
    regards
    Suganya.

    Hi Frnds,
    I got the date format solution.
    But I need to know whether we can use the subroutine of the program inside the interface or PDF forms as like script.
    I am using the std prgm RFKORD10_PDF and my customised PDF form. but i am getting an error as "Contradiction in form".
    Can anyone help me to solve the error?
    thank in adv
    Suganya

  • Adobe Forms Date Format DD.MM.YYYY.

    Hi Experts,
    I am new to Adobe Forms(Transaction SFP) . The Client has requirement to display the data in DD.MM.YYYY format.
    I saw that the standard 'Date fields' in ADOBE forms does not have this format.
    Any Ideas.
    Thanks.

    Hi
    Drag and drop the Date/Time Field  from Library pallet into Layout. Right click on it  -> Go to Palletes -> select Object -> go to the Field tab ->
    In Display Pattern you simply specify the date format as   DD.MM.YYYY and the active it and test it.
    Try this once. It will work.
    Thanks
    Sriiiiiiiii(Srikanth)

  • How do I denote a file name for submitted XML form data?

    Hi guys, is there a way to change the submitted XML file name [when emailing form data] to something other than the cryptic string livecycle uses e.g. _e8hfydsh55hsksdf.xml
    Thanks for any help, cheers Dyr

    When you preview a PDF from inside designer, it uses a temp filename for the doc and therefore when you test xml submit etc you will get the 'e.g. _e8hfydsh55hsksdf.xml' as a filename. However if the form is saved locally (e.g. MyForm.pdf) and you use Reader / Acrobat to open the PDF, then the email's subject message as well as the xml file will be MyForm.xml. Does that help you?

  • Forms date format hegira

    Dear sirs,
    please i need help to show the date on form in format of hegira (as islamic calender)
    thanks in advance

    Hi
    u can use the NLS_CALENDAR parameter system pls check the following link
    ALTER SESSION SET NLS_CALENDAR='Arabic Hijrah'; http://docs.oracle.com/cd/B14117_01/server.101/b10749/ch3globenv.htm
    Amatu Allah

  • XML Form date Manipulation

    Dear Experts,
    In XML form builder application we need to display the current date + 14 days in the Expiry date filed. The above requirement is cannot be met directly form the XML Form builder application. We need to edit the xsl file to get it done,
    <xsl:attribute name="value">
    <xsl:value-of select="$locDate"/>
    </xsl:attribute>
    the above is the xsl code for getting current date which is working fine. Now we need to add 14 day from the current date. I tried with
    <xsl:attribute name="value">
    <xsl:value-of select="$locDate"+14/>
    </xsl:attribute>
    which is giving is NaN. Can you please help in getting this done.
    Regards
    Noel

    Hi Ragav
    I tried with the Java script, where I am not able to set the value. Can we manipulate the value is XSL it self
    Regards
    Noel

  • Spurious newline characters in xml form data

    I have been given a pdf form(XFA).  I have a button that the end user can click and when they do so, it posts the form data as XML to a url.  The problem I am having is that it seems to be adding in newline characters like so:
    <?xml version="1.0" encoding="UTF-8"?>
    <topmostSubform><b12c96nfCert_Nbr>1234
    </b12c96nfCert_Nbr>
    <b12c96nfOwnship_ID
    />
    </topmostSubform>
    (this isn't complete stream, just a small sample.  The newlines are screwing up my xml parser.  Is there any way I can prevent this, or post lean xml with no whitespace?
    I have been stripping newline characters inside my service, but obviously this is less than ideal.
    When I save the xml directly out of the pdf, it contains these newline characters as well.  How can I remove them?
    With Respect,
    mattie

    You could use a regular expression. For example,
    var str = this.rawValue;
    this.rawValue = str.replace(/\r|\n/g,"");
    will globally replace carriage returns (\r) or line feeds (\n) with "".
    Steve

  • Importing XML form data, and reading a PDF form in Reader

    The title pretty much says it all. My colleagues have the latest in Adobe Reader (9). They would like to import the form data that they receive in their email as an xml attachment. They would like to read the form as it is filled out in their reader.
    Please tell me how.

    I think they have to have Acrobat to import the data. Reader was not meant to keep data for the user unless Reader Right's are enabled (limited use of form for this typically). The US gov't has done this for years for tax forms at a substantial cost I am sure. The Reader Right's that comes in Acrobat is limited to the number of uses of the form, but the full rights can be negotiated with Adobe for more than 500 uses.
    The answer used to be to buy your colleagues Acrobat, it would be cheaper than paying the additional enabling cost. With the limited use of the rights with the current versions, Adobe has made a compromise on there old policy. You might look at PlanetPDF to see if there are some third party applications that would meet your need.

  • Smart form Date formate

    Hi All,
          I am new to smartforms.I want to position the  date on page top corner of the left side of the form such as day month year(Tuesday,january 01,2008).how to get this formate in smart form?
    Thanks & Reagrds
    HB

    Hi,
    Check this  it may be useful to u
    Formatting Date Fields: SET DATE MASK
    To define the formatting of date fields, use the SET DATE MASK control command. Executing this command causes all subsequent date fields to be printed using the specified format.
    Syntax:
    /: SET DATE MASK = 'date_mask'
    In the date mask, you can use the following codes:
    DD: day (two digits)
    DDD: day name - abbreviated
    DDDD: day name - written out in full
    MM: month (two digits)
    MMM: month name - abbreviated
    MMMM: month name - written out in full
    YY: year (two digits)
    YYYY: year (four digits)
    LD: day (formatted as for the L option)
    LM: month (formatted as for the L option)
    LY: year (formatted as for the L option)
    All other characters found in a date mask are interpreted as simple text and are copied straight into the output.
    Assuming the current system date is March 1st, 1997.
    /: SET DATE MASK = 'Foster City, MM/DD/YY'
    &DATE& -> Foster City, 03/01/97
    /: SET DATE MASK = 'MMMM DD, YYYY'
    &DATE& -> March 01, 1997
    The date mask may be reset to the default setting by using an empty string:
    /: SET DATE MASK = ' '
    The abbreviated and full forms of the names of the days and months are stored in the language dependent TTDTG table under the following keys:
    %%SAPSCRIPT_DDD_dd: abbreviated day name
    %%SAPSCRIPT_DDDD_dd: full form of day name
    %%SAPSCRIPT_MMM_mm: abbreviated month name
    %%SAPSCRIPT_MMMM_mm: full form of month name
    dd: day number 01 = Monday,..., 07 = Sunday
    mm: month number 01 = January,..., 12 = December
    Regards

  • EXTRACTING XML AND DATE FORMAT

    Hello,
    I want to extract data from XML using the following syntax.
    But I don't get why I get ORA-01830 exception while extracting DATE in YYYY-MM-DD HH24:MI:SS format.
    Can you help me ?
    alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
    select e.*
    from (select xmltype('<root><my_date>2012-04-05</my_date></root>') as dt from dual) t,
    xmltable('root'
    passing t.dt
    columns
    my_date date path'my_date'
    ) e;
    select e.*
    from (select xmltype('<root><my_date>2012-04-05 14:35:20</my_date></root>') as dt from dual) t,
    xmltable('root'
    passing t.dt
    columns
    my_date date path'my_date'
    ) e;
    SQL> alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
    Session modifiÚe.
    SQL>
    SQL>
    SQL> select e.*
    2 from (select xmltype('<root><my_date>2012-04-05</my_date></root>') as dt fr
    om dual) t,
    3 xmltable('root'
    4 passing t.dt
    5 columns
    6 my_date date path'my_date'
    7 ) e;
    MY_DATE
    2012-04-05 00:00:00
    SQL>
    SQL> select e.*
    2 from (select xmltype('<root><my_date>2012-04-05 14:35:20</my_date></root>')
    as dt from dual) t,
    3 xmltable('root'
    4 passing t.dt
    5 columns
    6 my_date date path'my_date'
    7 ) e;
    select e.*
    ERREUR Ó la ligne 1 :
    ORA-01830: Le modÞle du format de date se termine avant la conversion de la
    cha¯ne d'entrÚe entiÞre

    From 10g and onwards, Oracle doesn't rely on NLS date settings to handle dates in XML.
    The supported formats are those of the ISO 8601 : http://www.w3.org/TR/xmlschema-2/#isoformats
    SQL> select e.*
      2  from xmltable(
      3        '/root'
      4        passing xmltype('<root><my_date>2012-04-05T14:35:20</my_date></root>')
      5        columns
      6          my_date timestamp path 'my_date'
      7       ) e ;
    MY_DATE
    05/04/12 14:35:20,000000
    SQL>
    SQL> select e.*
      2  from xmltable(
      3        '/root'
      4        passing xmltype('<root><my_date>2012-04-05</my_date></root>')
      5        columns
      6          my_date date path 'my_date'
      7       ) e ;
    MY_DATE
    05/04/2012
    If your date string doesn't conform to the supported formats, use a VARCHAR2 datatype and an explicit TO_DATE in the SELECT :
    SQL> select to_date(e.my_date, 'YYYY-MM-DD HH24:MI:SS') as my_date
      2  from xmltable(
      3        '/root'
      4        passing xmltype('<root><my_date>2012-04-05 14:35:20</my_date></root>')
      5        columns
      6          my_date varchar2(30) path 'my_date'
      7       ) e ;
    MY_DATE
    05/04/2012

  • Using parsed XML as data format for MVC implementation

    Instead of using Beans to contain the data for JSP pages I want to use XML objects. For example, a 'Document' object which represents XML data.
    I should then be able to interface easily with web services -some clients might require the raw xml string. Furtermore, I am not tied to JSP. I could use XSLT or browser based XSL stylesheets.
    The interface between my controller and processes will then also be a 'Document' instead of pre-defined methods.
    I would like to know what are the pros and cons of my approach? Is this kind of design used anywhere?

    This is not really any direct answer to your question.
    However, it may serve as food for your thoughts.
    Have you read http://java.sun.com/products/jsp/html/JSPXML.html and http://www.javaworld.com/javaworld/jw-03-2000/jw-0331-ssj-jspxml.html

  • How to change dateformat of VALID FROM and VALID TO properties in xml forms

    Hi all,
                I have created a news using xml form bulider and i have given lifetime for that news ,also displaying the VALID FROM and VALID TO  in news.By default it is in mm.dd.yyyy format but i need to display the dateformat as dd.mm.yyyy in show form.Is there any possiblity to change the format in XSLT or any other solutions.
    Regards
    Bala

    Hi Bala
    Check this XML FORMS - Date Format.
    Its a quite easy way.
    Regards
    BP

Maybe you are looking for

  • Payment program- Individual payment

    HI Gurus We have a vendor who needs an indvidual payment for every invoice we receive from him. We have the "Individual Payment" checked in the vendor master. Now this week we have a credit memo posted against this vendor, and the payment program is

  • Too much connection testing?

    Hi all, Just going through trying to do some optimization on our connection pooling. The current setup as "TestConnectionsOnReserve", "TestConnectionsOnRelease", and "TestConnectionsOnCreate" all set to 'true'. This sounds to me like too much testing

  • Siena apps not optimized for Surface 3 aspect ratio?

    It looks as if the aspect ratio of Siena apps is fixed to 16:9, which results in two ugly black bars (and loss of screen real estate) on Surface 3. Is this deliberate, or is this being addressed in future releases?

  • SQL Insert Error - Please help. RESOLVED

    I have a page with several VOs and search options. One of the search options is a list of Emp IDs which (when one is selected and user clicks 'search') results in an editable table of profiles for that Emp Id. I have in the Footer of the results tabl

  • Av adapter w/itouch

    why does my itouch4g not work with my av adapter?