2008 Mar 24 3:27 PM
Does any body know of any FM to change a user status on a notification or have any idea how to get this down?
Thanks
2008 Mar 24 3:31 PM
Use this FM
>BAPI_SERVNOT_CHANGEUSRSTAT
Look into function Groups
>IQS6
and
>IQS7
Hope this Helps
a
Use this FM
>BAPI_SERVNOT_CHANGEUSRSTAT
Look into function Groups
>IQS6
and
>IQS7
Hope this Helps
a
2008 Mar 24 3:31 PM
Use this FM
>BAPI_SERVNOT_CHANGEUSRSTAT
Look into function Groups
>IQS6
and
>IQS7
Hope this Helps
a
2008 Mar 24 3:33 PM
Perhaps you can find useful the next one: STATUS_CHANGE_EXTERN
Luck.
2008 Jun 11 12:59 PM
Hi Sheldon,
I've succesfully managed to change the user status by executing the
coding below. The possible user statuses you can find in table TJ30T.
CALL FUNCTION 'STATUS_CHANGE_EXTERN'
EXPORTING
* CHECK_ONLY = ' '
* CLIENT = SY-MANDT
OBJNR = 'VB0010000249000000'
USER_STATUS = 'E0001'
* SET_INACT = ' '
* SET_CHGKZ =
* NO_CHECK = ' '
* IMPORTING
* STONR =
EXCEPTIONS
OBJECT_NOT_FOUND = 1
STATUS_INCONSISTENT = 2
STATUS_NOT_ALLOWED = 3
OTHERS = 4
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
* IMPORTING
* RETURN =
.
If this helped you out don't forget to reward points.
Best regards,
Tom.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |