Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

alv report

Former Member
0 Likes
704

Hi expert,

I need to display field information using alv. field value is long. but in display only part of field value is displayed. How can i set length to display information .

ex :

Material desc : intel pentium pc with sound card.

it will display only

'intel p'.

i need to display full information.

Thank u.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

Hi,

In ur fieldcat populate the output length field.

CLEAR x_fieldcat.

x_fieldcat-fieldname = 'FIELD'.

x_fieldcat-seltext_l = 'Text' .

<b>x_fieldcat-outputlen = 50.</b>

x_fieldcat-col_pos = 1.

APPEND x_fieldcat TO it_fieldcat.

Hi expert,

I need to display field information using alv. field value is long. but in display only part of field value is displayed. How can i set length to display information .

ex :

Material desc : intel pentium pc with sound card.

it will display only

'intel p'.

i need to display full information.

Thank u.

4 REPLIES 4
Read only

Former Member
0 Likes
680

IN FIELDCAT

FIELDCAT-OUTPUTLEN = 40.

OR IF IT IS NOT WORKING USE

ILAYOUT-COLWIDTH_OPTIMIZE = 'X'.

REGARDS

SHIBA DUTTA

Message was edited by:

SHIBA DUTTA

Read only

Former Member
0 Likes
681

Hi,

In ur fieldcat populate the output length field.

CLEAR x_fieldcat.

x_fieldcat-fieldname = 'FIELD'.

x_fieldcat-seltext_l = 'Text' .

<b>x_fieldcat-outputlen = 50.</b>

x_fieldcat-col_pos = 1.

APPEND x_fieldcat TO it_fieldcat.

Read only

Former Member
0 Likes
680

Hi,

Set appropiate value for the "intlen" property of fieldcat structure.

Read only

Former Member
0 Likes
680

Hi thanks to all.

I got it.