<?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 how to get schedule data in method process_item in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-schedule-data-in-method-process-item/m-p/2059403#M425468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, in ME21N, when creating a new PO I need the value of "Statics-relevant delivery date", in "Delivery Schedule" detail (SFLDT). I'm trying to get it like this (in method process_item):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa_meposchedule TYPE purchase_order_schedules,&lt;/P&gt;&lt;P&gt;          wa_sched type meposchedule.&lt;/P&gt;&lt;P&gt;wa_meposchedule = im_item-&amp;gt;get_schedules( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at this point i don't know how to continue....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also implemented method PROCESS_SCHEDULE like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lw_schedule TYPE REF TO if_purchase_order_schedule_mm,&lt;/P&gt;&lt;P&gt;           l_schedule TYPE meposchedule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mmpur_dynamic_cast lw_schedule im_schedule.&lt;/P&gt;&lt;P&gt;l_schedule = lw_schedule-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;EXPORT l_schedule FROM l_schedule TO MEMORY ID 'L_SCHEDULE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In method PROCESS_ITEM, i tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_schedule TYPE meposchedule,&lt;/P&gt;&lt;P&gt;IMPORT l_schedule TO l_schedule FROM MEMORY ID 'L_SCHEDULE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in me21n it didn't work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2007 08:51:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-28T08:51:56Z</dc:date>
    <item>
      <title>how to get schedule data in method process_item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-schedule-data-in-method-process-item/m-p/2059403#M425468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, in ME21N, when creating a new PO I need the value of "Statics-relevant delivery date", in "Delivery Schedule" detail (SFLDT). I'm trying to get it like this (in method process_item):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa_meposchedule TYPE purchase_order_schedules,&lt;/P&gt;&lt;P&gt;          wa_sched type meposchedule.&lt;/P&gt;&lt;P&gt;wa_meposchedule = im_item-&amp;gt;get_schedules( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at this point i don't know how to continue....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also implemented method PROCESS_SCHEDULE like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lw_schedule TYPE REF TO if_purchase_order_schedule_mm,&lt;/P&gt;&lt;P&gt;           l_schedule TYPE meposchedule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mmpur_dynamic_cast lw_schedule im_schedule.&lt;/P&gt;&lt;P&gt;l_schedule = lw_schedule-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;EXPORT l_schedule FROM l_schedule TO MEMORY ID 'L_SCHEDULE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In method PROCESS_ITEM, i tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_schedule TYPE meposchedule,&lt;/P&gt;&lt;P&gt;IMPORT l_schedule TO l_schedule FROM MEMORY ID 'L_SCHEDULE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in me21n it didn't work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 08:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-schedule-data-in-method-process-item/m-p/2059403#M425468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T08:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to get schedule data in method process_item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-schedule-data-in-method-process-item/m-p/2059404#M425469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing the same road block. Did you figure out how to get schedule line data into Process_Item?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 14:06:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-schedule-data-in-method-process-item/m-p/2059404#M425469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T14:06:06Z</dc:date>
    </item>
  </channel>
</rss>

