<?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 Re: BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319232#M1835268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dipin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_CTRACDOCUMENT_CHANGE uses the Function module&amp;nbsp;&amp;nbsp; FKK_DOCUMENT_CHANGE to update the documents. Put a break-point at FKK_DOCUMENT_CHANGE in this BAPI and check the SY-SUBRC value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also, I assume that you are executing BAPI_TRANSACTION_COMMIT after using the BAPI.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2014 11:26:59 GMT</pubDate>
    <dc:creator>shah_viraj</dc:creator>
    <dc:date>2014-06-04T11:26:59Z</dc:date>
    <item>
      <title>BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319225#M1835261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to update Payment Method (field PYMET) in table DFKKOP.&lt;BR /&gt;I am using BAPI_CTRACDOCUMENT_CHANGE to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have passed below data into the BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Import parameters&lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Document Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PMNT_METH &lt;/STRONG&gt;in PARTNERPOSITIONS&lt;BR /&gt;and &lt;STRONG&gt;PMNT_METH = X&lt;/STRONG&gt; in PARTNERPOSITIONSX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the table DFKKOP is not getting updated with new Payment&lt;BR /&gt;Method, and the BAPI Return parameter is not giving any message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me to solve this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 09:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319225#M1835261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-04T09:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319226#M1835262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;Hi Dipin,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt; &lt;STRONG&gt;You can use below code for the updation of PYMET field from DFKKOP table.&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt; SELECT * &lt;SPAN class="L0S52"&gt;FROM dfkkop &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;t_dfkkop&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;if sy-subrc eq 0.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;LOOP &lt;SPAN class="L0S52"&gt;AT&amp;nbsp; &lt;/SPAN&gt;t_dfkkop &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;wa_dfkkop&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_dfkkop&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;pymet &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;c_i&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;t_dfkkop &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;wa_dfkkop &lt;SPAN class="L0S52"&gt;TRANSPORTING &lt;/SPAN&gt;pymet&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;dfkkop &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;t_dfkkop&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;COMMIT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;WORK&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;endif.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 09:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319226#M1835262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-04T09:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319227#M1835263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratima,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thank you so much for your reply. But I am not sure what all&lt;BR /&gt;are the functions the BAPI &lt;STRONG&gt;BAPI_CTRACDOCUMENT_CHANGE&lt;/STRONG&gt;&lt;BR /&gt;is performing.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;So I need to use this BAPI to update the Payment Method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Dipin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 10:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319227#M1835263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-04T10:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319228#M1835264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dipin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using BAPI - &lt;SPAN class="L0S33"&gt;&lt;STRONG&gt;'BAPI_CTRACDOCUMENT_GETDETAIL' . &lt;/STRONG&gt;It will fetch all the details of the document in internal table t_partnerposition. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;After that change the field pymet and modify the internal table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Pass this internal table to BAPI - &lt;STRONG&gt;BAPI_CTRACDOCUMENT_CHANGE &lt;/STRONG&gt;for the parameter partnerpositions.It will change the pymet of document.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Hope this will help you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 10:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319228#M1835264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-04T10:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319229#M1835265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is advisable not to update any standard table from a Z programme as it can create inconsistency in the database system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 11:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319229#M1835265</guid>
      <dc:creator>shah_viraj</dc:creator>
      <dc:date>2014-06-04T11:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319230#M1835266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the requirment is like that, what else we can do to fulfill the requirement?&lt;/P&gt;&lt;P&gt;Do you have any alternative solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, please share.It will be very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pratima.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 11:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319230#M1835266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-04T11:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319231#M1835267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BAPI suggested by you should serve the purpose, but please remember what so ever the requirement is, never update the standard table...!!!! It is against the SAP compliance, SAP would not support you for inconsistency created through standard table update...!!! I have seen that case in my previous company that is why I am sharing this..!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 11:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319231#M1835267</guid>
      <dc:creator>shah_viraj</dc:creator>
      <dc:date>2014-06-04T11:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CTRACDOCUMENT_CHANGE - Payment Method Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319232#M1835268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dipin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_CTRACDOCUMENT_CHANGE uses the Function module&amp;nbsp;&amp;nbsp; FKK_DOCUMENT_CHANGE to update the documents. Put a break-point at FKK_DOCUMENT_CHANGE in this BAPI and check the SY-SUBRC value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also, I assume that you are executing BAPI_TRANSACTION_COMMIT after using the BAPI.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 11:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ctracdocument-change-payment-method-update/m-p/10319232#M1835268</guid>
      <dc:creator>shah_viraj</dc:creator>
      <dc:date>2014-06-04T11:26:59Z</dc:date>
    </item>
  </channel>
</rss>

