06-09-2009 2:07 PM
Hi Experts
i had used the exit IMRC0001 for the creation of notification if reading is out of range using fm
BAPI_ALM_NOTIF_CREATE
BAPI_ALM_NOTIF_SAVE
It is updated in table QMEL
but when i open tcode iw22 is giving me a error message that Object doesnt exists
Please help me .
Babumiya Mohammad
06-11-2009 6:43 AM
if i use BAPI Transaction commit it is going to dump
Please gurus help me
06-11-2009 8:42 AM
Try this instead:
* Create notification header
CALL FUNCTION 'IQS0_CREATE_VIQMEL'
EXPORTING R_VIQMEL = L_VIQMEL
I_NO_MSG = 'X'
TABLES E_VIQMEL = L_T_VIQMEL
EXCEPTIONS OTHERS = 1.
* Create notification item
CALL FUNCTION 'IQS0_ADD_ITEM'
EXPORTING I_QMNUM = L_T_VIQMEL-QMNUM
R_VIQMFE = L_VIQMFE
I_NO_MSG = 'X'
EXCEPTIONS OTHERS = 1.
ENDIF.
* Prepare posting of notification.
CALL FUNCTION 'IQS1_POST_NOTIFICATION'
EXPORTING I_COMMIT = ' '
TABLES E_VIQMEL = L_T_VIQMEL
EXCEPTIONS OTHERS = 1.
06-11-2009 1:22 PM
i have tried with same function module stil is not appearing in display mode (iw23) for notification display mode .
i have tried even with sample code provided by sap in cmod , then also same problem it is creating in the table QMEL but when i go for change or display mode it is giving message that object doesnt exist (status management)
06-11-2009 2:34 PM
Hi All
i got the solution
i have used PERFORM STATUS_UPDATE in PROGRAM SAPLBSVA
after BAPI_ALM_NOTIF_CREATE
BAPI_ALM_NOTIF_SAVE
Then it is creating Notification
Babumiya Mohammad
04-23-2014 12:50 PM
try this one hopefully it will solve your Problem
CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
after that you call
CALL FUNCTION 'STATUS_UPDATE_TASK_TRIGGER'.
then
CALL FUNCTION 'CREATE_TEXT'.