<?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/MM Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478844#M224274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your info, however, I am now searching an user exit to actually accomplish the following (MM Module):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) SAP system will capture 3rd party PO number to EKKO_CI-ZZPO_NO during the BDC interface program of PO creation. The third party PO number flow successfully from PO -&amp;gt; Service Entry -&amp;gt; Goods Receipt -&amp;gt; Accounting Document -&amp;gt; FI Posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) When the time I run transaction MIRO/MIR7 (Invoice Receipt-IR -&amp;gt; Accounting Document -&amp;gt; FI Posting), I do not have my 3rd party PO number appear in my invoice line item, thus, Accounting Document will not display the line item respectively together with 3rd party PO number during posting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any user exit that you guys can suggest to accomplish the above, where I can actually grasp the external PO number from EKKO to IR line item? Same goes to accounting document posting in SD module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2006 03:11:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-08T03:11:51Z</dc:date>
    <item>
      <title>SD/MM Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478840#M224270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greeting all. Apparently, I'm searching a clue (perhaps a way) to accomplish the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a third party system, which will create PO (Purchase Order) and SO (Sales Order), will pass the said PO/SO to SAP system via abap interface program, and populate the document number to respective table/structure as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PO document number -&amp;gt; EKKO_CI-ZZPO_NO &lt;/P&gt;&lt;P&gt;SO document number -&amp;gt; VBAK-ZZSO_INV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, the above PO/SO will only appear in Purchase Order and Sales Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to enchance is that; I would need the original PO/SO number to be appeared in the follow-up documents, e.g. Good Receipts, Service Entry, Invoice Receipt, FI Documents, Billing Document, and Accounting Document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any piece of advise is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks and regards,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P/S: Reward Point Guaranteed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 08:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478840#M224270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T08:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: SD/MM Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478841#M224271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way usually we take care of similar situations where we get numbers from external systems is to update the text in the Order documetns and have the rules configured to copy over the particular text to subsequent documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 08:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478841#M224271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T08:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: SD/MM Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478842#M224272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt; When you have already updated PO/SO in SAP Database, the number will be available for the subsequent documents also, so you need not worry about that it will be done automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards:-&lt;/P&gt;&lt;P&gt;Santosh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 08:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478842#M224272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T08:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: SD/MM Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478843#M224273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I have a third party system, which will create PO&lt;/P&gt;&lt;P&gt;&amp;gt; (Purchase Order) and SO (Sales Order), will pass the&lt;/P&gt;&lt;P&gt;&amp;gt; said PO/SO to SAP system via abap interface program,&lt;/P&gt;&lt;P&gt;&amp;gt; and populate the document number to respective&lt;/P&gt;&lt;P&gt;&amp;gt; table/structure as below:&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; PO document number -&amp;gt; EKKO_CI-ZZPO_NO &lt;/P&gt;&lt;P&gt;&amp;gt; SO document number -&amp;gt; VBAK-ZZSO_INV&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Therefore, the above PO/SO will only appear in&lt;/P&gt;&lt;P&gt;&amp;gt; Purchase Order and Sales Order.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; What I need to enchance is that; I would need the&lt;/P&gt;&lt;P&gt;&amp;gt; original PO/SO number to be appeared in the follow-up&lt;/P&gt;&lt;P&gt;&amp;gt; documents, e.g. Good Receipts, Service Entry, Invoice&lt;/P&gt;&lt;P&gt;&amp;gt; Receipt, FI Documents, Billing Document, and&lt;/P&gt;&lt;P&gt;&amp;gt; Accounting Document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This done by "Kopiersteuerung", which can be find in the customizing. For example Transaktion VTLA copying fields from sales order to delivery.&lt;/P&gt;&lt;P&gt;You can create a "kopierbedingung" with your on ABAP-code.&lt;/P&gt;&lt;P&gt;If you have a system newer than 46B use the group field in your appends of database tables like vbak, than you can copy all fields in one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an include append it to vbap and lips and your coding should look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lips-zzvcsdinc = cvbap-zzvcsdinc.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy Routine RV50C904&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 FORM - Routine for data transfer of order header data         *
*---------------------------------------------------------------------*

*---------------------------------------------------------------------*
*       FORM DATEN_KOPIEREN_904                                       *
*---------------------------------------------------------------------*
*                                                                     *
*       Order Header                                                  *
*                                                                     *
*       The following work areas are available:                       *
*                                                                     *
*        LIKP - Header of the delivery                                *
*       CVBAK - Header of the reference document                      *
*                                                    

FORM DATEN_KOPIEREN_904.

  LIKP-VKORG = CVBAK-VKORG.

  LIKP-AUTLF = CVBAK-AUTLF.
  LIKP-VSBED = CVBAK-VSBED.
  LIKP-FKARV = TVAK-FKARV.
  LIKP-TRAGR = MAAPV-TRAGR.

* And now something with Z-fields
select single zzakkre from knb1 into zzzzakkre where
                      kunnr = zzkunrg and
                      bukrs = '101'.      " Don't try this at home kids
likp-zzakkre = zzzzakkre.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 11:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478843#M224273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T11:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: SD/MM Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478844#M224274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your info, however, I am now searching an user exit to actually accomplish the following (MM Module):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) SAP system will capture 3rd party PO number to EKKO_CI-ZZPO_NO during the BDC interface program of PO creation. The third party PO number flow successfully from PO -&amp;gt; Service Entry -&amp;gt; Goods Receipt -&amp;gt; Accounting Document -&amp;gt; FI Posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) When the time I run transaction MIRO/MIR7 (Invoice Receipt-IR -&amp;gt; Accounting Document -&amp;gt; FI Posting), I do not have my 3rd party PO number appear in my invoice line item, thus, Accounting Document will not display the line item respectively together with 3rd party PO number during posting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any user exit that you guys can suggest to accomplish the above, where I can actually grasp the external PO number from EKKO to IR line item? Same goes to accounting document posting in SD module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2006 03:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-mm-query/m-p/1478844#M224274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-08T03:11:51Z</dc:date>
    </item>
  </channel>
</rss>

