First digit of date if 0, gets truncated-upload problem

Hi,
I have a situation where in i am downloading a file in user setting format into an excel. The date field is hence stored in DDMMYYYY format.
Suppose the DD of my date is below 10 ie 01-09, the zero digit gets truncated in excel. so while uploading there is a conversion error.
I am using TEXT_XLS_CONVERT_SAP to uploa data. i want the date in the excel in DDMMYYYY format (according to my user setting).
Regards,
Herwin.

Hi Herwin,
Your internal table seems to have date field of DATE data type. Instead use field of type Text.
mdate(10) type c.
Loop over the internal table & move the data from DATE field to the New text field. Download the Text field instead of DATE field.
Thanks,
Best regards,
Prashant

Similar Messages

  • The last digit of invoice vbeln is getting  truncated  in the file

    Hi Experts,
    I'm facing problem in both quality and production,the last digit of invoice vbeln is getting  truncated  in the file when i do export-> local file ->spread sheet.I'm having an alv report using grid display alv is getting display.when output is displayed  i'm getting vbeln as 0430098109 and when i'm trying to download into XLS file using export local file spread sheet i'm getting vbeln as 043009810, last digit not appering in the file
    Thanks in advance.

    PERFORM reset_component_price.
    LOOP AT tab_documenti .
        IF tab_documenti-waerk = co_krw .
          tab_documenti-netwr = tab_documenti-netwr * 100 .
        ENDIF .
        MODIFY tab_documenti .
      ENDLOOP .
    DESCRIBE TABLE tab_documenti LINES num.
      IF num > 0.
        IF importa = 'X'.
          PERFORM esporta_file.
        ELSE.
          PERFORM stampa2.
        ENDIF.
      ENDIF.
    *&      Form  recupero_trigger_fatturazione
          text
    FORM recupero_trigger_fatturazione.
      SELECT vkorg fkdat kunnr vbeln vtweg spart vbtyp
             INTO CORRESPONDING FIELDS OF TABLE tab_vkdfs
             FROM vkdfs
             WHERE vkorg IN s_vkorg
              AND  fkdat IN s_edatu
              AND  kunnr IN s_kunnr
              AND  vbeln IN s_vbeln
              AND  vtweg IN s_vtweg
              AND  spart IN s_spart
              AND  vbtyp IN s_vbtyp.
    ENDFORM.   
    *&      Form  TERMINO_REPERIMENTO_DATI_DOCUM
    FORM termino_reperimento_dati_docum.
      IF NOT port IS INITIAL. "APAB 26/01/04
        REFRESH l_tab_vbak. CLEAR l_tab_vbak.
        SELECT vbeln
               erdat ernam                "APAB 26/01/04
               vkorg vtweg spart kunnr
               vkbur vkgrp vbtyp auart augru
               INTO CORRESPONDING FIELDS OF TABLE l_tab_vbak
               FROM vbak
               WHERE vbeln IN s_vbeln "EQ tab_vkdfs-vbeln Ceriati
               AND   ernam IN s_ernam "APAB 26/01/04
               AND   kunnr IN s_kunnr
               AND   vkorg IN s_vkorg
               AND   vtweg IN s_vtweg
               AND   spart IN s_spart.
        CHECK sy-subrc EQ 0.
        LOOP AT l_tab_vbak WHERE vkbur IN s_vkbur AND
                                 vkgrp IN s_vkgrp AND
                                 auart IN s_auart AND
                                 augru IN s_augru.
          REFRESH l_tab_vbap. CLEAR l_tab_vbap.
          SELECT vbeln posnr pstyv werks kondm matnr netwr waerk kwmeng
                 netpr prodh taxm1 knumh                "APAB 26/01/04
                 INTO CORRESPONDING FIELDS OF TABLE l_tab_vbap
                 FROM vbap
                 WHERE vbeln EQ l_tab_vbak-vbeln "tab_vkdfs-vbeln.Ceriati
                   AND pstyv IN s_pstyp. "Ceriati
          CHECK sy-subrc EQ 0.
    APAB 26/01/04 start - find order reason
          CLEAR l_tab_vbak-bezei.
          SELECT SINGLE bezei INTO l_tab_vbak-bezei FROM tvaut
                              WHERE spras EQ sy-langu
                              AND   augru EQ l_tab_vbak-augru.
    find client description
          CLEAR : l_tab_vbak-name1,l_tab_vbak-land1.
          SELECT SINGLE name1 land1 INTO (l_tab_vbak-name1,l_tab_vbak-land1)
                                                                   FROM kna1
                                              WHERE kunnr = l_tab_vbak-kunnr.
    Ceriati imposte
          SELECT SINGLE taxkd INTO tab_documenti-taxm1 FROM knvi
                                     WHERE kunnr = l_tab_vbak-kunnr
                                     AND  aland = 'IT'
                                     AND  tatyp = 'MWST'.
          LOOP AT l_tab_vbap WHERE werks IN s_werks AND
                                   kondm IN s_kondm AND
                                   matnr IN s_matnr.
            IF l_tab_vbak-auart = 'Z1OI' AND ( l_tab_vbap-pstyv = 'TAX' OR
                                               l_tab_vbap-pstyv = 'TAD' ).
              SELECT SINGLE * FROM vbup WHERE vbeln = l_tab_vbap-vbeln
                                        AND   posnr = l_tab_vbap-posnr.
              CHECK vbup-fksaa NE 'C'.
            ENDIF.
            CLEAR vbep.
            CLEAR: qta_uscita_t, qta_cons_t.
            REFRESH l_tab_vbfa.
            SELECT vbelv posnv posnv vbeln posnn vbtyp_n rfmng
            INTO CORRESPONDING FIELDS OF TABLE l_tab_vbfa
               FROM vbfa
               WHERE vbelv EQ l_tab_vbap-vbeln  AND
                     posnv EQ l_tab_vbap-posnr AND
                     vbtyp_n EQ 'J'.
            LOOP AT l_tab_vbfa.
              qta_cons_t = l_tab_vbfa-rfmng + qta_cons_t.
            ENDLOOP.
            REFRESH l_tab_vbfa.
            SELECT vbelv posnv posnv vbeln posnn vbtyp_n rfmng bwart
            INTO CORRESPONDING FIELDS OF TABLE l_tab_vbfa
               FROM vbfa
               WHERE vbelv EQ l_tab_vbap-vbeln
                 AND posnv EQ l_tab_vbap-posnr
                  AND BWART NE SPACE
                 AND ( vbtyp_n EQ 'R'
                  OR   vbtyp_n EQ 'h' ).
            LOOP AT l_tab_vbfa.
              IF l_tab_vbfa-vbtyp_n = 'h'.
                l_tab_vbfa-rfmng = l_tab_vbfa-rfmng * -1.
              ENDIF.
              qta_uscita_t = qta_uscita_t + l_tab_vbfa-rfmng.
            ENDLOOP.
            SELECT * FROM vbep WHERE vbeln EQ l_tab_vbap-vbeln AND
                  posnr EQ l_tab_vbap-posnr
                 AND edatu IN s_edatu
                  ORDER BY edatu.
              CHECK vbep-bmeng NE 0.
              MOVE vbep-bmeng TO tab_documenti-menge.
    CLEAR: qta_uscita,qta_cons.
              IF qta_cons_t = 0.
                CLEAR qta_cons.
                IF qta_uscita_t NE 0.
                  IF qta_uscita_t > vbep-bmeng.
                    qta_uscita = vbep-bmeng.
                    qta_uscita_t = qta_uscita_t - vbep-bmeng.
                  ELSE.
                    qta_uscita = qta_uscita_t.
                    CLEAR qta_uscita_t.
                  ENDIF.
                ENDIF.
              ELSE.
                IF qta_cons_t > vbep-bmeng.
                  qta_cons = vbep-bmeng.
                  qta_cons_t = qta_cons_t - vbep-bmeng.
                ELSE.
                  qta_cons = qta_cons_t.
                  CLEAR qta_cons_t.
                ENDIF.
                IF qta_uscita_t NE 0.
                  IF qta_uscita_t > vbep-bmeng.
                    qta_uscita = vbep-bmeng.
                    qta_uscita_t = qta_uscita_t - vbep-bmeng.
                  ELSE.
                    qta_uscita = qta_uscita_t.
                    CLEAR qta_uscita_t.
                  ENDIF.
                ENDIF.
              ENDIF.
              qta_cons = qta_cons - qta_uscita.
    CLEAR: tab_documenti-inco1, tab_documenti-vsart,
                     tab_documenti-bstkd, tab_documenti-bstdk.
              SELECT SINGLE inco1 vsart zterm bstkd bstdk
                                                INTO (tab_documenti-inco1,
                                                     tab_documenti-vsart,
                                                     tab_documenti-zterm,
                                                     tab_documenti-bstkd,
                                                     tab_documenti-bstdk)
                                                      FROM vbkd
                                           WHERE vbeln = l_tab_vbap-vbeln
                                           AND   posnr = l_tab_vbap-posnr.
    IF sy-subrc NE 0.
                SELECT SINGLE inco1 vsart zterm bstkd bstdk
                                                  INTO (tab_documenti-inco1,
                                                        tab_documenti-vsart,
                                                       tab_documenti-zterm,
                                                       tab_documenti-bstkd,
                                                       tab_documenti-bstdk)
                                                                  FROM vbkd
                                             WHERE vbeln = l_tab_vbap-vbeln
                                             AND   posnr = '000000'.
              ENDIF.
    CLEAR makt.
              SELECT SINGLE * FROM makt WHERE matnr = l_tab_vbap-matnr
                                          AND spras = sy-langu.
              IF sy-subrc = 0.
                tab_documenti-maktx = makt-maktx.
              ENDIF.
    IF qta_cons = l_tab_vbap-kwmeng.
                tab_documenti-qta_c = vbep-bmeng.
                tab_documenti-qta_a = l_tab_vbap-kwmeng - qta_cons
                                                        - qta_uscita.
                CLEAR qta_cons.
              ELSEIF
               qta_cons <= vbep-bmeng.
                tab_documenti-qta_c = qta_cons.
                tab_documenti-qta_a = vbep-bmeng - qta_cons - qta_uscita.
    ENDIF.
    l_tab_vbap-netwr = l_tab_vbap-netpr * ( tab_documenti-qta_a +
                                                     tab_documenti-qta_c ).
    MOVE: l_tab_vbak-vbeln TO tab_documenti-vbeln,
                    l_tab_vbak-vkorg TO tab_documenti-vkorg,
                    l_tab_vbak-vtweg TO tab_documenti-vtweg,
                    l_tab_vbak-spart TO tab_documenti-spart,
                    l_tab_vbak-kunnr TO tab_documenti-kunnr,
                    l_tab_vbak-vkbur TO tab_documenti-vkbur,
                    l_tab_vbak-vkgrp TO tab_documenti-vkgrp,
                    l_tab_vbak-vbtyp TO tab_documenti-vbtyp,
                    l_tab_vbak-auart TO tab_documenti-auart,
                    l_tab_vbak-augru TO tab_documenti-augru,
                    l_tab_vbak-bezei TO tab_documenti-bezei, "APAB 26/01/04
                    l_tab_vbak-erdat TO tab_documenti-erdat, "APAB 26/01/04
                    l_tab_vbak-ernam TO tab_documenti-ernam, "APAB 26/01/04
                    l_tab_vbak-name1 TO tab_documenti-name1, "APAB 26/01/04
                    l_tab_vbak-land1 TO tab_documenti-land1, "APAB 26/01/04
                    tab_vkdfs-fkdat  TO tab_documenti-fkdat.
              MOVE: l_tab_vbap-vbeln TO tab_documenti-vbeln,
                    l_tab_vbap-posnr TO tab_documenti-posnr,
                    l_tab_vbap-pstyv TO tab_documenti-pstyv,
                    l_tab_vbap-werks TO tab_documenti-werks,
                    l_tab_vbap-kondm TO tab_documenti-kondm,
                    l_tab_vbap-matnr TO tab_documenti-matnr,
                    l_tab_vbap-netwr TO tab_documenti-netwr,
                    l_tab_vbap-waerk TO tab_documenti-waerk,
                    l_tab_vbap-netpr TO tab_documenti-netw1, "APAB 26/01/04
                    l_tab_vbap-prodh TO tab_documenti-prodh.
    MOVE: vbep-edatu TO tab_documenti-fkdat.
    IF  NOT tab_documenti-qta_a IS INITIAL
              OR  NOT tab_documenti-qta_c IS INITIAL.
                APPEND tab_documenti.
              ENDIF.
    CLEAR tab_documenti.
            ENDSELECT.
          ENDLOOP.
        ENDLOOP.
        CLEAR tab_documenti.
    ENDIF.
    IF NOT boll IS INITIAL. "APAB 26/01/04
        LOOP AT tab_vkdfs WHERE vbtyp EQ 'J'.
          SELECT SINGLE * FROM vbuk WHERE vbeln EQ tab_vkdfs-vbeln.
          CHECK sy-subrc = 0.
          IF vbuk-wbstk = 'C'.
            PERFORM prendi_dati.
          ELSE.
            IF port EQ 'X'.
              PERFORM prendi_dati.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.

  • When I sort a column of figures, it sorts by the first digit. How do I get it to sort by the whole number?

    I have a column of numbers, Specifically: 5.2, 42.0, 25.5, 2.4, 11.8, 0.9, 0.5. Notice how it has sorted by the first digit, not the whole number. In other words 5.2 is ranked higher than 42, because 5 is larger than 4. What do I turn on or off to make it behave sensibly?
    Any answers would be appreciated.
    Martin

    Hi Martin,
    Are the cells formatted as Text (left aligned, as in Column B)?
    Data Format in Column C
    Column C will sort as Number.
    Regards,
    Ian.

  • Data getting truncated while exporting report to a text file in crystal 10?

    Hi All,
    I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and it update "CharPerInch" value in registry under following location to 16.
    HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text
    The dialog asked for character per inch also has option to select not to prompt again and i also selected that in first go.
    When i export the report again in text format it didn't prompt for number of character per inch but the data gets truncated.
    What i believe is even though it updates entry in registry and reads, it is not using the same value for export. It never consider the value that is in registry, if the check box is not selected then it is using the value entered in the dialog and if the check box is selected then in the next run it uses the default value as 9.
    Can anyone suggest me how to override this problem ? Is there any other setting place in registry where i can enter the number of character per inch.I don't want to crystal to prompt always for character per inch.

    Hi Venkateswaran,
    The other option to avoid truncation of the data could be
    Right click the text filed
    Click on Format Text to open the Format Editor
    On Common tab check the text box for Can Grow.
    This will prevent the data from truncating in preview as well as while exporting to text.
    Otherwise you will have to set the characters per inch to 16 each time. I donu2019t see changing the registry value causing any difference here.
    Regards,
    Aditya Joshi

  • In Read_text FM, the data after 256 characters gets truncated

    Hi All,
    In this FM, the internal table can't have string type field. In my case the data is in multiple lines of internal table and I am concatenating into a single field which is of type DESCRIPTIONS(string). I am passing this data to a table in smartform.Only 255 characters are printed, remaining data gets truncated. I am using CONVERT_OTF and SX_TABLE_LINE_WIDTH_CHANGE FMs to create PDF. Is it the limitation or I am incorect here?

    Your posting title is misleading; there's nothing wrong with FM READ_TEXT.  Yes, it returns a table of type TLINE, as you've noted.  Perhaps you could close this post and repost in FORM PRINTING with an appropriate title like: Can't show more than 255 characters of text.....but search first, because you cannot be the first person to encounter this limitation.

  • Get first and last date of month

    Hi,
      Is there any function module to get first and last date of month for a entered date.
    Please let me know.
    Regards,
    SP

    Hi,
    Use the below FM to find the Last day of month and them u can easily calculate the first day.
    DATA : v_startdate TYPE sy-datum.
    DATA : v_enddate TYPE sy-datum.
    DATA : v_temp TYPE dats.
    v_temp = sy-datum.
    CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
        EXPORTING
          day_in            = v_temp
        IMPORTING
          last_day_of_month = v_enddate
    CONCATENATE  v_enddate+0(6)  '01'  INTO  v_startdate.
    Hope it helps.
    Regards,
    Arnab.

  • Getting first and last dates of a month

    Jello all,
    I am really sorry I am posting this topic here, not actually owned by this forum but in fundamental forum i am not getting it attended.
    I am generating monthly, quartelry and yearly reports, for which I need to get first and last dates of a given Month taking in to account leap year. I searched the API and docs for Calendar class. I could not find any useful methods / fields. I wonder this being a very common requirement, how SUN has not provided these essential features. I still feel, it must be some where. Please help me and reply. Also if you came across any other forum for util package, let me know.
    Thanks
    Varde

    Jello all,
    I am really sorry I am posting this topic here, not
    actually owned by this forum but in fundamental forum
    i am not getting it attended.
    Yes, and I can see you are a very patient person, waiting a whole half hour for a response before cross posting other boards.
    Question answered.
    http://forum.java.sun.com/thread.jsp?thread=514908&forum=31&message=2451646

  • Data gets truncated when flows on the new page ?

    I have data from about 5 tables displayed in this report.
    There is one row which fetches all the required data and displayed there. This is a repeating frame in a group. The group is then again on a repeating frame which is on a group.
    At the end of this in the overall group frame, there is a row which has summary columns.
    the problem: When the rows of the innermost repeating frame are a lot in number, such that they exceed the page and overflow to the next page, the extra records do not get displayed. they are truncated and the next record starts on the new page. if i fiddle with the properties of the frames. the other scenario i get is, now i get the same number of rows as before, only, this time the summary row is also displayed at the end of this page. and like before a new record starts on the new page.
    I tried many possible comninations with the properties, but i cannot get the data to flow over to the next page.
    Any comments as to why this is happening ?

    Hi,
    It does sound like it's probably related to your print conditions. If you have not already had a look, I would highly recommend looking at the restrictions in the on-line help for the Print Object On property.
    It's difficult to say without seeing the report itself. What it sounds like to me is that a detail repeating frame has been set to All Pages. Let's say its master repeating frame is the Base Printing Object for the detail repeating frame. If the master only has a couple of lines of data to itself (ie the department name and id or location) then it likely does not have enough data to go to an additional logical page. All Pages for the detail repeating frame means that it will print on and only on All logical pages that the Base Printing Object will appear on. Therefore, as it would only appear on one page, the detail will get truncated to just that one page.
    I suspect this is likely to be what it going on here, however, without the actual report, it will be difficult to tell exactly which object is causing the problem. If after reading the doc on this you still have trouble figuring out which frame is causing the problem (it may be repeating or a group frame) then I'd suggest contacting Oracle Support for further hands on assistance.
    Hope that helps,
    Toby

  • How to get first and last date of previous month

    To set default values in selection screen,I want first and last date of the previous month.
    Also I want the first and last dates of previous quarter.
    The quarters can be only january to march, apr to june, jul to sept, oct to dec.
    I want to run a program on beginning of each month by job scheduling having <b>selection screens</b> for the above monthly and quarterly dates.

    Hi Suhas,
    Use the below code.
    DATA: v_date LIKE sy-datum.
    DATA: v_month_begin_date TYPE sy-datum,
          v_month_end_date TYPE sy-datum,
          v_month(2) TYPE n,
          v_month1(2) TYPE n,
          v_quarter TYPE i,
          v_year(4) TYPE n,
          v_quarter_begda TYPE sy-datum,
          v_quarter_endda TYPE sy-datum.
    v_month =  sy-datum+4(2).
    IF v_month = '01'.
      v_month = '12'.
      v_year = sy-datum+0(4) - 1.
    ELSE.
      v_month = v_month - 1.
      v_year = sy-datum+0(4).
    ENDIF.
    CONCATENATE v_year v_month  '01' INTO v_date.
    CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
      EXPORTING
        iv_date             = v_date
      IMPORTING
        ev_month_begin_date = v_month_begin_date
        ev_month_end_date   = v_month_end_date.
    v_month1 = sy-datum+4(2).
    IF v_month1 = '01' OR
       v_month1 = '02' OR
       v_month1 = '03'.
      v_quarter = 1.
    ELSEIF v_month1 = '04' OR
           v_month1 = '05' OR
           v_month1 = '06'.
      v_quarter = 2.
    ELSEIF v_month1 = '07' OR
           v_month1 = '08' OR
           v_month1 = '09'.
      v_quarter = 3.
    ELSEIF v_month1 = '10' OR
           v_month1 = '11' OR
           v_month1 = '12'.
      v_quarter = 4.
    ENDIF.
    IF v_quarter = 1.
      v_quarter = 4.
      v_year = sy-datum+0(4) - 1.
    ELSE.
      v_quarter = v_quarter - 1.
      v_year = sy-datum+0(4).
    ENDIF.
    CALL FUNCTION 'HR_99S_GET_DATES_QUARTER'
      EXPORTING
        im_quarter = v_quarter
        im_year    = v_year
      IMPORTING
        ex_begda   = v_quarter_begda
        ex_endda   = v_quarter_endda.
    WRITE:/5 'previous month begin date : ', v_month_begin_date.
    WRITE:/5 'previous month end date   : ', v_month_end_date.
    WRITE:/5 'previous quarter begin date : ', v_quarter_begda.
    WRITE:/5 'previous quarter end date : ', v_quarter_endda.
    Message was edited by:
            Velangini Showry Maria Kumar Bandanadham

  • Long memos get truncated in Palm Desktop

    Hi, I am facing an issue which I find baffling and hope experts out there can help me.
    I am using a Treo 680 unlocked version running Palm OS Garnet v.5.4.9
    Few months back, I upgraded my laptop from Windows XP to Windows 7  (both are 32 bit).  I reinstalled Palm Desktop version 4.2 and it seemed to be apparently working, and I was very happy about it (quick install was not working but I was ok with it).   However, on closer examination, I noticed that long memos were significantly truncated on the Palm Desktop.  This is a serious problem as my memos on the device are not fully reproduced on the laptop.  Hence, if my device were to be lost or broken, I would have all the memos in my backup but many of them would be truncated and not complete.    Also, I am unable to "copy paste" the latter part of a long memo into an email or word document.
    I  have only used one way synchronisation (ie from device to laptop) ever since I moved to Windows 7 because of long duration between backups and previous experience where 2 way syncronisation resulted in corruption of data on my device.   Fortunately I discovered this problem before I did my first 2 way syncronisation as this may result in my memos on the device becoming truncated as well.
    If someone could help here, I would be really grateful.
    PS: some background info:
    I have been on Palm platform right from 1996 with the Palm Pilot 5000, and then Treo 180 and then having been using Treo 680 for the last seven years and still going strong !
    I know from my earlier experience that:
    - earlier devices and earlier Palm Desktop versions had a much smaller length limit per memo
    - in between, there was a situation where the device had a much bigger length limit per memo than the Palm Desktop at that time (i believe version 2 or version 4.1.4), and a long memo in the device would be split into multiple memos on the Palm Desktop with a sequential number added eg abc 1, abc 2, abc 3 etc
    But since I went on Treo 680 and Palm Desktop ver 4.2  on a Windows XP 32bit laptop, I have had no such problem. It is only when I upgraded my laptop to Windows 7 32 bit, that I am having this problem.  I find it baffling as I know that Palm Desktop ver 4.2 is capable of very long memos unlike some earlier version of Palm Desktop.  
    Thanks very much in advance
    Regards 

    Unfortunately I don't have an answer for why your Memos get truncated in Palm Desktop in a Windows 7 machine.  I hvae Palm Desktop 6.2.2 on a Windows 7 and Windows 8 desktops and do not have that problem with Memos.  Maybe yours are much longer than mine.  Does everything else seem to work OK (other than QuickInstall)?
    You could try a couple of things...but the first thing I would do is get a backup of your data onto an SD card with the free app called NVBackup.  Google it, download and install the nvbackup.prc file onto the Treo, then run a backup onto a card.  It will save you the nightmare of having to recreate your data if it were to be lost or corrupted somehow.  Now, the only thing you can do with that data from NVBackup is to restore it to the same or another (same) Palm device.  But at least it is saved.
     Next thing you could try, without risk to any data, is to just email your Memos to yourself from your phone.  VersaMail lets you attach Memos to an email.  They should come through as .txt files which you can copy and paste into anything else you like.
    You could also try installing Palm desktop 6.2.2 and, if your complete Memos do not appear, try re-syncing your Treo to the new desktop installation.
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • First digit disappears

    I am facing a peculiar situtation in our multiple forms application. The situation is like this-
    In form A I have a text field named TEXT1 with data type as number.I navigate from form A to Form B and perform some update in Form B. After this I come back to Form A and type a number in the field TEXT1. The first digit that I type in this field almost always disappears. If I do not perform any update in form B this does not happen and things work fine. I am messing up something that I am not aware of.
    Does any body have any clue?
    Thanks for help.

    I've experienced this peculiarity sporadically as well. From what I can tell, sometimes it does this: you navigate to the text item, you enter first char, magically this char gets selected, next char you write replaces selection and from there on everything seems normal.
    I think it's a bug in the java gui part, and some of these things have gotten better with new Jinitiators. 1.3.1.8 on Unix was horrible, 1.3.1.9 (windows) was better and I don't see it happening (much?) with 1.3.1.13 (also on windows).
    Some people tend to experience it more often than others. I've hypothesized somewhat about mouse drivers and that sort of thing ...?
    Regards,
    Jesper Vad Kristensen

  • Generated XML gets truncated

    Hello,
    I have two databases with same structure/tables, but different character-sets.
    Database A:
    NLS_CHARACTERSET: AL32UTF8
    NLS_NCHAR_CHARACTERSET: AL16UTF16
    Database B:
    NLS_CHARACTERSET: WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET: AL16UTF16
    This is the only obvious difference between those databases.
    Now I am trying to generate a XML-document that contains information about the tables in a schema, using data from user_tab_columns, all_constraints and all_cons_columns. The query looks like this:
    SELECT
    XMLElement("tables",
         XMLAgg(
              XMLElement("table",
                   XMLAttributes(
                        v.TABLE_NAME AS "name"
                   XMLAgg(
                        XMLElement("column",
                             XMLAttributes(
                                  v.COLUMN_ID AS "id",
                                    v.COLUMN_NAME AS "name",
                                    v.DATA_TYPE AS "type",
                                    v.COL_LENGTH AS "length",
                                    v.NULLABLE AS "isNullable"
                             XMLElement("constraints",
                                  (SELECT
                                       XMLAgg(
                                            XMLElement("constraint",
                                                 XMLAttributes(
                                                     DECODE(uc.constraint_type,
                                                         'P', 'PRIMARY_KEY',
                                                      'R', 'FOREIGN_KEY') AS "type",
                                                      uc2.table_name AS "referencedTable"
                                  FROM
                                  all_cons_columns ucc,
                                  all_constraints uc,
                                  all_constraints uc2
                                  WHERE ucc.table_name = v.table_name
                                  AND ucc.column_name = v.column_name
                                  AND ucc.table_name = uc.table_name(+)
                                  AND ucc.constraint_name = uc.constraint_name(+)
                                  AND uc.r_constraint_name = uc2.constraint_name(+)
                                  /* only primary and foreign key constraints */
                                  AND uc.constraint_type IN ('P', 'R'))
    FROM
      (SELECT uc.TABLE_NAME, uc.COLUMN_ID, uc.COLUMN_NAME, uc.DATA_TYPE,
       (CASE uc.CHAR_LENGTH WHEN 0 THEN uc.DATA_LENGTH ELSE uc.CHAR_LENGTH END) AS COL_LENGTH,
       uc.NULLABLE
       FROM user_tab_columns uc
       ORDER BY uc.TABLE_NAME, uc.COLUMN_ID) v
    GROUP BY v.TABLE_NAMERunning the query on database B works perfectly and gives a well-formed XML-document. Running the same query on database A also works BUT it yields a somewhat "truncated" document! For example the output contains the following:
    <table name="table1">
    ... lots of <column>elements ..
    </table>
    le name="table2">
    ... many more elements, all correctly fomatted ...So as you can see, the beginning of the <table> tag of the second entry in the document just gets truncated.
    And when I add the following condition to "v": WHERE uc.table_name IN('table1', 'table2'), the result from database A does only contain the XML structure for 'table1', in database 2 it correctly gives me the two <table> elements!
    It's very weird!
    Thanks for any hints!
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod on Linux
    I'm connecting via SQL Developer, using JDBC I'm getting the same results.
    Edited by: user474106 on 23.06.2009 12:03

    Yes, it's the same in SQL*Plus.
    I now found out that when I leave out the XMLElement "contraints" (i.e. the query that determines the constraint information), I get at least an element for each table in the resulting document. But of course now the constraint information is missing...
    Leaving out the first "XMLAgg" I get a row for each table, which is not exactly what I need, because I want to have a single document. But at least the result ain't truncated ... maybe I should concatenate the single rows as a workaround... any ideas on how to do that? Or should I do this on the client side?
    Thanks for your help so far!

  • DME - F110 Vendor Name gets truncated

    Hi All,
    When we run F110 and generate a flat file through DME (Data Medium Exchange) Administration , the vendor name gets truncated to 35 characters. Even though the vendor name in the master record has more characters, the vendor name in the flat file is capturing only 35 characters and truncating the rest of the characters.
    Any clues would be appriciated.
    Thanks
    Sameer

    If you want to create a DME for Singapure, there's a program for it: in F110 Konfiguration, RFFOD_S.
    Additionally you have to consult with the bank you're sending the DME it it is able to proceed this DME.
    You can create your own DME in the payment workbench. Here you can define how the DME shoult look like unless it can be processed by the bank's system.
    As others said before, this can be a reason why the vendor name gets cut off after a certain digit.
    Assign points if helpful.
    Regards-Sonja

  • Data is not Getting refresh in Dashboard

    Hi I have implemented Xcelsius on the top of SAP BI System.
    I have the following architecture -
    SAP BI Cube --> BO XI 3.1 Universe Based on Cube --> QWaaS on the Universe --> Xcelsius Dashboard on the QWaas.
    When i created a dashboard and run it , it worked fine and showed me data , which is lying in Cube.
    But When the Data get updated in Cube and i again refresh the Dashboard , It still showing me the old data , the Data is not getting refresh in Dashboard .
    what could be the possible casue ?
    Is QWaas always fetch the dat at run time ?
    Thanks

    QaaWS web service call needs to be invoked to get the data updates from the datasource. Xcelsius provides several options to command how frequently web services connections are calle/refreshed ('refresh on load', 'refresh every X seconds' or trigger cells...).
    You should also keep in mind, that, since QaaWS hits datasource each time web service is called, this can bring some performance issues (web service calls WebI server to run corresponding query, which performs a refresh). In order to mitigate this, since XI 3.0, QaaWS features a cache mechanism, that is used to store data results from each query refresh (corresponding to a web service call), in order to serve it again with better efficiency, in case same request is performed during a specific time interval (which typically corresponds to dashboard interactions).
    Cache sessions are sorted according to the user names and prompt values used, cache is emptied after a defauilt duration without any interaction (request from the same session).
    Cache timeout duration is set for each QaaWS query, and can be tuned from QaaWS Designer when modifying/creating the query : go to Advanced... button on first step of query edition wizard, cache lifetime corresponds to timeout value (in seconds) displayed on Advanced parameter panel (default value being set to 60 seconds).
    Cache lifetime may also be an explanation why you do not see data refreshed (if you are with QaaWS XI 3.0 or later).
    Hope that helps,
    David.

  • Do i need a Blackberry SIM (Data plan to get connected)

    Hello, i have recently purchased a blackberry playbook 32GB.
    i have below queries.
    1. Do i need to have a BB data plan to get connected..even for the first time or may be later too. 
    2. Can a micro SIM with normal 2G or 3G data plan work on it say from AIRTEL or VODAFONE.
    3. I tried connecting my Nokia E6 as a WIFI hotspot (using JOKU) , but playbook does not detect so..however it detects all other WIFI spots say from SAMSUNG phone.
    4. Finaly i got connected with WIFI hotspot provided by SAMSUNG phone and was able to register. But that may not be always available with me. Thats where my second/third  question is important. 
    5. After getting connected as in point 4, software upgrade was in process which was interupted owing to low internet speed. (being EDGE n/w). i am sure after S/W update i shall be able to use it for other purpose.
    6. Even if i get a BLACKberry data plan micro SIM, will it work on NON BB smart phones?
    7. I am new to BLACKBERRY, please help me.

    My first guess is that you bought a former Sprint (US) Playbook, which might not be operable in India.
    I just don't know. You might try to return it to your eBay seller and get your money back and purchase a known working device.
    Does it connect to WiFi?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for