<?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: Create inline functions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795729#M1679602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I want to use it in every program not only in current program. Creating a form needs a return variable and writing a lot more code. I mean reading somthing like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If IsSalesOrder( vbak-vbeln) Or IsProtocol( vbak-vbeln)&lt;/P&gt;&lt;P&gt;'Execute some code&lt;/P&gt;&lt;P&gt;Endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reads a lot easier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2012 11:03:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-06-19T11:03:26Z</dc:date>
    <item>
      <title>Create inline functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795727#M1679600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ABAP, I am used to program in VB. Is it possible to create an inline function ourself just like Lines( ) or Condense( ).&lt;/P&gt;&lt;P&gt;For instance IsSalesOrder( vbak-vbeln ) or IsProtocol( vbak-vbeln ) ? It does read easier then refering to fieldnames which makes no sense of understanding lol. I know I can create a class with a method which I can call without creating an object like EF=&amp;gt;IsSalesOrder( vbak-vbeln ) but I want to get rid of the EF=&amp;gt; part, I want to expand the group of inline functions in ABAP. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 09:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795727#M1679600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-19T09:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create inline functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795728#M1679601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about routines ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform isSalesOrder using vbak-vbeln&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; changing success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define is_order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select ... where field = &amp;amp;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ...&lt;/P&gt;&lt;P&gt;&amp;amp;2 = 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is order vbak-vbeln success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this cover your requirement ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 10:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795728#M1679601</guid>
      <dc:creator>laurent_fournier2</dc:creator>
      <dc:date>2012-06-19T10:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create inline functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795729#M1679602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I want to use it in every program not only in current program. Creating a form needs a return variable and writing a lot more code. I mean reading somthing like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If IsSalesOrder( vbak-vbeln) Or IsProtocol( vbak-vbeln)&lt;/P&gt;&lt;P&gt;'Execute some code&lt;/P&gt;&lt;P&gt;Endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reads a lot easier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 11:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795729#M1679602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-19T11:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create inline functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795730#M1679603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand your needs but I don't have any other thing in mind to propose. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a common program with the required definitions and include it in any new program that you create. But this is a bit risky since if something happens to the include by mistake, all related programs will produce a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 11:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795730#M1679603</guid>
      <dc:creator>laurent_fournier2</dc:creator>
      <dc:date>2012-06-19T11:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create inline functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795731#M1679604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm. But where is the code located for the other inline functions like Lines( ), Condense( ), ToUpper( ), ToLower( ), BoolC( ) , ...&lt;/P&gt;&lt;P&gt;When I debug it doesnt show me the code behind these function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think if I include my own inline function in there it will be ok, no?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 11:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-inline-functions/m-p/8795731#M1679604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-19T11:32:32Z</dc:date>
    </item>
  </channel>
</rss>

