<?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>Question Re: Lock Business Partner for use while Create/Change using Workflow in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443085#M64435</link>
    <description>&lt;P&gt;Hello Rob,&lt;/P&gt;
  &lt;P&gt;I am talking about below lock in BP transaction.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/60371-untitled.png" /&gt;&lt;/P&gt;
  &lt;P&gt;If i am putting a central block, then system is not allowing it to use in transactions.&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Manoj&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 11:04:08 GMT</pubDate>
    <dc:creator>MKM</dc:creator>
    <dc:date>2017-07-28T11:04:08Z</dc:date>
    <item>
      <title>Lock Business Partner for use while Create/Change using Workflow</title>
      <link>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaq-p/443083</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;I have a requirement to lock Business Partner (BP) for use during any change in CounterParty role. It should go for a 2 level Workflow approval.&lt;/P&gt;
  &lt;P&gt;I have created a custom workflow using BUS1006 -&amp;gt; Change method.&lt;/P&gt;
  &lt;P&gt;But i am not able to understand, there is also a standard workflow WS20000263 for action TRLOAPPROV getting triggered. Is it possible to block it using this standard worklfow.&lt;/P&gt;
  &lt;P&gt;If not, then how to lock the BP using my custom workflow ? which FM/BAPI to be used to Set/Reset Central Lock flag in status tab of BP ? Will it lock BP for use only by setting this flag ?&lt;/P&gt;
  &lt;P&gt;Thanks in advance,&lt;/P&gt;
  &lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 03:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaq-p/443083</guid>
      <dc:creator>MKM</dc:creator>
      <dc:date>2017-07-24T03:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lock Business Partner for use while Create/Change using Workflow</title>
      <link>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443084#M64434</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;There is BUPA_ENQUEUE and DEQUEUE function modules for locking business partners. You can do a where-used on these function modules to find out if they are used in methods and if so check table HRS1201 to see if standard tasks exist for these methods,&lt;/P&gt;
  &lt;P&gt;If not then you have to create your own method and task and use it in your workflow model.&lt;/P&gt;
  &lt;P&gt;Kind regards, Rob Dielemans&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443084#M64434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-28T09:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Lock Business Partner for use while Create/Change using Workflow</title>
      <link>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443085#M64435</link>
      <description>&lt;P&gt;Hello Rob,&lt;/P&gt;
  &lt;P&gt;I am talking about below lock in BP transaction.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/60371-untitled.png" /&gt;&lt;/P&gt;
  &lt;P&gt;If i am putting a central block, then system is not allowing it to use in transactions.&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 11:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443085#M64435</guid>
      <dc:creator>MKM</dc:creator>
      <dc:date>2017-07-28T11:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lock Business Partner for use while Create/Change using Workflow</title>
      <link>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443086#M64436</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;For central block, it is stored in table BUT000-XBLCK. If it is supplier replicated from backend system, you have to block it in ECC side and then synchronize it (wiki &lt;A href="https://wiki.scn.sap.com/wiki/x/-wQsG"&gt;https://wiki.scn.sap.com/wiki/x/-wQsG&lt;/A&gt;).&lt;/P&gt;
  &lt;P&gt;If it is a local BP, you may tick it directly in trx BP. I didn't hear about any standard workflow which could automatically block BP. This has to be achieved via custom program.&lt;/P&gt;
  &lt;P&gt;BR,&lt;BR /&gt;Ivy&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 03:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443086#M64436</guid>
      <dc:creator>ivy_li</dc:creator>
      <dc:date>2017-08-02T03:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Lock Business Partner for use while Create/Change using Workflow</title>
      <link>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443087#M64437</link>
      <description>&lt;P&gt;Hello Ivy,&lt;/P&gt;
  &lt;P&gt;Thanks for your comment.&lt;/P&gt;
  &lt;P&gt;I am doing it using BAPI_BUPA_CENTRAL_CHANGE in my custom workflow for BUS1006.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;lwa_centraldata-centralblock   = abap_true.
lwa_centraldata_x-centralblock = abap_true.

CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
    EXPORTING
      businesspartner = lv_businesspartner
      centraldata     = lwa_centraldata
      centraldata_x   = lwa_centraldata_x
    TABLES
      return          = lt_return.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443087#M64437</guid>
      <dc:creator>MKM</dc:creator>
      <dc:date>2017-08-03T14:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Lock Business Partner for use while Create/Change using Workflow</title>
      <link>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443088#M64438</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;I am trying to do it using BAPI_BUPA_CENTRAL_CHANGE in my custom workflow for BUS1006.&lt;/P&gt;
  &lt;P&gt;But stuck at below point.&lt;/P&gt;
  &lt;P&gt;We have to restrict our workflow for BP General and Counterparty Role specific field value changes only.&lt;/P&gt;
  &lt;P&gt;Is their any FM/BAPI which can tell us, what last changes happened to a BP ?&lt;/P&gt;
  &lt;P&gt;Also require a lock type which won't block already triggered transactions ( Ex. BANK account). It will only block new transactions after locking the BP.&lt;/P&gt;
  &lt;P&gt;Thanks in advance,&lt;/P&gt;
  &lt;P&gt;Manoj Mohanty&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 10:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/lock-business-partner-for-use-while-create-change-using-workflow/qaa-p/443088#M64438</guid>
      <dc:creator>MKM</dc:creator>
      <dc:date>2017-08-24T10:34:41Z</dc:date>
    </item>
  </channel>
</rss>

