<?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 Re: TABLE CONTROL WITH LIST BOX in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102900#M103914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhananjay,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Pls look at &amp;lt;b&amp;gt;RSDEMO_TABLE_CONTROL&amp;lt;/b&amp;gt; program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I think this would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2005 05:59:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-28T05:59:03Z</dc:date>
    <item>
      <title>TABLE CONTROL WITH LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102897#M103911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Plesae help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control and it has a list box for field matnr.&lt;/P&gt;&lt;P&gt;It shows mat. nos. those I want &lt;/P&gt;&lt;P&gt;My problem is that I want to &lt;/P&gt;&lt;P&gt;select different mat. no. on output screen from its list box and at the same time it should select all other values of corresponding fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my screen '1001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Material Number-             9500000  This is list box.&lt;/P&gt;&lt;P&gt;                                               &lt;/P&gt;&lt;P&gt; Material type-               YCON                 &lt;/P&gt;&lt;P&gt;                                               &lt;/P&gt;&lt;P&gt; Industry Sector-             M                    &lt;/P&gt;&lt;P&gt;                                               &lt;/P&gt;&lt;P&gt; Material Group-              01                   &lt;/P&gt;&lt;P&gt;                                               &lt;/P&gt;&lt;P&gt; Unit Of Measure-             EA                   &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;I want to fetch data w. r. t. Material number .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code. of '1001'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process before output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process after input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD mtab-matnr MODULE create_dropdown_box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code of main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: MTAB LIKE MARA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF type_MARA,&lt;/P&gt;&lt;P&gt;         MATNR type MARA-MATNR,&lt;/P&gt;&lt;P&gt;       END OF type_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab_MARA TYPE STANDARD TABLE OF type_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1001 OUTPUT.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT MATNR MATKL MTART MBRSH MEINS FROM MARA&lt;/P&gt;&lt;P&gt;     INTO CORRESPONDING FIELDS OF MTAB&lt;/P&gt;&lt;P&gt;     ORDER BY MATNR DESCENDING.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE MTAB INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT MTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE create_dropdown_box INPUT.&lt;/P&gt;&lt;P&gt;  SELECT matnr  FROM mara&lt;/P&gt;&lt;P&gt;                INTO CORRESPONDING FIELDS OF TABLE itab_mara&lt;/P&gt;&lt;P&gt;                where matnr &amp;lt; '100000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;                  EXPORTING&lt;/P&gt;&lt;P&gt;                    RETFIELD               = 'MATNR'&lt;/P&gt;&lt;P&gt;                   VALUE_ORG              = 'S'&lt;/P&gt;&lt;P&gt;                  TABLES&lt;/P&gt;&lt;P&gt;                    VALUE_TAB              = itab_mara&lt;/P&gt;&lt;P&gt;                 EXCEPTIONS&lt;/P&gt;&lt;P&gt;                   PARAMETER_ERROR        = 1&lt;/P&gt;&lt;P&gt;                   NO_VALUES_FOUND        = 2&lt;/P&gt;&lt;P&gt;                   OTHERS                 = 3&lt;/P&gt;&lt;P&gt;                          .&lt;/P&gt;&lt;P&gt;                IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;                ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " create_dropdown_box  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any one can give me way how to solve this problem.&lt;/P&gt;&lt;P&gt;Thanks In Advance,&lt;/P&gt;&lt;P&gt;Dhanu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 05:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102897#M103911</guid>
      <dc:creator>dhananjay_khamkar</dc:creator>
      <dc:date>2005-12-28T05:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: TABLE CONTROL WITH LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102898#M103912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt; once you select and say 'ENTER' then you can handle the sy-ucomm and populate the other data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to trigger some event then only you can populate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use enter and handle enter ,populate the other data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 05:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102898#M103912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T05:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: TABLE CONTROL WITH LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102899#M103913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhananjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  FIELD mtab-matnr MODULE fill_control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create module fill_control in your main program.&lt;/P&gt;&lt;P&gt;Here, Write select statment :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE MATKL MTART MBRSH MEINS FROM MARA&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF MTAB&lt;/P&gt;&lt;P&gt;WHERE MATNR = mtab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine in my case.&lt;/P&gt;&lt;P&gt;Hope it also solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Digesh Panchal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 05:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102899#M103913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T05:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: TABLE CONTROL WITH LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102900#M103914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhananjay,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Pls look at &amp;lt;b&amp;gt;RSDEMO_TABLE_CONTROL&amp;lt;/b&amp;gt; program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I think this would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 05:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-list-box/m-p/1102900#M103914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T05:59:03Z</dc:date>
    </item>
  </channel>
</rss>

