<?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 Function module entries against Z table entries. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181135#M1199383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one internal with the following values &lt;/P&gt;&lt;P&gt;l_client = SY-MANDT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have function importin i am passing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;123 800&lt;/P&gt;&lt;P&gt;this internal table is client independent table.&lt;/P&gt;&lt;P&gt;value client&lt;/P&gt;&lt;P&gt;123   800&lt;/P&gt;&lt;P&gt;345   810&lt;/P&gt;&lt;P&gt;567   800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing loop at itab into wa where client = l_client.&lt;/P&gt;&lt;P&gt;                I am checking this values againse function modules paarmers.&lt;/P&gt;&lt;P&gt;                 For first loop the values are correct.&lt;/P&gt;&lt;P&gt;                but for second the values is coming wrong and raises the exceptiiom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;How can i solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can aynbody please let m know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2009 15:10:03 GMT</pubDate>
    <dc:creator>tarangini_katta</dc:creator>
    <dc:date>2009-02-10T15:10:03Z</dc:date>
    <item>
      <title>Function module entries against Z table entries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181135#M1199383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one internal with the following values &lt;/P&gt;&lt;P&gt;l_client = SY-MANDT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have function importin i am passing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;123 800&lt;/P&gt;&lt;P&gt;this internal table is client independent table.&lt;/P&gt;&lt;P&gt;value client&lt;/P&gt;&lt;P&gt;123   800&lt;/P&gt;&lt;P&gt;345   810&lt;/P&gt;&lt;P&gt;567   800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing loop at itab into wa where client = l_client.&lt;/P&gt;&lt;P&gt;                I am checking this values againse function modules paarmers.&lt;/P&gt;&lt;P&gt;                 For first loop the values are correct.&lt;/P&gt;&lt;P&gt;                but for second the values is coming wrong and raises the exceptiiom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;How can i solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can aynbody please let m know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 15:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181135#M1199383</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-02-10T15:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function module entries against Z table entries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181136#M1199384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Tried other way around but it is working for me.please help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 15:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181136#M1199384</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-02-10T15:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function module entries against Z table entries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181137#M1199385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u please provide some more details on the query ? not able to understand the problem .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 15:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181137#M1199385</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2009-02-10T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Function module entries against Z table entries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181138#M1199386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't drink and code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 16:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181138#M1199386</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-02-10T16:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Function module entries against Z table entries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181139#M1199387</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 have function module with 2 import parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) value&lt;/P&gt;&lt;P&gt;2) client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am geeting the data from the ztable which contians the fields value client description.This ztable is an client independent table.so i maintained all client entries with in this table only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like 123  800&lt;/P&gt;&lt;P&gt;      457  810&lt;/P&gt;&lt;P&gt;      678  800&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No i want to check the value with FM parametrs values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa where value = FMParameter-value.&lt;/P&gt;&lt;P&gt;IF FMParameter-value NE wa-value.&lt;/P&gt;&lt;P&gt;raise exception&lt;/P&gt;&lt;P&gt;endif.&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;Now the problem is if i entered the smae value through cient 810 it sgould not accept the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pleas tell  me how to do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 16:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181139#M1199387</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-02-10T16:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function module entries against Z table entries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181140#M1199388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;assumptions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_VALUE &lt;/P&gt;&lt;P&gt;I_CLIENT   Importing parameters of the FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TB_TABLE Internal table with three fields VALUE, CLIENT, DESCR&lt;/P&gt;&lt;P&gt;WA_AREA is a work area &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can do this for the check....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  clear wa_area.
  read table tb_table into wa_area with key VALUE = I_VALUE 
                                                              CLIENT = I_CLIENT.
  if sy-subrc ne 0.
  
       raise exception. "This will be raised if there is no entry in the table with provided FM parameters
 
  endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 17:20:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-entries-against-z-table-entries/m-p/5181140#M1199388</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2009-02-10T17:20:45Z</dc:date>
    </item>
  </channel>
</rss>

