<?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: Function Module creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157102#M993840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sreekanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already data in 2 columns.&lt;/P&gt;&lt;P&gt;If I give input data with 1st column of the table&lt;/P&gt;&lt;P&gt;FM shud return 2nd column value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 13:53:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-23T13:53:26Z</dc:date>
    <item>
      <title>Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157096#M993834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table having two columns with 40 k records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a function module code in which i shud give the input of the 1st column and I shud get the corresponding value in the 2nd column from the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me how to do it.please...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157096#M993834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T13:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157097#M993835</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; it is better to use the report than the function module...for this it is easy to do in the report .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157097#M993835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T13:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157098#M993836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You check the Basics on Function  module here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db988735c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/db988735c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157098#M993836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T13:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157099#M993837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need function module for such requirement, you can simply use select statement into the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157099#M993837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T13:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157100#M993838</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;If you think the same purpose will be done at couple of places then go for a FM. Else you can write a subroutine in the program itself and get this JOB done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways for the FM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se37 - create a FM with the required name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the tables TAB of the FM - give the table of the structure you are looking for ....In your case since this is a table with only 2 fields you might have to create a structure of the same in SE11 and use this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO when you call the FM pass the table in the table Option of the same structure with values in column 1. Write the code in the source code of the FM to fill in column 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what u r excepting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157100#M993838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T13:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157101#M993839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also saod that Report is easy.&lt;/P&gt;&lt;P&gt;But they need a FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157101#M993839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T13:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157102#M993840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sreekanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already data in 2 columns.&lt;/P&gt;&lt;P&gt;If I give input data with 1st column of the table&lt;/P&gt;&lt;P&gt;FM shud return 2nd column value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157102#M993840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T13:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157103#M993841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this use the perform in the function module .....&lt;STRONG&gt;using and changing table&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157103#M993841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T13:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157104#M993842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am abit Confused, You say You have data in 2 columns and then you are wxcepting the FM to return Values in the second column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE11, Create a structure with only 2 fields.&lt;/P&gt;&lt;P&gt;Exactly the same way structure as you would like to pass to the function Module or like the internal table you would have with 2 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please create a FM in SE37 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GO to the Tables Tab. &lt;/P&gt;&lt;P&gt;give the parameter type ( The structure you have created)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the source code please loop at the table Parameter and then try to fill the second column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could handle this LOGIC as you wish for the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this FM when and as required but please pass the IT with values in the first column. once the FM is executed the IT will have data in both the columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 14:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157104#M993842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T14:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157105#M993843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table name is YRDM_ZZPROJ.&lt;/P&gt;&lt;P&gt;1st column field name is PSPID_ALT.&lt;/P&gt;&lt;P&gt;2nd Column fileld name is PSPID_NEU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please expalin me in detail &lt;/P&gt;&lt;P&gt;what shud i give in Import Export tables paramters.&lt;/P&gt;&lt;P&gt;and what shud i write in Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In brief..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I give the 1st column field data..i shud get the O/P data of 2nd column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 14:18:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-creation/m-p/4157105#M993843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T14:18:06Z</dc:date>
    </item>
  </channel>
</rss>

