<?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: New BAPI error: You cannot use the statement &amp;quot;FUNCTION&amp;quot; in the current environment. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147645#M1710064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wow Priyanka, you done it...&lt;/P&gt;&lt;P&gt;remember dont go to bor until u clear it here, why to make it a mess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, great working with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be Blessed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards&lt;/P&gt;&lt;P&gt;Satish Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2012 05:33:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-16T05:33:27Z</dc:date>
    <item>
      <title>New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147630#M1710049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;I am creating Customized BAPI, following the steps, structure, then followed by ZBAPI FM, Even BOR steps cleared but am ending with an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border: 0px; font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;TBODY style="font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;Function Module ZBAPI_DEMOSD&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE style="border: 0px; font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;TBODY style="font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;You cannot use the statement "FUNCTION" in the current environment.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE style="border: 0px; font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;TBODY style="font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;However, you could use the similar statement "FUNCTION-POOL".&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Can anyone please tell me , what mistake have I done?&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;please reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 02:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147630#M1710049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T02:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147631#M1710050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priyanka, i am working on custom bapis, i could help you... could you give what/ how you did coplete your bapi and what point you getting that error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satish chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 03:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147631#M1710050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T03:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147632#M1710051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;Initially I had created a ZBAPI structure then in SE37&amp;nbsp; I had created ZBAPI FM with RFC enabled , then import one parameter and export return , here when I try to activate my FM&amp;nbsp; end with these below errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border: 0px; font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;TBODY style="font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;You cannot use the statement "FUNCTION" in the current environment.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE style="border: 0px; font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;TBODY style="font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;However, you could use the similar statement "FUNCTION-POOL".&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147632#M1710051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T04:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147633#M1710052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just check this,&lt;/P&gt;&lt;P&gt;1. created a function group.&lt;/P&gt;&lt;P&gt;2. created all the relevant structures in se11 (name of structures should start with bapixxxx in your case zbapixxx)&lt;/P&gt;&lt;P&gt;3. create a fm in se37 make it rfc enable by selecting a radio button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;done. you should not have any problem here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. if you are getting error here how u completed bor procedure....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147633#M1710052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T04:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147634#M1710053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no issues,&lt;/P&gt;&lt;P&gt;Priyanka go se 37, open your bapi in change mode.&lt;/P&gt;&lt;P&gt;ATTRIBUTES -&amp;gt; PROGRAM NAME (Click here) -&amp;gt; un-coment on include which ends with 'TOP'.&lt;/P&gt;&lt;P&gt; this would solve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Satish Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147634#M1710053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T04:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147635#M1710054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had done all the 3 above steps as&amp;nbsp; you have mentioned. Since I was trying for several times , so I jst activated with errors and started with BOR procedure but then after all steps it did not execute instead landed with Run-time error .(becuz of Same prev error)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147635#M1710054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T04:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147636#M1710055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have done that also but now I can see one more error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;REPORT/PROGRAM statement missing, or program type is INCLUDE.&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:30:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147636#M1710055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T04:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147637#M1710056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you just uncommented the first include, click on inthe same include, see the statement &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;'FUNCTION-POOL xxxxxxxxx. "MESSAGE-ID ..' un comment it. if it is commented. activate it.&lt;/P&gt;&lt;P&gt;no-errors.&lt;/P&gt;&lt;P&gt;activate function group . no-errors.&lt;/P&gt;&lt;P&gt;activate the fm .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;regrads&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Satish Chandra&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147637#M1710056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T04:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147638#M1710057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did the same way as&amp;nbsp; you said ; &lt;/P&gt;&lt;P&gt;Inside that first include also &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;'FUNCTION-POOL xxxxxxxxx. "MESSAGE-ID ..'&lt;/SPAN&gt; is un-comment but still m facing the same error. &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1050/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE style="border: 0px; font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;TBODY style="font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;REPORT/PROGRAM statement missing, or program type is INCLUDE.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;when I am activating that include.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147638#M1710057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T04:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147639#M1710058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/156588" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 04:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147639#M1710058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T04:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147640#M1710059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmmmmm.... click on that error, see where it is taking us..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 05:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147640#M1710059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T05:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147641#M1710060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It take to the main screen; where two FM are present.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/156589" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 05:13:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147641#M1710060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T05:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147642#M1710061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;activate here, at activation screen select &lt;STRONG&gt;both&lt;/STRONG&gt; function group and top include and activate. if error comes again click on &lt;STRONG&gt;activate anyway. &lt;/STRONG&gt;It gets activated, go to source code do the syntax check. if no errors activate again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 05:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147642#M1710061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T05:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147643#M1710062</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this link. Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/3923319"&gt;http://scn.sap.com/message/3923319&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umar Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 05:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147643#M1710062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T05:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147644#M1710063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanks a lottttttttttttttt.. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1050/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1050/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 05:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147644#M1710063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T05:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147645#M1710064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wow Priyanka, you done it...&lt;/P&gt;&lt;P&gt;remember dont go to bor until u clear it here, why to make it a mess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, great working with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be Blessed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards&lt;/P&gt;&lt;P&gt;Satish Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 05:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147645#M1710064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T05:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147646#M1710065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya sure.. same here.. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1050/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 05:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147646#M1710065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T05:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: New BAPI error: You cannot use the statement "FUNCTION" in the current environment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147647#M1710066</link>
      <description>&lt;P&gt;First activate TOP include.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 05:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-bapi-error-you-cannot-use-the-statement-quot-function-quot-in-the/m-p/9147647#M1710066</guid>
      <dc:creator>hasanbacioglu</dc:creator>
      <dc:date>2023-06-21T05:30:21Z</dc:date>
    </item>
  </channel>
</rss>

