<?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: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589627#M1939324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; The email address is to be added directly to the sales order only during the create using the bapi....if that is what you meant by "one-time" address entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_PARTNERS-ADDR_ORIG = 'B'&lt;/P&gt;&lt;P&gt;ORDER_PARTNERS-ADDR_LINK&amp;nbsp; = ??? -&amp;gt; Are you saying that I can use any number here as long as I use the same in the other table parameter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARTNERADDRESSES-ADD_NO = same as ORDER_PARTNER-ADDR_LINK&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PARTNERADDRESSES-E_MAIL&amp;nbsp; = &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:'person001@email.com"&gt;'person001@email.com&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using number '0000000001' before and this did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2016 03:27:08 GMT</pubDate>
    <dc:creator>reyleene_hunt1</dc:creator>
    <dc:date>2016-07-28T03:27:08Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589620#M1939317</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;How I have not found any documentation that tells how to do what I am about to ask you.&amp;nbsp; If there is any, please share with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In VA01 (Create Sales Order), there is a way to add more communication data to one or more of the partners, example, add email address to partner function Ship-to party. This is done manually in the Header -&amp;gt; Partners.&amp;nbsp; We can even add more than one email addresses by double-clicking on the partner function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is this done with BAPI_SALESORDER_CREATEFROMDAT2? If not thru this bapi, what does the job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 23:17:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589620#M1939317</guid>
      <dc:creator>reyleene_hunt1</dc:creator>
      <dc:date>2016-03-15T23:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589621#M1939318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The TABLES parameter PARTNERADDRESSES in bapi Function Module BAPI_SALESORDER_CREATEFROMDAT2 is the place to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For email addresses, use field &lt;SPAN style="font-size: 13.3333px;"&gt;PARTNERADDRESSES-E_MAIL. There are many other fields that can be set this way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you enter your Ship-To party in the TABLES parameter ORDER_PARTNERS, set field ADDR_LINK. Set field PARTNERADDRESSES-ADDR_NO to the same value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is documented in the Bapi viewing transactions SE80 for Function Group 2032 and in SE37 for the Bapi FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 23:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589621#M1939318</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2016-03-15T23:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589622#M1939319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would the ADDR_LINK for the Ship-to be the KNAI-ADRNR ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 00:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589622#M1939319</guid>
      <dc:creator>reyleene_hunt1</dc:creator>
      <dc:date>2016-03-16T00:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589623#M1939320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a customer based partner like a Ship-To, yes. There are four types of partner relationship keys. See table VBPA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 01:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589623#M1939320</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2016-03-16T01:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589624#M1939321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The email address that needs to be added is sales order based only.&amp;nbsp; We are not changing the customer master for the Ship-to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 01:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589624#M1939321</guid>
      <dc:creator>reyleene_hunt1</dc:creator>
      <dc:date>2016-03-16T01:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589625#M1939322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&amp;nbsp; The challenge I am having with is the address number link for the Buyer partner (EK).&amp;nbsp; It does not have a KUNNR in VBPA, but it has a PARNR and the ADRNP does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you know how to make this work correctly for partner EK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 21:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589625#M1939322</guid>
      <dc:creator>reyleene_hunt1</dc:creator>
      <dc:date>2016-07-27T21:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589626#M1939323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huntr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is a one-time address entry type of thing then I think you can do automatic numbering as long as you fill the same value in the EK partner of the partners table.&amp;nbsp; What the system does is uses that key to link the two table entries and in that case it would only be linked to the order without any accompanying master data.&amp;nbsp; If you are unsure let me know and I will check a slightly different scenario where I have used that table for one-time shipping address information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 00:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589626#M1939323</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-07-28T00:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589627#M1939324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; The email address is to be added directly to the sales order only during the create using the bapi....if that is what you meant by "one-time" address entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_PARTNERS-ADDR_ORIG = 'B'&lt;/P&gt;&lt;P&gt;ORDER_PARTNERS-ADDR_LINK&amp;nbsp; = ??? -&amp;gt; Are you saying that I can use any number here as long as I use the same in the other table parameter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARTNERADDRESSES-ADD_NO = same as ORDER_PARTNER-ADDR_LINK&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PARTNERADDRESSES-E_MAIL&amp;nbsp; = &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:'person001@email.com"&gt;'person001@email.com&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using number '0000000001' before and this did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 03:27:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589627#M1939324</guid>
      <dc:creator>reyleene_hunt1</dc:creator>
      <dc:date>2016-07-28T03:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589628#M1939325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huntr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to conclude that the one-time address logic that I mentioned does work but the catch is that you have to provide enough address fields for it to be an actual physical address if it's based on a regular partner.&amp;nbsp; I provided name, street, city, zip, region and country along with email and it attached that to a partner on my order.&amp;nbsp; If you are looking for only an email address then you may want to look at the field 'ADDR_TYPE' of the BAPIPARNR structure and see if you can use '3' for contact person and supply only an email address.&amp;nbsp; You'd probably have to do some experimentation there as it's not well described on how to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 11:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589628#M1939325</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-07-28T11:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589629#M1939326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huntr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to test a bit further and these are my findings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would use the ADDR_LINK &amp;amp; ADDR_NO fields as the link between the two tables (&lt;EM&gt;doesn't have to be an existing value from master data&lt;/EM&gt;) and the ADDR_ORIG field is not required.&amp;nbsp; What you do need is the email value as well as a value for LANGU in the partner addresses table.&amp;nbsp; That actually makes sense because if you are going to communicate with someone electronically you would really need to know what language to use.&amp;nbsp; As long as those two fields are included it should create a one-time buyer address linked to the document - that worked in my test scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 12:48:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589629#M1939326</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-07-28T12:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 and additional partners</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589630#M1939327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used both of your recommendations and the test worked perfectly.&amp;nbsp; Once that was successful, it created the proper address link in VBPA and I was able to add multiple email addresses to the same sales order using the ADDR_*COMM* function modules and the VBPA address number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many many thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 19:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-and-additional-partners/m-p/11589630#M1939327</guid>
      <dc:creator>reyleene_hunt1</dc:creator>
      <dc:date>2016-07-28T19:54:05Z</dc:date>
    </item>
  </channel>
</rss>

