‎2012 Jan 16 7:12 AM
Hi All,
I am trying update completed on in a quality Notification(QM01 tcode) using BAPI.I found out below BAPI could be of use for me.
CALL FUNCTION 'BAPI_QUALNOT_CHANGETSKSTAT'
EXPORTING
number = *Notification number passed*
task_key = '0001'
task_code = '02''
carried_out_date = sy-datlo
carried_out_time = sy-timlo
TABLES
return = it_return.But it is not getting updated in notification. Am I missing somethibg. Kindly let me know if you have any idea.
Best Regards
Himayat
‎2012 Jan 16 7:20 AM
‎2012 Jan 16 7:55 AM
Hi Keshav,
Thanks for the update.BAPI_QUALNOT_MODIFY_DATA doesnt have any fields in its interface which I can use to pass completed on date and completed on time..thats why I tried using BAPI_QUALNOT_CHANGETSKSTAT in which I could find Date on Which the Task Was Completed,Time at Which Task Was Completed fields(CARRIED_OUT_DATE,CARRIED_OUT_TIME).
But this was also wasnot of any help..
‎2012 Jan 16 8:32 AM
If the return parameter doesnt give any error call these two function modules after that , BAPI_QUALNOT_SAVE and BAPI_TRANSACTION_COMMIT
‎2022 Sep 01 6:50 PM
When I apply BAPI_QUALNOT_SAVE and BAPI_TRANSACTION_COMMIT, I get an error that notification does not exist.
Does anyone have a Follow up answer to this?