<?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 Serial number copy functionality when creating return orders from standards in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-number-copy-functionality-when-creating-return-orders-from-standards/m-p/5187179#M1200497</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;Serial number is not copying when i create return order from the standard orders in below scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented one BADI for copying Serial number to Sales order when doing Post goods receipt.&lt;/P&gt;&lt;P&gt;So after doing inbound delivery and PGR, serial number is copied to the sales order but when i create return order with reference to the Standard order Serial number is not copying. &lt;/P&gt;&lt;P&gt;When i go VA02 for standard order and selecting the technical objects then if i create the return order serial number is copying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in the above issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following logic to copy serial number from inbound delivery PGR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;UPDATING THE SERIAL NUMBER TO THE RESPECTINVE SALES ORDER LINE ITEMS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            CALL FUNCTION 'SERNR_ADD_TO_AU'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;                sernr                 = lwa_sernr-sernr&lt;/P&gt;&lt;P&gt;                profile               = 'NEOP'&lt;/P&gt;&lt;P&gt;                material              = lwa_mseg-matnr&lt;/P&gt;&lt;P&gt;                quantity              = 1&lt;/P&gt;&lt;P&gt;                document              = lwa_mseg-kdauf&lt;/P&gt;&lt;P&gt;                item                  = lwa_mseg-kdpos&lt;/P&gt;&lt;P&gt;                debitor               = lwa_mseg-kunnr&lt;/P&gt;&lt;P&gt;                vbtyp                 = 'C'&lt;/P&gt;&lt;P&gt;                sd_auart              = lv_auart&lt;/P&gt;&lt;P&gt;                sd_postyp             = lv_pstyv&lt;/P&gt;&lt;P&gt;              EXCEPTIONS&lt;/P&gt;&lt;P&gt;                konfigurations_error  = 1&lt;/P&gt;&lt;P&gt;                serialnumber_errors   = 2&lt;/P&gt;&lt;P&gt;                serialnumber_warnings = 3&lt;/P&gt;&lt;P&gt;                OTHERS                = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;              CALL FUNCTION 'SERIAL_LISTE_POST_AU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;              COMMIT WORK.&lt;/P&gt;&lt;P&gt;              WAIT UP TO 2 SECONDS.&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajesh Sanapala on Feb 16, 2009 12:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2009 12:46:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-13T12:46:22Z</dc:date>
    <item>
      <title>Serial number copy functionality when creating return orders from standards</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-number-copy-functionality-when-creating-return-orders-from-standards/m-p/5187179#M1200497</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;Serial number is not copying when i create return order from the standard orders in below scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented one BADI for copying Serial number to Sales order when doing Post goods receipt.&lt;/P&gt;&lt;P&gt;So after doing inbound delivery and PGR, serial number is copied to the sales order but when i create return order with reference to the Standard order Serial number is not copying. &lt;/P&gt;&lt;P&gt;When i go VA02 for standard order and selecting the technical objects then if i create the return order serial number is copying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in the above issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following logic to copy serial number from inbound delivery PGR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;UPDATING THE SERIAL NUMBER TO THE RESPECTINVE SALES ORDER LINE ITEMS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            CALL FUNCTION 'SERNR_ADD_TO_AU'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;                sernr                 = lwa_sernr-sernr&lt;/P&gt;&lt;P&gt;                profile               = 'NEOP'&lt;/P&gt;&lt;P&gt;                material              = lwa_mseg-matnr&lt;/P&gt;&lt;P&gt;                quantity              = 1&lt;/P&gt;&lt;P&gt;                document              = lwa_mseg-kdauf&lt;/P&gt;&lt;P&gt;                item                  = lwa_mseg-kdpos&lt;/P&gt;&lt;P&gt;                debitor               = lwa_mseg-kunnr&lt;/P&gt;&lt;P&gt;                vbtyp                 = 'C'&lt;/P&gt;&lt;P&gt;                sd_auart              = lv_auart&lt;/P&gt;&lt;P&gt;                sd_postyp             = lv_pstyv&lt;/P&gt;&lt;P&gt;              EXCEPTIONS&lt;/P&gt;&lt;P&gt;                konfigurations_error  = 1&lt;/P&gt;&lt;P&gt;                serialnumber_errors   = 2&lt;/P&gt;&lt;P&gt;                serialnumber_warnings = 3&lt;/P&gt;&lt;P&gt;                OTHERS                = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;              CALL FUNCTION 'SERIAL_LISTE_POST_AU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;              COMMIT WORK.&lt;/P&gt;&lt;P&gt;              WAIT UP TO 2 SECONDS.&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajesh Sanapala on Feb 16, 2009 12:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 12:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-number-copy-functionality-when-creating-return-orders-from-standards/m-p/5187179#M1200497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T12:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Serial number copy functionality when creating return orders from standards</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-number-copy-functionality-when-creating-return-orders-from-standards/m-p/5187180#M1200498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved on my own..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 07:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-number-copy-functionality-when-creating-return-orders-from-standards/m-p/5187180#M1200498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T07:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Serial number copy functionality when creating return orders from standards</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-number-copy-functionality-when-creating-return-orders-from-standards/m-p/5187181#M1200499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi.&lt;/P&gt;&lt;P&gt;I have the same problem.&lt;/P&gt;&lt;P&gt;Can you please share how you solved it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 10:03:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-number-copy-functionality-when-creating-return-orders-from-standards/m-p/5187181#M1200499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T10:03:33Z</dc:date>
    </item>
  </channel>
</rss>

