<?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 with multiple references in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135432#M1905727</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;on an item base everything works fine, there we have the doc flow line by line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on a Header base we dont see more than one quote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My quesion is, what do we have to do that it Shows the doc flow as you can see in my attached file above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 13:24:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-06-19T13:24:20Z</dc:date>
    <item>
      <title>SD_Salesdocument_create with multiple references</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135430#M1905725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;we are using Function module SD_Salesdocument_create to create orders from our webshop in the ERP System.&lt;/P&gt;&lt;P&gt;The creation works fine.&lt;/P&gt;&lt;P&gt;Now we have the issue, that we have multiple Quotations in the webshop which can be in one order.&lt;/P&gt;&lt;P&gt;When we are crating the reference to the Quote at the line items everything works fine and each line item has its own ref doc.&lt;/P&gt;&lt;P&gt;But on doc header we are not able to have more than one Quote as a reference in the document flow.&lt;/P&gt;&lt;P&gt;My question is now, what do we have to do that each ref doc also apears in the header doc flow.&lt;/P&gt;&lt;P&gt;On a Standard Order there you also can have multiple quotes.&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 12:37:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135430#M1905725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-19T12:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: SD_Salesdocument_create with multiple references</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135431#M1905726</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;If I understand correct You can pass the&amp;nbsp; ref doc in the item table for your BAPI as below. :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gs_order_items_in&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ref_doc&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_head&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;vbeln&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gs_order_items_in&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ref_doc_it &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_head&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;posnr&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gs_order_items_in&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ref_doc_ca &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'B'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Hope this helps.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 12:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135431#M1905726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-19T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: SD_Salesdocument_create with multiple references</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135432#M1905727</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;on an item base everything works fine, there we have the doc flow line by line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on a Header base we dont see more than one quote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My quesion is, what do we have to do that it Shows the doc flow as you can see in my attached file above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 13:24:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135432#M1905727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-19T13:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: SD_Salesdocument_create with multiple references</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135433#M1905728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly, thats how SAP will show document flow, if there are multiple references. It is not incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no other way to show multiple header references in a tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 15:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135433#M1905728</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-06-19T15:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: SD_Salesdocument_create with multiple references</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135434#M1905729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it depends, when you are creating an order with VA01 you can reference multiple Quotes and you see this multiple Quotes in Header and the respective one Quote at item level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the Header reference did not work with this function module and my question is do anybody have an idea why the Header reference is not multiple when I'm using the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do I need to do something else to have the single doc reference on item base and the multipe doc reference at Header Level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Dirk&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 11:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135434#M1905729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-22T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: SD_Salesdocument_create with multiple references</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135435#M1905730</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;Did you change your code and tried the code given by me earlier. The above code is working fine for me and I get the Document flow as your screen shot. Though my code takes the reference of Invoice document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just run VA03, enter your document no and check the document flow outside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/730267" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/730274" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 12:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135435#M1905730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-22T12:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: SD_Salesdocument_create with multiple references</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135436#M1905731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PERFECT Works &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1291/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your Support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 10:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-salesdocument-create-with-multiple-references/m-p/11135436#M1905731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-03T10:06:15Z</dc:date>
    </item>
  </channel>
</rss>

