<?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: PM Notification - Update breakdown duration error using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427648#M542457</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;I am facing same issue in my project. If you have solved the issue please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jan 2010 22:34:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-25T22:34:29Z</dc:date>
    <item>
      <title>PM Notification - Update breakdown duration error using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427644#M542453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following functions to update a PM notification. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ALM_NOTIF_DATA_MODIFY&lt;/P&gt;&lt;P&gt;BAPI_ALM_NOTIF_SAVE&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function BAPI_ALM_NOTIF_DATA_MODIFY does not return a value for the breakdown duration field (DOWNTIME) or (AUSZT).  This field is not updated properly or returned in the BAPI whenever I change the malfunction end date and the breakdown flag is selected.  This field is automatically calculated when using transaction IW22, but the BAPI does not update this field or return the value.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this or does anyone have a solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rhonda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427644#M542453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: PM Notification - Update breakdown duration error using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427645#M542454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     IMPORTING parameter NUMBER is of type BAPI2080_NOTHDRE-NOTIF_NO (data element = domain = QMNUM). The domain QMNUM has a conversion routine ALPHA meaning that it fills any number with leading zero up to 12 digits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, I assume that the BAPI will work if you are using the following coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_MODIFY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;NUMBER = '000010000847'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;NOTIFTASK = notiftask&lt;/P&gt;&lt;P&gt;NOTIFTASK_X = notiftask_X&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RETURN = RETURN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, more reasonable is the following coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  ld_qmnum   TYPE qmnum,&lt;/P&gt;&lt;P&gt;         lt_return      TYPE bapirettab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      input = '100000847'   " or the variable holding the number&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      output = ld_qnnum.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_MODIFY'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    NUMBER = ld_qmnum&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    NOTIFTASK = notiftask &lt;/P&gt;&lt;P&gt;    NOTIFTASK_X = notiftask_X&lt;/P&gt;&lt;P&gt;    RETURN = lt_return.  " fetch the returned messages and...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;"... evaluate them (either success or failure)&lt;/P&gt;&lt;P&gt;LOOP AT lt_return TRANSPORTING NO FIELDS&lt;/P&gt;&lt;P&gt;                            WHERE ( type CA 'AEX' ).&lt;/P&gt;&lt;P&gt;  EXIT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;IF ( syst-subrc = 0 ).&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_COMMIT_WORK'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       wait = 'X'.      " synchronous&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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427645#M542454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T08:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: PM Notification - Update breakdown duration error using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427646#M542455</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;I have a same problem when using the BAPi 'BAPI_ALM_NOTIF_DATA_MODIFY' the breakdown duration doesn't update. When  I did the conversion of the notification number before passing it to the BAPI it is the same result. Did you find the solution of this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 12:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427646#M542455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: PM Notification - Update breakdown duration error using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427647#M542456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you ever get a solution to this problem? We have the same problem updating PM notifications using this BAPI.&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;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 10:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427647#M542456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T10:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: PM Notification - Update breakdown duration error using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427648#M542457</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;I am facing same issue in my project. If you have solved the issue please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 22:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427648#M542457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T22:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: PM Notification - Update breakdown duration error using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427649#M542458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We solved this problem with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  BDC_HEADER&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_header  USING  p_program  "value(p_2227)&lt;/P&gt;&lt;P&gt;                        p_screen.  "value(p_2228).&lt;/P&gt;&lt;P&gt;  CLEAR t_bdcdata.&lt;/P&gt;&lt;P&gt;  MOVE p_program TO t_bdcdata-program.&lt;/P&gt;&lt;P&gt;  MOVE p_screen  TO t_bdcdata-dynpro.&lt;/P&gt;&lt;P&gt;  MOVE 'X' TO t_bdcdata-dynbegin.&lt;/P&gt;&lt;P&gt;  APPEND t_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " BDC_HEADER&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  BDC_DATA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_data  USING  p_fnam  "value(p_2232)&lt;/P&gt;&lt;P&gt;                      p_fval. "value(p_2233).&lt;/P&gt;&lt;P&gt;  CLEAR t_bdcdata.&lt;/P&gt;&lt;P&gt;  MOVE p_fnam TO t_bdcdata-fnam.&lt;/P&gt;&lt;P&gt;  MOVE p_fval TO t_bdcdata-fval.&lt;/P&gt;&lt;P&gt;  APPEND t_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " BDC_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  F_GRAVA_TEMPO_PARADA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f_grava_tempo_parada USING p_ordem&lt;/P&gt;&lt;P&gt;                                p_horafim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH t_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_header USING 'SAPLIQS0'&lt;/P&gt;&lt;P&gt;                           '0100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_data   USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                           '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_data   USING 'RIWO00-QMNUM'&lt;/P&gt;&lt;P&gt;                            p_ordem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_header USING 'SAPLIQS0'&lt;/P&gt;&lt;P&gt;                           '7200'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_data   USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                           '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_data   USING 'VIQMEL-AUZTB'&lt;/P&gt;&lt;P&gt;                            p_horafim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_header USING 'SAPLIQS0'&lt;/P&gt;&lt;P&gt;                           '7200'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_data   USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                           '=BUCH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION ln_trans USING t_bdcdata MODE ln_mode MESSAGES INTO t_bdcmsg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " F_GRAVA_TEMPO_PARADA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando Montenegro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 19:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427649#M542458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T19:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: PM Notification - Update breakdown duration error using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427650#M542459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This note will help you:&lt;/P&gt;&lt;P&gt;1619709 - Notification breakdown duration not populated by BAPI call&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 12:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-notification-update-breakdown-duration-error-using-bapi/m-p/2427650#M542459</guid>
      <dc:creator>mauro_blanc3</dc:creator>
      <dc:date>2011-12-30T12:13:00Z</dc:date>
    </item>
  </channel>
</rss>

