<?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: Adding new data segment dynamically in ORDERS05 (Inbound) for sales order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-data-segment-dynamically-in-orders05-inbound-for-sales-order/m-p/3749270#M902072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jelena for your response. But in this scenario business require changing the IDOC after creation but before processing because IDOC is coming from outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to change IDOC before creating in SAP? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general is it advisable to change IDOC at runtime (While processing) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2008 06:53:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-25T06:53:44Z</dc:date>
    <item>
      <title>Adding new data segment dynamically in ORDERS05 (Inbound) for sales order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-data-segment-dynamically-in-orders05-inbound-for-sales-order/m-p/3749268#M902070</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 need to update existing sales order though inbound idoc. First I need to compare IDOC with sales order, if sales order has 3 line items but IDOC have 2 line items. In that case I have to delete third line item from sales order. For that I m thinking is, at the time of IDOC processing; add new data segment for this line item with action &amp;#147;003&amp;#148;. So that it will delete that. But I don&amp;#146;t know how to add segment dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using basic order type &amp;#147;ORDERS05&amp;#148; with message type &amp;#147;ORDCHG&amp;#148; and the FM which will process this IDOC is &amp;#147;IDOC_INPUT_ORDCHG&amp;#148;. Please suggest me how to achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 12:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-data-segment-dynamically-in-orders05-inbound-for-sales-order/m-p/3749268#M902070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T12:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new data segment dynamically in ORDERS05 (Inbound) for sales order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-data-segment-dynamically-in-orders05-inbound-for-sales-order/m-p/3749269#M902071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Technically you shouldn't have to do any of this. The IDoc must have the correct information in it - there is an 'action' qualifier for each line item and it must say whether the line has to be deleted, changed or added. All the determination should be done before the IDoc creation IMHO...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 20:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-data-segment-dynamically-in-orders05-inbound-for-sales-order/m-p/3749269#M902071</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2008-04-24T20:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new data segment dynamically in ORDERS05 (Inbound) for sales order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-data-segment-dynamically-in-orders05-inbound-for-sales-order/m-p/3749270#M902072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jelena for your response. But in this scenario business require changing the IDOC after creation but before processing because IDOC is coming from outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to change IDOC before creating in SAP? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general is it advisable to change IDOC at runtime (While processing) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 06:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-new-data-segment-dynamically-in-orders05-inbound-for-sales-order/m-p/3749270#M902072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T06:53:44Z</dc:date>
    </item>
  </channel>
</rss>

