<?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 Layout Management in Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008233#M1345505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dialog Programming Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a new requirement - adding Layout Management options in Table Control. This is dialog/module programming, not ALV Report. Is there a function module for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joyreen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2009 03:31:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-11T03:31:41Z</dc:date>
    <item>
      <title>Layout Management in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008233#M1345505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dialog Programming Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a new requirement - adding Layout Management options in Table Control. This is dialog/module programming, not ALV Report. Is there a function module for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joyreen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 03:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008233#M1345505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-11T03:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Layout Management in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008234#M1345506</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 would also like to know how to add the filter controls like in ALV... The function modules require ALV parameters... I would like to know which parameters should be populated. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 14:40:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008234#M1345506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-11T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Layout Management in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008235#M1345507</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;For filter use the following function modules,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;l_rightx-id = l_index.
  l_rightx-fieldname = 'DESCR'.
  l_rightx-text = text-054.
  APPEND l_rightx TO i_rightx.
  l_index = l_index + 1.
  CLEAR l_rightx.
  l_rightx-id = l_index.
  l_rightx-fieldname = 'DEL_CM'.
  l_rightx-text = text-055.
  APPEND l_rightx TO i_rightx.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CEP_DOUBLE_ALV'
       EXPORTING
            i_title_left  = text-034
            i_title_right = text-035
            i_popup_title = text-036
       IMPORTING
            e_cancelled   = l_cancelled
       TABLES
            t_leftx       = i_leftx[]
            t_rightx      = i_rightx[].&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly populate the right table with all fields which you want in the filtering condition. The left table will be populated once the use selects some fields and transfer it to the left portion of the dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the following FM like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: i_group TYPE lvc_t_sgrp.
      CALL FUNCTION 'LVC_FILTER_DIALOG'
           EXPORTING
                it_fieldcat   = i_fldcat1
                it_groups     = i_group
           TABLES
                it_data       = i_ziteminvoice[]
           CHANGING
                ct_filter_lvc = i_filter
           EXCEPTIONS
                no_change     = 1
                OTHERS        = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here filter table should have fields from left table above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you get the filter data, populate range table for each fields and then delete your internal table using these range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE l_filter-fieldname.
              WHEN 'ITMNO'.
                l_itmno-sign = l_filter-sign.
                l_itmno-option = l_filter-option.
                l_itmno-low = l_filter-low.
                l_itmno-high = l_filter-high.
                APPEND l_itmno TO li_itmno.
                CLEAR l_itmno.
DELETE i_ziteminvoice WHERE NOT  itmno IN li_itmno OR
                                      NOT  aedat IN li_aedat OR...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check this if it works, else let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sourav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 09:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008235#M1345507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-18T09:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Layout Management in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008236#M1345508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sourav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already did the code, and I was able to use it successfully. I just did trial and error on the function modules you mentioned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your thread really helped alot! Thanks so much for this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 10:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008236#M1345508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-18T10:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Layout Management in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008237#M1345509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay thats great....i hope you could also solved the layout part. in case you require any kind of information, please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 10:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008237#M1345509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-18T10:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Layout Management in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008238#M1345510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sourav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have already solved this  functionality can u please post me the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 17:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-management-in-table-control/m-p/6008238#M1345510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T17:27:12Z</dc:date>
    </item>
  </channel>
</rss>

