05-07-2009 7:41 AM
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....
05-07-2009 7:52 AM
05-07-2009 7:52 AM
05-07-2009 8:01 AM
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
05-07-2009 8:59 AM
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
05-07-2009 9:20 AM
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