<?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: Locking a BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-bapi/m-p/3263894#M779912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u George.. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2008 13:27:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-03T13:27:17Z</dc:date>
    <item>
      <title>Locking a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-bapi/m-p/3263892#M779910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  I have a reqirment in which a RFC enabled BAPI and this BAPI has to be called or executed only during the period of first week of every month. Do we have any option to lock the BAPI so that it can be locked in the rest of the period or please tell me any other option to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded for answers &amp;amp; suggestions...&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sarath.C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 12:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-bapi/m-p/3263892#M779910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T12:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Locking a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-bapi/m-p/3263893#M779911</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;You cannot lock the BAPI itself. What you can do though is write some code in the program that calls the BAPI in order to check if the period is valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wl_day type i.&lt;/P&gt;&lt;P&gt;wl_day = sy-datum+6(2).   "get current day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if wl_day &amp;lt;= 7.   "check the calendar week that is within the first 7 calendar days&lt;/P&gt;&lt;P&gt;   "CALL THE BAPI HERE&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;   exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 12:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-bapi/m-p/3263893#M779911</guid>
      <dc:creator>George_Lioumis</dc:creator>
      <dc:date>2008-01-03T12:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Locking a BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-bapi/m-p/3263894#M779912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u George.. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 13:27:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-a-bapi/m-p/3263894#M779912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T13:27:17Z</dc:date>
    </item>
  </channel>
</rss>

