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

REgarding ALv filter

Former Member
0 Likes
293

hi

Experts

i devloped a report in alv, it is sucess fully gives output..

while i selected one column field ( material)

and set filter .

when iam selecting one material to display .

length of the selected field is so small.

example

iam having material s ( MGHJ----1234UR, HFGR-2366, HFRJRHDL-533 ) IN OUTPUT FIELD CATELOG ..

i am selecting mateial colum and set the filter

i want display only mghj----123 material

while i am giving material in filter , it length will be like mghj--

i am unable to see the 123 by drag the legnth ..

if i executed i did n't get anything..

please give the filter field r field catelog field to display correct length

Regards

Spandna

Moderator message - Moved to the correct forum

Edited by: Rob Burbank on May 21, 2009 9:09 AM

hi

Experts

i devloped a report in alv, it is sucess fully gives output..

while i selected one column field ( material)

and set filter .

when iam selecting one material to display .

length of the selected field is so small.

example

iam having material s ( MGHJ----1234UR, HFGR-2366, HFRJRHDL-533 ) IN OUTPUT FIELD CATELOG ..

i am selecting mateial colum and set the filter

i want display only mghj----123 material

while i am giving material in filter , it length will be like mghj--

i am unable to see the 123 by drag the legnth ..

if i executed i did n't get anything..

please give the filter field r field catelog field to display correct length

Regards

Spandna

Moderator message - Moved to the correct forum

Edited by: Rob Burbank on May 21, 2009 9:09 AM

1 REPLY 1
Read only

Former Member
0 Likes
270

Hi,

Itu2019s Very simple there are many ways to solve this problem.

1) if you are using OOPS ALV then use GET_FILTERED_ENTRIES method and read data accorind to

that index

CALL METHOD G_GRID_REFERENCE->GET_FILTERED_ENTRIES

2) simple way - just set the fieldcatlog outputlen same as Material characteristics

Ex: - wa_fieldcat-outputlen = 15.

Salil...