Creation of a field of 2000 characters in a transparent table

I wanted to add a new field (say Z_LOC_TERM_COND)  in a transparent table and the field should have a length of 2000 characters. But when i am going to create it ,its throwing  an error that "Field Z_LOC_TERM_COND is too long (Specify a length between 1 and 255)". Kindly help me on that .

HI,
USe the data type STRING or XSTRING and then you need not bother to assign the Length of that.
But make sure that that field is the LAST field in the table.
Also you can alternatively use LCHR type.
Regards,
Sesh

Similar Messages

  • Storing a xml excel file in a field of type string in a transparent table

    Hello Experts,
    I have a program to maintain. There is a transparent table which stores a XML excel file. I have used where used list option to find out if there is an existing program which used that table but couldnt find one.
    In debugger mode, when I view the contents of the field, i can see list of characters, when i choose the option of viewing in xml browser, it opens me the excel file.
    My requirement is to make a simple change to the excel file and store it back to the table in the same format it is.
    Can someone explain to me, how to convert that xml excel file into string so that it is stored in a field of type string.
    Thanks Nitish.

    You can use the parser method provided in CL_XML_DOCUMENT class. Search for this particular class in the forums, you'll find many relevant post.
    BR,
    Suhas

  • Field length 2000 characters

    Experts, I have a field which has 2k characters. The business does not want to display 2k characters at once for a report which has 100 records as it would throw the UI off. Does anybody know of any way so as to display less characters and then if the user clicks/hover on that column, the full 2k characters display or a pop up comes up.
    thx,
    parag

    Hi Prag,
    You have to create two reports (Main Report, Drill through Report).
    Open your main report then select your field column then click--> FX then apply the below statement .
    1. case when length(field name )>100 then cast(your field name as varchar(40)) || cast ('...' as varchar(3)) else your field name end
    2. Crate navigate report like below.
    Select your field name then give to is prompted in drill through repot then apply drill through report navigation to main report (have you written case statement of above column).
    Note: Change to instead of field name to your column name.
    Hope this help's
    Thanks,
    Satya

  • Field with maximum length about 2000 characters?

    Dear all,
            is there any field which can have length upto 2000 characters,i have found only 255 as maximum.
    Plz help

    hello,
          for 2000 char you need to create data element on own.
    with regards,
    sumanth reddy
    Edited by: sumanth reddy on Feb 6, 2009 10:04 AM

  • Creation of New field in Relationship block of contact page

    Hi,
    I have created a new field as value attribute in Relationship block of contact overview page. Since both AET and EEWB did not allow creation of the field as part of BUT051 I had to create value atribute. I have custom logic for the field. Can you please let me know how I can populate the field.
    Thanks,
    JC

    Hi JC,
    The context node that you are using is a mixed node, so from this node you need to get value node so that you can cast the value into cl_bsp_wd_value_node.
    Here's the sample code for getter and setter method of that attribute:
    DATA:
       lr_mixed TYPE REF TO cl_bsp_wd_mixed_node,
       lr_value_node TYPE REF TO cl_bsp_wd_value_node.
    lr_mixed ?= current  or lr_mixed ?= iterator. " use either of the code i dont have system right now
    lr_value_node ?=  lr_mixed_node->if_bsp_wd_ext_property_access~get_value_node( ).
    Here, from lr_value_node get the property access method and set the attribute value to VALUE parameter.
    Thats it
    Thanks,
    Bhushan

  • Forcing Creation of Target Field

    Hi,
    I want 2 force the creation of target field C in my Message Mapping.:
    So, if A exist and not empty, map A to C,
    if not, map B to C.
    The problem is, if i have a not existing field on left side, the right side wont be created. But I want C to be created in any way.
    Regards,
    Udo

    There must be a hundred threads that deal with this subject already.
    http://help.sap.com/saphelp_crm60/helpdata/en/45/ff8980cbb709eee10000000a1553f6/frameset.htm
    /people/gregor.wolf3/blog/2006/07/22/create-run-and-analyze-an-e-mail-campaign-with-a-survey-part-1
    /people/gregor.wolf3/blog/2006/05/11/advanced-campaign-automation-in-mysap-crm-40-teaser

  • Not able to save more than 2000 characters

    Databse - SQL server 2000
    I am using jdbc to save some text in sql server 2000 database. column is of type ntext.
    If text is more than 2000 character, i am getting an error.
    I tried changing the connection setting to sendstringparameterasunicode=false. After setting this property i am able to save more than 2000 characters, but i am not able to save some special characters. eg - . I am not able to save “abc” but i can save "abc". So it is not recongnizing the double quotes in the first scenario.
    Amit
    Edited by: rushtoamit on Feb 22, 2010 8:48 AM

    No idea. But it isn't a java nor jdbc (general problem.)
    Thus if you are seeing something that tells you it is too big it either comes from the driver or the database.
    So your solutions are
    1. Use a different database and driver
    2. Use a different driver
    3. Modify your code

  • Storing more than 2000 characters in a varchar2 column in Oracle 11g?

    We have a table in Oracle 11g with a varchar2 column. We use a proprietary programming language where this column is defined as string. Maximum we can store 2000 characters (4000 bytes) in this column. Now the requirement is such that the column needs to store more than 2000 characters. The DBAs don't like BLOB, CLOB or LONG datatypes for maintenance reasons.
    There are 2 solutions I can think of -
    1. Remove this column from the original table and have a separate table for this column and then store each character in a row, in order to get more than 2000 characters. This table will be joined with the original table for queries.
    2. If maximum I need is 8000 characters, can I just add 3 more columns so that I will have 4 columns with 2000 char each to get 8000 chars. So when the first column is full, values would be spilled over to the next column and so on.
    Which one is a better and easier approach? Please suggest.

    Visu - Some people also do not like to use LOBs because of difficulty in reclaiming space and ever increasing LOB segments. Some of these problems were caused by Oracle bugs (eg, Bug 2944866 Free space in LOB table / tablespace not reused with ASSM, Bug 3019979 Space may not be reused efficiently in a LOB segment) - albeit in 9.2. I've seen a few bug reports for similar things in 10.2 (don't have the references). Still, if there is a workaround/patch is this reason enough to steer the application development into a new direction?

  • I open facebook login page on my android phone, enter email Id and when i enter a character in the password field. Few characters get entered automatically.

    When i enter something in the email id field, and then shift the focus to password field and press any character. Some characters get being displayed automatically in password field( equal to the no. of characters entered in the email id field) . For example, i have entered below id in the email id field:
    Username: [email protected]
    And moved the focus to the password field and press h. Following will be displayed in the password field. Few characters(equal to the no. of characters in the username field .i.e. 9 in this case) are shown before 'h'.
    Password: .........h

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    The Firefox cache temporarily stores images, scripts, and other parts of websites while you are browsing. <br>
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies, do the following:
    #Tap the menu icon located at the top right corner. This is the icon with 3 bars. On older Android devices you'll have to press the hardware menu key and then tap More.
    #Tap '''Settings'''.
    #After that, you will be taken to the settings screen. In the settings screen, look under the section '''''Privacy & Security''''' and select '''Clear private data'''.
    #You will then be taken to a list of what can be cleared. Select the following 2 for deletion:
    #*Cookies & active logins
    #*Cache
    #After those have been selected, tap the '''Clear data''' button to actually clear the cache and cookies.
    Did this help you with your problems? Please let us know!

  • ResultSet.getString() returns only 2000 characters

    Hi
    I am using the JDBC (1.0 API) thin client version with Oracle 8.0.6 and one of my table columns uses the datatype VARCHAR2(4000). When inserting, I can insert values correctly but when I read values from this column (using rs.getString("col_name") or rs.getAsciiStream("col_name")), i can only read the first 2000 characters. How can I read all the data in the column...
    thanks,
    -aravind
    (i can view all the data when I use Delphi SQL-Explorer so I know that the data has been entered correctly)

    Hello Argyn,
    I have a similar problem with you but with Greek characters.
    Try this:
    When you write into oracle use:
    conn.statement.executeQuery("insert into testlang (Text_1) values (" + new String(sS.getBytes(),"UTF-8") + "')");
    When you read from oracle use:
    String sS = new String(resultSet.getBytes(i), "XXXX");
    Where XXXX is the encode character set that you want.
    (Note: getBytes work only if your ResultSet is not Scrollable)
    Please let me know if this help you.
    Piperis
    My problem is that I want to store Greek Characters in a way that I can read them via sqlplus too.
    By encoding when I write and decode them when I read doesn't satisfy me... any help!!!

  • Error : The input field contains prohibited characters (already deleted)

    Hi,
    While trying to generate depreciation (Tcode AFAB), after select the Time of Print (either spool or immediate printing) this error will be displayed - "The input field contains prohibited characters (already deleted)", no error number displayed and the character ### appear in Time of Print.  I m not using any special characters and i was able to generate it before. Also the test run is successful.
    Please guide why this error is appear and what is the resolution for it.
    Thank you,
    Amalina

    Hi Amalina,
    Please see note 382285 solution part.
    Regards Bernhard

  • Photoshop truncates photo mechanic field to 32 characters

    I add IPTC info to photo files when ingesting into Photo Mechanic.  If I later edit the photo in Photoshop C6, it truncates the "Description Writer" (and possibly other fields) to 32 characters.  That means I have to reload the IPTC file to correct this.
    Does Photoshop have a solution that will prevent this truncation?
    Thank you.

    Brilliant John. Quote for LR transporter website
    LR/Transporter also offers the ability to modify certain metadata fields (such as the IPTC title and caption) based on other metadata fields. This allows you to, for example, define the Title field from a combination of other fields such as the filename. (Requires Lightroom 2 or later).
    Will look into that some more

  • Desktop Mailer truncates address field to 30 characters w/ Lorton NCOA

    My database fields include a primary address field and a secondary address field, both with 48 characters maximum length.
    After running the Lorton NCOA process using Business Objects Desktop Mailer Extended Services, data in the secondary address field had been truncated to 30 characters.  A Lorton technician assured me that Lorton had not done it, but that it was apparently a problem with Desktop Mailer.
    No truncation appears to take place for the primary address field when data length > 30 characters.
    Can anyone confirm this behavior and present a solution?

    Harry,
    This is actually a limitation of Lorton.  This was included in the users guide for 7.90 on page 124
    "When you perform Extended Services NCOALink, DSF2, or ZIP4 processing, Lorton Data returns 48 characters for the Address Line 1 field and 30 characters for Address Line 2 u2014 except in the case of move-updated records. If your Address Line 1 field and Address Line 2 field are set up longer than 48 and 30 characters, respectively, data in those fields will be truncated, and you may lose data. Move-updated records receive a total of 48 characters split between Address Line 1 and 2."
    We are working with Lorton hopefully change this in the future.
    Thanks,
    Kendra

  • Field catalog not appearing in the condition table for output determination

    Hello,
    I wanted to include WBSTK as a condition table entry in the output determination for  outbound deliveries, WBSTK is available as field catalog , but not available during condition table creation.
    Can you pls help me out?
    Regards
    Vaidee

    Check OSS Notes
    379619 - Preference process in SD order: Prefrnc ID missing
    595984 - Preference indicator in SD order
    379269 - Preference in SD doc: User exit: Set pref. indicator PREFE
    Regards

  • Functional Area field not getting populated in the AUFK table

    Hi Friends,
    The table AUFK is the table for Internal Order master data.
    The issue which we are facing is:
    In a particular Order type, the field 'Functional Area' is suppressed in the field status group for the order master data.
    But the cost centers which are maintained in the order master has the functional area field populated with value.
    In the table AUFK, the functional area field is populated for some internal orders and not populated for others. In all cases it should pick the functional area from the cost center which is maintained in the internal order.
    Please guide us about what can be the possible reason(s) for populating the field in some cases while not populating in other cases.
    Thanks a lot in advance for your help.
    Regards,
    Shilpi

    Hi,
    maintain the functional area in order master data to ensure 100% functional area is available in AUFK.
    I can't tell you the reason why its sometimes appearing and sometimes not bur FUNC_AREA is not picked from responsible/requesting cost center (from master data).
    If in customizing of internal order order types a "model-order" is assigned with maintained functional area, this func_area is taken if you create a new order for this ordertype.
    Best regards, Christian

Maybe you are looking for