on ‎2020 May 06 2:41 PM
Hi,
I'm looking for SAP oData service, where I can create PM notification on S4H system. I've searched https://api.sap.com/apicockpit, but there are only methods for GET, or POST for accept or dismiss, but none for create. Usually I use IW21 transaction or FM IQS4_CREATE_NOTIFICATION.
Exist service for creating this type of notifications ?
Thanks.
Request clarification before answering.
Hi,
thanks for hint. With this service I can read notifications. With you help, we found exact service to create notification for PM with my colleague.
service: /sap/opu/odata/sap/eam_ntf_create/NotificationHeaderSet
sample data:
{
"AttachmentId" : "",
"UserCanBeNotified" : false,
"NotificationPhase" : "1",
"PlantSection" : "",
"Completed" : false,
"Room" : "",
"NotificationNumber" : "",
"ShortText" : "",
"NotificationTimezone" : "EET",
"NotificationDate" : "\/Date(1588809600000)\/",
"NotificationTime" : "PT15H23M16S",
"TecObjNoLeadingZeros" : "",
"TechnicalObjectTypeDesc" : "",
"ReporterDisplay" : "",
"LastChangedTimestamp" : "\/Date(1588850638000)\/",
"TechnicalObjectType" : "",
"Deleted" : false,
"Effect" : "",
"EffectText" : "",
"DateMonitor" : "Y",
"NotificationTimestamp" : "\/Date(1588854196000)\/",
"ReporterUserId" : "",
"TechnicalObjectNumber" : "",
"TechnicalObjectDescription" : "",
"NotificationType" : "M1",
"Priority" : "",
"PriorityType" : "PM",
"PriorityText" : "",
"Location" : "",
"Reporter" : "",
"Subscribed" : false
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the API Hub there doesn't seem to be an API that fulfills your requirements. I did a lookup in an S/4HANA 1909 system on that specific function module (and the function modules which integrate this specific one). Unfortunately it looks like there's no standard OData service available that specific function module.
I do however see an odata service EAM_OBJPG_MAINTNOTIFICATION with a GET/POST/PATCH method on entity C_ObjPgMaintNotification which might serve your needs:

(I'm using ABAP OpenAPI to create this screenshot)
Best regards,
Geert-Jan Klaps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.