<?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: Inserting EMail into Partners when using BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-email-into-partners-when-using-bapi-salesorder-createfromdat2/m-p/9813707#M1781677</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 checked this. Basically when you are filling up a PARTNERADDRESS its basically create a new partner address for that order. You follow the exact step as mentioned in &lt;A _jive_internal="true" href="https://answers.sap.com/message/3178498"&gt;http://scn.sap.com/message/3178498&lt;/A&gt; and then need to fill up the field PARTNERADDRESSES-COUNTRY (this is a mandatory field) and if the country value is not populated then new partner address will not be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that it will create a new partner address - so if you want to change the email only then you need to fill up the other details also (Name, Street , Region etc) otherwise these will be blank in your new address. So fill up the below details -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Ship-to&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_ORDER_PARTNERS-PARTN_ROLE&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'WE'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_ORDER_PARTNERS-PARTN_NUMB&amp;nbsp;&amp;nbsp;&amp;nbsp; = '0000241269'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_ORDER_PARTNERS-ADDR_LINK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = XXXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-ADDR_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = XXXXXXX&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-NAME.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-NAME_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-NAME2.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-STREET_LNG&amp;nbsp; = WA_CUSTOMER-STREET.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-CITY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-CITY.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-REGION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-STATE.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-POSTL_COD1&amp;nbsp; = WA_CUSTOMER-ZIPCODE.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-COUNTRY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-COUNTRY.&amp;nbsp; &lt;STRONG&gt;"This is mandatory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-TEL1_NUMBR&amp;nbsp; = WA_CUSTOMER-PHONE.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-E_MAIL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = YYYYYYYYYYYYYY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;STRONG&gt;New Email&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-LANGU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SY-LANGU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Oct 2013 22:02:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-10-18T22:02:40Z</dc:date>
    <item>
      <title>Inserting EMail into Partners when using BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-email-into-partners-when-using-bapi-salesorder-createfromdat2/m-p/9813706#M1781676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a document from 07 about using the Partneraddresses table to fill out the email to populate the Email address field but it isn't working as I thought it would and I'm confused on what I'm doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the link to the thread that I was referring to: &lt;A _jive_internal="true" href="https://answers.sap.com/message/3178498"&gt;http://scn.sap.com/message/3178498&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried what Shyla stated to do but when I do that there is nothing in the email field when I'm looking at the order and drill into the partner records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 17:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-email-into-partners-when-using-bapi-salesorder-createfromdat2/m-p/9813706#M1781676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-18T17:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting EMail into Partners when using BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-email-into-partners-when-using-bapi-salesorder-createfromdat2/m-p/9813707#M1781677</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 checked this. Basically when you are filling up a PARTNERADDRESS its basically create a new partner address for that order. You follow the exact step as mentioned in &lt;A _jive_internal="true" href="https://answers.sap.com/message/3178498"&gt;http://scn.sap.com/message/3178498&lt;/A&gt; and then need to fill up the field PARTNERADDRESSES-COUNTRY (this is a mandatory field) and if the country value is not populated then new partner address will not be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that it will create a new partner address - so if you want to change the email only then you need to fill up the other details also (Name, Street , Region etc) otherwise these will be blank in your new address. So fill up the below details -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Ship-to&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_ORDER_PARTNERS-PARTN_ROLE&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'WE'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_ORDER_PARTNERS-PARTN_NUMB&amp;nbsp;&amp;nbsp;&amp;nbsp; = '0000241269'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_ORDER_PARTNERS-ADDR_LINK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = XXXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-ADDR_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = XXXXXXX&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-NAME.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-NAME_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-NAME2.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-STREET_LNG&amp;nbsp; = WA_CUSTOMER-STREET.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-CITY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-CITY.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-REGION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-STATE.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-POSTL_COD1&amp;nbsp; = WA_CUSTOMER-ZIPCODE.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-COUNTRY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WA_CUSTOMER-COUNTRY.&amp;nbsp; &lt;STRONG&gt;"This is mandatory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-TEL1_NUMBR&amp;nbsp; = WA_CUSTOMER-PHONE.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-E_MAIL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = YYYYYYYYYYYYYY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;STRONG&gt;New Email&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I_PARTNERADDRESSES-LANGU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SY-LANGU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 22:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inserting-email-into-partners-when-using-bapi-salesorder-createfromdat2/m-p/9813707#M1781677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-18T22:02:40Z</dc:date>
    </item>
  </channel>
</rss>

