You can use the AI_CRM_GW_CREATE_INCIDENT
OData service to create incidents from any client application that is able to access this service via the SAP Gateway.
The AI_CRM_GW_CREATE_INCIDENT
OData service is stored in the AI_CRM_GW
package, in the AI_CRM_GW_CREATE_INCIDENT
project.
The AI_CRM_GW_CREATE_INCIDENT
OData service is defined as follows:
Use Incident
to create incidents using the POST OData request on the IncidentSet
entity set.
Use the following properties to pass values for incident creation:
ProcessType
: Process type of the incident
Description
: Short text of the incident
CategoryId
: Category ID for the incident (optional). If you provide this property, you must also provide CategoryAspectId
and CategoryCatalogType
.
CategoryAspectId
: Aspect ID related to the category (optional)
CategoryCatalogType
: Catalog type related to the category (optional)
SAPComponent
: SAP component for which the incident is created (optional)
LongText
: Long text that describes the incident
Priority
: Priority of the incident
ConfigurationItemId
: If the incident reports an issue for a given configuration item (for example, a system), the configuration item can be linked to the incident (optional).
Partner1
: Business partner 1 of incident
PartnerFct1
: Business function of partner 1. If it is not provided, business partner 1 is of Reporter
business partner function.
Partner2
: Business partner 2 of incident
PartnerFct2
: Business function of partner 2. If it is not provided, business partner 2 is of Contact Person
business partner function.
Partner3
: Business partner 3 of incident
PartnerFct3
: Business function of partner 3. If it is not provided, business partner 3 is of Processor
business partner function.
The following properties provide data in return after incident creation:
Guid
ObjectId
All other entities provide value help for incident creation.
You request the data using GET calls. The value helps are implemented via using the GetEntitySet
service of the entity sets.
Entity | Description |
---|---|
| Returns business partner entities if you pass Use to implement a suggestion input. The result contains the following:
|
| Returns category entities if you pass the The The
If you provide the |
| If you provide the The
The |
| Returns configuration item entities by using a “contains pattern” search on the The result contains, among others, the following properties with specific scopes:
|
| Returns a list of possible priorities as code and description value pair. No filters are implemented. |
| Used to return a list of all possible process types for which incidents can be created. Returns the process type code, the language and a short and long description. No filters are implemented. |
You use SAP Gateway Service Builder (SEGW) on SAP Gateway to display services.