‎2007 Apr 02 5:18 AM
Hi experts,
Need help about this. I need to create a new notification number using BAPI_ALM_NOTIF_CREATE with the following data:
lwa_nothdri-equipment = CNWX100095.
lwa_nothdri-code_group = MECHCODE.
lwa_nothdri-coding = PM.
lwa_nothdri-reportedby = FRT-CLAIMS.
lwa_nothdri-priority = 3.
lwa_notitemi-dl_codegrp = WAYSINSP.
lwa_notitemi-dl_code = WR.
lwa_notitemi-descript = Test.
lwa_notitemi-item_key = 0001.
lwa_notitemi-item_sort_no = 0001.
Create.
CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
EXPORTING
notif_type = 'CC'
notifheader = lwa_nothdri
IMPORTING
notifheader_export = lwa_notifheader_export
TABLES
notitem = li_notitemi.
The lwa_notifheader_export-priority is returning a value of 1 instead of 3. how can I correct this?
‎2007 Oct 22 1:54 PM
Try creating a notification with the same data manually. You may find that your configuration for the notification type does not allow for that particular priority code. Also - depending on config this value may be inheriting from the equipment/floc.