<?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: Custom processing fm for ZPORDCH in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601194#M1662393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this is for an Inbound IDOC, from an external source, used to update PO's in SAP, then yes, I would validate ALL the critical data prior to calling any change modules.&amp;nbsp; But, that's just my opinion.&amp;nbsp;&amp;nbsp; But, what do you mean by manually?&amp;nbsp; One would have a custom process code that called a custom function module.&amp;nbsp; Part of that would be reading in the ZPORDCH data and storing in internal tables, then constructing the pieces for BAPI_PO_CHANGE?&amp;nbsp; Why are you doing 'Z' version instead of extending existing SAP version?&lt;/P&gt;&lt;P&gt;Part of that validation would be...adding but does the item already exist?&amp;nbsp; deleting but am I deleting an existing row and is it deleting what should be deleted, and changing but am I changing a row that exists and not flagged as deleted and did something actually change on the row, etc.&lt;/P&gt;&lt;P&gt;If the BAPI fails, what to do is up to you...do you report the content of the input IDOC, or send emails with the error message and description or ??&amp;nbsp; That should be a decision for the business.&amp;nbsp; If the BAPI fails, then the PO will not have been modified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2012 18:07:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-04-03T18:07:30Z</dc:date>
    <item>
      <title>Custom processing fm for ZPORDCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601192#M1662391</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;Please help me for imp query. Am developing Z function module for custom PORDRCH idoc type. Am not sure how to handle below functionality using bapi_po _change,&lt;/P&gt;&lt;P class="DescriptiveText"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Delete an Item line?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="DescriptiveText"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add an item line?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="DescriptiveText"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PO line change?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In case of failure, how to hold the document change?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;Suppose initailly PO has 3 line items and in next run, po is changed and deleted 1 line item, will the BAPI_PO_Change automatically handle the situation or should i manually check EKPO table and validate what has changed before passing data to Bapi_PO_Change?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;I have researched through the forum and BAPI documentation, however could not find any proper solution. Please help me, thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;MB&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 10:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601192#M1662391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-03T10:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom processing fm for ZPORDCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601193#M1662392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It shall be helpful if atleast approach is mentioned&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 14:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601193#M1662392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-03T14:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom processing fm for ZPORDCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601194#M1662393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this is for an Inbound IDOC, from an external source, used to update PO's in SAP, then yes, I would validate ALL the critical data prior to calling any change modules.&amp;nbsp; But, that's just my opinion.&amp;nbsp;&amp;nbsp; But, what do you mean by manually?&amp;nbsp; One would have a custom process code that called a custom function module.&amp;nbsp; Part of that would be reading in the ZPORDCH data and storing in internal tables, then constructing the pieces for BAPI_PO_CHANGE?&amp;nbsp; Why are you doing 'Z' version instead of extending existing SAP version?&lt;/P&gt;&lt;P&gt;Part of that validation would be...adding but does the item already exist?&amp;nbsp; deleting but am I deleting an existing row and is it deleting what should be deleted, and changing but am I changing a row that exists and not flagged as deleted and did something actually change on the row, etc.&lt;/P&gt;&lt;P&gt;If the BAPI fails, what to do is up to you...do you report the content of the input IDOC, or send emails with the error message and description or ??&amp;nbsp; That should be a decision for the business.&amp;nbsp; If the BAPI fails, then the PO will not have been modified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 18:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601194#M1662393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-03T18:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom processing fm for ZPORDCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601195#M1662394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manjunath,&lt;/P&gt;&lt;P&gt;Is you are developing Function module which is use as IDOC process and one more detail need to know how you are getting changes is it through change pointer ? &lt;/P&gt;&lt;P&gt;Please put some more information ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yukti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 02:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601195#M1662394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-04T02:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom processing fm for ZPORDCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601196#M1662395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry David and Yukti for late reply, was Out of office.&lt;/P&gt;&lt;P&gt;Yes am developing a new function module for custom IDOC(ZPORDCH) processing. I need to build POHEADERX and POITEMX and POSCHEDULEX based on indicator (E for entry and C for deleting lineitem) from IDOC data.&amp;nbsp; &lt;/P&gt;&lt;P&gt;To Put in simple words, we are developing a interface which converts a file data into an custom PO IDOC and the processing function module will fetch the required data from IDOC data and builds the BAPI_PO_CREATE1 or BAPI_PO_CHANGE based on the indicator. Create ,am able to do it successfully, not sure how to handle the PO changes from the legacy system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further suggestion and help is much appreciated, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manjunath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 16:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-processing-fm-for-zpordch/m-p/8601196#M1662395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-09T16:57:47Z</dc:date>
    </item>
  </channel>
</rss>

