<?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: Checking an entry from an internal table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625597#M2012997</link>
    <description>&lt;P&gt;But I follow you regarding some new command too much complex &lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2022 10:26:43 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2022-10-21T10:26:43Z</dc:date>
    <item>
      <title>Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625593#M2012993</link>
      <description>&lt;P&gt; I was encountering an error that &lt;STRONG&gt;T_TVARV_VKORG does not have the structure of a selection table. &lt;/STRONG&gt;I was trying to check if my VKORG is present in T_TVARV_VKORG. Do I need to create a structure for that T_TVARV_VKORG? &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt; CALL FUNCTION 'Z_GET_PARAMETERS_FROM_TVARVC'&lt;BR /&gt;    EXPORTING&lt;BR /&gt;      product                = c_tvarv_vkorg&lt;BR /&gt;    TABLES&lt;BR /&gt;      t_parameter            = t_tvarv_vkorg&lt;BR /&gt;    EXCEPTIONS&lt;BR /&gt;     VALUES_NOT_FOUND       = 1&lt;BR /&gt;     OTHERS                 = 2&lt;BR /&gt;            .&lt;BR /&gt;  IF sy-subrc = 0.&lt;BR /&gt;     IF KOMK-VKORG IN T_TVARV_VKORG.&lt;BR /&gt;     ENDIF.&lt;BR /&gt;  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Oct 2022 09:33:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625593#M2012993</guid>
      <dc:creator>walkerist79</dc:creator>
      <dc:date>2022-10-21T09:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625594#M2012994</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;DATA:
  t_tvarv_vkorg  TYPE STANDARD TABLE OF tvarv,
  lt_vkorg_r TYPE RANGE OF vkorg.

* Fill range table
LOOP AT t_tvarv_vkorg ASSIGNING FIELD-SYMBOL(&amp;lt;fs_tvarv_vkorg&amp;gt;).
  APPEND INITIAL LINE TO lt_vkorg_r ASSIGNING FIELD-SYMBOL(&amp;lt;fs_vkorg_r&amp;gt;).
  MOVE-CORRESPONDING &amp;lt;fs_tvarv_vkorg&amp;gt; TO &amp;lt;fs_vkorg_r&amp;gt;.
ENDLOOP.

IF komk-vkorg IN lt_vkorg_r.
* Do something
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Oct 2022 09:59:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625594#M2012994</guid>
      <dc:creator>thkolz</dc:creator>
      <dc:date>2022-10-21T09:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625595#M2012995</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;c12b61ded10b4e18beae75c3b6218d2c&lt;/SPAN&gt; definitively you don't like new syntax. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  t_tvarv_vkorg = VALUE #( ( name = 'VKORG'  sign = 'I'  opti = 'EQ'  low = '0100' )&lt;BR /&gt;                           ( name = 'VKORG'  sign = 'I'  opti = 'EQ'  low = '0101' ) ).&lt;BR /&gt;  lt_vkorg_r = CORRESPONDING #( t_tvarv_vkorg mapping option = opti ).&lt;BR /&gt;  cl_demo_output=&amp;gt;display_data( lt_vkorg_r ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 10:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625595#M2012995</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-10-21T10:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625596#M2012996</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;frdric.girod&lt;/SPAN&gt; You're right. I'm more old-school...&lt;BR /&gt;Although this corresponding command looks useful &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 10:23:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625596#M2012996</guid>
      <dc:creator>thkolz</dc:creator>
      <dc:date>2022-10-21T10:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625597#M2012997</link>
      <description>&lt;P&gt;But I follow you regarding some new command too much complex &lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 10:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625597#M2012997</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-10-21T10:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625598#M2012998</link>
      <description>&lt;P&gt;We don't know your custom "Z_GET..." function module, so can't answer.&lt;/P&gt;&lt;P&gt;About the error message, you must have your Actual parameter of the same type as the Formal parameter (although TABLES is a little bit flexible about the types).&lt;/P&gt;&lt;P&gt;I don't understand what it means to "create a structure for [an already-defined variable]".&lt;/P&gt;&lt;P&gt;Please provide information about the current types of Actual and Formal parameters.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625598#M2012998</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-10-21T12:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625599#M2012999</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;frdric.girod&lt;/SPAN&gt;&lt;/P&gt;Better use NEW NEW syntax &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;PRE&gt;&lt;CODE&gt;t_tvarv_vkorg = VALUE #( name = 'VKORG' sign = 'I' opti = 'EQ' ( low = '0100' ) ( low = '0101' ) ).&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625599#M2012999</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-10-21T12:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625600#M2013000</link>
      <description>&lt;P&gt;Nice one  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; !&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:18:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625600#M2013000</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-10-21T12:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Checking an entry from an internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625601#M2013001</link>
      <description>&lt;P&gt;How is defined the table parameter (old school...) &lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-an-entry-from-an-internal-table/m-p/12625601#M2013001</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2022-10-21T12:40:32Z</dc:date>
    </item>
  </channel>
</rss>

