<?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_alm_notif_create in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417792#M1408808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The order is saved and then notification is created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2009 09:04:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-16T09:04:06Z</dc:date>
    <item>
      <title>bapi_alm_notif_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417787#M1408803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am enhancing the functionality of transaction code IW31/IW32 where it is triggering my user exit.  Inside the userexit I am calling bapi bapi_alm_notif_create for creation of notification in IW21. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when the bapi is called it is going into dump, saying 'perform commit' is called again.  What shall I do to overcome this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before coming to my include itself the transaction is saving, where I hope the commit is happening and so when my bapi calls the commit, it is going to dump.  So I need to overcome this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2009 07:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417787#M1408803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-13T07:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_alm_notif_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417788#M1408804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when excuting BAPI_ALM_NOTIF_CREATE then its going to dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Below function module put 1st break-points in line   &lt;STRONG&gt;call function 'IQS4_CHECK_ERROR_SEVERE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and check &lt;STRONG&gt;RETURN&lt;/STRONG&gt; table&lt;/P&gt;&lt;P&gt;2. Below function module put 2nd break-points in line   &lt;STRONG&gt;call function 'IQS4_CHECK_ERROR_SEVERE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and check &lt;STRONG&gt;RETURN&lt;/STRONG&gt; table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can get some information in return table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also check COMMITWORK is excuting two times?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION BAPI_ALM_NOTIF_CREATE .&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(EXTERNAL_NUMBER) LIKE  BAPI2080_NOTHDRE-NOTIF_NO OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(NOTIF_TYPE) LIKE  BAPI2080-NOTIF_TYPE&lt;/P&gt;&lt;P&gt;*"     VALUE(NOTIFHEADER) LIKE  BAPI2080_NOTHDRI STRUCTURE&lt;/P&gt;&lt;P&gt;*"        BAPI2080_NOTHDRI&lt;/P&gt;&lt;P&gt;*"     VALUE(TASK_DETERMINATION) LIKE  BAPIFLAG STRUCTURE  BAPIFLAG&lt;/P&gt;&lt;P&gt;*"       DEFAULT SPACE&lt;/P&gt;&lt;P&gt;*"     VALUE(SENDER) LIKE  BAPI_SENDER STRUCTURE  BAPI_SENDER OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(ORDERID) LIKE  BAPI2080_NOTHDRE-ORDERID OPTIONAL&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(NOTIFHEADER_EXPORT) LIKE  BAPI2080_NOTHDRE STRUCTURE&lt;/P&gt;&lt;P&gt;*"        BAPI2080_NOTHDRE&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      NOTITEM STRUCTURE  BAPI2080_NOTITEMI OPTIONAL&lt;/P&gt;&lt;P&gt;*"      NOTIFCAUS STRUCTURE  BAPI2080_NOTCAUSI OPTIONAL&lt;/P&gt;&lt;P&gt;*"      NOTIFACTV STRUCTURE  BAPI2080_NOTACTVI OPTIONAL&lt;/P&gt;&lt;P&gt;*"      NOTIFTASK STRUCTURE  BAPI2080_NOTTASKI OPTIONAL&lt;/P&gt;&lt;P&gt;*"      NOTIFPARTNR STRUCTURE  BAPI2080_NOTPARTNRI OPTIONAL&lt;/P&gt;&lt;P&gt;*"      LONGTEXTS STRUCTURE  BAPI2080_NOTFULLTXTI OPTIONAL&lt;/P&gt;&lt;P&gt;*"      KEY_RELATIONSHIPS STRUCTURE  BAPI2080_NOTKEYE OPTIONAL&lt;/P&gt;&lt;P&gt;*"      RETURN STRUCTURE  BAPIRET2 OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--- Check notification type ( "PM/CS" )&lt;/P&gt;&lt;P&gt;  call function 'IQS4_CHECK_NOTIF_TYPE_PM_CS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            i_qmart = notif_type&lt;/P&gt;&lt;P&gt;            i_qmnum = external_number&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            return  = return.&lt;/P&gt;&lt;P&gt;*--- Check fatal errors&lt;/P&gt;&lt;P&gt;  call function 'IQS4_CHECK_ERROR_SEVERE'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            return       = return&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            severe_error = 1&lt;/P&gt;&lt;P&gt;            others       = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.              "notification's type is not valid&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create notification&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'IWON_NOTIFICATION_CREATE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;         EXTERNAL_NUMBER    = EXTERNAL_NUMBER&lt;/P&gt;&lt;P&gt;         NOTIF_TYPE         = NOTIF_TYPE&lt;/P&gt;&lt;P&gt;         NOTIFHEADER        = NOTIFHEADER&lt;/P&gt;&lt;P&gt;         TASK_DETERMINATION = TASK_DETERMINATION&lt;/P&gt;&lt;P&gt;         SENDER             = SENDER&lt;/P&gt;&lt;P&gt;         ORDERID            = ORDERID&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;         NOTIFHEADER_EXPORT = NOTIFHEADER_EXPORT&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;         NOTITEM            = NOTITEM&lt;/P&gt;&lt;P&gt;         NOTIFCAUS          = NOTIFCAUS&lt;/P&gt;&lt;P&gt;         NOTIFACTV          = NOTIFACTV&lt;/P&gt;&lt;P&gt;         NOTIFTASK          = NOTIFTASK&lt;/P&gt;&lt;P&gt;         NOTIFPARTNR        = NOTIFPARTNR&lt;/P&gt;&lt;P&gt;         LONGTEXTS          = LONGTEXTS&lt;/P&gt;&lt;P&gt;         KEY_RELATIONSHIPS  = KEY_RELATIONSHIPS&lt;/P&gt;&lt;P&gt;         RETURN             = RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--- Check fatal errors&lt;/P&gt;&lt;P&gt;  call function 'IQS4_CHECK_ERROR_SEVERE'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            return       = return&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            severe_error = 1&lt;/P&gt;&lt;P&gt;            others       = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not sy-subrc is initial.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.                  "notification's type is not valid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 07:19:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417788#M1408804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T07:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_alm_notif_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417789#M1408805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Comment the code BAPI TRANSACTION COMMIT and try your code.&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;try to write implicit enhancment before the code where u r getting dump.&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;Edited by: Rasheed salman on Dec 14, 2009 12:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 11:23:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417789#M1408805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T11:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_alm_notif_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417790#M1408806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you creating a notification and linking it to the order that you are &lt;U&gt;currently&lt;/U&gt; processing???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PeteA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 12:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417790#M1408806</guid>
      <dc:creator>peter_atkin</dc:creator>
      <dc:date>2009-12-14T12:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_alm_notif_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417791#M1408807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried commenting and when it's executed it's not going into dump.  Also the dump will happen only when I provide 'longtext' parameter in the call function.  The long text parameter will lead the call in a perform PERFORM TEXT_UPDATE_F00 ON COMMIT' where it is going into dump.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 09:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417791#M1408807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-16T09:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_alm_notif_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417792#M1408808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The order is saved and then notification is created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 09:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417792#M1408808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-16T09:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_alm_notif_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417793#M1408809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinraaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can not use Commit in Enhancement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give a try by creating seperate program and use commit there instead directly in enhancement.(I am not sure but it may work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 09:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417793#M1408809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-16T09:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_alm_notif_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417794#M1408810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved by myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 09:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-notif-create/m-p/6417794#M1408810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T09:54:39Z</dc:date>
    </item>
  </channel>
</rss>

