cancel
Showing results for 
Search instead for 
Did you mean: 

Change User Status in IW32 when the sort code is not empty

Former Member
0 Kudos

Hello Friends,

I have a Query . I need to change the user status when I create a Z7 notification .

The issue is that the when the Sort Field is Blank I am able to change the User Status to DEVR. But when the Sort is Field is Non balnk the status Does not change at the header level.

The Status that I want to change is 'DEVR' and the FM that I am using is 'STAUS_CHANGE_EXTERN'.

Regards,

Deepak.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Can you please let me know which user exit or any BADi applicable. AS I tried this BAPI in QQMA0014 but does not work. At item level the sttaus does not change with the notification raised. Also can you please suggest any other set of FMs or Exits or BADis where this or the alternative solution would work. I have been trying since long.

Awaiting your early positive reply.

Regards,

Deepak.

NTeunckens
Active Contributor
0 Kudos

The Sort Field is used in PM-Notification as a Descriptor for the Item-Level : so a Filled Sort Field will provide SAP information on a specific Item (Cause / Tasks / Activities) upon which the Actions are to be Performed. When this field is empty, the Header-level is Used.

So you should devise a way to only Update when you've gathered the Notification-Header data. Or provide us with a Sample so we can better determine what is happening. (=> You could also Add the Tag for "ABAP Development" to your Question to get more Response)

Another suggestion than the Classic StatusChange-FM is to make use of the BAPI "BAPI_ALM_NOTIF_CHANGEUSRSTAT" ...


Hope this helps

Nic T.