<?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: Adding selection criteria to the Function Module! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631400#M605066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a Wrapper FM aound the main FM with the additional selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dharitree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2007 06:04:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-06T06:04:09Z</dc:date>
    <item>
      <title>Adding selection criteria to the Function Module!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631398#M605064</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 am writing code for the Function module  which is to be used to extract R/3 data to BW!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i cud extract all the data from R/3 with the FM!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to have selections in the Function module so that when i run the FM , it should ask me the input vlaues for the specified fields!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want selection for LIFNR and for that i had used the following code!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;ranges: r_LIFNR_RKWA for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;loop at itab into e_t_data where fieldname = 'lifnr'  .                                               ( here e-t_data is the final table  in which data should exist )&lt;/P&gt;&lt;P&gt;move corresponding itab to e_t_data.&lt;/P&gt;&lt;P&gt;append r_lifnr_rkwa.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all i am not sure whether the code is correct . can you please anybody here give the correct code and suggest to enhance this code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is also giving me syntax error saying fieldname does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 05:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631398#M605064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T05:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding selection criteria to the Function Module!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631399#M605065</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 think u can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges: r_LIFNR_RKWA for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;move corresponding itab to e_t_data.&lt;/P&gt;&lt;P&gt;append e_t_data.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it helpful reward points...plz&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 06:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631399#M605065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T06:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding selection criteria to the Function Module!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631400#M605066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a Wrapper FM aound the main FM with the additional selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dharitree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 06:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631400#M605066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T06:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding selection criteria to the Function Module!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631401#M605067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dharitree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you pls elaborate your answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i really do not know ABAP much and never heard the term Wrapper FM that you were talking about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it would be better if you could paste here sample code for the vendor number: lifnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 06:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-selection-criteria-to-the-function-module/m-p/2631401#M605067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T06:19:01Z</dc:date>
    </item>
  </channel>
</rss>

