PM : Create Notification Deletion Flag FM
I'd like to know if there is any FM to set Deletion Flag on a PM Notification like in IW22 .
Thanks in advance
Jogeswara Rao K replied
You can do it with function module STATUS_CHANGE_INTERN.
Pass Notification OBJNR value in the OBJNR import field of the fm. (OBJNR value you will get from VIQMEL table, or it is nothing but 12digit Notification number with QM as prefix). Give value I0076 in the STAT field of STATUS table of the fm. Now execute this fm in sequence with the fm BAPI_TRANSACTION_COMMIT. The job will be done. Means the Notification turns into DLFL status.