public interface CommercialProjectDetailService
You can use this service to extract information related to customer or internal projects, created in your SAP S/4HANA Cloud. The service is designed to provide all header and detail-level information about a project, and can be used as a data provider for integration with third-party tools or applications that support activities such as resource management, staffing, or time recording.
Reference: SAP API Business Hub
OData Service: | _CPD_SC_EXTERNAL_SERVICES_SRV |
API Version: | 1 |
Communication Scenario: | Commercial Project Integration (SAP_COM_0054) |
Scope Items: | Internal Project Management (1A8), Customer Project Management (J11) |
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 |
---|---|
PlanDataFluentHelper |
getAllPlanData()
Fetch multiple
PlanData entities. |
ProjectFluentHelper |
getAllProject()
Fetch multiple
Project entities. |
StaffingDataFluentHelper |
getAllStaffingData()
Fetch multiple
StaffingData entities. |
WorkItemFluentHelper |
getAllWorkItem()
Fetch multiple
WorkItem entities. |
WorkpackageFluentHelper |
getAllWorkpackage()
Fetch multiple
Workpackage entities. |
PlanDataByKeyFluentHelper |
getPlanDataByKey(String projectID,
String resType,
String workPackageID,
String resourceId,
String version,
String employee,
String confirmed,
String workitemId,
String delvryServOrg)
Fetch a single
PlanData entity using key fields. |
ProjectByKeyFluentHelper |
getProjectByKey(String projectID)
Fetch a single
Project entity using key fields. |
StaffingDataByKeyFluentHelper |
getStaffingDataByKey(String projectID,
String workPackageID,
String resType,
String resourceId,
String workitemId)
Fetch a single
StaffingData entity using key fields. |
WorkItemByKeyFluentHelper |
getWorkItemByKey(String workitem,
String workpackageID)
Fetch a single
WorkItem entity using key fields. |
WorkpackageByKeyFluentHelper |
getWorkpackageByKey(String workPackageID)
Fetch a single
Workpackage entity using key fields. |
CommercialProjectDetailService |
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.CommercialProjectDetailService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ProjectFluentHelper getAllProject()
Project
entities.@Nonnull ProjectByKeyFluentHelper getProjectByKey(String projectID)
Project
entity using key fields.projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
Project
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 WorkpackageFluentHelper getAllWorkpackage()
Workpackage
entities.Workpackage
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 WorkpackageByKeyFluentHelper getWorkpackageByKey(String workPackageID)
Workpackage
entity using key fields.workPackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
Workpackage
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 PlanDataFluentHelper getAllPlanData()
PlanData
entities.@Nonnull PlanDataByKeyFluentHelper getPlanDataByKey(String projectID, String resType, String workPackageID, String resourceId, String version, String employee, String confirmed, String workitemId, String delvryServOrg)
PlanData
entity using key fields.workitemId
- Work Item IDConstraints: Not nullable, Maximum length: 10
delvryServOrg
- This field links master project data with the company code and plant.Constraints: Not nullable, Maximum length: 5
resourceId
- Used to uniquely identify a resource.Constraints: Not nullable, Maximum length: 40
workPackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
resType
- Used to uniquely identify the resource type.Constraints: Not nullable, Maximum length: 4
employee
- Contains a unique eight-digit numerical code that represents a specific object (for example, an organizational unit, qualification or business event).Constraints: Not nullable, Maximum length: 8
projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
version
- A plan version is used to create different types of project estimates. Each version is associated with different version types that categorize versions into quote, baseline, current, and forecast.Constraints: Not nullable, Maximum length: 28
confirmed
- Confirmation of staffed EmployeeConstraints: Not nullable, Maximum length: 1
PlanData
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 WorkItemFluentHelper getAllWorkItem()
WorkItem
entities.@Nonnull WorkItemByKeyFluentHelper getWorkItemByKey(String workitem, String workpackageID)
WorkItem
entity using key fields.workpackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
workitem
- Work Item IDConstraints: Not nullable, Maximum length: 10
WorkItem
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 StaffingDataFluentHelper getAllStaffingData()
StaffingData
entities.StaffingData
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 StaffingDataByKeyFluentHelper getStaffingDataByKey(String projectID, String workPackageID, String resType, String resourceId, String workitemId)
StaffingData
entity using key fields.workitemId
- Work Item IDConstraints: Not nullable, Maximum length: 10
resourceId
- Used to uniquely identify a resource.Constraints: Not nullable, Maximum length: 40
workPackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
resType
- Used to uniquely identify the resource type.Constraints: Not nullable, Maximum length: 4
projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
StaffingData
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.Copyright © 2018 SAP SE. All rights reserved.