public interface CreateAndUpdateCommercialProjectsService
This service enables you to create and update commercial projects in a SAP S/4HANA Cloud system. For example, you can use this service to create a customer or internal project based on an opportunity or a quotation.
Reference: SAP API Business Hub
OData Service: | _CPD_SC_PROJ_ENGMT_CREATE_UPD_SRV |
API Version: | 1 |
Communication Scenario: | Commercial Project Integration (SAP_COM_0054), Commercial Project Integration (SAP_COM_0054) |
Scope Items: | Internal Project Management (1A8), Customer Project Management (J11) |
Modifier and Type | Method and Description |
---|---|
DemandCreateFluentHelper |
createDemand(Demand demand)
Create a new
Demand entity and save it to the S/4HANA system. |
ProjectCreateFluentHelper |
createProject(Project project)
Create a new
Project entity and save it to the S/4HANA system. |
WorkItemCreateFluentHelper |
createWorkItem(WorkItem workItem)
Create a new
WorkItem entity and save it to the S/4HANA system. |
WorkPackageCreateFluentHelper |
createWorkPackage(WorkPackage workPackage)
Create a new
WorkPackage entity and save it to the S/4HANA system. |
DemandDeleteFluentHelper |
deleteDemand(Demand demand)
Deletes an existing
Demand entity in the S/4HANA system. |
WorkItemDeleteFluentHelper |
deleteWorkItem(WorkItem workItem)
Deletes an existing
WorkItem entity in the S/4HANA system. |
WorkPackageDeleteFluentHelper |
deleteWorkPackage(WorkPackage workPackage)
Deletes an existing
WorkPackage entity in the S/4HANA system. |
DemandFluentHelper |
getAllDemand()
Fetch multiple
Demand entities. |
ProjectFluentHelper |
getAllProject()
Fetch multiple
Project entities. |
WorkItemFluentHelper |
getAllWorkItem()
Fetch multiple
WorkItem entities. |
WorkPackageFluentHelper |
getAllWorkPackage()
Fetch multiple
WorkPackage entities. |
DemandByKeyFluentHelper |
getDemandByKey(String projectID,
String workPackageID,
String workPackageName,
String resType,
String resourceId,
String workitem,
String delvryServOrg)
Fetch a single
Demand entity using key fields. |
ProjectByKeyFluentHelper |
getProjectByKey(String projectID)
Fetch a single
Project entity using key fields. |
WorkItemByKeyFluentHelper |
getWorkItemByKey(String projectID,
String workitem,
String workPackageID,
String workPackageName)
Fetch a single
WorkItem entity using key fields. |
WorkPackageByKeyFluentHelper |
getWorkPackageByKey(String projectID,
String workPackageID,
String workPackageName)
Fetch a single
WorkPackage entity using key fields. |
DemandUpdateFluentHelper |
updateDemand(Demand demand)
Update an existing
Demand entity and save it to the S/4HANA system. |
ProjectUpdateFluentHelper |
updateProject(Project project)
Update an existing
Project entity and save it to the S/4HANA system. |
WorkItemUpdateFluentHelper |
updateWorkItem(WorkItem workItem)
Update an existing
WorkItem entity and save it to the S/4HANA system. |
WorkPackageUpdateFluentHelper |
updateWorkPackage(WorkPackage workPackage)
Update an existing
WorkPackage entity and save it to the S/4HANA system. |
ProjectFluentHelper getAllProject()
Project
entities.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.ProjectCreateFluentHelper createProject(Project project)
Project
entity and save it to the S/4HANA system.ProjectUpdateFluentHelper updateProject(Project project)
Project
entity and save it to the S/4HANA system.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.WorkPackageByKeyFluentHelper getWorkPackageByKey(String projectID, String workPackageID, String workPackageName)
WorkPackage
entity using key fields.workPackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
workPackageName
- Plan Item DescriptionConstraints: Not nullable, Maximum length: 60
projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
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.WorkPackageCreateFluentHelper createWorkPackage(WorkPackage workPackage)
WorkPackage
entity and save it to the S/4HANA system.workPackage
- WorkPackage
entity object that will be created in the S/4HANA system.WorkPackage
entity. To perform execution, call the execute
method on the fluent helper object.WorkPackageUpdateFluentHelper updateWorkPackage(WorkPackage workPackage)
WorkPackage
entity and save it to the S/4HANA system.workPackage
- WorkPackage
entity object that will be updated in the S/4HANA system.WorkPackage
entity. To perform execution, call the execute
method on the fluent helper object.WorkPackageDeleteFluentHelper deleteWorkPackage(WorkPackage workPackage)
WorkPackage
entity in the S/4HANA system.workPackage
- WorkPackage
entity object that will be deleted in the S/4HANA system.WorkPackage
entity. To perform execution, call the execute
method on the fluent helper object.WorkItemFluentHelper getAllWorkItem()
WorkItem
entities.WorkItemByKeyFluentHelper getWorkItemByKey(String projectID, String workitem, String workPackageID, String workPackageName)
WorkItem
entity using key fields.workPackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
workPackageName
- Plan Item DescriptionConstraints: Not nullable, Maximum length: 60
workitem
- Work Item IDConstraints: Not nullable, Maximum length: 10
projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
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.WorkItemCreateFluentHelper createWorkItem(WorkItem workItem)
WorkItem
entity and save it to the S/4HANA system.WorkItemUpdateFluentHelper updateWorkItem(WorkItem workItem)
WorkItem
entity and save it to the S/4HANA system.WorkItemDeleteFluentHelper deleteWorkItem(WorkItem workItem)
WorkItem
entity in the S/4HANA system.DemandFluentHelper getAllDemand()
Demand
entities.DemandByKeyFluentHelper getDemandByKey(String projectID, String workPackageID, String workPackageName, String resType, String resourceId, String workitem, String delvryServOrg)
Demand
entity using key fields.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
workPackageName
- Plan Item DescriptionConstraints: Not nullable, Maximum length: 60
resType
- Used to uniquely identify the resource type.Constraints: Not nullable, Maximum length: 4
workitem
- Work Item IDConstraints: Not nullable, Maximum length: 10
projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
Demand
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.DemandCreateFluentHelper createDemand(Demand demand)
Demand
entity and save it to the S/4HANA system.DemandUpdateFluentHelper updateDemand(Demand demand)
Demand
entity and save it to the S/4HANA system.DemandDeleteFluentHelper deleteDemand(Demand demand)
Demand
entity in the S/4HANA system.Copyright © 2018 SAP SE. All rights reserved.