<?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 change quantity using order maintain in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-quantity-using-order-maintain/m-p/5991602#M1342694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to change the quantity of service confirmation orders using the bapi CRM_ORDER_MAINTAIN .&lt;/P&gt;&lt;P&gt;The bapi work fine and the sy-subr is eq 0 but in the order the quantity is not changed.&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2009 08:19:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-05T08:19:49Z</dc:date>
    <item>
      <title>change quantity using order maintain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-quantity-using-order-maintain/m-p/5991602#M1342694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to change the quantity of service confirmation orders using the bapi CRM_ORDER_MAINTAIN .&lt;/P&gt;&lt;P&gt;The bapi work fine and the sy-subr is eq 0 but in the order the quantity is not changed.&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 08:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-quantity-using-order-maintain/m-p/5991602#M1342694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T08:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: change quantity using order maintain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-quantity-using-order-maintain/m-p/5991603#M1342695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you forget BAPI_TRANSACTION_COMMIT after FM call?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 08:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-quantity-using-order-maintain/m-p/5991603#M1342695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T08:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: change quantity using order maintain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-quantity-using-order-maintain/m-p/5991604#M1342696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It all depends on how we populate CT_INPUT_FIELDS and IT_SCHEDLIN_I structures. Following is the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_schedlines-quantity = LV_QUANTITY.&lt;/P&gt;&lt;P&gt;ls_schedlines-guid = gv_schedlin_guid.&lt;/P&gt;&lt;P&gt;ls_schedlines-logical_key = gv_schedlin_guid.&lt;/P&gt;&lt;P&gt;INSERT ls_schedlines INTO TABLE &lt;/P&gt;&lt;P&gt;ls_schedlin_i-schedlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_schedlin_i-ref_guid = gv_item_guid.&lt;/P&gt;&lt;P&gt;INSERT ls_schedlin_i INTO TABLE gt_schedlin_i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_input_field-ref_guid = gv_item_guid.&lt;/P&gt;&lt;P&gt;ls_input_field-objectname = 'ORDERADM_I'.&lt;/P&gt;&lt;P&gt;ls_input_field_names-fieldname = 'ITM_PROC_IDENT'.&lt;/P&gt;&lt;P&gt;INSERT ls_input_field_names INTO TABLE&lt;/P&gt;&lt;P&gt;ls_input_field-field_names.&lt;/P&gt;&lt;P&gt;INSERT ls_input_field INTO TABLE gt_input_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR ls_input_field.&lt;/P&gt;&lt;P&gt;ls_input_field-ref_kind = 'B'.&lt;/P&gt;&lt;P&gt;ls_input_field-ref_guid = gv_item_guid.&lt;/P&gt;&lt;P&gt;ls_input_field-objectname = 'SCHEDLIN'.&lt;/P&gt;&lt;P&gt;ls_input_field-logical_key = gv_schedlin_guid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_input_field_names-fieldname = 'LOGICAL_KEY'.&lt;/P&gt;&lt;P&gt;INSERT ls_input_field_names INTO TABLE&lt;/P&gt;&lt;P&gt;ls_input_field-field_names.&lt;/P&gt;&lt;P&gt;ls_input_field_names-fieldname = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;INSERT ls_input_field_names INTO TABLE&lt;/P&gt;&lt;P&gt;ls_input_field-field_names.&lt;/P&gt;&lt;P&gt;INSERT ls_input_field INTO TABLE gt_input_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CRM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IT_SCHEDLIN_I = gt_schedlin_i&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;ET_EXCEPTION = LT_EXCEPTION&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;CT_ORDERADM_I = LT_ORDERADM_I&lt;/P&gt;&lt;P&gt;CT_INPUT_FIELDS = gt_input_field&lt;/P&gt;&lt;P&gt;CV_LOG_HANDLE = LV_LOGHNDL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nishant Malhotra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 09:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-quantity-using-order-maintain/m-p/5991604#M1342696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T09:44:13Z</dc:date>
    </item>
  </channel>
</rss>

