public interface EnterpriseProjectService
This service enables you to read, create, update and delete project definition of enterprise projects.The service is based on the OData protocol and can be consumed by apps and other user interfaces.The information is sent in the request as a payload. All information is utilized when processing data, including appropriate checks for restricted values and authorizations. If any issues arise during an operation, the system displays error messages in the response.
Reference: SAP API Business Hub
OData Service: | API_ENTERPRISE_PROJECT_SRV |
API Version: | 1 |
Communication Scenario: | Enterprise Project Integration (SAP_COM_0308) |
Scope Items: | Project Financial Control (1NT), Project Review in Steering Committee Meetings (1YF) |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
EnterpriseProjectCreateFluentHelper |
createEnterpriseProject(EnterpriseProject enterpriseProject)
Create a new
EnterpriseProject entity and save it to the S/4HANA system. |
EnterpriseProjectDeleteFluentHelper |
deleteEnterpriseProject(EnterpriseProject enterpriseProject)
Deletes an existing
EnterpriseProject entity in the S/4HANA system. |
EnterpriseProjectFluentHelper |
getAllEnterpriseProject()
Fetch multiple
EnterpriseProject entities. |
EnterpriseProjectByKeyFluentHelper |
getEnterpriseProjectByKey(UUID projectUUID)
Fetch a single
EnterpriseProject entity using key fields. |
EnterpriseProjectUpdateFluentHelper |
updateEnterpriseProject(EnterpriseProject enterpriseProject)
Update an existing
EnterpriseProject entity and save it to the S/4HANA system. |
EnterpriseProjectService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.EnterpriseProjectService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull EnterpriseProjectFluentHelper getAllEnterpriseProject()
EnterpriseProject
entities.EnterpriseProject
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.@Nonnull EnterpriseProjectByKeyFluentHelper getEnterpriseProjectByKey(UUID projectUUID)
EnterpriseProject
entity using key fields.projectUUID
- Entity GuidConstraints: Not nullable
EnterpriseProject
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.@Nonnull EnterpriseProjectCreateFluentHelper createEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProject
entity and save it to the S/4HANA system.enterpriseProject
- EnterpriseProject
entity object that will be created in the S/4HANA system.EnterpriseProject
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull EnterpriseProjectUpdateFluentHelper updateEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProject
entity and save it to the S/4HANA system.enterpriseProject
- EnterpriseProject
entity object that will be updated in the S/4HANA system.EnterpriseProject
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull EnterpriseProjectDeleteFluentHelper deleteEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProject
entity in the S/4HANA system.enterpriseProject
- EnterpriseProject
entity object that will be deleted in the S/4HANA system.EnterpriseProject
entity. To perform execution, call the execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.