Skip to Content
0

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

Mar 27 at 06:31 AM

39

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Nic Teunckens Mar 27 at 09:45 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member May 10 at 11:30 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded