Can not converted to be a charter-type field

Hi everyone,
  As i m new in abap . i wrote this code and received charter type error.
*& Report  ZT11
REPORT  ZT11.
DATA: aa type lfa1.
     tables lfa1.
     select * from lfa1 into aa where lifnr > 'Z' .
         write / aa.
        endselect.
    if sy-subrc <> 0.
         write / 'No records found'.
        endif.
error is
'AA' can not converted to a character-type field.
plz help to reslove the error .
thanks in advance.
Edited by: Faisal Abbasi on May 9, 2010 11:19 AM

Hi Dear,
This is Unicode problem, In unicode systme some restriction in programing.
There is three kid of data type
Character Processing ( C, N, D, T and STRING ).
Byte Processing Mode ( X and XString ).
Numeric Data Type ( I, P , F ).
whenever in structure all kind of data types are used then you can not use WRITE and then whole structure name.
in LFA1 in ECC6.0 if any custom fields are not added then up to length 1232 is determined as Character.
so if you will give aa(1232) it will work similarlly other kid of remainig data tpe you move in another structure of required format and then check.
REPORT ZT11.
DATA: aa type lfa1.
tables lfa1.
select * from lfa1 into aa where lifnr > 'Z' .
write / aa(1232).
endselect.
if sy-subrc 0.
write / 'No records found'.
endif.
For better Understanding Check
The following structure has both character-type and non-character-type components:
BEGIN OF STRUC,
  a TYPE c LENGTH 3,    "Length 3 characters
  b TYPE n LENGTH 4,    "Length 4 characters
  c TYPE d,             "Length 8 characters
  d TYPE t,             "Length 6 characters
  e TYPE f,             "Length 8 bytes
  f TYPE c LENGTH 28,   "Length28 characters
  g TYPE x LENGTH 2,    "Length 2 bytes
END OF STRUC.
The Unicode fragment view splits the structure into four areas F1 - F5.
[ aaa | bbbb | cccccccc | ddd | AAA | eeee | fffffffffffff | gg ]
[            F1               |  F2 |  F3  |       F4      | F5 ]
Offset/length access is only possible for the character-type initial fragment F1. Specifications such as struc(21) or struc7(14) are accepted and are handled as a single field of type c. An access such as struc57(2), for example, is not permitted in Unicode systems.

Similar Messages

  • Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it?

    Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it in some other form befor dragging it?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • I have payed for Adobe acrobat pro but now i can not convert a pdf document to a word format, why?

    I have payed for Adobe acrobat pro for one year and it is valid to november 2015, but now i can not convert a pdf document to a word format, why ?

    Hi m_karhulinna,
    If you have Acrobat Pro, you can save directly to Word format from within Acrobat by choosing File > Save as Other > Microsoft Word > Word Document.
    (It sounds like you may be trying to use the ExportPDF online service, which is separate from Acrobat, and not necessary in your case.)
    Best,
    Sara

  • I can not convert my pdf to excell, i paid the fee but it keeps telling me to join

    I can not convert my pdf to excell, I paid the fee but it keeps telling me to join

    Hi,
    I could not find your Adobe ID(under your current email address) in our database for our service so please make sure to use correct Adobe ID you used for your subscription.
    Thank you.
    Hisami

  • Itunes 8 can not convert to mp3

    I just updated to itunes 8 and now I can not convert to mp3 anymore! The CREATE mp3 version is greyed out and I can not pick it. I have checked and the import mp3 option is checked in the settings.

    Howdy!
    also, it appears that Apple did not update the "iTunes Help" screens when they made iTunes 8 -- those screens still refer to the "advanced" tab in preferences, even though the importing functions are no longer located there:
    THEY READ as follows:
    *Choosing import settings*
    You can choose the encoding format and other settings that iTunes uses to import songs. Your choices affect the audio quality and size of the song file (the higher the quality, the larger the file size).
    To choose import options:
    Choose iTunes > Preferences and click Import Settings.
    ETC. Well, at least they didn't do an iMove-style "revamp" to iTunes.! 8)

  • Can not convert to word

    can not convert to word document

    Video editing software does not output a Word document
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right to open the drop down list and scroll

  • I can not convert pdf to word ,because file over 100 mb . how can I do ? if I can not convert file ,how can I cancel order ?

    I can not convert pdf to word ,because file over 100 mb . how can I do ? if I can not convert file ,how can I cancel order ?

    To convert documents larger than 100 MB you will need Acrobat; you can download the 30-day trial from https://www.adobe.com/products/acrobat.html
    To cancel a subscription follow http://helpx.adobe.com/x-productkb/policy-pricing/cancel-subscription-acrobat-online-servi ces.html

  • Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004 Please help me in solving this problem.

    Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004
    Please help me in solving this problem. 

    Make sure Java is enable in your browser's security settings.
    Open Java Preferences (in Utilities folder)
    Make sure Web-start applications are enabled.
    Drag Java 32-bit to the top of the list.
    jnlp isn't an audio file format. It's just a java web-start program (Java Network Launching Protocol).

  • Convert web page to adobe pdf can not convert greek characters

    Convert web page to adobe pdf can not convert greek characters. How to solve it?

    Convert web page to adobe pdf can not convert greek characters. How to solve it?

  • Hi my phone is disabled and asking me to conect to itunes but when i conect to itunes it says can not conect as u have to type code first on ipone ....help pls

    hi my phone is disabled and asking me to conect to itunes but when i conect to itunes it says can not conect as u have to type code first on ipone ....help pls

    If the phone is actually working you can reset it fron the handset, but yours does not appear to be working. Be sure you are using a good cable and the cable is connected directly to a USB port on the computer (not a hub). Follow the instructions carefully in that link; the computer will not recognize the phone until it is in Recovery mode, and it's complicated to get it there. If you have followed the instructions exactly and it still is not recognized in iTunes. try removing and reinstalling iTunes: http://support.apple.com/kb/HT1925. If that still fails try a different computer, and also try restoring from DFU mode (Google is your friend).

  • Just downloaded adobe XI trial and can not convert pdf to word, says trial is period over

    just downloaded adobe XI trial and can not convert pdf to word, says trial is period over. what can i do

    For some reason this seems to happen to some. It may be that you have a date issue on the machine and Acrobat noted it. By the way, Adobe is the name of the company, not a product.
    I have no idea how Adobe sets and tracks the trial information. It may be there is something else that has caused an issue and Acrobat thinks you have already had the trial on the system and uninstalled it. As far as I know, there is nothing you can do. You might be able to check with sales to see if there is a work-around, but users can do nothing to help you.
    Sorry, hope you can find a way to test the product. It might also be related to the version of Windows that you did not state.

  • Hi I can not open my Featured or charts page in apple appstore

    hi I can not open my Featured or charts page in apple appstore. I upgraded my Ipad 2 to IOS6 few days back. Now all of sudden Featured and charts page stopped working. Search is also not working...Any solution  ?

    Same issue.

  • VS_BROKEN CAN NOT CONVERT UNICODE TO NON UNICODE STRING

    Hi,
    I am importing data from orcle to sql through etl if i run it manually it works fine but when i am scheduling in sql agent job it throws VS_BROKEN CAN NOT CONVERT UNICODE TO NON UNICODE STRING error like this
    please any body help me how to solve this.
    Thanks,
    Khasim

    Hi Khasim,
    As per my understanding, the error message is too general. In order to troubleshoot this issue, we should view the detail error message about this job. For more details, please see:
    Troubleshooting Jobs
    SQL Server Agent Error Log
    Besides, since when you call a Microsoft SQL Server Integration Services (SSIS) package outside a SQL Server Agent job step, the SSIS package runs successfully. However, if you do not modify the SSIS package, then execute it via SQL Server Agent job step,
    it fails. The scenario always related to the user account that is used to run the package under SQL Server Agent.
    References:
    SSIS package does not run when called from a SQL Server Agent job step
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • "iTunes can not run because some of the required fields are missing.  Please reinstall iTunes."  What the ****?!

    "iTunes can not run because some of the required fields are missing.  Please reinstall iTunes."  What the ****?  Please help me figure this out.  I already removed quicktime (as another thread suggested).  I can't get in!

    i get same error.
    I have uninstalled and reinstalled more times than i care to count. but still i get
    itunes cannot run because some of its required files are missing.

  • Can not convert protected aac-song to mp3

    I want to make an mp3 cd to play in my car, the stereo in my car supports no aac, itunes does not allow to convert aac to mp3, in this way I can not use the songs I bought in the itunes store to be played in my car.
    Who has a solution?

    The sooner we get the preamble out of the way, the sooner we can answer your question. So ...
    The iTunes Store is in the business of selling songs made with the Advanced Audio Coding (AAC) Codec, otherwise referred to as MPEG-4 files or .m4p's. That's what they sell and, excepting Audiobooks, Podcasts, Videos, TV Shows, Movies and Games (I think I've covered everything) that's all that they sell.
    Furthermore, the songs purchased from the iTunes Music Store are copy-protected . As a result of this, these songs cannot be converted to other formats, specifically they cannot be converted to the MP-3 format.
    There is a workaround, though, for those who may want to make use of purchased songs in a non-AAC compatible application such as an mp-3 player or Windows Movie Maker.
    A reminder about your obligations with songs you've bought from iTS is in order before proceeding. First a disclaimer: I'm not a lawyer, although I am old enough to have watched a few episodes of Perry Mason when I was a kid.
    Among the Terms of Service agreed to in opening an account with the Music Store is:
    9 b. Use of Products. You acknowledge that Products contain security technology that limits your usage of Products to the following Usage Rules, and you agree to use Products in compliance with such Usage Rules.
    And among the Usage Rules referred to above:
    You shall be entitled to export, burn or copy Products solely for personal, noncommercial use.
    Any burning or exporting capabilities are solely an accommodation to you and shall not constitute a grant or waiver (or other limitation or implication) of any rights of the copyright owners in any content, sound recording, underlying musical composition, or artwork embodied in any Product.
    One final point before getting to the answer to your question, the Software License Agreement with Apple for iTunes that you agreed to states in part:
    This software may be used to reproduce materials. It is licensed to you only for reproduction of non-copyrighted materials, materials in which you own the copyright, or materials you are authorized or legally permitted to reproduce. ... If you are uncertain about your right to copy or permit access to any material you should contact your legal advisor.
    The purpose of the agreements and the security technology referred to is to deter music piracy. This fits in with the advice offered on all our iPod boxes: Don't steal music.
    Preamble out of the way, So how do you use your purchased songs with an MP-3 device?
    First go to the iTunes Edit menu > Preferences > Burning tab and select Disc Format: Audio CD . Press OK .
    You can now create an Audio CD of your purchased songs.
    The next step is to go to the iTunes Edit menu > Preferences > Importing tab and select Import Using: MP3 Encoder with the Setting of your choice. Press OK .
    Now you can import the Audio CD into iTunes.
    Alternatively, the importing of the Audio CD can be done with the media player of your choice.
    That's it. You will now have files that you can use with an MP-3 application. It is important to emphasize you are still limited to "personal, noncommercial use" of the songs as per your agreement with iTMS.
    Please note that as a result of this process the copies will suffer some loss of audio fidelity compared to the original files.
    Any further questions, please post back.
    I promise to keep the answer short.
    ; - )

Maybe you are looking for