<?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 Malfunction date in Quality Notification in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307977#M1636241</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 call the following BAPI's to create a QN, specifically type Q5:&lt;/P&gt;&lt;P&gt;BAPI_QUALNOT_CREATE&lt;/P&gt;&lt;P&gt;BAPI_QUALNOT_SAVE&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT (and wait = X)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QN gets created successfully.  But, because the BAPI does not include the Malfunction Date (QMIH-AUSVN), I resorted to doing a BDC recording on QM02 and plugging in the malfunction date.  When I debug through the BDC program, it returns a message "Notification nnnnnn was saved".  However, when check the notification in QM02, the malfunction date is not there.  When I check QMIH-AUSVN, the date is not updated either.  I found that the date gets updated sometimes, and sometimes not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this is so? &lt;/P&gt;&lt;P&gt;Does anyone know a better way of programatically updating the Malfunction date in the background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards and many thanks,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2011 23:11:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-14T23:11:48Z</dc:date>
    <item>
      <title>Malfunction date in Quality Notification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307977#M1636241</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 call the following BAPI's to create a QN, specifically type Q5:&lt;/P&gt;&lt;P&gt;BAPI_QUALNOT_CREATE&lt;/P&gt;&lt;P&gt;BAPI_QUALNOT_SAVE&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT (and wait = X)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QN gets created successfully.  But, because the BAPI does not include the Malfunction Date (QMIH-AUSVN), I resorted to doing a BDC recording on QM02 and plugging in the malfunction date.  When I debug through the BDC program, it returns a message "Notification nnnnnn was saved".  However, when check the notification in QM02, the malfunction date is not there.  When I check QMIH-AUSVN, the date is not updated either.  I found that the date gets updated sometimes, and sometimes not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this is so? &lt;/P&gt;&lt;P&gt;Does anyone know a better way of programatically updating the Malfunction date in the background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards and many thanks,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 23:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307977#M1636241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-14T23:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Malfunction date in Quality Notification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307978#M1636242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After creating the QN, you are doing the BDC. There might have some locking issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you run the BDC in debug mode and check if its successfully saved or nor. In debug mode if there any locking issue you will get the error message. If you did not receive any error message, then put some wait after BAPI transaction commit and check again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of BDC, can you check the below FM- ISU_SMNOTIF_SETTIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Subhankar Garani on Nov 15, 2011 1:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 00:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307978#M1636242</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2011-11-15T00:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Malfunction date in Quality Notification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307979#M1636243</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;Use FM IQS4_CREATE_NOTIFICATION for your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass malfunction date in I_RIQS5-AUSVN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 03:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307979#M1636243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T03:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Malfunction date in Quality Notification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307980#M1636244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Subhankar and Vijay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the fms..&lt;/P&gt;&lt;P&gt;IQS4_GET_NOTIFICATION&lt;/P&gt;&lt;P&gt; IQS4_MODIFY_NOTIFICATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 04:43:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307980#M1636244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T04:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Malfunction date in Quality Notification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307981#M1636245</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 also have the same problem. Can you elaborate how did you solve the issue?&lt;/P&gt;&lt;P&gt;Have you completely removed the usabge of BAPI and used the 2 FMs mentioned in your post? or how it is?&lt;/P&gt;&lt;P&gt;really appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tahnks,&lt;/P&gt;&lt;P&gt;Pallavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 08:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307981#M1636245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-03T08:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Malfunction date in Quality Notification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307982#M1636246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pallavi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I continued to use the BAPI for all of the changes it accepts and used the extra FM for the ones the the BAPI doesn't do.  Once the BAPI is successful, I use the fm IQS4_GET_NOTIFICATION to get the data that I want back.  Then, I make the changes with the fm IQS4_MODIFY_NOTIFICATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 18:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307982#M1636246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-03T18:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Malfunction date in Quality Notification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307983#M1636247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huntr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have called the FMs after the notification is created using BAPI.  When I pass the malfunction end date to this FM, it is getting created, but some other fileds(required start date, required end date, plant etc..) which are already created using BAPI are deleted now. Not sure what has happened. Do we need to pass the entire data again to this FM? What data needs to be passed.&lt;/P&gt;&lt;P&gt;Could you please help me out in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pallavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 11:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307983#M1636247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-08T11:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Malfunction date in Quality Notification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307984#M1636248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you need to retrieve the entire data for the parameters that you need only.  For example, below I need to make changes in the qmel record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'IQS4_GET_NOTIFICATION'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          i_qmnum  = lv_qualnotnum&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          e_viqmel = ls_fviqmel&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          return   = lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING ls_fviqmel TO lw_riqs5_new.&lt;/P&gt;&lt;P&gt;      lw_riqs5_new-ausvn = equipmentfailuredate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'IQS4_MODIFY_NOTIFICATION'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          i_qmnum      = lv_qualnotnum&lt;/P&gt;&lt;P&gt;          i_riqs5_new  = lw_riqs5_new&lt;/P&gt;&lt;P&gt;          i_commit     = 'X'&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          e_viqmel_old = ls_viqmel_old&lt;/P&gt;&lt;P&gt;          e_viqmel_new = ls_viqmel_new&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          return       = lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Huntr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 17:34:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/malfunction-date-in-quality-notification/m-p/8307984#M1636248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-08T17:34:25Z</dc:date>
    </item>
  </channel>
</rss>

