Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ALM_NOTIF_CREATE

Former Member
0 Likes
329

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?

1 REPLY 1
Read only

Former Member
0 Likes
278

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.