Skip to Content
author's profile photo Former Member
Former Member

Variable with 261 field length

Hi everybody,

I have a variable which is defined as String, I need to put the data of length 261 into that variable.... but it is taking upto 255 characters only......can any body give me solution for this......

Thanks

R Nittala

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 02, 2005 at 01:09 PM

    Hi,

    The maximum field length allowed is 255 Characters.

    Thanks & Regards,

    Judith.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 02, 2005 at 01:16 PM

    Hi Rajesh,

    from which source-field ?

    pls post your coding.

    regards Andreas

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Rajesh,

      If we are using string there is no problem.

      I tried the following code in which the variable stores more than 261.Just check this.

      REPORT ZZZ_JAYTEST line-size 1023.

      DATA : LV_MAP_DATA TYPE STRING.

      concatenate 'I_MAP_DATA TYPE STANDARD TABLE OF T_MAP_DATA INITIAL SIZE0'

      'I_MAP_DATA TYPE STANDARD TABLE OF T_MAP_DATA INITIAL SIZE 0'

      'I_MAP_DATA TYPE STANDARD TABLE OF T_MAP_DATA INITIAL SIZE 0'

      'I_MAP_DATA TYPE STANDARD TABLE OF T_MAP_DATA INITIAL SIZE 0'

      'I_MAP_DATA TYPE STANDARD TABLE OF T_MAP_DATA INITIAL SIZE 0'

      'I_MAP_DATA TYPE STANDARD TABLE OF T_MAP_DATA INITIAL SIZE 0'

      'I_MAP_DATA TYPE STANDARD TABLE OF T_MAP_DATA INITIAL SIZE 0'

      'I_MAP_DATA TYPE STANDARD TABLE OF T_MAP_DATA INITIAL SIZE 0' '1234'

      into

      lv_map_data separated by ':'.

      write lv_map_data.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.