public interface TaskActivityService extends BatchService<TaskActivityServiceBatch>
The service contains header, person responsible, and text entities. The information is sent in the request as a payload. All information is used when creating, updating or deleting a task activity data, including appropriate checks for restricted values and authorizations. Once the task activity has been created or updated, the task activity information is sent in the response. If there are any issues when the task activity is created or updated, the system returns error messages. In each API call, you can use the following operations: - Retrieve task activities. - Create task activities. Note: You must use “deep insert” requests (a header plus the following entities: person responsible, and text). - Create new person responsible, text for existing task activities. - Update the header, person responsible, and text for existing task activities. - Delete the person responsible, and text for existing task activities. .
Reference: SAP API Business Hub
OData Service: | OP_API_TASK_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
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. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull TaskActivityService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CustMgmtTaskFluentHelper getAllCustMgmtTask()
CustMgmtTask
entities.CustMgmtTask
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 CustMgmtTaskByKeyFluentHelper getCustMgmtTaskByKey(String custMgmtTask)
CustMgmtTask
entity using key fields.custMgmtTask
- Transaction ID
Constraints: Not nullable, Maximum length: 10
CustMgmtTask
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 CustMgmtTaskCreateFluentHelper createCustMgmtTask(@Nonnull CustMgmtTask custMgmtTask)
CustMgmtTask
entity and save it to the S/4HANA system.custMgmtTask
- CustMgmtTask
entity object that will be created in the S/4HANA system.CustMgmtTask
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CustMgmtTaskUpdateFluentHelper updateCustMgmtTask(@Nonnull CustMgmtTask custMgmtTask)
CustMgmtTask
entity and save it to the S/4HANA system.custMgmtTask
- CustMgmtTask
entity object that will be updated in the S/4HANA system.CustMgmtTask
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CustMgmtTaskPersonRespFluentHelper getAllCustMgmtTaskPersonResp()
CustMgmtTaskPersonResp
entities.CustMgmtTaskPersonResp
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 CustMgmtTaskPersonRespByKeyFluentHelper getCustMgmtTaskPersonRespByKey(String custMgmtTask, String responsibleEmployee)
CustMgmtTaskPersonResp
entity using key fields.custMgmtTask
- Transaction ID
Constraints: Not nullable, Maximum length: 10
responsibleEmployee
- Business Partner Number
Constraints: Not nullable, Maximum length: 10
CustMgmtTaskPersonResp
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 CustMgmtTaskPersonRespCreateFluentHelper createCustMgmtTaskPersonResp(@Nonnull CustMgmtTaskPersonResp custMgmtTaskPersonResp)
CustMgmtTaskPersonResp
entity and save it to the S/4HANA system.custMgmtTaskPersonResp
- CustMgmtTaskPersonResp
entity object that will be created in the S/4HANA system.CustMgmtTaskPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CustMgmtTaskPersonRespUpdateFluentHelper updateCustMgmtTaskPersonResp(@Nonnull CustMgmtTaskPersonResp custMgmtTaskPersonResp)
CustMgmtTaskPersonResp
entity and save it to the S/4HANA system.custMgmtTaskPersonResp
- CustMgmtTaskPersonResp
entity object that will be updated in the S/4HANA system.CustMgmtTaskPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CustMgmtTaskPersonRespDeleteFluentHelper deleteCustMgmtTaskPersonResp(@Nonnull CustMgmtTaskPersonResp custMgmtTaskPersonResp)
CustMgmtTaskPersonResp
entity in the S/4HANA system.custMgmtTaskPersonResp
- CustMgmtTaskPersonResp
entity object that will be deleted in the S/4HANA system.CustMgmtTaskPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CustMgmtTaskTextFluentHelper getAllCustMgmtTaskText()
CustMgmtTaskText
entities.CustMgmtTaskText
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 CustMgmtTaskTextByKeyFluentHelper getCustMgmtTaskTextByKey(String custMgmtTask, String textObjectType, String language)
CustMgmtTaskText
entity using key fields.custMgmtTask
- Transaction ID
Constraints: Not nullable, Maximum length: 10
textObjectType
- Text ID
Constraints: Not nullable, Maximum length: 4
language
- Language Key
Constraints: Not nullable, Maximum length: 2
CustMgmtTaskText
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 CustMgmtTaskTextCreateFluentHelper createCustMgmtTaskText(@Nonnull CustMgmtTaskText custMgmtTaskText)
CustMgmtTaskText
entity and save it to the S/4HANA system.custMgmtTaskText
- CustMgmtTaskText
entity object that will be created in the S/4HANA system.CustMgmtTaskText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CustMgmtTaskTextUpdateFluentHelper updateCustMgmtTaskText(@Nonnull CustMgmtTaskText custMgmtTaskText)
CustMgmtTaskText
entity and save it to the S/4HANA system.custMgmtTaskText
- CustMgmtTaskText
entity object that will be updated in the S/4HANA system.CustMgmtTaskText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CustMgmtTaskTextDeleteFluentHelper deleteCustMgmtTaskText(@Nonnull CustMgmtTaskText custMgmtTaskText)
CustMgmtTaskText
entity in the S/4HANA system.custMgmtTaskText
- CustMgmtTaskText
entity object that will be deleted in the S/4HANA system.CustMgmtTaskText
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.