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 Grid display

Former Member
0 Likes
897

hi,

Experts I have developed an ALV Report, whose field catelog decleration is as below.

v_index = v_index + 1.

wafieldcatlog1-fieldname = 'BDTER'.

wafieldcatlog1-tabname = 'it_final'.

wafieldcatlog1-seltext_l = 'ReqmtsDate'.

wafieldcatlog1-hotspot = ' '.

wafieldcatlog1-col_pos = v_index.

APPEND wafieldcatlog1 TO it_fieldcatalog1.

CLEAR wafieldcatlog1-key.

The out put display is crumbled, ie the coloms are not displayed completely . We have to drag the colomn linr to view it.

Client wants the colomn to be displayed completely.

Regards,

Rama Murthy.P

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
878

FCAT-OUTPUTLEN = '25'. " this is output length.

Regards

Peram

8 REPLIES 8
Read only

Former Member
0 Likes
879

FCAT-OUTPUTLEN = '25'. " this is output length.

Regards

Peram

Read only

Former Member
0 Likes
878

hi,

give wafieldcatlog1-outputlen = number of charecters in the heading.

Thanks,

Praveena.

Read only

Former Member
0 Likes
878

Hi Rama Murthy,

you may populate parameter IS_LAYOUT-colwidth_optimize = 'X'.

I hope this helps. Best regards,

Alvaro

Read only

Former Member
0 Likes
878

wafieldcatlog1-outputlen = 'N'.

N = ur output length

Read only

Former Member
0 Likes
878

Hello posimsetty,

there is a field in fieldcatalog called OPTIMIZE.

Add

<b>wafieldcatlog1-optimize = 'X'.</b>

before append statement.

Reward If Useful

-


Sasi.

Read only

Former Member
0 Likes
878

Hi,

Use wa_field1-col_opt = 'X'.

Read only

0 Likes
878

Add these two lines - to ur field catalog -

wafieldcatlog1-ref_fieldname = 'BDTER'.

wafieldcatlog1-ref_tabname = 'RESB'.

This will take care of everything else. You dont even need to hard code the Column texts also.

Cheers

SKC.

Read only

Former Member
0 Likes
878

Thanks allot, my quiry has been been resolved.

Regards,

Rama Murthy.P