<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Filter Function problems on ALV report. [Resolved] in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095770#M436289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed an ALV report by using function as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
         EXPORTING
              I_CALLBACK_PROGRAM = G_REPID
*            I_CALLBACK_PF_STATUS_SET = status_set
*            I_CALLBACK_USER_COMMAND  = USER_COMMAND
              I_STRUCTURE_NAME = 'T_BSIK'
              IS_LAYOUT        = GS_LAYOUT
              IT_FIELDCAT      = GT_FIELDCAT[]
         TABLES
              T_OUTTAB    = TAB_BSIK.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this ALV custom report is referenced from standard function FBL5N.&lt;/P&gt;&lt;P&gt;After i completed this report, i made an comparision of FBL5N and my custom report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I apply the filter function, for example, on the document type, I cannot input 2 characters in the document type field under the filter function. The field length is only 1 character. Similar case results on the field document date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the standard function FBL5N works very nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should i do to make the filter function of my own ALV report as the same as the standard function FBL5N do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Lala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Hoo lala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2007 03:53:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-29T03:53:25Z</dc:date>
    <item>
      <title>Filter Function problems on ALV report. [Resolved]</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095770#M436289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed an ALV report by using function as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
         EXPORTING
              I_CALLBACK_PROGRAM = G_REPID
*            I_CALLBACK_PF_STATUS_SET = status_set
*            I_CALLBACK_USER_COMMAND  = USER_COMMAND
              I_STRUCTURE_NAME = 'T_BSIK'
              IS_LAYOUT        = GS_LAYOUT
              IT_FIELDCAT      = GT_FIELDCAT[]
         TABLES
              T_OUTTAB    = TAB_BSIK.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this ALV custom report is referenced from standard function FBL5N.&lt;/P&gt;&lt;P&gt;After i completed this report, i made an comparision of FBL5N and my custom report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I apply the filter function, for example, on the document type, I cannot input 2 characters in the document type field under the filter function. The field length is only 1 character. Similar case results on the field document date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the standard function FBL5N works very nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should i do to make the filter function of my own ALV report as the same as the standard function FBL5N do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Lala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Hoo lala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 03:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095770#M436289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T03:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Function problems on ALV report. [Resolved]</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095771#M436290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my ALV output, when I go for filtering, it provides space for only one character to enter for filtering. Pls help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code for FIELDCAT_INIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM FIELDCAT_INIT tables RT_FIELDCAT.
...

CLEAR LS_FIELDCAT.
  LS_FIELDCAT-COL_POS   =  3.
  LS_FIELDCAT-FIELDNAME = 'BLART'.
  LS_FIELDCAT-TABNAME   = 'TAB_BSIK'.
  LS_FIELDCAT-SELTEXT_L = 'Document Type'.
  APPEND LS_FIELDCAT TO  RT_FIELDCAT.

...
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 04:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095771#M436290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T04:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Function problems on ALV report. [Resolved]</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095772#M436291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, i found where the problem is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add below 2 statements, then the question is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  LS_FIELDCAT-ref_fieldname = ****
  LS_FIELDCAT-ref_tabname = ***&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM FIELDCAT_INIT tables RT_FIELDCAT.
...
 
CLEAR LS_FIELDCAT.
  LS_FIELDCAT-COL_POS   =  3.
  LS_FIELDCAT-FIELDNAME = 'BLART'.
  LS_FIELDCAT-TABNAME   = 'TAB_BSIK'.
  LS_FIELDCAT-SELTEXT_L = 'Document Type'.
  LS_FIELDCAT-ref_fieldname = 'BLART'.
  LS_FIELDCAT-ref_tabname = 'BSIK'.
  APPEND LS_FIELDCAT TO  RT_FIELDCAT.
 
...
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 05:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095772#M436291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T05:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Function problems on ALV report. [Resolved]</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095773#M436292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Resolved]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 05:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-function-problems-on-alv-report-resolved/m-p/2095773#M436292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T05:26:49Z</dc:date>
    </item>
  </channel>
</rss>

