<?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: Replace and create customer partner function with LSMW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653951#M28169</link>
    <description>&lt;P&gt;it's a long process with mass because i have 27 Divisions and 60 EM partner number.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Claudiu&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2018 16:01:21 GMT</pubDate>
    <dc:creator>former_member557790</dc:creator>
    <dc:date>2018-02-16T16:01:21Z</dc:date>
    <item>
      <title>Replace and create customer partner function with LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653948#M28166</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;
  &lt;P&gt;can you please help me with the following problem?&lt;/P&gt;
  &lt;P&gt;i have to update 10k customers partner function on different divisions. i must change from SR partner function to EM that i received. From what I've checked every customer have already 4 or 5 partner function present:&lt;/P&gt;
  &lt;P&gt; - some of the clients have already the EM partner (on the second or third line )and it must be changed with the new one.&lt;/P&gt;
  &lt;P&gt;-Some of them have SR(on the third or fourth line ). The SR partner must be deleted and insert the EM partner.&lt;/P&gt;
  &lt;P&gt;- And other clients that don't have neither SR or EM, and i must add the EM partner.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/116331-capture.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;Is there any ABAP statement or something else that i can use to make this done?&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Claudiu &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653948#M28166</guid>
      <dc:creator>former_member557790</dc:creator>
      <dc:date>2018-02-16T14:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Replace and create customer partner function with LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653949#M28167</link>
      <description>&lt;P&gt;Have you tried via MASS ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 15:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653949#M28167</guid>
      <dc:creator>Lakshmipathi</dc:creator>
      <dc:date>2018-02-16T15:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replace and create customer partner function with LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653950#M28168</link>
      <description>&lt;P&gt;Not easy but possible using LSMW with DEBMAS Idoc as import method.&lt;/P&gt;
  &lt;P&gt;In general needs your source file just the the customer number with sales org, distr.channel and division &lt;/P&gt;
  &lt;P&gt;You need to know that you always have to submit&lt;STRONG&gt; all roles&lt;/STRONG&gt; that you want to have in your customer master at the end.&lt;/P&gt;
  &lt;P&gt;In the field mapping at E1KNVPM segment you add your ABAP coding at the transfer record statement to read the data from KNVP table based on the keys given in your source file and move it corresponding to the target fields. With a if-statement you just check directly what partner role you are currently processing and based on the result you exchange the role in the target field. After this your do the TRANSFER_RECORD and continue with the next record from your read of KNVP and do the same until you are done for this customer and sales area&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 16:00:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653950#M28168</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2018-02-16T16:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Replace and create customer partner function with LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653951#M28169</link>
      <description>&lt;P&gt;it's a long process with mass because i have 27 Divisions and 60 EM partner number.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Claudiu&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 16:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653951#M28169</guid>
      <dc:creator>former_member557790</dc:creator>
      <dc:date>2018-02-16T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replace and create customer partner function with LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653952#M28170</link>
      <description>&lt;P&gt;I’m not that good with the coding part, if you can help me with some indication on how to do that?&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Claudiu&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2018 07:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653952#M28170</guid>
      <dc:creator>former_member557790</dc:creator>
      <dc:date>2018-02-17T07:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Replace and create customer partner function with LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653953#M28171</link>
      <description>&lt;P&gt;Have a look into my blog &lt;A href="https://blogs.sap.com/2012/12/27/lsmw-material-master-by-bapi-method-part-2/" target="test_blank"&gt;https://blogs.sap.com/2012/12/27/lsmw-material-master-by-bapi-method-part-2/&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;which explains the structure of LSMW and has a some coding examples for a simple requirement.&lt;/P&gt;
  &lt;P&gt;I can also give you this screenshot from customer master partner role where I create several roles (with the same partner) just based on a single information from the source file:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/117254-parv.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2018 11:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-and-create-customer-partner-function-with-lsmw/m-p/653953#M28171</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2018-02-17T11:22:42Z</dc:date>
    </item>
  </channel>
</rss>

