<?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: SD_SALESDOCUMENT_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173474#M997702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it will Have the value after creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In General Item Partners are equal to Header partners.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt; PARTN_ROLE = 'WE'.&lt;/P&gt;&lt;P&gt;PARTN_NUMB = '1224452'.&lt;/P&gt;&lt;P&gt;ITM_NUMBER = '000000'.  "For header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Item you have to pass the item number &lt;/P&gt;&lt;P&gt;ITM_NUMBER = '000010'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2008 14:35:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-22T14:35:20Z</dc:date>
    <item>
      <title>SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173471#M997699</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;I'm using BAPI SD_SALESDOCUMENT_CREATE &amp;amp; I wanted to update the  Ship to party field in item 10(Shipping tab). My problem is I can't find any ship to party parameter in the BAPI. Thank you for your help &amp;amp; time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:15:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173471#M997699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T14:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173472#M997700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;"SALES_PARTNERS STRUCTURE  BAPIPARNR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a parameter called SALES_PARTNERS here you need to pass the information.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Partner functuon and Partner number.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if your requirement is To Change or Update then why are you using the Function SD_SALESDOCUMENT_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to use the Change Function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of Create Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173472#M997700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T14:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173473#M997701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, my requirement is to create. So if I pass partner parameter in the BAPI, the ship to party in item 10 (shipping tab) will have a value. Is that correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173473#M997701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T14:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173474#M997702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it will Have the value after creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In General Item Partners are equal to Header partners.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt; PARTN_ROLE = 'WE'.&lt;/P&gt;&lt;P&gt;PARTN_NUMB = '1224452'.&lt;/P&gt;&lt;P&gt;ITM_NUMBER = '000000'.  "For header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Item you have to pass the item number &lt;/P&gt;&lt;P&gt;ITM_NUMBER = '000010'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173474#M997702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173475#M997703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I'll try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173475#M997703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T14:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173476#M997704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are creating the Sales Order then use the BAPI&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173476#M997704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173477#M997705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't I use SD_SALESDOCUMENT_CREATE? What is the difference?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173477#M997705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T14:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173478#M997706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no difference actually. The Function which you are using is inturn called inside the BAPI which i mentioned.So don't confuse, and proceed with your approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use the Transaction commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call the BAPI_TRANSACTION_COMMIT after the success of the BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 14:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173478#M997706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T14:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173479#M997707</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;How can I update the reference document number field in VBAK-VGBEL &amp;amp; VBAP-VGBEL using SD_SALESDOCUMENT_CREATE? Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 21:30:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173479#M997707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T21:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173480#M997708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sold to party is SP&lt;/P&gt;&lt;P&gt;Ship to party is WE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*set up sold to party&lt;/P&gt;&lt;P&gt;  x_order_partners-partn_role = 'SP'.          "      Partner function&lt;/P&gt;&lt;P&gt;  x_order_partners-partn_numb = x_draw-kunnr. "      Customer Number 1&lt;/P&gt;&lt;P&gt;  APPEND x_order_partners TO it_order_partners.&lt;/P&gt;&lt;P&gt;  CLEAR x_order_partners.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;routine to determine ship to party&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT  single KUNN2 into x_order_partners-partn_numb FROM  knvp&lt;/P&gt;&lt;P&gt;       WHERE  kunnr  = x_draw-kunnr&lt;/P&gt;&lt;P&gt;       AND    vkorg  = x_draw-vkorg&lt;/P&gt;&lt;P&gt;       AND    vtweg  = c_00   "	Distribution Channel	&lt;/P&gt;&lt;P&gt;       AND    spart  = c_00&lt;/P&gt;&lt;P&gt;       AND    parvw  = 'WE'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      AND    parza  = ___.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  x_order_partners-partn_role = 'WE'.          "      Partner function&lt;/P&gt;&lt;P&gt;  APPEND x_order_partners TO it_order_partners.&lt;/P&gt;&lt;P&gt;  CLEAR x_order_partners.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then when calling your function module&lt;/P&gt;&lt;P&gt;set the following table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order_partners                = it_order_partners&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 22:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173480#M997708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T22:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: SD_SALESDOCUMENT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173481#M997709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the structure BAPISDHD1 or SALES_HEADER_IN (Communication Fields: Sales and Distribution Document Header) has field REF_DOC for the header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the structure BAPISDITM or SALES_ITEMS_IN (Communication Fields: Sales and Distribution Document Item) has field ref_doc for the items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure you also check the appropriate fields in the structures bapisdhd1x and bapisditmx to tell the function module which fields to update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 22:16:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create/m-p/4173481#M997709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T22:16:03Z</dc:date>
    </item>
  </channel>
</rss>

