<?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 IDOC ABAP enhancements before processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-abap-enhancements-before-processing/m-p/3281092#M784614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My scenario is that I'm using XI to send a Sales Order IDOC to ERP. I need to make some ABAP enhancements in ERP so that some data is modified before it creates a Sales Order IDOC upon sending from XI. Would anyone have any idea how I can go about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Glenn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2008 02:10:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-07T02:10:55Z</dc:date>
    <item>
      <title>IDOC ABAP enhancements before processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-abap-enhancements-before-processing/m-p/3281092#M784614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My scenario is that I'm using XI to send a Sales Order IDOC to ERP. I need to make some ABAP enhancements in ERP so that some data is modified before it creates a Sales Order IDOC upon sending from XI. Would anyone have any idea how I can go about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Glenn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 02:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-abap-enhancements-before-processing/m-p/3281092#M784614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T02:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC ABAP enhancements before processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-abap-enhancements-before-processing/m-p/3281093#M784615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glenn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Exit &amp;#150; Function module IDOC_INPUT_ORDERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function module IDOC_INPUT_ORDERS, form call_va01_new_orders is performed wherein BDC data is built up for every screen required to post a sales order. User Exit ZXVEDU04 is performed at various stages during the built up of BDC data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XI tool translates the order into an intermediate document (IDOC) with message type ORDERS and IDOC type ORDERS01.  Reaching into SAP, the function module IDOC_INPUT_ORDERS processes the IDOC and calls VA01 transaction with BDC data built out from IDOC data. Successfully processed IDOC posts a sales order, whereas a failed IDOC processing generates workitem for workflow processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At a high level, the IDOC processing executes in the following manner:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       1.	Interpret IDOC header segments and captures organizational, customer master and purchase &lt;/P&gt;&lt;P&gt;               order header details. Performs user exits for each segment to process customizations to data &lt;/P&gt;&lt;P&gt;               processing. &lt;/P&gt;&lt;P&gt;       2.	Interprets item level segments and captures item level details like material information. Again, &lt;/P&gt;&lt;P&gt;                it performs user exits for each segment.&lt;/P&gt;&lt;P&gt;       3.	Sums up the order data and determines the posting criterion viz. creating order with reference &lt;/P&gt;&lt;P&gt;                 etc.&lt;/P&gt;&lt;P&gt;      4.	Builds up batch data communication sequence (BDC) with respect to the required screen &lt;/P&gt;&lt;P&gt;                 sequence of posting a sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      5.	While building up the BDC data, system performs user exit to process customizations to BDC &lt;/P&gt;&lt;P&gt;                 data.&lt;/P&gt;&lt;P&gt;     6.	Calls transactions VA01 using the BDC data.&lt;/P&gt;&lt;P&gt;     7.	If the processing fails, an appropriate workitem is generated for workflow processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you give me brief i can help you out more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-abap-enhancements-before-processing/m-p/3281093#M784615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:03:19Z</dc:date>
    </item>
  </channel>
</rss>

