<?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_TRANSACTION_COMMIT gives short dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794161#M912529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this before - still nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2008 09:46:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-15T09:46:30Z</dc:date>
    <item>
      <title>BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794155#M912523</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;in my report i make something like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_BUPR_RELATIONSHIP_CREATE'
      EXPORTING
        businesspartner1     = lv_destination_partner
        businesspartner2     = lv_source_parnter
        relationshipcategory = lv_rel_category
        validfromdate        = sy-datum
        validuntildate       = '99990101'
      TABLES
        return               = gt_ret_table.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    IMPORTING
      return = gs_ret_elem.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;After performing first function table gt_ret_table returns no errors (messages type I and S) and after BAPI_TRANSACTION_COMMIT i have short dump (MESSAGE TRANSACTION X):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Program                                   CL_CRM_CHM_PDM_COMHUB=========CP&lt;/P&gt;&lt;P&gt; INCLUDE                                  CL_CRM_CHM_PDM_COMHUB=========CM001&lt;/P&gt;&lt;P&gt; Line                                          10&lt;/P&gt;&lt;P&gt; Module type                              (METHOD)&lt;/P&gt;&lt;P&gt; Module name                            CONSTRUCTOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*=======================================================================
METHOD constructor .
*=======================================================================

*  DATA:
*    lt_return TYPE bapiret2_t.

* precondition check
  IF iv_partner_guid IS INITIAL.
   MESSAGE x000(crm_chm_bp_cch)
      WITH 'PROGRAM ERROR: Precondition Failed'.            "#EC *
  ENDIF.

*  CALL FUNCTION 'BUPA_NUMBERS_GET'
*    EXPORTING
*      iv_partner_guid = iv_partner_guid
*    TABLES
*      et_return       = lt_return.
*  IF NOT lt_return IS INITIAL.
*    MESSAGE x000(crm_chm_bp_cch)
*      WITH 'PROGRAM ERROR: Precondition Failed'.            "#EC *
*  ENDIF.

  mv_partner_guid = iv_partner_guid.
  mv_xsave        = iv_xsave.

ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any sugestions?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Wojciech Moroz on May 15, 2008 10:48 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Wojciech Moroz on May 15, 2008 10:50 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Wojciech Moroz on May 15, 2008 10:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 08:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794155#M912523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794156#M912524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, have you done the check after using the BAPI_ function module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BUPR_RELATIONSHIP_CREATE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        businesspartner1     = lv_destination_partner&lt;/P&gt;&lt;P&gt;        businesspartner2     = lv_source_parnter&lt;/P&gt;&lt;P&gt;        relationshipcategory = lv_rel_category&lt;/P&gt;&lt;P&gt;        validfromdate        = sy-datum&lt;/P&gt;&lt;P&gt;        validuntildate       = '99990101'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        return               = gt_ret_table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      return = gs_ret_elem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Think in your  'BAPI_BUPR_RELATIONSHIP_CREATE'&lt;/P&gt;&lt;P&gt;function module having some problem. PLease check the return table from this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 08:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794156#M912524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T08:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794157#M912525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_BUPR_RELATIONSHIP_CREATE'
      EXPORTING
        businesspartner1     = lv_destination_partner
        businesspartner2     = lv_source_parnter
        relationshipcategory = lv_rel_category
        validfromdate        = sy-datum
        validuntildate       = '99990101'
      TABLES
        return               = gt_ret_table.
 
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 08:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794157#M912525</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-05-15T08:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794158#M912526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;before calling the  fm bapi_transaction_commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table gt_ret_table with key  type = 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call bapi transaction commit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 08:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794158#M912526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794159#M912527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for tips but my problem is still unsolved. I did check sy-subrc = 0 after frist FM and tried BAPI_TRANSACTION_COMMIT without return and still i get the same crash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any further ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 09:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794159#M912527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T09:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794160#M912528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wojciech,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try by sending export parameter 'WAIT' also like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;EXPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;WAIT          = 'X'&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;IMPORTING&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;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 09:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794160#M912528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T09:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794161#M912529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this before - still nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 09:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794161#M912529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T09:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794162#M912530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like already mentioned before, the problem probably is not the BAPI_TRANSACTION_COMMIT but rather the first BAPI you are calling. One thing you can and should do is set a break point at point where short dump occurs and via the call stack try to determine, why the BP guid is not available. My guess it that one of your BP's has no BP guid created (yet).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 09:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794162#M912530</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-05-15T09:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794163#M912531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;maybe just try with commit work.&lt;/P&gt;&lt;P&gt;And you should read about fm. 'BUS_BAPI_CLEARBUFFER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 13:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794163#M912531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T13:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794164#M912532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tried with commit_work, with fm BUPR_RELATIONSHIP_CREATE. I Also tried to create a new partner with filling all data. Still nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it's some kind of bug i CRM 5.0 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 13:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794164#M912532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T13:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794165#M912533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I can see in fm parameters VALIDFROMDATE and VALIDUNTILDATE has the default value ()&lt;/P&gt;&lt;P&gt;So you may just do not use them at all ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 13:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794165#M912533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T13:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794166#M912534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;already tried. Without success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 13:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794166#M912534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_COMMIT gives short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794167#M912535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Have u managed to sloved the problem? I'm having same problem. can you please share you solution for this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 14:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit-gives-short-dump/m-p/3794167#M912535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T14:32:50Z</dc:date>
    </item>
  </channel>
</rss>

