<?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: Select Option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418863#M1997000</link>
    <description>&lt;P&gt;Review your source code carefully by checking the definitions of your tables/fields. &lt;/P&gt;&lt;P&gt;For example, there is no DZKPRS field in MBEW but a ZKPRS field with the data element DZKPRS, (this is just one of many errors).&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2021 12:59:35 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2021-09-22T12:59:35Z</dc:date>
    <item>
      <title>Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418857#M1996994</link>
      <description>&lt;P&gt;Select options for all key fields of the table MARA,MARC and MBEW, matnr mandatory for all fields.&lt;/P&gt;
  &lt;P&gt;How to declare the data and select option for the above fields,&lt;/P&gt;
  &lt;P&gt;DATA: MATNR TYPE W_MATNR,&lt;BR /&gt; MATNR TYPE V_MATNR,&lt;BR /&gt; MATNR TYPE S_MATNR.&lt;BR /&gt;&lt;BR /&gt;SELECTION-SCREEN BEGIN OF BLOCK part1 WITH FRAME TITLE TEXT-001.&lt;BR /&gt;&lt;BR /&gt;SELECT-OPTIONS: MARA FOR W_MATNR,&lt;BR /&gt; MARC FOR V_MATNR,&lt;BR /&gt; MBEW FOR S_MATNR.&lt;/P&gt;
  &lt;P&gt;Entering this code getting on error, Kindly help me on this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 07:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418857#M1996994</guid>
      <dc:creator>former_member767084</dc:creator>
      <dc:date>2021-09-17T07:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418858#M1996995</link>
      <description>&lt;P&gt;Thank you for visiting SAP
Community to get answers to your questions. Since this is your first question, I
recommend that you familiarize yourself with &lt;U&gt;&lt;A href="https://community.sap.com/resources/questions-and-answers"&gt;Community
Q&amp;amp;A&lt;/A&gt;&lt;/U&gt; , as the overview provides tips for
preparing questions that draw responses from our members.&lt;/P&gt;&lt;P&gt;Should you wish, you can revise
your question by selecting Actions, then Edit.&lt;/P&gt;&lt;P&gt;By adding a picture
to your Profile you
encourage readers to respond.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 07:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418858#M1996995</guid>
      <dc:creator>former_member763929</dc:creator>
      <dc:date>2021-09-17T07:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418859#M1996996</link>
      <description>&lt;P&gt;Could you explain what you are trying to achieve ? &lt;/P&gt;&lt;P&gt;A select-option refer to a field of a table, not to several, and even if you would like to check several table, there is only one master table. In your case MARA. You cannot check MATNR field for MARC, because you didn't sepecify the plant.&lt;/P&gt;&lt;P&gt;You are making a big melting pot between select-options &amp;amp; search-help &lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 07:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418859#M1996996</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-09-17T07:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418860#M1996997</link>
      <description>&lt;P&gt;Getting an error?&lt;/P&gt;&lt;P&gt;Just a thought, but maybe it would be helpful if you told us the error. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 08:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418860#M1996997</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-09-17T08:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418861#M1996998</link>
      <description>&lt;P&gt;TYPES: BEGIN OF TY_MARA,&lt;BR /&gt; MATNR TYPE MATNR,&lt;BR /&gt; MTART TYPE MTART,&lt;BR /&gt; MBRSH TYPE MBRSH,&lt;BR /&gt; BISMT TYPE BISMT,&lt;BR /&gt; MEINS TYPE MEINS,&lt;BR /&gt;END OF TY_MARA.&lt;BR /&gt;&lt;BR /&gt;TYPES: BEGIN OF TY_MARC,&lt;BR /&gt; MATNR TYPE MATNR,&lt;BR /&gt; WERKS TYPE WERKS,&lt;BR /&gt; DISMM TYPE DISMM,&lt;BR /&gt; DISPO TYPE DISPO,&lt;BR /&gt; KZDIE TYPE KZDIE,&lt;BR /&gt; KZPPV TYPE KZPPV,&lt;BR /&gt; MPDAU TYPE MPDAU,&lt;BR /&gt;END OF TY_MARC.&lt;BR /&gt;&lt;BR /&gt;TYPES: BEGIN OF TY_MBEW,&lt;BR /&gt; MATNR TYPE MATNR,&lt;BR /&gt; BWKEY TYPE BWKEY,&lt;BR /&gt; BWTAR TYPE BWTAR,&lt;BR /&gt; STPRV TYPE STPRV,&lt;BR /&gt; LAEPR TYPE LAEPR,&lt;BR /&gt; DZKPRS TYPE DZKPRS,&lt;BR /&gt; DZKDAT TYPE DZKDAT,&lt;BR /&gt;END OF TY_MBEW.&lt;BR /&gt;&lt;BR /&gt;DATA: W_MATNR TYPE MATNR.&lt;BR /&gt;DATA: T_MARA TYPE STANDARD TABLE OF TY_MARA,&lt;BR /&gt; WA_MARA TYPE TY_MARA,&lt;BR /&gt; T_MARC TYPE STANDARD TABLE OF TY_MARC,&lt;BR /&gt; WA_MARC TYPE TY_MARC,&lt;BR /&gt; T_MBEW TYPE STANDARD TABLE OF TY_MBEW,&lt;BR /&gt; WA_MBEW TYPE TY_MBEW.&lt;BR /&gt;&lt;BR /&gt;SELECTION-SCREEN BEGIN OF BLOCK part1 WITH FRAME TITLE TEXT-001.&lt;BR /&gt;&lt;BR /&gt;SELECT-OPTIONS: mara FOR w_matnr OBLIGATORY,&lt;BR /&gt; marc FOR w_matnr OBLIGATORY,&lt;BR /&gt; mbew FOR w_matnr OBLIGATORY.&lt;BR /&gt;&lt;BR /&gt;PARAMETERS: r1 RADIOBUTTON GROUP rad1,&lt;BR /&gt; r2 RADIOBUTTON GROUP rad1,&lt;BR /&gt; r3 RADIOBUTTON GROUP rad1.&lt;BR /&gt;SELECTION-SCREEN END OF BLOCK part1.&lt;BR /&gt;&lt;BR /&gt;IF R1 IS NOT INITIAL.&lt;BR /&gt;SELECT MATNR&lt;BR /&gt; MTART&lt;BR /&gt; MBRSH&lt;BR /&gt; BISMT&lt;BR /&gt; MEINS&lt;BR /&gt; FROM MARA&lt;BR /&gt; INTO TABLE T_MARA&lt;BR /&gt; WHERE MATNR IN MARA.&lt;BR /&gt;&lt;BR /&gt;ELSEIF R2 IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;SELECT MATNR&lt;BR /&gt; WERKS&lt;BR /&gt; DISMM&lt;BR /&gt; DISPO&lt;BR /&gt; KZDIE&lt;BR /&gt; KZPPV&lt;BR /&gt; MPDAU&lt;BR /&gt; FROM MARC&lt;BR /&gt; INTO TABLE T_MARC&lt;BR /&gt; WHERE MATNR IN MARC.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ELSE.&lt;BR /&gt;SELECT MATNR&lt;BR /&gt; BWKEY&lt;BR /&gt; BWTAR&lt;BR /&gt; STPRV -------------------------------------------------- error line&lt;BR /&gt; LAEPR -------------------------------------------------- error line&lt;/P&gt;&lt;P&gt; ZKPRS -------------------------------------------------- error line&lt;/P&gt;&lt;P&gt; ZKDAT --------------------------------------------------- error line&lt;/P&gt;&lt;P&gt; FROM MBEW&lt;BR /&gt; INTO TABLE T_MBEW&lt;BR /&gt; WHERE MATNR IN MBEW.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Error message&lt;/P&gt;&lt;P&gt;The database field or the result type of the aggregate function ZKPRS
and the component "BWTAR-PSPNR" of "T_MBEW" are not compatible.&lt;/P&gt;&lt;P&gt;Please Help me on this.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 12:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418861#M1996998</guid>
      <dc:creator>former_member767084</dc:creator>
      <dc:date>2021-09-17T12:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418862#M1996999</link>
      <description>&lt;P&gt;Please edit your question, don't add a comment, and press the [CODE] button so that your code is legible by everyone.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF TY_MBEW,
         MATNR TYPE MATNR, " you should prefix with MBEW- everywhere (TYPE MBEW-MATNR etc.)
         BWKEY TYPE BWKEY, 
         BWTAR TYPE BWTAR,
         STPRV TYPE STPRV,
         LAEPR TYPE LAEPR,
         DZKPRS TYPE DZKPRS,
         DZKDAT TYPE DZKDAT,
       END OF TY_MBEW.,&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Sep 2021 15:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418862#M1996999</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-09-17T15:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418863#M1997000</link>
      <description>&lt;P&gt;Review your source code carefully by checking the definitions of your tables/fields. &lt;/P&gt;&lt;P&gt;For example, there is no DZKPRS field in MBEW but a ZKPRS field with the data element DZKPRS, (this is just one of many errors).&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 12:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/12418863#M1997000</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2021-09-22T12:59:35Z</dc:date>
    </item>
  </channel>
</rss>

