@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCommercialProjectDetailService") public class DefaultCommercialProjectDetailService extends Object implements 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) |
Constructor and Description |
---|
DefaultCommercialProjectDetailService() |
Modifier and Type | Method and Description |
---|---|
PlanDataFluentHelper |
getAllPlanData()
Fetch multiple
PlanData entities. |
ProjectFluentHelper |
getAllProject()
Fetch multiple
Project 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. |
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. |
public DefaultCommercialProjectDetailService()
public ProjectFluentHelper getAllProject()
CommercialProjectDetailService
Project
entities.getAllProject
in interface CommercialProjectDetailService
Project
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.public ProjectByKeyFluentHelper getProjectByKey(String projectID)
CommercialProjectDetailService
Project
entity using key fields.getProjectByKey
in interface CommercialProjectDetailService
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.public WorkpackageFluentHelper getAllWorkpackage()
CommercialProjectDetailService
Workpackage
entities.getAllWorkpackage
in interface CommercialProjectDetailService
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.public WorkpackageByKeyFluentHelper getWorkpackageByKey(String workPackageID)
CommercialProjectDetailService
Workpackage
entity using key fields.getWorkpackageByKey
in interface CommercialProjectDetailService
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.public PlanDataFluentHelper getAllPlanData()
CommercialProjectDetailService
PlanData
entities.getAllPlanData
in interface CommercialProjectDetailService
PlanData
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.public PlanDataByKeyFluentHelper getPlanDataByKey(String projectID, String resType, String workPackageID, String resourceId, String version, String employee, String confirmed, String workitemId, String delvryServOrg)
CommercialProjectDetailService
PlanData
entity using key fields.getPlanDataByKey
in interface CommercialProjectDetailService
projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
resType
- Used to uniquely identify the resource type.Constraints: Not nullable, Maximum length: 4
workPackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
resourceId
- Used to uniquely identify a resource.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
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
confirmed
- Confirmation of staffed EmployeeConstraints: Not nullable, Maximum length: 1
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
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.public WorkItemFluentHelper getAllWorkItem()
CommercialProjectDetailService
WorkItem
entities.getAllWorkItem
in interface CommercialProjectDetailService
WorkItem
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.public WorkItemByKeyFluentHelper getWorkItemByKey(String workitem, String workpackageID)
CommercialProjectDetailService
WorkItem
entity using key fields.getWorkItemByKey
in interface CommercialProjectDetailService
workitem
- Work Item IDConstraints: Not nullable, Maximum length: 10
workpackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
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.Copyright © 2018 SAP SE. All rights reserved.