<?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 creating function module with line types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232500#M1010671</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 want to make a function example with the line types and structure as till i am able to make FM with variables only. can anybody provide me good examples of it as i am not able to find it.................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2008 04:32:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-31T04:32:18Z</dc:date>
    <item>
      <title>creating function module with line types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232500#M1010671</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 want to make a function example with the line types and structure as till i am able to make FM with variables only. can anybody provide me good examples of it as i am not able to find it.................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 04:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232500#M1010671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T04:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: creating function module with line types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232501#M1010672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;importing parameters:
 
carrid           type           sflight-carid
connid         type           sflight-connid
fldate           type          sflight-fldate


exporting parameters:

seatsocc       type             sflight-seatcsocc

code

select single seatsocc
from sflight
into seatcsocc
where carrid eq carrid and
          connid eq connid and
         fldate eq fldate.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 04:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232501#M1010672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T04:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: creating function module with line types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232502#M1010673</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;thanks for your response but can i have some documentation on it as how these steps had occurred?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 04:37:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232502#M1010673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T04:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: creating function module with line types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232503#M1010674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; i want to make a function example with the line types and structure as till i am able to make FM with variables only. can anybody provide me good examples of it as i am not able to find it.................&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;importing parameters:

CARRID   TYPE SFLIGHT-CARRID
 
 
exporting parameters:
 
SFLIGHTAB  TYPE SFLIGHT_TAB1 &amp;lt;--- table typle
 
code
 
select *
from sflight
into table sflighttab
where carrid eq carrid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 04:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232503#M1010674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T04:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: creating function module with line types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232504#M1010675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IN OO context you have to use only TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of the things can be done using the importing and exporting parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose you take when user enters/input CARRID , then it should return the table.&lt;/P&gt;&lt;P&gt;(if you want to refer the structure you can directly use the structure name &lt;/P&gt;&lt;P&gt;  SFLIGHT   TYPE SFLIGHT&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;so identify the table type for SFLIGHT , it is SFLIGHT_TAB1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use it in exporting parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now select the data to that table with the input parameter in where condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 04:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-function-module-with-line-types/m-p/4232504#M1010675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T04:42:59Z</dc:date>
    </item>
  </channel>
</rss>

