<?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: USING SELECT OPTIONS AND DISPLAY REPORTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261968#M1987143</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;rams4u_dreams72&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Before we get into the solution part, I don't understand the need to display fields from tables from MARA and MAKT. To make it clear MAKT is a text table for materials maintained in MARA.&lt;/P&gt;&lt;P&gt;In fact you can navigate MAKT from MARA itself using the below navigation, so before getting into the development kindly understand the need for the business and deliver accordingly.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1860895-scn.png" /&gt;&lt;/P&gt;&lt;P&gt;From what I understand in your question you need to develop a simple report with two fields in the selection screen. Technically you just need to follow below steps:&lt;/P&gt;&lt;P&gt;1) Create two fields in the selection screen, one for MARA and another for MAKT.&lt;/P&gt;&lt;P&gt;2) In the event AT SELECTION SCREEN ensure you validate that only one field is filled and not both are field before processing further.&lt;/P&gt;&lt;P&gt;3) Create two field catalogs one for MARA and another for MAKT.&lt;/P&gt;&lt;P&gt;4) Based on the fields input you can populate the relevant field catalog and process relevant  internal table.&lt;/P&gt;&lt;P&gt;5) Display the table in the using FACTORY method in the AT END OF SELCTION event.&lt;/P&gt;&lt;P&gt;The &lt;A href="http://saptechnical.com/Tutorials/ABAP/SelectOptions/Index.htm" target="_blank"&gt;LINK1&lt;/A&gt; and &lt;A href="https://www.sapnuts.com/courses/Object-Oriented-ABAP/alv-factory-method/alv-using-factory-methods.html" target="_blank"&gt;LINK2&lt;/A&gt; should help you get going.&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 09:34:14 GMT</pubDate>
    <dc:creator>former_member1716</dc:creator>
    <dc:date>2020-11-18T09:34:14Z</dc:date>
    <item>
      <title>USING SELECT OPTIONS AND DISPLAY REPORTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261966#M1987141</link>
      <description>&lt;P&gt;hai&lt;/P&gt;
  &lt;P&gt;iam trying to display the MARA and MAKT report in selection screen am tacking two selection options 1. MATNR FOR MARA and 2nd one MATNR FOR MAKT WHEN I SELECT MATNR FOR MARA TABLE THEN DISPLAY ONLY MARA&lt;/P&gt;
  &lt;P&gt;DONT DISPLAY MAKT TABLE .SAME PROCESS WILL BE APPLICABLE FOR MAKT TABLE&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 05:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261966#M1987141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-11-18T05:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: USING SELECT OPTIONS AND DISPLAY REPORTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261967#M1987142</link>
      <description>&lt;P&gt;That's a requirement. But what is your question?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 05:26:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261967#M1987142</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-11-18T05:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: USING SELECT OPTIONS AND DISPLAY REPORTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261968#M1987143</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;rams4u_dreams72&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Before we get into the solution part, I don't understand the need to display fields from tables from MARA and MAKT. To make it clear MAKT is a text table for materials maintained in MARA.&lt;/P&gt;&lt;P&gt;In fact you can navigate MAKT from MARA itself using the below navigation, so before getting into the development kindly understand the need for the business and deliver accordingly.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1860895-scn.png" /&gt;&lt;/P&gt;&lt;P&gt;From what I understand in your question you need to develop a simple report with two fields in the selection screen. Technically you just need to follow below steps:&lt;/P&gt;&lt;P&gt;1) Create two fields in the selection screen, one for MARA and another for MAKT.&lt;/P&gt;&lt;P&gt;2) In the event AT SELECTION SCREEN ensure you validate that only one field is filled and not both are field before processing further.&lt;/P&gt;&lt;P&gt;3) Create two field catalogs one for MARA and another for MAKT.&lt;/P&gt;&lt;P&gt;4) Based on the fields input you can populate the relevant field catalog and process relevant  internal table.&lt;/P&gt;&lt;P&gt;5) Display the table in the using FACTORY method in the AT END OF SELCTION event.&lt;/P&gt;&lt;P&gt;The &lt;A href="http://saptechnical.com/Tutorials/ABAP/SelectOptions/Index.htm" target="_blank"&gt;LINK1&lt;/A&gt; and &lt;A href="https://www.sapnuts.com/courses/Object-Oriented-ABAP/alv-factory-method/alv-using-factory-methods.html" target="_blank"&gt;LINK2&lt;/A&gt; should help you get going.&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 09:34:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261968#M1987143</guid>
      <dc:creator>former_member1716</dc:creator>
      <dc:date>2020-11-18T09:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: USING SELECT OPTIONS AND DISPLAY REPORTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261969#M1987144</link>
      <description>&lt;P&gt;If you have two select options for MARA and MAKT both will have the key field as MATNR, then I dont think you need two fields as SELECT OPTIONS . you can have one field as MATNR and get the input and pass it to MARA and MAKT . &lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 07:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-select-options-and-display-reports/m-p/12261969#M1987144</guid>
      <dc:creator>former_member429331</dc:creator>
      <dc:date>2020-11-19T07:18:14Z</dc:date>
    </item>
  </channel>
</rss>

