Skip to Content
0
Former Member
Sep 08, 2007 at 03:12 AM

Problem on text length while restricting values by using filter in ALV

27 Views

Hi,

The below records comes in the ALV Report for a coloumn 'Document'.

TEST BATCH ID2

LCARAG/TEST/HEADER_TEXT

ARP/FPP

DPL REPORT

LCARAG/TEST/HEADER_TEXT2

LCARAG/TEST/HEADER_TEXT2

LCARAG/TEST/HEADER_TEXT2

LCARAG/TEST/HEADER_TEXT

LCARAG/TEST/HEADER_TEXT

LCARAG/TEST/HEADER_TEXT

LCARAG/TEST/HEADER_TEXT

LCARAG/TEST/HEADER_TEXT

TEST-CSP11

LCARAG/TEST/HEADER_TEXT2

LCARAG/TEST/HEADER_TEXT

TESTBATCH2

TEST BATCH 102

FOR YLE_VL10 TEST648

Requirement is to filter the records ends with TEXT or TEXT2 in the ALV report.

While restricting the value range in the filer criteria automatically..it shows ironically..ie...

It shows till 'T' only..

LCARAG/TEST/HEADER_T

By selecting this..i am end up with zero records in the ALV report.

If I enter this value LCARAG/TEST/HEADER_TEXT2 manually in the filter criteria...

I am getting the correct set of list....ie ....list of records

LCARAG/TEST/HEADER_TEXT2

LCARAG/TEST/HEADER_TEXT2

LCARAG/TEST/HEADER_TEXT2

LCARAG/TEST/HEADER_TEXT2

The issue is; I should be able to select the LCARAG/TEST/HEADER_TEXT2 / TEXT by automatically in the filter selection criteria and get the report.

I just tried these two methods given by Srihari on SDN.

1) Remove optimize field width setting on the layout

2) Define an explicit output length for this field in the field catalog.

Still the problem persists.

Kindly help me to get rid of this problem

Thanks