<?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 Write data with setdata from the badi for purchase requisition (POST METHOD) ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-data-with-setdata-from-the-badi-for-purchase-requisition-post-method/m-p/12763587#M2022625</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I'm trying to write data, from the post method of the badi "Z_PROCESS_PREQ" (purchase requisition).&lt;/P&gt;
  &lt;P&gt;I would like to mark the PR as incomplete ("On hold").&lt;/P&gt;
  &lt;P&gt;I have written the code below but it doesn't work.&lt;/P&gt;
  &lt;P&gt;What's wrong in my code ? Something is missing ?&lt;/P&gt;
  &lt;P&gt;Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
  &lt;P&gt;LS_HEADER = IM_HEADER-&amp;gt;get_data( ).&lt;BR /&gt; LS_HEADER-MEMORY = 'X'.&lt;BR /&gt; LS_HEADER-MEMORYTYPE = 'H'. " ON HOLD&lt;BR /&gt; IM_HEADER-&amp;gt;SET_DATA(&lt;BR /&gt; EXPORTING&lt;BR /&gt; IM_DATA = LS_HEADER " HEADER DATA&lt;BR /&gt; ).&lt;BR /&gt;&lt;BR /&gt; LS_HEADERX = IM_HEADER-&amp;gt;get_datax( ).&lt;BR /&gt; LS_HEADERX-MEMORY = 'X'.&lt;BR /&gt; LS_HEADERX-MEMORYTYPE = 'X'.&lt;BR /&gt; IM_HEADER-&amp;gt;SET_DATAX( IM_DATAX = LS_HEADERX ).&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2023 15:43:16 GMT</pubDate>
    <dc:creator>thillu</dc:creator>
    <dc:date>2023-11-17T15:43:16Z</dc:date>
    <item>
      <title>Write data with setdata from the badi for purchase requisition (POST METHOD) ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-data-with-setdata-from-the-badi-for-purchase-requisition-post-method/m-p/12763587#M2022625</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I'm trying to write data, from the post method of the badi "Z_PROCESS_PREQ" (purchase requisition).&lt;/P&gt;
  &lt;P&gt;I would like to mark the PR as incomplete ("On hold").&lt;/P&gt;
  &lt;P&gt;I have written the code below but it doesn't work.&lt;/P&gt;
  &lt;P&gt;What's wrong in my code ? Something is missing ?&lt;/P&gt;
  &lt;P&gt;Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
  &lt;P&gt;LS_HEADER = IM_HEADER-&amp;gt;get_data( ).&lt;BR /&gt; LS_HEADER-MEMORY = 'X'.&lt;BR /&gt; LS_HEADER-MEMORYTYPE = 'H'. " ON HOLD&lt;BR /&gt; IM_HEADER-&amp;gt;SET_DATA(&lt;BR /&gt; EXPORTING&lt;BR /&gt; IM_DATA = LS_HEADER " HEADER DATA&lt;BR /&gt; ).&lt;BR /&gt;&lt;BR /&gt; LS_HEADERX = IM_HEADER-&amp;gt;get_datax( ).&lt;BR /&gt; LS_HEADERX-MEMORY = 'X'.&lt;BR /&gt; LS_HEADERX-MEMORYTYPE = 'X'.&lt;BR /&gt; IM_HEADER-&amp;gt;SET_DATAX( IM_DATAX = LS_HEADERX ).&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 15:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-data-with-setdata-from-the-badi-for-purchase-requisition-post-method/m-p/12763587#M2022625</guid>
      <dc:creator>thillu</dc:creator>
      <dc:date>2023-11-17T15:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Write data with setdata from the badi for purchase requisition (POST METHOD) ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-data-with-setdata-from-the-badi-for-purchase-requisition-post-method/m-p/12763588#M2022626</link>
      <description>&lt;UL&gt;&lt;LI&gt;Z_PROCESS_PREQ is not a BAdI but may be an implementation, of BAdI ME_PROCESS_REQ_CUST, I suppose?&lt;/LI&gt;&lt;LI&gt;Usually POST methods are executed too late to change standard data, did you try method CHECK.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 17 Nov 2023 16:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-data-with-setdata-from-the-badi-for-purchase-requisition-post-method/m-p/12763588#M2022626</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-11-17T16:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Write data with setdata from the badi for purchase requisition (POST METHOD) ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-data-with-setdata-from-the-badi-for-purchase-requisition-post-method/m-p/12763589#M2022627</link>
      <description>&lt;P&gt;Hello, yes, it's an implementation, of BAdI ME_PROCESS_REQ_CUST.&lt;/P&gt;&lt;P&gt;I tried to move my code in the check method, but it still does't work.&lt;/P&gt;&lt;P&gt;Do you know if something is missing ? I need to do something to commit ?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 09:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-data-with-setdata-from-the-badi-for-purchase-requisition-post-method/m-p/12763589#M2022627</guid>
      <dc:creator>thillu</dc:creator>
      <dc:date>2023-11-21T09:55:28Z</dc:date>
    </item>
  </channel>
</rss>

