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

CREATE NOTIFICATION With BAPI

mario_abel
Explorer
0 Likes
2,057

I tried using BAPI ALM_ME_NOTIFICATION_CREATE to create a notification but then there is an error message: Userstatus could not be changed. Why is that?

Which information must I to put into the table notification_userstatus?

In the moment it looks like this:

ls_note_userstatus-objnr(2) = 'QM'.

ls_note_userstatus-status = 'KOEW'.

ls_note_userstatus-inact = 'X'.

ls_note_userstatus-changed = 'X'.

append ls_note_userstatus to lt_note_userstatus.

ls_note_userstatus-objnr(2) = 'QM'.

ls_note_userstatus-status = 'KOIA'.

ls_note_userstatus-inact = ' '.

ls_note_userstatus-changed = 'X'.

append ls_note_userstatus to lt_note_userstatus.

Thanks

Toto

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
978

Try this BAPI BAPI_ALM_NOTIF_CREATE

Regards

Vijay

3 REPLIES 3
Read only

Former Member
0 Likes
978

I think there is always an initial status of the Service Notification when the notification gets created which i should start from. After creating try calling BAPI to modify the service notification created by the previous FM.

A.

Read only

Former Member
0 Likes
979

Try this BAPI BAPI_ALM_NOTIF_CREATE

Regards

Vijay

Read only

0 Likes
978

Try using the FM.

<b>BAPI_SERVNOT_CREATE.</b>

there are bunch of good BAPIs in the FG IQS6.

Amandeep