Unicode type not convertible

Hi,
Need some help in modifying the code ... I am working on a mass download of data into a texr file from the tables. Few of these tables have fields in decimal or currency and I  need to read them into character string. I know the structure of the internal table I read the data into has to exactly match the table structure in Unicode environment. How to add that in the code when I am pulling the tables dynamically and reading their data in a sequential  manner. Hence I am getting the above error.
Data: begin of i_list occurs 0,
      i_tabledata(2550) type c,
     end of i_list.
select * from (v_tabname) into i_list.   -
> Unicode  type not convertible error...
        append i_list.
        clear i_list.
      endselect.
The value of 'v_tabname' comes from the table DD02l dynamically.
Any thoughts?
Thanks,
VG

As per your requirement, i developed this code snippet.
I download the data from ZTESTVBAK & upload the data to YTESTVBAK. Not sure why you're transferring the data to string & trying to read the string ?
Check this code snippet:
PARAMETERS: p_tab TYPE tabname OBLIGATORY DEFAULT 'ZTESTVBAK',
            p_dwld RADIOBUTTON GROUP grp1 DEFAULT 'X',
            p_upld RADIOBUTTON GROUP grp1.
DATA: dref TYPE REF TO data,
      v_tab TYPE tabname,
      lcx_sql_err TYPE REF TO cx_sy_sql_error,
      v_errtxt TYPE string.
FIELD-SYMBOLS: <itab> TYPE STANDARD TABLE,
               <wa> TYPE ANY.
CREATE DATA dref TYPE STANDARD TABLE OF (p_tab).
ASSIGN dref->* TO <itab>.
IF p_dwld = 'X'.
  SELECT * FROM (p_tab) INTO TABLE <itab> UP TO 100 ROWS.
  IF sy-subrc = 0.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                = 'C:\dyntab.txt'
        write_field_separator   = 'X'
        confirm_overwrite       = 'X'
      TABLES
        data_tab                = <itab>
      EXCEPTIONS
        file_write_error        = 1
        no_batch                = 2
        gui_refuse_filetransfer = 3
        invalid_type            = 4
        no_authority            = 5
        unknown_error           = 6
        header_not_allowed      = 7
        separator_not_allowed   = 8
        filesize_not_allowed    = 9
        header_too_long         = 10
        dp_error_create         = 11
        dp_error_send           = 12
        dp_error_write          = 13
        unknown_dp_error        = 14
        access_denied           = 15
        dp_out_of_memory        = 16
        disk_full               = 17
        dp_timeout              = 18
        file_not_found          = 19
        dataprovider_exception  = 20
        control_flush_error     = 21
        OTHERS                  = 22.
    IF sy-subrc = 0.
      WRITE: / 'File download successful.'.
    ENDIF.
  ENDIF.
ELSEIF p_upld = 'X'.
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      filename                = 'C:\dyntab.txt'
      has_field_separator     = 'X'
    TABLES
      data_tab                = <itab>
    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                  = 17.
  IF sy-subrc = 0.
    v_tab = p_tab.
*   Lock the table records
    CALL FUNCTION 'ENQUEUE_E_TABLEE'
      EXPORTING
        tabname        = v_tab
      EXCEPTIONS
        foreign_lock   = 1
        system_failure = 2
        OTHERS         = 3.
    IF sy-subrc = 0.
      TRY .
          MODIFY (p_tab) FROM TABLE <itab>.
        CATCH cx_sy_sql_error INTO lcx_sql_err.
          v_errtxt = lcx_sql_err->get_text( ).
      ENDTRY.
    ENDIF.
*   Unlock the table records
    CALL FUNCTION 'DEQUEUE_E_TABLE'
      EXPORTING
        tabname = v_tab.
    COMMIT WORK.
  ENDIF.
ENDIF.
Hope this helps.
BR,
Suhas

Similar Messages

  • Data objects in a Unicode program are not convertible?what does this mean?

    hello,everyone,
    when I execute a smartform directly in the transaction smartforms.,the result can be seen just no data.
    when I execute program to transfer two internal tables from interface with data to the smartforms,and I use tcode st22,
    the error is : Data objects in a Unicode program are not convertible.
    the error analysis; The statement
       "MOVE src TO dst"
    requires the operands "dst" and "src" to be comvertible.
    the source code that error occurs is :LOOP AT I_SHIP_DETAIL INTO WA_DETAIL .
    and I know that the internal table have errors ,I defined the internal table refer to a structure created myself,and I set break-point in the smartforms ,can see the data in the internal table ,so why occurs such errors ,pls help me if you know .thank you in advance.

    hi
    good
    go through this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50
    thanks
    mrutyun^

  • DUMP ERROR UNICODE  PROG NOT CONVERTABLE

    Hi,
       I am doing upload data from excel sheet and i have a dump in the function module AA_FILE_UPLOAD_EXCEL. and the dump error is showing as below :
    Data objects in a Unicode program are not convertible.
    and the error in the  FM line show below
    000870 ?     CONCATENATE ls_result <lfs_excel
    000880 ?       IN CHARACTER MODE.
    000890 ?     CONDENSE ls_result.
    000900 ?
    000910 ?     AT END OF row.
         > ?       et_filecontent = ls_result.
    000930 ?       APPEND et_filecontent.
    000940 ?       CLEAR et_filecontent.
    000950 ? *     Set previouse column to zero
    000960 ?       ld_prev_col = 0.
    000970 ?     ENDAT.
    Pls help me to solve the issue and thanks ful to you.
    Thanks,
    RAJ

    Hi Rajendra
    To avoid the dump, please proceed as below:
    1. If you system is <b>Unicode enabled</b>, please make sure that you transfer contents of one structure to other individually especially when there are other than CHAR fields.
    Eg: struc2-fld1 = struc1-fld1...
    2. If you are in <b>Non-Unicode System</b>: SE38-> Goto -> Attributes. Uncheck the option: "<b>Unicode Checks Active</b>".
    Kind Regards
    Eswar

  • Value '61218XZEF ' from field ANZVERTR is not convertible into the DDIC

    Hi All,
    I struggling with this error can anybody pls help me.
    <b>Value '61218XZEF ' from field ANZVERTR is not convertible into the DDIC
    data type DEC in data record 1 . The field content could not be  transferred into the typed transfer structure.</b>
    This is occuring only in Prod, i have tested the same in Dev & QA but i didn't get this error.
    here the R/3 field ANZVERTR of type DEC length 6 is assigned to infoobject 0UCCNTRCNT of type DEC length 17 ( data element /BI0/OIUCCNTRCNT).
    i dont think its a problem right coz the infoobject has same type and larger size.
    i have another 3 fileds with the same problem.
    Is it a problem in BW or probelm in data being uploaded from R/3 side. coz the hasn't received in BW yet. the error says " The field content could not be  transferred into the typed transfer structure"
    Even i have PSA in parallel but data hasnt even came to PSA.
    when i check job overview in R/3 i saw a msg " Function module /BI0/QI0UC_SALES_STATS_020001 does not exist"
    when i checked this FM with other guy( coz i dont have access) it is there and is active.
    Pls anybody help me.
    Regards
    Robyn.

    Hi Arvind,
    That filed is a keyfigure coming from standard datasource 0uc_sales_stats_02 it  uses various different tables, iam not able to figure out where is it comin from.
    Is it sure that the problem is in R/3 side???
    if it is a problem in BW at least that data should have come through to PSA right??
    keyfigures coming from std. datasources goes through various extraction programs, its not field to field mapping from R/3 to BW in case of key figures i guess. correct me if im wrong.
    Regards
    Robyn.

  • I cannot get a dvd to play. The error message says "media type not supported". I think it is a .m2ts. Any idea on how I can get it to play?

    I cannot get a dvd to play on my computer. The error message says in iDVD is "media type not supported".
    The DVD was produced with a video camera and is in HD format. I think the the format is .m2ts?
    Any ideas on how to get this to play?

    Check out > Mac App Store - Free MTS M2TS Converter
    and/or others at > playing .m2ts format in OS X - Google Search

  • Loops not work - File type not supported

    Hi guys and girls
    one of the imacs (10.6.7) at the site I work at has begun to display the following message when you try to select any of the loops from within garageband.
    "file type not supported" and then you have no other option other than to abort. I have tried deleting the loop directory before dragging the loops back into garageband which has always fixed any issues with loops in the past, however the error still displays.
    Can anyone shed any light on this issue?

    The message I get is "Cannot open the file. Verify that the path and file name are correct and try again".
    Please see the Microsoft support doument Windows Media Player 9 Series for Mac OS X Readme. Scroll down to the section on Playing Protected Files.
    Sometimes you can view the source code for the web page to locate the specific media file. If you copied that address and then pasted that address in File > Open URL in Windows Media Player, you may get to listen to or watch the file. This trick does not always work.

  • E70 PDF Reader : Unable to open. File type not sup...

    This morning I have bought an E70, among others due to its highscreen resolution and the possibility to run a PDF reader on it.
    I have now tried ...
      - the pre-installed Adobe PDF Reader
      - the Adobe PDF Reader supplied with the PC Suite CD-ROM
      - the Adobe PDF Reader available on europe.nokia.com
    I am fascinated by a software which presents itself in the About box as '1.5', prompts during installation for '1.0.5' and has filenames '1_5_0'.
    Apart from minor variations in the SIS filenames they all share the same annoying feature: They refuse to display any of my PDF files but display a message 'Unable to open. File type not supported. 5. !' instead.
    It doesn't seem to be a problem of the PDF files, since a collegue of mine was able to open them on his E61 or E70 (forgot to ask).
    Any idea what this problem could be caused by?

    I am speechless -- but happy.
    The complaint about the file type only appears if you try to open a PDF stored in the phone memory but not if you try to open a PDF stored on the memory card.
    Problem solved.

  • N79 (Error message :Unable to open .File type not ...

    Dear nokia service manager,,
    Iam sivakumar using the nokia N79 handset.Iam getting the message like this (Error message :Unable to open .File type not supported)when i was trying to open the video file shooted by some other camera.I have tried changing the format of the file..but no use ..i dont get ant suitable software converter in the internet.So kindly look into this matter as i need this very uregently...
    hope its a mandatory feature as laptop and mobile interface are simple task nowadays in mobile...
    pls reply me..its very urgent...thanku..

    You could try Videora (http://www.videora.com/) - the downside here is that they have specific versions for specific phones, and sometimes it will makea file that plays perfectly in the desired phone but can't be shared to other models. The don't show a version for the N79, but try the N96 one because the N96 is the most similar OS to yours that they offer.

  • E5 - unable to open. object type not supported

    hi. 
    2 Month back i brought Nokia E-5 Mobile and after few weeks i upgraded the Memory from 2Gb to 8GB. After copying all files from 2gb to 8gb am not able to open or install any existing programs and files. Even maps are not working. When trying to open or install the files am getting this erro " unable to open object type not supported " . Kindly help on this error.
    Thanks
    Velavan

    I have never attempted what you did, so can't say for certain, but I don't think memory card data is meant to be copied from one card to another (unless we're talking about data files like pictures or mp3's).  I don't understand what you mean by being unable to install files.  Are you trying to reinstall the programs that aren't working?  If your 2GB card still works normally, I suggest you format the 8 GB card, reinstall the programs to the empty card, and re-download the maps data.  If the programs still give you trouble, you may need to uninstall them from the 2 GB card first, but I don't think that should be necessary.  I hope that helps.

  • How to add a button in top ribbons of ALL library types (Not just document libraries)?

    Hi there,
    How to add this custom button on all Library Types (Not just document libraries)?
    RegistrationId="101" RegistrationType="List" adds this button to Document Libraries only - which does not work for me.
    Thanks so much.

    Hi,
    According to your post, my understanding is that you wanted to add a custom button on the ribbon of all the library.
    You can refer to the following code snippet, it would add a custom button “Site Settings” on the ribbon of all the libraries.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="ListViewCustomization" Location="CommandUI.Ribbon.ListView" RegistrationId="101" RegistrationType="List" Title="List View Ribbon Customization">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Documents.Share.Controls._children">
    <Button Id="ListViewButton" Command="ListViewButtonCommand" Description="Go to Settings" LabelText="Site Settings" TemplateAlias="o2" Sequence="93"/>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ListViewButtonCommand" CommandAction="/_layouts/settings.aspx" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference: http://msdn.microsoft.com/en-us/library/ms473643.aspx
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • PReq 1100000000/ not convertible (status )

    while creating RFQ with reference of PR iam getting this error
    PReq 1100000000/ not convertible (status )
    Pls guide...

    Hi
    This is manual PR only i have created for 150 qty,
    i have activated version management also to check that i tried changing it by 200 qty, Now it is version 1
    first when you create PR for 150 qty ,version was 0
    now you change quality 200 means version is created 1,but this version not completed i think
    as you said version in process,please check in PR at left hand side , version complete flag active or not,If not active it manually
    Regards
    Kailas Ugale

  • F-02 with asset retirement: Trans. type not possible - No affil. company

    Hello Gurus,
    I am struggling with the following, I hope you can help me:
    We want to sell an investment using a trading partner. When entering the asset retirement transaction type 230, I get error message AA 389 Trans. type not possible (No affiliated company specified). I however enter the trading partner through 'More data' but when coming back to the asset retirement, T. type 210 is written and changing it to 230 gives me the error.
    I am using document type DR for which the flags 'enter trading partner' and 'Inter co. postings' are set. I tried without the flag 'Inter co. postings', no success.
    I have tried with Trans. type 210 and changing the line item after simulation, no success as well.
    The target document is:
    Pos. Posting Key       Account       Amount      Trading Part.
    1      01                      1195914       4,320.00
    2      50                      610720         4,320.00-   CI09
    After simulate:
    Pos. Posting Key       Account       Amount     Trading Part.
    1      01                      1195914       4,320.00
    2      50                      610720         4,000.00-  CI09
    3      50                      204010         320.00-     CI09
    4      75                      18678 0        0.01-
    5      40                      9740150       4,0000.00
    6      50                      9740100       3,9999.99-
    Many Thanks in advance.
    Alex-

    Hello Alex,
    Try F-92, on the screen for creating the revenue line item, i.e. the credit side, you must activate the indicator "asset retirement." > Next, press 'Enter' key, after which the screen 'Create Asset Retirement' appears and in this dialog box screen enter the appropriate 'Transacion Type' instead.
    Hope the above helps.
    Kind regards,
    John Chin

  • Error: 'Transaction type not possible (no affiliated company specified)'

    Hello,
    I am trying to transfer an asset under construction to following asset class: 'low value assets' with ABUMN
    It get the error message: 'Transaction type not possible (no affiliated company specified)'.
    I could go to AO76 to mark the 'post to affiliated company'.
    How can I check which transaction type it uses? With the transactio type group? Or something else...?
    Regards,
    Pamela

    Hello,
    actually, the problem lies with the transfer of assets under construction to low value assets with are happening in the CURRENT year, and not the previous year. AuC to LVA transfers from previous years are allowed, but not the one in the current year. Because it uses a different transfer transaction type... The transfer variant 4 (= transfer within company code) is the correct one I assume.
    Regards,
    Pamela

  • VA00 condition type not getting determined for the returns order

    Hi All,
    I have a case where VA00 condition type not getting determined for the returns order that has been created with respect to the billing document.
    When the pricing conditions are being copied from invoice it is getting copied but later it is getting deleted in the include LV61AA42.
    Note:VA00 condition type is getting deleted from the  internal table tkomv[].
    If any one came across  this scenario can you please help me.
    Request your valuable inputs

    Hi,
    Please check the copy control setting in VTAA.
    Maintain the pricing type as "D" at item category level for the respective document type .
    Hope this will resolve your issue.
    Regards,
    Krishna O

  • PO document type not transferring to Customs management

    Hi,
    We have configured PO document type in GTS for Import and it got transfer to Complaince not to customs.  I have created CULOIM document type and item category on customs.  when i checked on this table /SAPSLL/V_TLEYVS i couldn't find CULOIM document type..  When i try to create a new one it say CULOIM document type already exist...
    I do not know why it is saying like that even document type not there in that table and where would i find that.
    One more question:
    When we assign document type to logical system on Customs we can see GTS document type field... when you press F4 you can see CD Cat - A... Can you tell me what is that and where do you define and assign to custom document type.
    regards
    rc gopi

    You can maintain the table by going into the SPRO and defining the doc tyoe you looking for , Onc eyou maintain there it reflects in in this table as it Configuration table.
    If you want to delete , add any entry directly in table then u can do that by getting in debug mode.
    Select a  entry in table
    Double click on it
    Do /h  to switch on the debugging
    Press Enter
    You will See different Case for "Code"
    Type the filed name Code in in "field Name"
    it will display the value 'SHOW'  you can change this value as desire like to Delete 'DELE' , to insert new value 'AVNO' and then click on change pencil.
    and press F8.
    Now you come to the screen where u can do the changes and save it.
    Custom Doc Category is taken automatically by SAP as for Export and Import doc type  in customs it is always A.
    If you cDefine Document Types for Advance Docs for Customs Declaration it is C.
    Each category has got it one chateristics , so if we defining correct documnet type we need not to worry for category as it will by default come as set in SAP.
    Kind Regards,
    Sameer

Maybe you are looking for

  • How to find profit center group for any profit center

    Hello, KCH3 is the transaction code. When you select ant profit center group and hit enter you will see the entire hierarchy, profit center groups and profit centers belonging to the group. Now my question is i have a report where i need to display t

  • RFC-XI-SOAP scenario

    Hi friends, I m doing a RFC-XI-SOAP scenario. I m getting an error when tried to run this. soap fault: Server was unable to read request. ---> There is an error in XML document (1, 297). ---> Input string was not in a correct format. Is this because

  • Define logical system

    Hi Gurus, I installed BI7, and want to be define logical system for creating client. I login from default user sap*/DDIC, IMG, transaction SALE), choose Bisic Setting-> Logical Systems->® Define Logical System; I received message can not create for t

  • Fail to import metadata

    Hi, I am trying to import metadata from existing module, I have the DB link and I had imported several tables few months ago. Now after several months I try to import more tables, I click on the module and click import I get the import metadata wizar

  • Hi my computer(win XP) not recognizing my iphone 4G but other iphones the same comuter recognizing

    Hi My computer(win XP) not recognizing my iphone 4  and i am unable to connect to itune but the same comuter recognizing other iphone devices using the same USB cable