DAta Format used by J2ME??

Hello all...
How do J2ME applications communicate with a server?? i.e. which data format do they use??? is it XML, WML or what???
Thanku Very Much

Thanku very much for the answer..... just one more question.... how can J2ME applications use the http protocol when the only protocol available for wireless internet is WAP??
Thanku VEry Much

Similar Messages

  • Problem with date format using TEXT_CONVERT_XLS_TO_SAP

    I'm using fm TEXT_CONVERT_XLS_TO_SAP to upload an xls file.
    I've the following problem the date in the spreadsheet is 01.01.2010 the result in the internal table after using the fm is 01.jan.2010. What must i do to get 01.01.2010 in the internal table?
    My setting in sap for the date format is DD.MM.YYYY

    Hi,
    What is type and size of your internal table field? Covert your excel column to text field. Now it is of type date i hope.
    Best option is, always have the value in excel in YYYYMMDD (SAP standard format) and internal table field as of type sy-datum.
    After uploading use WRITE TO statement to a character variable to convert the date as per user settings. Your current logic may not work if the date setting is different.
    Thanks,
    Vinod.

  • Problem with date format using date picker

    In my application I provide to user ability to change date format. When using "MMM dd yyyy" format, the date picker paste to the inputbox something like "1111 07 2008" instead of "Nov 07 2008".
    To set the date format I use the following code:
    wdContext.nodeDateNode().getNodeInfo().getAttribute("date").getModifiableSimpleType().setFormat("MMM dd yyyy");
    I know that is known bug of date picker. But there should be other way to implement this functionality. Isn't it?

    Hi
    Check this link
    /message/6430993#6430993 [original link is broken]
    For more details
    http://www.sapdb.org/7.4/htmhelp/48/0d8018b4f211d2a97100a0c9449261/frameset.htm
    Thanks

  • Date format used in the datepicker

    Hi, I have a problem with date format when I open the pop up calendar:
    w=open("wwv_flow_utilities.show_as_popup_calendar" +.....
    "&p_date_format=" + escape('MM/DD/YYYY HH:MI ' )...
    I have the popUp window with message instead of calendar:
    " NOT FOUND.
    The requested URL /pls/htmldb/wwvflow_utilities.show_as_popup_calendar
    was not found on this server."
    The same code with format ('MM/DD/YYYY HH24:MI ' ) works.
    Tabular form lets me display and use popup_calendar in
    format I want('MM/DD/YYYY HH:MI ' ), so I'm sure the datepicker in HTMLDB
    can be used with this format.
    Did someone go over this? May be any ideas?
    Thanks.

    Thank you , Scott.
    This way to solve the problem is really lifesaving,
    but it does not display the date and time contained in the element calling date_popup. May be documentation you used to provide the date_popup with 10 argument has something about setting the date/time to be displayed? If yes please let us know.
    By the way the loosing arguments during calling the date_popup from code is the reason why calendar cannot be found. It can be seen using source view of the page:
    w = open("wwv_flow_utilities.show_as_popup_calendar" +
    "?p_element_index=" + escape('f03' + '['.substr(0,elemArrLen) +'0'.substr(0,elemArrLen) + ']'.substr(0,elemArrLen)) +
    "&p_form_index=" + escape('0') +
    "&p_date_format=" + escape('MM/DD/YYYY HH:MI') +
    "&p_application_format=" + escape('Y') +
    "&p_bgcolor=" + escape('#666666') +
    "&p_dd=" + escape('') +
    "&p_hh=" + escape('') +
    "&p_mi=" + escape('') +
    "&p_pm=" + escape('') +
    "&p_yyyy=" + escape('2005') +
    "&p_nls_language=" + escape('AMERICAN') +
    "&p_mm=" + escape('11'),
    "winLov",
    Year and month have default values, but function expects more parameters.
    It seems it is possible to make work the data_popup calling it from code and provide it with full set of data/time arguments given to js function as parameters. It works but involves too much typing.
    Do you know if the HTMLDB 2.0 has this problem solved?
    Thanks again Scott
    Thankful anonymous.

  • How can i records with date format using web services?

    Hello
    I can't record date records using web services. I get no message errors.
    I can import string values but no dates (YYYY-MM-DD). Do you have any clue about that?
    Regards
    Arturo

    hello,
    That's the code I'm using to update an opportunity. In the date fields (e.g. dFecha_de_entrega_al_cliente) I've tried to put an specific date in the correct format (If i put it in another format i've got an error message due the wrong format). The CRM accepted the code but it didn't update the values that are different of string.
    I don´t know if there is something missing in teh program or if the developer environment is not the adequate.
    Regards for your comments
    Arturo
    Private Sub ActualizarOportunidad(ByVal fila As Data.DataRow, ByVal TipoPersona As String)
    Dim oLog As New Log()
    Dim IdLog As Integer
    Dim NumSerie As String = ""
    Try
    oLog.Insert_Log("Activación Garantía - Crear Oportunidad", oLog.GetLastIdProceso())
    IdLog = oLog.GetLastId()
    Dim sr_input As Opportunity.OpportunityUpdate_Input
    Dim sr_output As Opportunity.OpportunityUpdate_Output
    sr_input = New Opportunity.OpportunityUpdate_Input
    Dim sr(1) As Opportunity.OpportunityData
    sr(0) = New Opportunity.OpportunityData
    NumSerie = fila("NumeroSerie").ToString().Trim()
    sr(0).ExternalSystemId = NumSerie
    sr(0).OpportunityName = fila("NumeroSerie").ToString().Trim()
    sr(0).SalesStage = "Deseo" '"Cerrada/Ganada"
    sr(0).dFecha_de_entrega_al_cliente = fila("FechaEmision").ToString().Trim()
    sr(0).dFecha_de_facturacin_al_cliente = fila("FechaCompra").ToString().Trim()
    sr(0).stNro_Factura = fila("NumeroFactura").ToString().Trim()
    sr(0).plActividad_Economica = fila("IdActividad").ToString().Trim()
    sr(0).plTipo_de_Venta = fila("TipoCompra").ToString().Trim()
    sr(0).CustomObject8ExternalSystemId = fila("ApellidoVendedor").ToString.Trim()
    'sr(0).CustomObject8ExternalSystemId = IIf(TipoPersona = "J", fila("DocumentoE").ToString().Trim(), fila("Documento").ToString.Trim())
    'sr(0).CustomObject7ExternalSystemId = fila("")
    Dim lofsr As Opportunity.ListOfOpportunityData
    lofsr = New Opportunity.ListOfOpportunityData
    lofsr.Opportunity = sr
    sr_input.ListOfOpportunity = lofsr
    sr_output = oOpportunity.OpportunityUpdate(sr_input)
    oLog.Update_Log(IdLog, "Si", NumSerie, "")
    Catch ex As SoapException
    Me.txtError.Text = ex.Detail.InnerText.ToString()
    oLog.Update_Log(IdLog, "No", NumSerie, ex.Detail.InnerText.ToString())
    End Try
    End Sub
    ************************************************************************

  • DVT X Axis Date Formatting using tabular data

    Hi,
    I have a curious question about the <dvt:attributeFormat>.
    I wanted to format my bar graph x-axis with locale sensitive date formatting.
    I saw this attribute <dvt:attributeFormat> which I think is the best tool for the job.
    <dvt:barGraph id="wsssudg1" subType="BAR_VERT_CLUST" tabularData="#{myBean.tabularData}">
              <dvt:a t t r i b u t e F o r m a t  >
                   <af:convertDateTime locale="#{myBean.locale}"/>
              </dvt:a t t r i b u t e F o r m a t  >       
    </dvt:barGraph>
    My only concern is this.  I am not using page binding in building my graph data but using tabularData property instead.
    I am passing a java.util.Date object also from my getTabularData method
    public class MyBean{
        public List getTabularData(){
            /*More code her*/
            return list;
    According to the java docs here http://docs.oracle.com/cd/E24382_01/apirefs.1112/e17490/tagdoc/dvt_attributeFormat.html
    The name of the categorical attribute is the name of the attribute/layer that was added to the Graph DataModel. The Graph model can be set declaratively by updating the pagedef. Here is the associated view pagedef for the above graph:
    <graph IterBinding="EmpView1Iterator" id="EmpView1"
          xmlns="http://xmlns.oracle.com/adfm/dvt" type="BAR_VERT_CLUST">
        <graphDataMap leafOnly="true">
            <series>
              <data>
                <item value="Bonus"/>
              </data>
            </series>
            <groups>
              <item value="Hiredate"/>
            </groups>
        </graphDataMap>
    </graph
    >
    ..but since I am not using page binding then what name should I put there?
    Any DVT experts around?

    I tried different name but I cant find the correct attribute name.  Tried 'object', 'attribute 1' etc but it seems not correct.
    <dvt:barGraph id="wsssudg1" subType="BAR_VERT_CLUST" tabularData="#{myBean.tabularData}">
              <dvt:a t t r i b u t e F o r m a t  >
                   <af:convertDateTime locale="#{myBean.locale}"/>
              </dvt:a t t r i b u t e F o r m a t  >       
    </dvt:barGraph>
    Does this mean that this tag only works when you are using page binding?
    If you are using tabulardata in managing your data then does it mean that you cannot use this tag?
    Then how do you format DVT graph data that uses tabularData if you do not know the attribute name?
    The javadoc tag reference does not mention anything about this.
    Anyone has experience in dealing with this scenario?
    Use case:
    How do you format date attribute in a locale sensitive manner when your graph is using custom list in the tabulardata tag property of your graph component.
    Thanks

  • Get OIM Date format using Adapter Factory

    I have written below java snippet to convert date to oim date format.
    public String getOIMDate() {
    DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss z");
    Date date = new Date();
    return dateFormat.format(date);
    }The above code will return current date as string which is used to update user in OIM.
    I need to use Adapter Factory to return current OIM date in string format.
    Can you help me in building the adapter with the way i mentioned above?

    just build jar for same and place this to <OIM_HOME>/server/JavaTask folder or upload in db using UploadJars.sh script.
    Then follow below steps to create Adapter task(Hope you are looking for Pre-populate adapter)
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/creadp.htm#BABHGEBG

  • Error in date format. using 'BAPI_FIXEDASSET_OVRTAKE_CREATE'.

    Dear Expert,
    I am uplaoding Asset master data using BAPI  'BAPI_FIXEDASSET_OVRTAKE_CREATE'.
    But my problem is BAPI takes capitalization date in 'YYYYMMDD' FORMAT.
    I am uplaoding in server which is having date format 'DDMMYYYY'.
    Due this error i  am unable to upload the data in asset master.
    Please give some solution for this.
    Regards.
    Mohsin S.

    Dear Reddy
    My excel contain date format 'YYYYMMDD'
    But the server in i am uploading data having date format 'DDMMYYYY'.
    bapi also having date format YYYYMMDD.
    BUT in TCODE AS91 HAVING DATE IN DDMMYYYY FORMAT.
    Due to this format it is giving error.

  • BAD DATA FORMAT using cl_gui_frontend_services= gui_upload

    Hello SAPients!
    I'm using the method cl_gui_frontend_services=>gui_upload to upload a file to my program like this
    CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = lvs_input_f1
          filetype                = 'ASC'
        CHANGING
          data_tab                = in_rec[]
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          not_supported_by_gui    = 17
          error_no_gui            = 18
          OTHERS                  = 19.
    The SY-.SUBRC field always returns with a value of 8 (Bad data format?). The thing is that the last field of the structure IN_REC is of type i (integer) and I think this is the problem. I modified the file with a text editor and set the last field with 2, 4, 8 and 16 chars but I always receive the same error. I can't change the last field to char. Does any one have an idea of what is the problem? How can I ensure that the last field have an integer value?
    Thank you.

    Ok, I have modified the code a bit,  you might want to try it.  First upload to a table of type STRING, then move the values to the other internal table.
    report zrich_0001 .
    data: begin of in_rec occurs 0,
             matnr(18),        "Material Number
             bwkey like mbew-bwkey,         " For Plant
             werks like mbew-bwkey,         " Add Plant
             type(2) type c,                " TYPE.
             cname(50) type c,              " Changble Name
             bom(1) type c,                 " BOM Usage
             task(2) type c,                " task type
             verid_nd like ckmlmv001-verid_nd,  "Production Version
             perc(16) type c,               " Percent for Plant1
    * above are user inputs ; below are program flag.
             flag(1) type c,                " Program flag.
             kalnr like ckmlmv001-kalnr,     "
             mix_flag(1) type c,                " Program flag.
             cnt type i,
          end of in_rec.
    data: istr type table of string with header line.
    parameters: p_file type localfile.
    at selection-screen on value-request for p_file.
      data retfiletable type filetable.
      data retrc type sysubrc.
      data retuseraction type i.
      call method cl_gui_frontend_services=>file_open_dialog
        exporting
          multiselection    = abap_false
        changing
          file_table        = retfiletable
          rc                = retrc
          user_action       = retuseraction.
      read table retfiletable into p_file index 1.
    start-of-selection.
      perform open_file.
    *&      Form  OPEN_FILE
    form open_file.
    *------------------------ Begin Change - UN001 ------------------------*
    *  CALL FUNCTION 'WS_UPLOAD'
    *    EXPORTING
    *      filename = input_f1
    *      filetype = 'DAT'
    *    TABLES
    *      data_tab = in_rec.
      data:
        lvs_input_f1 type string.              " To store filename
    *    lit_mat_tbl  TYPE TABLE OF lt_raw_tab, " To store file lines
    *    lwa_mat_tbl  TYPE lt_raw_tab.          " Work area
      lvs_input_f1 = p_file.
    *    lvs_input_f1 = input_f1.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = lvs_input_f1
          filetype                = 'ASC'
        changing
          data_tab                = istr[]
        exceptions
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          others                  = 19.
      if sy-subrc ne 0.
    *    WRITE / text-e01.
        message e000(fb) with text-e01.
      endif.
      loop at istr.
        in_rec = istr.
        append in_rec.
      endloop.
      loop at in_rec.
        write:/ in_rec.
      endloop.
    *------------------------ End Change   - UN001 ------------------------*
    *SKD 08/02/06---------DEVK980441-----------v
      delete in_rec where perc = 0.
    *SKD 08/02/06---------DEVK980441-----------^
    endform.                    "OPEN_FILE
    Regards,
    Rich Heilman

  • Multiple date formats using sql developer

    Hello!
    i have 2 date fields in a table.. one is populated using trunc(<date1>) and the other is to_date(<date2>,'YYYYMMDD HH24MISS'). We want <date1> to display as MM/DD/YYYY and <date2> to display as MM/DD/YYYY HH:MI:SS AMPM. When we set the date format under Preference -> Database -> NLS parameter in SQL Developer with a time format it adds 12:00:00 to <date1>, if we take it out, it drops the time in <date2>. What can we do?
    thanks!

    I think what the original poster wanted was to display the two date columns using different formats in the table "Data" tab and AFAIK that is not possible. Setting a date format in the Preferences accomplishes the same thing as the statement
    ALTER SESSION SET NLS_DATE_FORMAT='<some format>';
    in command-line SQL*Plus. To do what the OP wants they'll need to create a view that has a SELECT something like this:
    SELECT TO_CHAR( date1, 'YYYY-MM-DD' ) date1
    , TO_CHAR( date2, 'YYYY-MM-DD HH24:MI:SS') date2
    FROM some_table;
    One thing the OP needs to keep in mind is that the DATE datatype stores both date and time together. If they insert a date alone, the time defaults to midnight. (This is stated in the Oracle SQL Reference.)
    Ed. H.

  • Checking correct data format using sql query

    1) I got column date of joining which accepts date in below format
    DD-MON-YYYY
    DD-MON-YY
    MON-DD-YYYY
    MON-DD-YY
    Month DD,YYYY
    Question:- how do i check whether all dates in Date of joining column are in above format or not using sql query?
    2) I got one more date column which accepts date in below format
    MMDDYYYY
    YYYYMMDD
    MM/DD/YYYY
    MM/DD/YY
    YYYY/DD/MM
    Question:- how do i check whether all dates in date column are in above format or not using sql query?
    sorry if it is a very simple question since I am new to sql and trying to learn ......Thanks for the answers from the group............

    In short, NO, it's not possible.  If you store dates correctly in the database as DATE datatype then you don't have this problem.  If you store them as VARCHAR2 you have a problem.
    So, you get a date of 20092012
    Is that 20th September 2012?  or is it 20th December 2009?
    What about...
    11-Jan-12
    Is that 11th January 2012 or 12th January 2011?
    Dates should never be stored on the database as strings.  That is why Oracle gives you a DATE datatype so you can store them properly.
    Also, when dates are passed from an application to the database, the application should be passing them as DATE datatype, and the application interface should be designed to accept dates from the user in a format specific to their country/locality and it would then know what that format is and automatically convert it to a DATE datatype before it gets anywhere near the database or any SQL.

  • Printing Chinese Date format using Oracle Reports

    Hi ,
    I need to print the date as for e.g, 2006 4 12 (Year Month and Day) with a chinese character after each of the three components, representing the year, Month and Day.
    When running the report with the format mask as RRRR Mon DD, I get the chinese character for the Month component and not for the year and day. I tried with different format masks available and also tried with somehting which is not in list as well. But, I couldn't get the intended format.
    Is there anyone who has done this before? If so, pl. let me know the way to get this done.
    regards,
    tilak

    Hi Olga,
    If  the Date in the database is date (not datetime) means you cannot use a DD-MON-RR HH:MI:SS in your reports.
    If you want to show date with time means, change the properties in Oracle Forms of that date field and assign datetime as datatype.
    So that the value inserted to the field will become datetime. and automatically if you use this column in your report you will get date along with time.
    Hope this clears...
    Regards,
    Soofi

  • Date format in file Formetter.js using Web IDE

    Hi Experts,
    I know that at the forum includes discussions which relate to date format, but I couldn't find topics of the date format using Formatter.js file in Web IDE.
    To the point. It's the fragment of my index.html file, where can find resourceroots:
                                  <script id="sap-ui-bootstrap"
                                                   src="resources/sap-ui-core.js"
                                                   data-sap-ui-libs="sap.m"
                                                   data-sap-ui-theme="sap_bluecrystal"
                                                   data-sap-ui-xx-bindingSyntax="complex"
                                                   data-sap-ui-resourceroots='{"RbsNew": "./"}'>
                                   </script>
    My Formatter.js file looks like:
    jQuery.sap.require("sap.ui.core.format.DateFormat");
    jQuery.sap.declare("RbsNew.Formatter");
    sap.ui.RbsNew.Formatter = {     
    date : function (value) {
             if (value) {
                    var oDateFormat = sap.ui.core.format.DateFormat.getDateTimeInstance({pattern: "yyyy-MM-dd"});
                    return oDateFormat.format(value);                                     
            else {
          return value;
    and it's located directly in the project directory - RbsNew.
    I try use this file to format the date in Detail.view.xml file - exactly in Table. The fragment of code looks like:
    <Text
                text="{
                                   path:'Bdate',
                                   formatter:'sap.ui.RbsNew.Formatter.date'
                    }"/>
    Unfortunately, I can't see the expected results.
    Please help, because I don't know what I'm doing wrong.
    Regards
    Marcin

    try
    <Text 
                text="{ 
                                   parts : [ 'Bdate'], 
                                   formatter:'RbsNew.Formatter.date' 
                    }"/> 
    btw, any errors in console?

  • Using a submit email button and data format

    I have been reviewing the following document and have 1 question.
    http://www.adobe.com/devnet/livecycle/articles/lc_understanding_submit_tip.pdf
    Is there a way to customize the data format using a submit button?
    I may have the requirement to have end users submit data through an email submit button, but the client wants the data in the format Fieldname [delimiter of some sort] Fieldvalue, is this possible?  Would you need to manually edit the xml in the form to do this? Any pointers would be appreciated.
    The only options I see in the attributes of the email submit button are:
    XDP
    XML
    PDF
    URL encoded data
    Thank you,

    I have discussed this with Lori DeFurio, past Acrobat (and PDF) Developer Evangelist, and most recently, responsible for Customer & Field Enablement, who has informed me that this is possible and directed me to these forums for a resolution.
    Has anyone actually accomplished this?  Any information is appreciated.
    Thank you,

  • Email Submit and Data format

    I have been reviewing the following document and have 1 question.
    http://www.adobe.com/devnet/livecycle/articles/lc_understanding_submit_tip.pdf
    Is there a way to customize the data format using a submit button?
    I may have the requirement to have end users submit data through an email submit button, but the client wants the data in the format Fieldname [delimiter of some sort] Fieldvalue, is this possible?  Would you need to manually edit the xml in the form to do this? Any pointers would be appreciated.
    The only options I see in the attributes of the email submit button are:
    XDP
    XML
    PDF
    URL encoded data
    Thank you,

    Hi Paul:
    Currently we are using Acroforms and would use these forms originally.
    In the future, this would be used with LiveCycle so it would probably be an XFA/LiveCycle Designer form. I believe in this case, the best solution would be to do this through a submit using Form Server components of LCES.
    Thank you,
    Working for a Living...

Maybe you are looking for

  • Could not find Factory: javax.faces.context.FacesContextFactory

    I'm trying to start a new JSF with facelets app from scratch using JSF 1.2.06 on Tomcat 6.0.10 but I can't even get the app to start. I get this when I try to start the app: java.lang.IllegalStateException: Application was not properly initialized at

  • DVR to iDVD

    I remember seeing a tutorial on how to connect your DVR to your Mac and burn your recorded program directly to DVD via FireWire. Does anyone know where this tutorial is?

  • Unable to install ISE 1.1.1 on VMware vSphere 5

    Dear friends, I'm trying to install ISE 1.1.1 VM on my vSphere 5 environment but I get no success.  I met hardware requirements (2 CPUs, 4 GB of RAM, 100 GB disk and 1 NIC), but I'm always stuck on the attached print screen (traceback and invalid ELF

  • JTable column resize listener

    Hi friends ! I want to trap the event when user resizes the width of any column. Which listener will help me for this. Thanks in advance. Ramesh

  • Problems with QuickTime 10.1/Lion 10.7.3

    Hi, since I upgraded to Lion QuickTime has major problems with several video files. I have Perian and Flip4Mac Pro installd and current. Symptoms: Videos encoded "wmv3": Video o.k., sound only for a few tenths of a second, then silent. Videos encoded