Conversion urgent

Hi  All,
        I have a program in which i dont want decimal values.So i am moving the value from Floating point to int4.Now i have a problem that one of the values is '3.0114e+09' and  more and its giving a dump due to overflow .Doe any know how to sole this .
the type for
eg
Data  v_var type F value '3.0114e+09'.
data  v_int type int4.
move  v_var  to  v_int.
write: / v_var,  v_int.
the code in my program is
                                                          MOVE TIME_SERIES_ITEM-TIME_SERIES_VALUE TO WA_DOWNLOAD-M.
TIME_SERIES_ITEM-TIME_SERIES_VALUE  is of type /SAPAPO/FLTP ie is of type FLTP length 16 and decimals 16
WA_DOWNLOAD-M is of type int4.
Regards
Ahasan

Hi,
Make sure you have the "Fixed Point Arithmetic" checked in the attributes of the program and declare your variable as P DECIMALS 0.
Regards,
Ravi

Similar Messages

  • Last field not shown in MONI if its empty during content conversion-urgent

    Hi All,
            I have my input structure like
       <RECORDSET>
          <EMPLOYEE>
             <FIRSTNAME>
             <LASTNAME>
             <PHONENUMBER>
          </EMPLOYEE>
       </RECORDSET>
           I have given my sender Conversion parameters like
       Employee.fieldSeparator=*
       Employee.endSeparator='nl'
       Employee.fieldNames=FIRSTNAME,LASTNAME,PHONENUMBER
    It is working fine.But if the value is empty for any of the field it is showing up with empty tag in MONI but for the Last field i.e.,PHONENUMBER if the value is empty the tag is not being shown in MONI. Please help me in this issue.It is very urgent.

    Hi Dinakar,
    I haven't tried but u can check these parameters and give it a try
    <b>NameA.missingLastfields</b>
    If the inbound structure has less fields than specified in the configuration then the XML outbound structure is created as follows:
    &#9675;       ignore
    Outbound structure only contains the fields in the inbound structure
    &#9675;       add
    Outbound structure contains all fields from the configuration; the fields missing in the inbound structure are empty.
    &#9675;       error
    Conversion is terminated due to the incomplete inbound structure. An error message is displayed.
    &#9679; <b>     NameA.additionalLastFields</b>
    If the inbound structure has more fields than specified in the configuration then the XML outbound structure is created as follows:
    &#9675;       ignore
    Outbound structure only contains the fields in the inbound structure
    &#9675;       error
    Conversion is terminated due to the incomplete inbound structure. An error message is displayed.
    The default value is ignore. If you have defined the NameA.fieldFixedLengths parameter, the default value is error.
    <b>NameA.lastFieldsOptional</b> (obsolete)
    You use this parameter to specify whether the last fields can be omitted (YES) or not (NO) in a comma-separated structure.
    If you do not make an entry, the default value is NO.
    Check for details:
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
    Sachin

  • UNICODE CONVERSION urgent

    Hi friends,
    can any one send the commom errors in unicode conversion project?

    Hi ,
    Hope it will help you,
    The Link will be helpful to you.
    Re: Upgrade 4.6 to ECC - What are the responsibilites
    regarding Unicode influence in Standard programs
    Very good document:
    http://www.doag.org/pub/docs/sig/sap/2004-03/Buhlinger_Maxi_Version.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d37d1ad9-0b01-0010-ed9f-bc3222312dd8
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/589d18d9-0b01-0010-ac8a-8a22852061a2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f8e316d9-0b01-0010-8e95-829a58c1511a
    You need to use the transaction UCCHECK.
    The report documentation is here
    ABAP Unicode Scan Tool UCCHECK
    You can use transaction UCCHECK to examine a Unicode program set for syntax errors without having to set the program attribute "Unicode checks active" for every individual program. From the list of Unicode syntax errors, you can go directly to the affected programs and remove the errors. It is also possible to automatically create transport requests and set the Unicode program attribute for a program set.
    Some application-specific checks, which draw your attention to program points that are not Unicode-compatible, are also integrated.
    Selection of Objects:
    The program objects can be selected according to object name, object type, author (TADIR), package, and original system. For the Unicode syntax check, only object types for which an independent syntax check can be carried out are appropriate. The following object types are possibilities:
    PROG Report
    CLAS Class
    FUGR Function groups
    FUGX Function group (with customer include, customer area)
    FUGS Function group (with customer include, SAP area)
    LDBA Logical Database
    CNTX Context
    TYPE Type pool
    INTF Interface
    Only Examine Programs with Non-Activated Unicode Flag
    By default, the system only displays program objects that have not yet set the Unicode attribute. If you want to use UCCHECK to process program objects that have already set the attribute, you can deactivate this option.
    Only Objects with TADIR Entry
    By default, the system only displays program objects with a TADIR entry. If you want to examine programs that don't have a TADIR entry, for example locally generated programs without a package, you can deactivate this option.
    Exclude Packages $*
    By default, the system does not display program objects that are in a local, non-transportable package. If you want to examine programs that are in such a package, you can deactivate this option.
    Display Modified SAP Programs Also
    By default, SAP programs are not checked in customer systems. If you also want to check SAP programs that were modified in a customer system (see transaction SE95), you can activate this option.
    Maximum Number of Programs:
    To avoid timeouts or unexpectedly long waiting times, the maximum number of program objects is preset to 50. If you want to examine more objects, you must increase the maximum number or run a SAMT scan (general program set processing). The latter also has the advantage that the data is stored persistently. Proceed as follows:
    Call transaction SAMT
    Create task with program RSUNISCAN_FINAL, subroutine SAMT_SEARCH
    For further information refer to documentation for transaction SAMT.
    Displaying Points that Cannot Be Analyzed Statically
    If you choose this option, you get an overview of the program points, where a static check for Unicode syntax errors is not possible. This can be the case if, for example, parameters or field symbols are not typed or you are accessing a field or structure with variable length/offset. At these points the system only tests at runtime whether the code is sufficient for the stricter Unicode tests. If possible, you should assign types to the variables used, otherwise you must check runtime behavior after the Unicode attribute has been set.
    To be able to differentiate between your own and foreign code (for example when using standard includes or generated includes), there is a selection option for the includes to be displayed. By default, the system excludes the standard includes of the view maintenance LSVIM* from the display, because they cause a large number of messages that are not relevant for the Unicode conversion. It is recommended that you also exclude the generated function group-specific includes of the view maintenance (usually L<function group name>F00 and L<function group name>I00) from the display.
    Similarly to the process in the extended syntax check, you can hide the warning using the pseudo comment ("#EC *).
    Applikation-Specific Checks
    These checks indicate program points that represent a public interface but are not Unicode-compatible. Under Unicode, the corresponding interfaces change according to the referenced documentation and must be adapted appropriately.
    View Maintenance
    Parts of the view maintenance generated in older releases are not Unicode-compatible. The relevant parts can be regenerated with a service report.
    UPLOAD/DOWNLOAD
    The function modules UPLOAD, DOWNLOAD or WS_UPLOAD and WS_DOWNLOAD are obsolete and cannot run under Unicode. Refer to the documentation for these modules to find out which routines serve as replacements.
    Thanks
    Jagadeesh.G

  • Impact of ALPHA Conversion Urgent!!

    Hi,
    We have a problem with some of the infoobjects during the upgrade to 3.5.
    Some of the custom developed Z infoobjects do not have conversion routine in them when they were developed in 3.0B.
    e.g. ZCUSTNO has two customer numbers 01 & 000001.
    This is being used in infocube ZSALES & the data in the cube is
    ZCUSTNO     01  ZSAL 100
    ZCUSTNO 000001  ZSAL 200
    We need to add ALPHA Conversion routine in ZCUSTNO.
    CASE 1 : Making Customer 01 as A01 & 000001 as A000001.
    In order to achieve this do we need to rotate the existing transactional data by adding 'A' in update rule & then loading master data for A01 & A000001 or how do we go about to achieve this. Please give the steps.
    Also, if ZCUSTNO is "char 6" so adding 'A' to 000001 makes the length "7" so what can be done for same?
    CASE 2 : If we add ALPHA routine WITHOUT adding 'A' to the customer no.
    What will be the impact of this on transactional data? will it look as follows ---
    ZCUSTNO 000001 ZSAL 300

    Hi Vikash,
    PPT was really helpful. I'll definitely reward u the points for that but it would be helpful if you could elaborate on some points mentioned in PPT.
    <i>"Conversion tables containing the old and new values are built from the SID tables"</i>
    Could you pl elaborate what exactly system does? what are conversion tables?
    <i>"Characteristics with collisions in the SID table
    Marked in RED"</i>
    Could you pl give an example when a characteristic will be marked RED.

  • Data conversion (urgent)

    Hi all,
    i'd to know why i've got all my é to i when i've inserted data with unix script ?
    enven though i've converted them from Dos to Unix before ftp and ftp in binary ?
    Thanks in advance,

    Hey, keep cool here...<br>
    This forum is based on volunteers, which are not paid for answer.<br>
    So, if you have not the time to read the doc for which someone give you the link, nobody will make it for you, and if your pb is urgent (as your thread title mentionned), pay yourself a consulant, or raise a SR through metalink.<br>
    <br>
    Very best regards,<br>
    <br>
    Nicolas.<br>
    <br>
    Try your chance into Globalization Support<br>
    Message was edited by: <br>
    N. Gasparotto<br>
    <br>

  • ALV to excel conversion, Urgent

    Hi Friends,
    One doubt.
    When i was saving an ALV Out put to excel sheet  values in 3 coloumns   are coming such that last digit is getting cut.
    For Eg.
    In ALV value is 0000017756
    In excel its coming 000001775
    Can anybody tell me what may be the cause of this.
    Plz reply.
    Thanks
    Nitin

    Hi Nitin
    please use this
    reward points boss.
    Regards
    Deepanker
    DOWNLOAD ALV LIST TO EXCEL AUTOMATICALLY
    TYPES:
      BEGIN OF ty_upload,
        field1 TYPE c length 12,
        field2 TYPE c length 12,
        field3 TYPE c length 12,
      END OF ty_upload.
      DATA it_upload TYPE STANDARD TABLE OF ty_upload WITH DEFAULT KEY.
      DATA wa_upload TYPE ty_upload.
      DATA itab TYPE STANDARD TABLE OF alsmex_tabline WITH DEFAULT KEY.
      FIELD-SYMBOLS: <wa> type alsmex_tabline.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename    = filename
          i_begin_col = 1
          i_begin_row = 1
          i_end_col   = 3
          i_end_row   = 65535
        TABLES
          intern      = itab.
      LOOP AT itab ASSIGNING <wa>.
        CASE <wa>-col.
          WHEN '0001'.
            wa_upload-field1 = <wa>-value.
          WHEN '0002'.
            wa_upload-field2 = <wa>-value.
          WHEN '0003'.
            wa_upload-field3 = <wa>-value.
        ENDCASE.
        APPEND wa_upload TO it_upload.
        CLEAR wa_upload.
      ENDLOOP.
    CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'
    EXPORTING
    I_FIELD_SEPERATOR =
    I_LINE_HEADER =
    i_filename =
    I_APPL_KEEP = ' '
    tables
    i_tab_sap_data =
    CHANGING
    I_TAB_CONVERTED_DATA =
    EXCEPTIONS
    CONVERSION_FAILED = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Another FM –
    MS_EXCEL_OLE_STANDARD_DAT
    A simple option:
    a) form download_file .
    call function 'WS_EXCEL'
    importing
    filename = excel_name
    tables
    data = itab.
    b) call function 'WS_DOWNLOAD'
    exporting
    filename = o_file
    filetype = 'DAT'
    tables
    data_tab = i_tab
    exceptions
    file_open_error = 1
    file_write_error = 2
    invalid_filesize = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    no_authority = 10
    others = 11.
    if sy-subrc = 0.
    message 'File is downloaded successfully' type 'I'.
    endif.

  • Error while report conversion (URGENT, PLEASE!!!)

    Hi, everyone
    I am converting Reports from 1.0 version to Developer 2000. I
    issue this statement:
    rwcon60.exe userid=als/ur2nice@sefindv stype=rexfile
    source=rep_describe_tables.rex dtype=rdffile dest=xx.rdf
    overwrite=yes
    and get back:
    REP-3300: Fatal error in the object store
    ROS--29: Error while opening or saving a document.
    I also appreciate any information on where I can find
    documentation related to the issue.
    Thanks a lot in advance,
    Eduardo

    hello,
    you might want to consult the documentation/release notes. it is
    most likely, that direct migration between those two versions is
    not supported.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Currency Conversion- Urgent

    Hi
    Currency S_WAERS is in my selection screen.
    If i enter USD For S_waers the amount should convert to USD.
    If i leave blank it should  take local currency.
    Any one pls give me the coding for this.
    Thanks
    Kumar

    Hi,
    First, you should judge the amount's reference currency.
    I take other currency as example, that is, the amount stores as neither USD nor local currency.
    Functions will be used:
    get local currency's FM:
    1) LOCAL_CURRENCY_GET:
    (this function returns the local currency by sales organization and distribution chanel  or plant )
    CALL FUNCTION 'LOCAL_CURRENCY_GET'
                       EXPORTING
                            PI_VKORG                =  ??sales organization
                            PI_VTWEG                =  ?  distribution chanel
                            PI_WERKS                =  ?  Plant
                       IMPORTING
                            PE_HWAER                = ?  local currency
                       EXCEPTIONS
                            INVALID_INPUT           = 1
                            CURRENCY_NOT_DETERMINED = 2
                            OTHERS                  = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                   ENDIF.
    2) FMR3_GET_LOCAL_CURRENCY:
    (this function returns the local currency by company code)
    CALL FUNCTION 'FMR3_GET_LOCAL_CURRENCY'
         EXPORTING
              I_BUKRS       =  ? company code
         IMPORTING
              E_HWAER       =  ? local currency
            E_FIKRS       =
            E_KOKRS       =
       EXCEPTIONS
            INVALID_WAERS = 1
            WRONG_BUKRS   = 2
            OTHERS        = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    convert the amount to the target currency amont:
    CONVERT_TO_LOCAL_CURRENCY
    (this function returns the target amount)
          CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
               EXPORTING
                    DATE             = SY-DATUM
                    FOREIGN_AMOUNT     =   ? amount
                    FOREIGN_CURRENCY =   ? currency the amount stores
                    LOCAL_CURRENCY     =   ? target currency
               IMPORTING
                    LOCAL_AMOUNT         =    ? target amount
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Therefore, the logic is :
    if usd,  CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'   set the target currency as USD then you'll get  target amount
    if blank, call the  get local currency's FM  and CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' ,set the target currency as the local currency you get.
    Hope it can help you.
    regards
    vincent.

  • Number Conversion:Urgent

    Hi everyone,
    We have a scenario where we are getting an input from a file for date and number.
    these formats are given in the selection screen to make it easier for the user.
    for eg: date formats are given are dd/mm/yyyy so on whatever formats are available through datfm field in usr01 table.
    We need to change the format of the date and the format of the number according to the user settings .fields datfm and fields dcpfm(eg. 1,23,600.00,1 23 600.00,1.23.600,00) in usr01 first and then map it to the sap fields.so we have to change this format to sap format.
    can anyone please help me on this.
    to change the date format as well as number format.
    the number format is on more priority then date format.
    any help would be appreciated.
    thanks,
    ahmed

    Hi Ahmed,
    well, for amounts you could use:
    select single * from usr01 where bname = sy-uname.
    case usr01-dcpfm.
      when space.
        translate input_string using '. ,.'.
      when 'X'.
        translate input_string using ', '.
      when 'Y'.
        translate input_string using ',.'.
      when others.
    endcase.
    condense input_string no-gaps.
    ...and for dates:
      CALL FUNCTION 'KCD_EXCEL_DATE_CONVERT'
           EXPORTING
                excel_date  = string
                date_format = 'TMJ'
           IMPORTING
                sap_date    = date.
    I hope it helps. Best regards,
    Alvaro

  • Conversion - Urgent reply

    Hello Friends
    Can yo please let me know tabout the following transaction are enjoy transaction or not.
    As i am using the BDC in that ...
    Production version C221
    Certificate profile  QC01
    Tarrif zones          T_76
    Route                   0VTC
    Please send me the reply...for above transaction whether they fall in enjoy transaction or not??
    I assure i will awarded the points for usefull information
    Thanks
    MANOJ

    Hi,
    the enjoy transactions are transactions that use the control framework. This includes but is not limited to, custom controls, tree controls, alv controls, splitter containers, docking containers, html controls, etc.
    As mentioned a lot of transactions have been rewritten to use the new control framework. Usually the tcode with an "N" as the last character.
    me21n,me22n etc.
    So, in your case the transaction are not enjoy transactions.
    Regards,
    Bhaskar

  • Need help urgently with conversion of tiff images(.odm) to pdf files...

    Hi Friends!!
    Currently we are working on a project which involves conversion of tiff image files to Pdf files. We are able to convert .tif files to .pdf files.(We are using iText libraries for this..)
    But the only problem we are facing is ---
    We have some .odm files which are multipage tiff files. But we are unable to convert them into .pdf files.
    Note:- Please note .odm is a proprietary extension given by Optix Document Management and Workflow Systems. We figured out that .odm works as a collection of .tif images.
    I searched a lot on the net but couldn't find any help, so, if anyone has any idea of how to go about doing this please let me know...
    Please email any suggestions to [email protected]
    Thanks in advance for your help,
    Rita

    I'm afraid I can't help much with your problem, but I think I can offer some advice on how to get better, faster answers here at this forum:
    First, don't flag your question as urgent, even if it is for you. Claiming urgency is very likely to be counter-productive: most forum regulars will simply ignore such messages as rude and selfish attempts to elicit immediate and special attention.
    Besides, unless the Symbionese Liberation Army is about to chase you over the edge of a cliff, your problem probably isn't as urgent as you think. :o)
    Second, don't ask people to reply by private email. Most Forum regulars believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers (not to mention the possibility of collecting some of those precious Duke Dollars).
    Good luck!

  • Currency Conversion using RRC1-Urgent!!

    I have a requirement where I need to create a new currency conversion type. The query displays invoices posted in a particular period and their value in USD. The conversion rate gets posted somewhere in the middle of the period.The conversion happens such that the invoices posted before the date on which the rate was posted pick the previous period's rate, which those posted after that date use the new rate.
    Business requires all invoices falling in a period to use the rate posted in that period and to use the previous month's rate only when the new rate is not available. Can someone let me know what variable time ref. I am supposed to use to acheive this.Any kind of response will be greatly appreciated as this is pretty urgent.
    Thanks
    Akhila.

    Hi Akhila,
    I did not want to say, that the currency rates have to be maintained at a certain date. What I wanted to know is, if the <b>validity date</b> could be influenced as this would be the simpliest solution.
    Nevertheless, what you need is a currency conversion type, that has a variable time reference and is based on 0CALDAY (or another appropriate time InfoObject). Check the period definiton for the time reference. Maybe, "End Month" (respectively "End of Period", ...) could solve the problem. As you probably know, all this has to be done in transaction RRC2.
    If this does not help, it could be useful to describe the currency conversion type's definition as well as a description what validity date is stored in table TCURR.
    Kind regards,
    Stefan

  • Procedure to restart cancelled BDLS (logical system conversion) !! Urgent

    Hello Experts,
    I need immediate help. I started the BDLS (logical system name conversion) and it was running for about 3 days. It was about 70% complete. But because the users could not afford downtime, I cancelled the BDLS job. When I tried to restart BDLS later, it is giving an error "Logical system name already exists". Kindly note that we are on R3 4.6C environment with CRM 4.0. The BDLS conversion is on R3 4.6C QA which was refreshed from R3 4.6C prod.
    My question is
    1- Is there any way to restart BDLS on R3 4.6C? If so, what is the procedure?
    2- The BDLS was 70% complete, before it was cancelled. So it created a new logical system name. Is it possible to delete this new logical system name without any problems?
    3- Because BDLS converted 70% of the tables from old logical system name to new logical system name. There might be data inconsistency.
    3a- Is there a way to reset all the converted tables to old logical system name?
    3b- Is there a report or program or a procedure to reset the BDLS?
    4- Will this state of having 70% of tables with new logical system name and 30% of tables having old logical system name create any problems for the data transfers and for the business?
    Kindly help me in this regard as this is a very urgent issue. Points to be awarded for any kind of small help.

    Thanks a ton Srikishan. I will do the same as you have said.
    A couple of more questions.
    1- Do I have to start this immediately now, in the morning hours, asking all the users to get disconnected or schedule it later, during the night time or on the weekend.
    Will this current state of having 70% of tables with new logical system name and 30% of tables having old logical system name create any problems for the business?
    2- If this there a way ( a program, a procedure) to reset changes done by BDLS?
    Kindly note that due to the database being large, BDLS is taking 3 days. So I cannot do this during the week days (during business hours), I will have to reschedule this during the weekend.
    Please let me know. Thanks.

  • Urgent : Timezone conversion issue

    Hi,
    I am having an issue in timezone conversion.Im trying to convert a date type value to server timzone before insert into table. Im writing the conversion code in validateEntity(). Im using OANLSServices methods for conversion.Since i have to pass java.util.Date to this convertTimezone() as first parameter(date to be converted),im converting the reqd date which is in oracle Date type to java util Date type. Function is returing java.util.date type, which is again converted to oracle Date type. then im passing this value to the setMethod, ie., setJoiningDate(Date ) in my case.
    the code is compiled with 0 errors. But wen i run the page and after entering date value and click save button , its throwing some exception like "oracle.jbo.ValidationException: JBO-28200: Validation threshold limit reached. Invalid Entities still in cache"
    and in the debug console, this code in the validateEntity() is executed 10 times. First time it is converting the date time value to date only format, then same this is executed 9 more times. Can anyone help to resolve this issue? Its very urgent.
    Thanks
    Harsha

    Harsha,
    Use this code and try again...!
    oracle.jbo.domain.Date join = getJoiningDate();
    // to convert oracle Date to Java util Date
    java.sql.Date joinSql =(java.sql.Date)join.dateValue();
    java.util.Date jdateUtil =
    getOADBTransaction().getOANLSServices().convertTimezone(joinSql,
    getOADBTransaction().getOANLSServices().getUserTimeZoneCode(),
    getOADBTransaction().getOANLSServices().getServerTimeZoneCode());
    // to convert back to oracle Date
    java.sql.Date jdateSql = new java.sql.Date(jdateUtil.getTime());
    oracle.jbo.domain.Date jdate = new oracle.jbo.domain.Date(jdateSql);
    setJoiningDate(jdate);
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • URGENT :::: Prepared Statement : Invalid Conversion Error

    Hi,
    I have prepared statement to update a database record. It is working fine but sometime it throws follow. SQLException. I checked the data I'm passing to the prepared statement. Everything works fine on the desktop but sometime it throws the foolow. exception on the websphere server.
    Error = SQL ERROR -99999 [IBM][CLI Driver] CLI0102E Invalid conversion. SQLSTATE=07006 In Method = performBulkOperation Of Class = com.bbh.actionworld.bulksql.BulkProcessing
    Its an urgent problem. Could you please help me ?
    thanks in advance.

    Hi
    I am using a prepared statement to insert records into an RDBMS. I am using JDK 1.4.1. I use setTime to set the date fields.
    My statement is
    pstmtAddFC.setTime(15, Time.valueOf("00:00:00"),
    Funcs.getCalendar(mydate));
    Where getCalendar sets the calandar to the date specified in mydate.
    I am using the JDBC:ODBC driver to connect to the database.
    This works fine with Oracle but gives
    java.SQL.Exception: [IBM][CLI Driver] CLI0102E Invalid Conversion. SQL STATE =07006
    Any suggestions? Thanks
    Regards
    Lakshmi

Maybe you are looking for

  • Resize applet - more info

    I want to be more specific: i have a class that extends applet to this class i added two panels. to one of the panels i added 100 buttons, to the other 4 labels. i have also a class that extends frame, in order to run my applet as an application. i a

  • How to export a weblogic application between two workshops

    i need to develop an application on two different computers. how to make the application portable between two workshops? Thanks. Denis

  • Distributed database

    Hi Everyone, We are looking at different options to connect the forte application to distributed database. Any help greatly appreciated Thanks & Regards Raju (Pothuraju Katta) [email protected] Phone: 847-969-3000 Fax: 847-995-8287 To unsubscribe, em

  • Why does my hardware turn on when my vi is opened but not even run?

    I have tracked down the culprit vi to be Digital Group Config.vi in the \DAQ\zadvd.llb. Whenever I open Labview for the *first* time with any vi that contains this vi, my hardware (pumps, valves connected via PCI-DIO-96 and PCI-485/2) turn on. I don'

  • Client can't open my BMP files

    Howdy, I've been using my current system to create software interface graphics (buttons, icons, etc. ) but recently my clients who are all on Windows are not able to open my BMP files. They can open PSD and PNG and JPG files, to problem. I need the B