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

display long text on alv

hi now there is a field of itab having string of 236 characters and i am displaying it in alv. i have set column length 255 even though only a few legth is appearing. only column width incresed but all text has not displayed.

fieldcatalog:

fldcat-fieldname = 'TEXT1'.

fldcat-seltext_m = 'Symptom Long text'.

fldcat-col_pos = 2.

fldcat-outputlen = len1.

APPEND fldcat.

CLEAR fldcat.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

it_fieldcat = fldcat[]

TABLES

t_outtab = itab[].

what to do? but if i download in exel the whole string/text is coming, unlike on alv.

with thanks and rregards.

AJAY

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 08:56 AM

    Hi,

    try with layout option.

    gwa_layout-box_tabname = 'ITAB'.

    gwa_layout-no_input = gc_x.

    gwa_layout-colwidth_optimize = gc_x.

    gwa_layout-zebra = gc_x.

    gwa_layout-cell_merge = gc_x.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

    it_fieldcat = fldcat[]

    is_layout = GWA_LAYOUT

    TABLES

    t_outtab = itab[].

    Regards,

    Nagaraj

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi experts.

      Is there any way that i call wage type reporter (report name : H99CWTR0 and tcode : PC00_M11_WTK ) from a z program and get the internal table for further processing without displaying the alv of standard progam. I need the output of the standard progam as input data for processing of zprogram.

      Thanks

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 08:52 AM

    hi

    change fldcat-seltext_m to fldcat_sltext_l.

    fldcat-outputlen = '255'.

    reg

    Ramya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 20, 2009 at 08:54 AM

    Hi AJay,

    Check the length of the field in interanl table.

    Add a comment
    10|10000 characters needed characters exceeded

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.