cancel
Showing results for 
Search instead for 
Did you mean: 

Change user status in support notification

former_member357236
Participant
0 Kudos

Hi All,

Using Bapi BAPI_NOTIFICATION_CREATE i have created a program to mass upload support tickets in SOLMAN system.

I am able to create support tickets but user status is always NEW. I need to change the user status from New to CLOSED or WORK IN PROGRESS or ASSIGNED.

Please guide.

Regards,

Gopi.

Accepted Solutions (0)

Answers (2)

Answers (2)

jimmy_chan2
Explorer
0 Kudos

USE 'BAPI_ISUSMNOTIF_USERSTATUSSET'

paul_bakker2
Active Contributor
0 Kudos

I believe your function module is for IS-U only, Jimmy.

cheers

Paul

jimmy_chan2
Explorer
0 Kudos

This FM is for common use , I have been used .

    l_status-extern = '4002'.
    CALL FUNCTION 'BAPI_ISUSMNOTIF_USERSTATUSSET'
      EXPORTING
        number   = wa_svn_no-qmnum
        status   = l_status
        inactive = 'X'
      IMPORTING
       

return   = l_status_return.

    l_status-extern = '4001'.
    CALL FUNCTION 'BAPI_ISUSMNOTIF_USERSTATUSSET'
      EXPORTING
        number   = wa_svn_no-qmnum
        status   = l_status
        inactive = ' '
      IMPORTING
       

return   = l_status_return.

    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.

former_member357236
Participant
0 Kudos

Hi Jimmy,

This FM is not avaiable in SOLMAN system.

Component version : SAP EHP 1 for SAP Solution Manager 7.0

Regards,

Gopinathan.A

paul_bakker2
Active Contributor
0 Kudos

Hi,

Are you saying there are no other NOTIFICATION BAPI's except CREATE?

I assume you have looked?

cheers

Paul

former_member357236
Participant
0 Kudos

Hi Paul,

Yes, I have checked. No other Notification BAPI's found in SOLMAN System.

Regards,

Gopi.

paul_bakker2
Active Contributor
0 Kudos

Hi,

I had a look and you are correct - that's a shame! However, I see that BAPI_NOTIFICATION_CREATE calls fm DNO_OW_CREATE_NOTIFICATION.

In the same function group, you can find fm DNO_OW_SAP_CHANGE_NOTIFICATION, which has parameters I_VRGNG and I_STATUS. Do a where-used and you will see how examples on how to call it.

good luck

Paul