@Named public class DefaultCreateAndUpdateCommercialProjectsService extends Object implements 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) |
Constructor and Description |
---|
DefaultCreateAndUpdateCommercialProjectsService() |
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. |
public DefaultCreateAndUpdateCommercialProjectsService()
public ProjectFluentHelper getAllProject()
CreateAndUpdateCommercialProjectsService
Project
entities.getAllProject
in interface CreateAndUpdateCommercialProjectsService
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)
CreateAndUpdateCommercialProjectsService
Project
entity using key fields.getProjectByKey
in interface CreateAndUpdateCommercialProjectsService
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 ProjectCreateFluentHelper createProject(Project project)
CreateAndUpdateCommercialProjectsService
Project
entity and save it to the S/4HANA system.createProject
in interface CreateAndUpdateCommercialProjectsService
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)
CreateAndUpdateCommercialProjectsService
Project
entity and save it to the S/4HANA system.updateProject
in interface CreateAndUpdateCommercialProjectsService
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 WorkPackageFluentHelper getAllWorkPackage()
CreateAndUpdateCommercialProjectsService
WorkPackage
entities.getAllWorkPackage
in interface CreateAndUpdateCommercialProjectsService
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 projectID, String workPackageID, String workPackageName)
CreateAndUpdateCommercialProjectsService
WorkPackage
entity using key fields.getWorkPackageByKey
in interface CreateAndUpdateCommercialProjectsService
projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
workPackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
workPackageName
- Plan Item DescriptionConstraints: Not nullable, Maximum length: 60
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 WorkPackageCreateFluentHelper createWorkPackage(WorkPackage workPackage)
CreateAndUpdateCommercialProjectsService
WorkPackage
entity and save it to the S/4HANA system.createWorkPackage
in interface CreateAndUpdateCommercialProjectsService
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)
CreateAndUpdateCommercialProjectsService
WorkPackage
entity and save it to the S/4HANA system.updateWorkPackage
in interface CreateAndUpdateCommercialProjectsService
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)
CreateAndUpdateCommercialProjectsService
WorkPackage
entity in the S/4HANA system.deleteWorkPackage
in interface CreateAndUpdateCommercialProjectsService
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 WorkItemFluentHelper getAllWorkItem()
CreateAndUpdateCommercialProjectsService
WorkItem
entities.getAllWorkItem
in interface CreateAndUpdateCommercialProjectsService
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 projectID, String workitem, String workPackageID, String workPackageName)
CreateAndUpdateCommercialProjectsService
WorkItem
entity using key fields.getWorkItemByKey
in interface CreateAndUpdateCommercialProjectsService
projectID
- Identifies a master project.Constraints: Not nullable, Maximum length: 40
workitem
- Work Item IDConstraints: Not nullable, Maximum length: 10
workPackageID
- Plan ItemConstraints: Not nullable, Maximum length: 50
workPackageName
- Plan Item DescriptionConstraints: Not nullable, Maximum length: 60
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.public WorkItemCreateFluentHelper createWorkItem(WorkItem workItem)
CreateAndUpdateCommercialProjectsService
WorkItem
entity and save it to the S/4HANA system.createWorkItem
in interface CreateAndUpdateCommercialProjectsService
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 WorkItemUpdateFluentHelper updateWorkItem(WorkItem workItem)
CreateAndUpdateCommercialProjectsService
WorkItem
entity and save it to the S/4HANA system.updateWorkItem
in interface CreateAndUpdateCommercialProjectsService
workItem
- WorkItem
entity object that will be updated in the S/4HANA system.WorkItem
entity. To perform execution, call the execute
method on the fluent helper object.public WorkItemDeleteFluentHelper deleteWorkItem(WorkItem workItem)
CreateAndUpdateCommercialProjectsService
WorkItem
entity in the S/4HANA system.deleteWorkItem
in interface CreateAndUpdateCommercialProjectsService
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 DemandFluentHelper getAllDemand()
CreateAndUpdateCommercialProjectsService
Demand
entities.getAllDemand
in interface CreateAndUpdateCommercialProjectsService
Demand
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 DemandByKeyFluentHelper getDemandByKey(String projectID, String workPackageID, String workPackageName, String resType, String resourceId, String workitem, String delvryServOrg)
CreateAndUpdateCommercialProjectsService
Demand
entity using key fields.getDemandByKey
in interface CreateAndUpdateCommercialProjectsService
projectID
- Identifies a master project.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
resourceId
- Used to uniquely identify a resource.Constraints: Not nullable, Maximum length: 40
workitem
- 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
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.public DemandCreateFluentHelper createDemand(Demand demand)
CreateAndUpdateCommercialProjectsService
Demand
entity and save it to the S/4HANA system.createDemand
in interface CreateAndUpdateCommercialProjectsService
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)
CreateAndUpdateCommercialProjectsService
Demand
entity and save it to the S/4HANA system.updateDemand
in interface CreateAndUpdateCommercialProjectsService
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)
CreateAndUpdateCommercialProjectsService
Demand
entity in the S/4HANA system.deleteDemand
in interface CreateAndUpdateCommercialProjectsService
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.