Skip to Content
0
Former Member
Nov 14, 2011 at 11:11 PM

Malfunction date in Quality Notification

514 Views

Hello,

I call the following BAPI's to create a QN, specifically type Q5:

BAPI_QUALNOT_CREATE

BAPI_QUALNOT_SAVE

BAPI_TRANSACTION_COMMIT (and wait = X)

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.

Does anyone know why this is so?

Does anyone know a better way of programatically updating the Malfunction date in the background?

Kind regards and many thanks,

Huntr