Class DefaultStatutoryReportingTaskService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,StatutoryReportingTaskService
The service contains entities that represent the actions you can complete with this API. Each entity contained in this service is named after an action of Document and Reporting Compliance Task. - Task – Manage an Ad hoc task for the specified report. - Phase – Manage phases for the specified report. - Activity – Manage the activities for the specified report. - Run – Manage runs for the specified report. - RunParameter – Check the Run parameters used for the specified report..
Reference: SAP API Business Hub
Details:
| OData Service: | CE_STATUTORYREPORTINGTASK_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - ACR Services for Partner Enablement Integration(SAP_COM_0775) |
| Scope Items: | Compliance Formats - Support Preparation(1J2) |
| Authentication Methods: | x509 |
| Service Group Name: | API_STATUTORYREPORTINGTASK |
| Business Object: | Statutory Reporting Task |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.StatutoryReportingTaskService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionCreates a service usingStatutoryReportingTaskService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Creates a batch request builder object.Fetch the number of entries from theActivityentity collection matching the filter and search expressions.Fetch the number of entries from thePhaseentity collection matching the filter and search expressions.countRun()Fetch the number of entries from theRunentity collection matching the filter and search expressions.Fetch the number of entries from theRunParameterentity collection matching the filter and search expressions.Fetch the number of entries from theTaskentity collection matching the filter and search expressions.createActivity(Activity activity) Create a newActivityentity and save it to the S/4HANA system.createPhase(Phase phase) Create a newPhaseentity and save it to the S/4HANA system.Create a newRunentity and save it to the S/4HANA system.createTask(Task task) Create a newTaskentity and save it to the S/4HANA system.deleteTask(Task task) Deletes an existingTaskentity in the S/4HANA system.getActivityByKey(UUID statryRptActivityUUID) Fetch a singleActivityentity using key fields.Fetch multipleActivityentities.Fetch multiplePhaseentities.Fetch multipleRunentities.Fetch multipleRunParameterentities.Fetch multipleTaskentities.getPhaseByKey(UUID statryRptPhaseUUID) Fetch a singlePhaseentity using key fields.getRunByKey(UUID statryRptRunUUID) Fetch a singleRunentity using key fields.getRunParameterByKey(UUID statryRptRunParamUUID) Fetch a singleRunParameterentity using key fields.getTaskByKey(UUID statryRptTaskUUID) Fetch a singleTaskentity using key fields.withServicePath(String servicePath) Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultStatutoryReportingTaskService
public DefaultStatutoryReportingTaskService()Creates a service usingStatutoryReportingTaskService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Description copied from interface:StatutoryReportingTaskServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceStatutoryReportingTaskService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Description copied from interface:StatutoryReportingTaskServiceCreates a batch request builder object.- Specified by:
batchin interfaceStatutoryReportingTaskService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllActivity
Description copied from interface:StatutoryReportingTaskServiceFetch multipleActivityentities.- Specified by:
getAllActivityin interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch multiple
Activityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countActivity
Description copied from interface:StatutoryReportingTaskServiceFetch the number of entries from theActivityentity collection matching the filter and search expressions.- Specified by:
countActivityin interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch the count of
Activityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getActivityByKey
Description copied from interface:StatutoryReportingTaskServiceFetch a singleActivityentity using key fields.- Specified by:
getActivityByKeyin interfaceStatutoryReportingTaskService- Parameters:
statryRptActivityUUID- NodeIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
Activityentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createActivity
Description copied from interface:StatutoryReportingTaskServiceCreate a newActivityentity and save it to the S/4HANA system.- Specified by:
createActivityin interfaceStatutoryReportingTaskService- Parameters:
activity-Activityentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
Activityentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPhase
Description copied from interface:StatutoryReportingTaskServiceFetch multiplePhaseentities.- Specified by:
getAllPhasein interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch multiple
Phaseentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPhase
Description copied from interface:StatutoryReportingTaskServiceFetch the number of entries from thePhaseentity collection matching the filter and search expressions.- Specified by:
countPhasein interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch the count of
Phaseentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPhaseByKey
Description copied from interface:StatutoryReportingTaskServiceFetch a singlePhaseentity using key fields.- Specified by:
getPhaseByKeyin interfaceStatutoryReportingTaskService- Parameters:
statryRptPhaseUUID- NodeIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
Phaseentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPhase
Description copied from interface:StatutoryReportingTaskServiceCreate a newPhaseentity and save it to the S/4HANA system.- Specified by:
createPhasein interfaceStatutoryReportingTaskService- Parameters:
phase-Phaseentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
Phaseentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllRun
Description copied from interface:StatutoryReportingTaskServiceFetch multipleRunentities.- Specified by:
getAllRunin interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch multiple
Runentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countRun
Description copied from interface:StatutoryReportingTaskServiceFetch the number of entries from theRunentity collection matching the filter and search expressions.- Specified by:
countRunin interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch the count of
Runentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getRunByKey
Description copied from interface:StatutoryReportingTaskServiceFetch a singleRunentity using key fields.- Specified by:
getRunByKeyin interfaceStatutoryReportingTaskService- Parameters:
statryRptRunUUID- NodeIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
Runentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createRun
Description copied from interface:StatutoryReportingTaskServiceCreate a newRunentity and save it to the S/4HANA system.- Specified by:
createRunin interfaceStatutoryReportingTaskService- Parameters:
run-Runentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
Runentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllRunParameter
Description copied from interface:StatutoryReportingTaskServiceFetch multipleRunParameterentities.- Specified by:
getAllRunParameterin interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch multiple
RunParameterentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countRunParameter
Description copied from interface:StatutoryReportingTaskServiceFetch the number of entries from theRunParameterentity collection matching the filter and search expressions.- Specified by:
countRunParameterin interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch the count of
RunParameterentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getRunParameterByKey
@Nonnull public GetByKeyRequestBuilder<RunParameter> getRunParameterByKey(UUID statryRptRunParamUUID) Description copied from interface:StatutoryReportingTaskServiceFetch a singleRunParameterentity using key fields.- Specified by:
getRunParameterByKeyin interfaceStatutoryReportingTaskService- Parameters:
statryRptRunParamUUID- NodeIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
RunParameterentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllTask
Description copied from interface:StatutoryReportingTaskServiceFetch multipleTaskentities.- Specified by:
getAllTaskin interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch multiple
Taskentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countTask
Description copied from interface:StatutoryReportingTaskServiceFetch the number of entries from theTaskentity collection matching the filter and search expressions.- Specified by:
countTaskin interfaceStatutoryReportingTaskService- Returns:
- A request builder to fetch the count of
Taskentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getTaskByKey
Description copied from interface:StatutoryReportingTaskServiceFetch a singleTaskentity using key fields.- Specified by:
getTaskByKeyin interfaceStatutoryReportingTaskService- Parameters:
statryRptTaskUUID- NodeIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
Taskentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createTask
Description copied from interface:StatutoryReportingTaskServiceCreate a newTaskentity and save it to the S/4HANA system.- Specified by:
createTaskin interfaceStatutoryReportingTaskService- Parameters:
task-Taskentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
Taskentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteTask
Description copied from interface:StatutoryReportingTaskServiceDeletes an existingTaskentity in the S/4HANA system.- Specified by:
deleteTaskin interfaceStatutoryReportingTaskService- Parameters:
task-Taskentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
Taskentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-