<?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: RE: Bapi for locking service order. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566296#M1269877</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 tried that function module its not working. I provided the code also. Please check the code and correct it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regars,&lt;/P&gt;&lt;P&gt;sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2009 03:57:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-06T03:57:48Z</dc:date>
    <item>
      <title>RE: Bapi for locking service order.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566294#M1269875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest me the bapi or function module to lock a service order.&lt;/P&gt;&lt;P&gt;I tried the  function module VPKPMSM_LOCK_SERVICE_ORDER .&lt;/P&gt;&lt;P&gt;I have passed the service order number .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below code.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VPKPMSM_LOCK_SERVICE_ORDER'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_aufnr                         = '000004000286'&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   INPUT_ERROR             = 1&lt;/P&gt;&lt;P&gt;   LOCKING_FAILED        = 2&lt;/P&gt;&lt;P&gt;   OTHERS                      = 3&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;write: 'locked'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 10:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566294#M1269875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T10:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Bapi for locking service order.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566295#M1269876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1131237"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 19:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566295#M1269876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T19:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Bapi for locking service order.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566296#M1269877</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 tried that function module its not working. I provided the code also. Please check the code and correct it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regars,&lt;/P&gt;&lt;P&gt;sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 03:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566296#M1269877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T03:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Bapi for locking service order.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566297#M1269878</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;The function module 'VPKPMSM_LOCK_SERVICE_ORDER' locks the service order only while the run time. I need the function module which locks the service order permanantly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 13:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-bapi-for-locking-service-order/m-p/5566297#M1269878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T13:44:17Z</dc:date>
    </item>
  </channel>
</rss>

