@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCommercialProjectService") public class DefaultCommercialProjectService extends Object implements CommercialProjectService
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) |
Scope Items: | Internal Project Management (1A8), Customer Project Management (J11) |
Constructor and Description |
---|
DefaultCommercialProjectService() |
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. |
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. |
WorkPackageUpdateFluentHelper |
updateWorkPackage(WorkPackage workPackage)
Update an existing
WorkPackage entity and save it to the S/4HANA system. |
public ProjectCreateFluentHelper createProject(Project project)
CommercialProjectService
Project
entity and save it to the S/4HANA system.createProject
in interface CommercialProjectService
project
- Project
entity object that will be created in the S/4HANA system.Project
entity. To perform execution, call the execute
method on the fluent helper object.public ProjectUpdateFluentHelper updateProject(Project project)
CommercialProjectService
Project
entity and save it to the S/4HANA system.updateProject
in interface CommercialProjectService
project
- Project
entity object that will be updated in the S/4HANA system.Project
entity. To perform execution, call the execute
method on the fluent helper object.public WorkPackageCreateFluentHelper createWorkPackage(WorkPackage workPackage)
CommercialProjectService
WorkPackage
entity and save it to the S/4HANA system.createWorkPackage
in interface CommercialProjectService
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.public WorkPackageUpdateFluentHelper updateWorkPackage(WorkPackage workPackage)
CommercialProjectService
WorkPackage
entity and save it to the S/4HANA system.updateWorkPackage
in interface CommercialProjectService
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.public WorkPackageDeleteFluentHelper deleteWorkPackage(WorkPackage workPackage)
CommercialProjectService
WorkPackage
entity in the S/4HANA system.deleteWorkPackage
in interface CommercialProjectService
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.public WorkItemCreateFluentHelper createWorkItem(WorkItem workItem)
CommercialProjectService
WorkItem
entity and save it to the S/4HANA system.createWorkItem
in interface CommercialProjectService
workItem
- WorkItem
entity object that will be created in the S/4HANA system.WorkItem
entity. To perform execution, call the execute
method on the fluent helper object.public WorkItemDeleteFluentHelper deleteWorkItem(WorkItem workItem)
CommercialProjectService
WorkItem
entity in the S/4HANA system.deleteWorkItem
in interface CommercialProjectService
workItem
- WorkItem
entity object that will be deleted in the S/4HANA system.WorkItem
entity. To perform execution, call the execute
method on the fluent helper object.public DemandCreateFluentHelper createDemand(Demand demand)
CommercialProjectService
Demand
entity and save it to the S/4HANA system.createDemand
in interface CommercialProjectService
demand
- Demand
entity object that will be created in the S/4HANA system.Demand
entity. To perform execution, call the execute
method on the fluent helper object.public DemandUpdateFluentHelper updateDemand(Demand demand)
CommercialProjectService
Demand
entity and save it to the S/4HANA system.updateDemand
in interface CommercialProjectService
demand
- Demand
entity object that will be updated in the S/4HANA system.Demand
entity. To perform execution, call the execute
method on the fluent helper object.public DemandDeleteFluentHelper deleteDemand(Demand demand)
CommercialProjectService
Demand
entity in the S/4HANA system.deleteDemand
in interface CommercialProjectService
demand
- Demand
entity object that will be deleted in the S/4HANA system.Demand
entity. To perform execution, call the execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.