cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: Notification priority Updation using BAPI BAPI_ALM_NOTIF_DATA_MODIFY

karthik_snair
Participant
0 Kudos
533

Hi Team,

I am trying to update the priority of the Notification header using the BAPI BAPI_ALM_NOTIF_DATA_MODIFY, No error is returning but its not updating the priority in the notification.

Please let me know how can i achieve this.

Thanks,

Karthik.S

Accepted Solutions (1)

Accepted Solutions (1)

paul_meehan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You need to execute the following:

BAPI_ALM_NOTIF_DATA_MODIFY
BAPI_ALM_NOTIF_SAVE
BAPI_TRANSACTION_COMMIT

In NOTIFHEADER fill the new priority as a number (1,2,3, etc.). In NOTIFHEADER_X fill field PRIORITY with 'X'.

Ensure you fill the notification number when calling BAPI_ALM_NOTIF_SAVE.

You should be able to run a quick test sequence in SE37 to check that this does work.

-Paul

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Paul,

Curious to learn from him whether it has worked, because I have tested this in exact sequence of these 3 FMs through SE37. The Priority field  is flowing to Export table, but not got saved when I tried repeatedly. Let's hear from him. You are right in saying that PRIOK value to be filled in both the Import tables, then only it was flowing to Export table. Possible I missed something while testing.

Regards

KJogeswaraRao

jogeswararao_kavala
Active Contributor
0 Kudos

Yes Paul,

I tried again and this has worked this time. I do not know what was happening previously.

Regards

KJogeswaraRao

paul_meehan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Works for me also

jogeswararao_kavala
Active Contributor
0 Kudos

Previously I was trying with one PRIOK value constantly, which might have some conflicts with enhancements. This time I changed the PRIOK value, then I saw it worked. Just for info.

Answers (1)

Answers (1)

karthik_snair
Participant
0 Kudos

yes its working now..

Thank You all of you

karthik_snair
Participant
0 Kudos

One small help further on this.

While updating the priority i don't want to update the start date end dates.. in that case which flag should i set ?

Please suggest.

Monr1
Newcomer
0 Kudos
Hi kartik, If you got any solution for this?