Field length having morethan 1000 Characters

Hi ,
From R/3 one field name is Text (Description :ObjectValue )it is LCHR datatype .We have to extract this field to BW.
But in BW we have maximum 60 Char length we can do.For this field I have to create 17 Infoobjects
Like Zobjval1,Zobjval2,..........Zobjval17  .All infoobjects having 60 length and last infoobject will 40 Char.
What ABAP code I have to write at start routine?And how to concatenate these 17 onfobjects?
Thanks,
Sridhar

Milan,
Iam having these blog and liinks.I need step by step for this example.
Example Error Message r/3 filed having 220 Char length
I have to 1)create 4 infoobjects ex Zerrmsg1 having 60 ,zerrmsg2 having 60,zerrmsg3 having 60,zerrmsg4 having 40.
2)I have to do mapping error message field to these 4 infoobjects?
3)and I have to field routine or start routine ???????
If it is field routine1 result =  Zerrmsg1(60).
routine2 result =  Zerrmsg1+60(60).
routine3 result =  Zerrmsg1+120(60).
routine4 result =  Zerrmsg1+180(40).
Is it correct for field routines
If I use start routine what ABAP code I have to use for that example.
Please don't send any weblogs and links.Please answer above ABAP code.
Thanks,
Sridhar

Similar Messages

  • TCURR field TCURR_UKURS - field length is too short

    Has ECC6 addressed the field length issue of 9 characters (5 decimals) in table TCURR field UKURS to cater for weak currencies, to avoid using ratios of 1000:1

    Hi,
    I don't see any issue. UKURS field has 9 characters, that's right; but, as you rightly mentioned, it should not pose any problem considering the ratio. Why ratio of 1000:1 is posing a problem for you?
    Regards,
    Eli

  • How to create an infotype with one of its field length eq 1000.??

    hi ,
    i need to create a infotype where one of the field length is 1000 characters how do i achieve this. if i give more than 255 in the PS structure it will not allow. then how do i get a text field of 1000 chars in the screen ( which is an input field)

    You can use those function calls even inside a PA Infotype.. they just invoke the text ediotr table control.. I gave you the reference of the PD infotype 1002 just for an idea. I don't think you will able to meet your 1000 char reqt without using the text editor.
    ~Suresh

  • How to create a screen field of 1000 characters

    hi
    i am writing a module pool program i have a requirement like  i need to get a field in the screen which is capable of storing 1000 characters . as far as i know the maximum permissible screen field length is 255 chars. how can i get this 1000 chars pls help me its urgent.........
    Thanks,
    Shiva.

    you might have to store text longer than 255 characters in sapscript texts....
    use FMs SAVE_TEXT and READ_TEXT for this.
    on the screen, probably have multiple inputs of 255 characters each....just ideas

  • Maximum length of segment is 1000 characters, current length is 2382

    Hi,
    While activating the transfer rules i get this error message "Maximum length of segment is 1000 characters, current length is 2382". If someone has encountered such an error request you to kindly provide your inputs.
    Thanks
    Varun

    Hi Anil,
    Thanks for your response. It has been very helpful. Can u tell how we can change the transfer method. The option comes greyed out in BI system. So where exactly is this setting made?
    Varun

  • Using edit text control for storing and displaying text of 1000 characters

    Hi all,
    I have a requirement to provide a field for remark in one of dialog screens, for saving remarks of up to 1000 characters. I made container and edit control and add a field LCHR in database table with preceding INT4 field. Then I use this code to save/read data in/from database table:
    CALL METHOD editor->get_textstream
         EXPORTING
           only_when_modified = 0
         IMPORTING
           text               = mytext
         EXCEPTIONS
           OTHERS             = 1.
    in user command and:
    CALL METHOD editor->set_textstream
         EXPORTING
           text = mytext.
    in status.
    Then in read I tried to select single LCHR field from that row and put it in mytext TYPE string. In save I save mytext as LCHR field in database table. There is no error anywhere but it doesn't work. Is it even possible to save STRING text in LCHR field of database table?
    What is alternative? Text objects from SE75?

    Having a string in a database table is absolutely independent on having some trouble in the program. If you got an error saying you need only flat structure, that means you can't use a deep structure in the context.
    I suppose you are using the structure on the screen or ALV. You can only use a flat structure there (no strings, no sub-tables...) as you would not be able to render a deep-structured data on the screen. Of course, ABAP could handle that e.g. by ignoring those deep fields, but we would want too much.

  • Complete record to be deleted if any field consist of any JUNK characters

    Hi
    I have the data in a structure, from there some of the table fields are updating. Let's say
    Loop at itab into wa
        zvaluetab-field1 = ztable-wa-fil1.
        zvaluetab-field2 = ztable-wa-fil2.
        zvaluetab-field3 = ztable-wa-file.
        zvaluetab-field4 = ztable-wa-fil4.
        zvaluetab-field5 = ztable-wa-fil5.
        zvaluetab-field6 = ztable-wa-fil6.
        zvaluetab-field7 = ztable-wa-fil6.
        zvaluetab-field8 = ztable-wa-fil7.
    append wa to itab.
    end loop.
    modify zvaluetab from itab.
    Along with this I have fieldname called File_Name, which contains 12 chars length.
    1.  I want that file name need to be splitted and to be updated into zvaluetab in four other fields. Since these four fields are mandatory for updating the above fields. So, along with these fields the above 7 fields also to be updated.
    2.  Some time data will be having some special(junks) characters, If at all any field will have such junk characters then the whole record(4 +7 fields) need to be deleted.
    It is greatful for me if at all any one edits that above code and include's my requirment.
    Swara.
    Thanks much.

    Hi Swarna   ,
    If you want the file name need to be splitted and to be updated into zvaluetab in four other fields.
    you can use this syntax..
    SPLIT File_Name AT space INTO: str1 str2 str3 ..(other four fileds)
    If you are familar with that  junk characters in that string use string operations such as
    CO--Contains Only
    CS--Contains String
    CN--Contains Not Only
    CA-- Contains Any
    NA--Contains Not Any
    NS--Contains No String
    CP--COntains Pattern
    NP--No Pattern
    and find it ..
    Then check if that following field is junk
    Then delete that intenal table...
                                                       or  YOU CAN USE  FM
    SWA_STRING_SPLIT
    check the sample code :
    data : d_string type string.
    data: begin of i_inst occurs 0.
    include structure swastrtab.
    data: end of i_inst.
    call function 'SWA_STRING_SPLIT'
    exporting
    input_string = d_string
    max_component_length = 100
    tables
    string_components = i_inst
    exceptions
    max_component_length_invalid = 1
    others = 2.
    Hope this solves
    ALL The Best !!!
    Regards,
    Vinu.R

  • Max field length

    HI Experts,
                        In SAP normally max field length is 255 characters.....but if i want to store 1000 character string into my field how can i do this..
    any ideas..
    Thanks
    PT

    Hi,
    We can store in another way.
    By creating table with the fields as in the structure 'TLINE'.
    Two fields are there, one is for Line format and another one for Line Content.
    In SAPscript, this is the concept used.
    Using function module 'CONVERT_ITF_TO_ASCII', you will get your original text.
    Regards,
    R.Nagarajan.

  • How to restrict field length upon Export - OFR

    Hi,
    I am working with the standard AP solution. We are experiencing an issue with the Invoice Number and PO Number exporting lengths that are longer than we have allowed in IPM. Therefore, we are having multiple documents fail with input agent in IPM because the number of characters are over the limit in the .txt file for those fields.
    Thanks,
    Natalie

    Have your tried to adjust the application fields' lengths?
    (see http://docs.oracle.com/cd/E23943_01/admin.1111/e12782/c04_applications.htm#CIHCJFEF )
    Note that if you exceed the type's limits (like mentioned 'Possible string length is specified in the Length element with a maximum of 200 characters supported.') you might have to go with a workaround, but for fields like Invoice Number it can be a challenge (this field is probably heavily used in searching).

  • Field output trancated regardless of the field length assigned

    i have assigned 1000 characters to the output field in the output structure. Now in the report output, the field only displays upto 128 characters, it doesnt go beyond that. what could be the cause of this. Even when i put it on debug mode, this field is reading data by concatenating diffrent fields, but the concatenation goes only up to 128 characters, after that it does not concatenate further.

    hi,
    this is how my code reads:
    data: t_descript like tline-tdline occurs 0,
          wa_descript like tline-tdline.
    data: begin of itab occurs 0.
            include structure zhap_s_alv_reporting_pms_rej.
    data: end of itab.
    -------zhap_s_alv_reporting_pms_rej - notes = 1000 char
    loop at t_descript into wa_descript.
            if use_flag = 'X'.
              if not wa_descript is initial.
                concatenate itab-notes wa_descript
                                           into itab-notes separated by space.
              endif.
            endif.
            if wa_descript = 'Below are the comments'.
              use_flag = 'X'.
            endif.
          endloop.
    t_descript returns 6 lines of (67, 71, 33, 74, 76, 37 characters)
    Edited by: Lorato Ludo Kenosi on Mar 14, 2011 12:17 PM
    Edited by: Lorato Ludo Kenosi on Mar 14, 2011 12:20 PM

  • Table field length problem

    Hi Team,
    We r tring to create table with field length 250 and 'CHAR' type and one more field 'STRING 'for unlimited length.While creating table entries ,it is tsking only 130 length for all fields.it is not taking 250 characters for 250 length field.and it is not taking unlimited length for String field.Plz let me know.

    Hello Mohan,
    CHAR 250 is right. i am not facing any problem.
    can you please explain in detail what you have done and what error you are getting.
    Regards,
    Sujeet
    Edited by: Sujeet Mishra on Dec 2, 2009 4:42 AM

  • Idoc segment field length changes

    Hi friends,,
    I am new to idoc.
    My requirement is in my segment
    i am having 5 fields and also this segment is already realeased one.
    i wnat to change the field length from 10 to 20 . how to do this ?
    actually what i did is
    1. i cancel the release for that segment.
    2. in that field inside the dataelement i changed the field length from 10 to 20.
    3. data elemnt get chaged from 10 to 20 but Export length for that field in Idoc segment still retain the 10 only
    can you plz how to resolve this
    deva

    Hi,
    The way you used is right. ( cancel release or create a new segment )
    After you cancel release, try delete that field, and insert a new one.
    If it isn't valid still,  create a new segment instead.
    Regards
    Sam

  • What is the best way to declare field length 500 in internal table?

    Hi all,
    what is the best way to declare field length 500(constant value allways) in internal table?
    I am trying to send data from internal table to file format, and I have a field in internal table with 500 length (constant value always). So how do I can declare and append this field value to table?
    Thanks
    Murali

    Hi.  Please see the following example program, notice how I am filling the field with the constant value.
    report zrich_0001.
    *       CLASS lcl_main DEFINITION
    class lcl_main definition.
      public section.
        types: begin of ttab,
                fld1(500) type c,
               end of ttab.
        data: itab type table of ttab.
        data: xtab type ttab.
        methods: constructor,
                 write_itab.
    endclass.
    *       CLASS lcl_main IMPLEMENTATION
    class lcl_main implementation.
      method constructor.
    <b>
        xtab-fld1 =
          'This is one part of the total string which needs to be really' &
          ' long and this is a constant and we need to move it to a work' &
             ' area and then append it to the internal table which has a' &
              ' field with a length of five hundred characters'.
        append xtab to itab.</b>
      endmethod.
      method write_itab.
        loop at itab into xtab.
          write:/ xtab-fld1.
        endloop.
      endmethod.
    endclass.
    data: o_main type ref to lcl_main.
    start-of-selection.
      create object o_main.
      call method o_main->write_itab.
    Regards,
    Rich Heilman

  • Control an Integer field Length without using Validation ??

    Hi,
    I have Couple of fields where I need to configure them as Integers.
    Now each one has a fixed length that i need to limit to.
    But when i create a field of type: integer, i cannot select teh length!!!
    To achive this the idea i have is to write a validation which checks length..
    But can i achive it without going for a validation on each field???
    PS: I am aware that TEXT field can limit the length But it also allows me to enter text values, my requirement clearly says that to allow users to only enter Numeric values..
    Did anyone face a similar Case?
    Kind Regards
    Eva

    Hi Eva,
    I didn't try in the system, but I feel there are two solutions to achieve your requirement (*of course in both cases you will need to write a simple validation)
    Solution 1 : When field is defined as "Integer" in Console.
    lets take an example, you want to restrict an integer field with a limit of max 4 characters.
    Maximum value of a 4 character integer can be "9999". So, you can put a simple validation to compare the field value with 9999. if the value is less then this means fields values is less than 4 characters, else more than 5 characters.
    In this case Your validation expression in expression editor will be:
    FIELD NAME<= "9999"
    Solution 2 : When field is defined as "Text" in Console.
    In this case you can restrict the maximum field length through Console. But you will also need to write a validation to ensure that user is not entering any alphabets or special characters in this field.
    In this Case you can use below validation:
    HAS_ALL_CHARS(FIELD NAME, "0","9")
    This will ensure that field has all characters between 0 and 9 and doesn't hold any special character or alphabets.
    In Both cases you will need to set  "Automatic Execution" property as "Error". Also please do not manually type any function or value in expression editor. use drop down for fields, operators, functions etc.  and enter numeric values using the first blank box before dimension list.
    Kindly revert if you face any issues.
    -Shiv

  • How can I restrict field lengths in a field?

    I have a field that I want the user to only enter a 5 character response, not a 4 or 6 character response. Is '?????' field validation the only option?

    There is a LEN function that you can use to validate the entry. It returns the length of the field. You could build a validation rule to ensure the field length is 5 and that anything other than 5 characters returns an error message. You would need to build more specific validation rules if your result needed to be numeric or non-numeric. The LEN function only rerturns the length.
    Good Luck,
    Thom

Maybe you are looking for

  • Loading multiple swfs using air 3.6 for ios

    Adobe, can you please provide us with the code to load multiple swf files for ios. Please provide examples. The code below loads multiple swfs, but the swfs stall, so this does not seem to be a solution. Code description: A flash file made up of 4 fr

  • How to add a picture partly into a video

    Hello,. So, I'm currently making a 3 minute news film at school, and am trying to add a picture into a video, so at the beginning of the news, I want to add a picture either right up or left up corner of the video something like this... http://i1320.

  • NoClassDefFoundError error in IE Java console

    I created a very simple applet from the "First cup of Java". I compiled it without any problem. It appears in the appletviewer correctly. When I run the proper .HTML file, it displays nothing, but a grey area. The IE Java console give a message: Erro

  • How do you change values after logging data to the citadel database (DSC)?

    How would one go about changing values that already exist in the citadel database.  So say I were logging a numeric value with a timestamp for 1 year and then wanted to change a few values for the month of June because my sensor wasn't working at tha

  • Copying standard prog to custome program with includes that includes hd inc

    Hi gurus, i got one requirement, I have to copy standard program to custome program with includes ,that includes con tain few more includes. so how can i copy all the includes into the custome progam. please tel me.