Application Development 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: 

System Status in Notification

Former Member
0 Kudos

Dear All,

I have to update the System status in Notification (SAP - PM). Any BAPi function module is there for update the System status. (Here System status and User status are two fields are there I want system status)

Thanks and regards,

Krish....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Try these FMs

STATUS_UPDATE

STATUS_TEXT_EDIT

4 REPLIES 4

Former Member
0 Kudos

Try these FMs

STATUS_UPDATE

STATUS_TEXT_EDIT

Former Member
0 Kudos

Hi Krish,

You can use this FM 'AIP9_STATUS_READ' to get the system status and user status.

The input to this FM would be the object number -OBJNR

Regrds,

Booma Ganesan

Former Member
0 Kudos

USE FM STATUS_TEXT_EDIT

Import parameters Value

CLIENT 120

FLG_USER_STAT

OBJNR QM000300000103 -CONCATNATE 'QM' 'NOTIFICATION NO.' (WITH 0'S) ONLY_ACTIVE X

SPRAS EN

BYPASS_BUFFER

Export parameters Value

ANW_STAT_EXISTING

E_STSMA ZSRVPRF1

LINE NOCO ORAS ---SYSTEM STATUS

USER_LINE ---USER STATUS

STONR 10

raymond_giuseppi
Active Contributor

System status should not be edited by external FM, look for the following BAPI depending on the status you want to change

NOTIFICATIONS: PM/CS BAPI

BAPI_ALM_NOTIF_CHANGEUSRSTAT Change User Status of a PM/CS Notification

BAPI_ALM_NOTIF_CLOSE Complete PM/CS Notification

BAPI_ALM_NOTIF_CREATE Create PM/CS Notification

BAPI_ALM_NOTIF_DATA_ADD PM/CS Notification: Add Data

BAPI_ALM_NOTIF_DATA_DELETE PM/CS Notification: Delete Data

BAPI_ALM_NOTIF_DATA_MODIFY PM/CS Notification: Change Data

BAPI_ALM_NOTIF_GET_DETAIL PM/CS Notification: Read Detail Data

BAPI_ALM_NOTIF_LIST_EQUI Select PM/CS Notifications by Equipment

BAPI_ALM_NOTIF_LIST_FUNCLOC Select PM/CS Notifications by Functional Locations

BAPI_ALM_NOTIF_LIST_PARTNER Select PM/CS Notifications by Partners

BAPI_ALM_NOTIF_LIST_PLANGROUP Select PM/CS Notifications by Maintenance Planner Group

BAPI_ALM_NOTIF_LIST_SORTFIELD Select PM/CS Notifications by Sort Field

BAPI_ALM_NOTIF_POSTPONE Reset PM/CS Notification

BAPI_ALM_NOTIF_PUTINPROGRESS Release PM/CS Notification

BAPI_ALM_NOTIF_SAVE Save PM/CS Notification " Always call this one before commit

BAPI_ALM_NOTIF_TASK_COMPLETE PM/CS Notification: Complete Task

BAPI_ALM_NOTIF_TASK_RELEASE PM/CS Notification: Release Task

BAPI_ALM_NOTIF_TASK_SUCCESS PM/CS Notification: Set Task to Successful

BAPI_SERVICENOTIFICAT_CREATE Create service notification

BAPI_SERVICENOTIFICAT_GETLIST Select service notifications according to customer or contact person

Regards