<?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>Question Re: SAP ABAP : Update decision point for a PPM Item in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-abap-update-decision-point-for-a-ppm-item/qaa-p/12762962#M79159</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;You can use report RPM_DX_ITEM (xlsx-file) to update the decision points of an item.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Judith&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 14:00:26 GMT</pubDate>
    <dc:creator>judith_gabriel</dc:creator>
    <dc:date>2023-10-03T14:00:26Z</dc:date>
    <item>
      <title>SAP ABAP : Update decision point for a PPM Item</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-abap-update-decision-point-for-a-ppm-item/qaq-p/12762961</link>
      <description>&lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Hello, I'm trying to change decision point with a sap abap script, but it doesn't work.I see in the table /RPM/DECISION that the field "changed_on" are updated, for the records linked with my projects, but the active decision point doesn't change.&amp;lt;br&amp;gt;You will find my code below. What is wrong ? Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;

&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;lr_object_manager = cl_rpm_obj_manager=&amp;gt;get_instance().&lt;/P&gt; 
  &lt;P&gt;CLEAR lt_projects[]. &lt;/P&gt;
  &lt;P&gt;lr_object_manager-&amp;gt;load_projects(&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;EXPORTING iv_guid = ls_context-object_guid&lt;/P&gt;IMPORTING et_projects = lt_projects ). 
  &lt;P&gt;READ TABLE lt_projects INTO ls_project INDEX 1.&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;lr_item_o ?= ls_project-REFERENCE.lr_item_o-&amp;gt;set_edit_mode( iv_edit_mode = cl_rpm_co=&amp;gt;sc_edit_mode_change ). &lt;/P&gt;
  &lt;P&gt;lr_item_o-&amp;gt;change_stage_gates( &lt;/P&gt;
  &lt;P&gt;EXPORTING &lt;/P&gt;
  &lt;P&gt; "is_context = ls_context &lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt; "iv_language = 'EN' &lt;/P&gt;
  &lt;P&gt;iv_active_decision_id = 'Z0002' &lt;/P&gt; 
  &lt;P&gt;iv_target_item_type = ls_item_d-item_type &lt;/P&gt;
  &lt;P&gt; iv_dcp_change_mode = 'R' &lt;/P&gt;
  &lt;P&gt; IMPORTING&lt;/P&gt; et_messages = lt_messages 
  &lt;P&gt;ev_rc = lv_rc &lt;/P&gt;
  &lt;P&gt; ).&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;CALL FUNCTION '/RPM/SAVE_CHANGES'&lt;BR /&gt; IMPORTING&lt;BR /&gt; ev_rc = lv_rc&lt;BR /&gt; et_msg = lt_messages.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 07:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-abap-update-decision-point-for-a-ppm-item/qaq-p/12762961</guid>
      <dc:creator>thillu</dc:creator>
      <dc:date>2023-08-01T07:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP : Update decision point for a PPM Item</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-abap-update-decision-point-for-a-ppm-item/qaa-p/12762962#M79159</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;You can use report RPM_DX_ITEM (xlsx-file) to update the decision points of an item.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Judith&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 14:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/sap-abap-update-decision-point-for-a-ppm-item/qaa-p/12762962#M79159</guid>
      <dc:creator>judith_gabriel</dc:creator>
      <dc:date>2023-10-03T14:00:26Z</dc:date>
    </item>
  </channel>
</rss>

