<?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: Writing a routine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-routine/m-p/9236262#M1719180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Routines are for single value / condition calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you want t o write a copy control kind of object where depending on purchase order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are copied into sales order condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be achieved by using EDI Functionality in PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the SO needs to be created with reference to SO you can send the PO as an EDI [IDoc] to self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will convert all data including pricing and will create the SO directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you can write a Z program to create an SO with reference to PO and use BAPI to update the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2012 09:27:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-12-21T09:27:51Z</dc:date>
    <item>
      <title>Writing a routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-routine/m-p/9236261#M1719179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help wherein I have to transfer Price value from Sales order to Purchase order. Can somebody help me in writing a routine for the same as it is the first time that i'll be writing a ABAP Routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Moderator message: first please search for available information/documentation.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 06:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-routine/m-p/9236261#M1719179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-21T06:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-routine/m-p/9236262#M1719180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Routines are for single value / condition calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you want t o write a copy control kind of object where depending on purchase order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are copied into sales order condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be achieved by using EDI Functionality in PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the SO needs to be created with reference to SO you can send the PO as an EDI [IDoc] to self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will convert all data including pricing and will create the SO directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you can write a Z program to create an SO with reference to PO and use BAPI to update the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 09:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-a-routine/m-p/9236262#M1719180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-21T09:27:51Z</dc:date>
    </item>
  </channel>
</rss>

