Interface ContractAccountingDocumentManageService
- All Known Implementing Classes:
DefaultContractAccountingDocumentManageService
Retrieve a list of documents. Read data on document header, document business partner line items and document general ledger line items. Update document header and document business partner line items. Create and delete business locks on existing business partner line items..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CADOCUMENTMANAGE_0001 |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Contract Accounting Open Item Management Integration(SAP_COM_0361) |
| Scope Items: | Contract Accounting - Open Item Management(2UJ), Contract Accounting: Open Item Management(PUJ) |
| Authentication Methods: | x509 |
| Service Group Name: | API_CADOCUMENTMANAGE |
| Business Object: | Contract Accounting Document |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theCADocBPItementity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCADocBPItemBusLockentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCADocBPItemLogicalentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCADocHeaderentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCADocGLItementity collection matching the filter and search expressions.createBPItem(CADocBPItem cADocBPItem) Deprecated.Create a newCADocBPItementity and save it to the S/4HANA system.deleteBPItemBusLock(CADocBPItemBusLock cADocBPItemBusLock) Deprecated.Deletes an existingCADocBPItemBusLockentity in the S/4HANA system.Deprecated.Fetch multipleCADocBPItementities.Deprecated.Fetch multipleCADocBPItemBusLockentities.Deprecated.Fetch multipleCADocBPItemLogicalentities.Deprecated.Fetch multipleCADocHeaderentities.Deprecated.Fetch multipleCADocGLItementities.getBPItemBusLockByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber, String cABusinessProcess, String cABusinessLockReason, LocalDate cABusinessLockValidFrom, LocalDate cABusinessLockValidTo) Deprecated.Fetch a singleCADocBPItemBusLockentity using key fields.getBPItemByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber) Deprecated.Fetch a singleCADocBPItementity using key fields.getBPItemLogicalByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber) Deprecated.Fetch a singleCADocBPItemLogicalentity using key fields.getDocumentHeaderByKey(String cADocumentNumber) Deprecated.Fetch a singleCADocHeaderentity using key fields.getGLItemByKey(String cADocumentNumber, String cAGLItemNumber) Deprecated.Fetch a singleCADocGLItementity using key fields.updateBPItem(CADocBPItem cADocBPItem) Deprecated.Update an existingCADocBPItementity and save it to the S/4HANA system.updateDocumentHeader(CADocHeader cADocHeader) Deprecated.Update an existingCADocHeaderentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllBPItem
Deprecated.Fetch multipleCADocBPItementities.- Returns:
- A request builder to fetch multiple
CADocBPItementities. 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.
-
countBPItem
Deprecated.Fetch the number of entries from theCADocBPItementity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
CADocBPItementities. 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.
-
getBPItemByKey
@Nonnull GetByKeyRequestBuilder<CADocBPItem> getBPItemByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber) Deprecated.Fetch a singleCADocBPItementity using key fields.- Parameters:
cADocumentNumber- Number of a FI-CA DocumentConstraints: Not nullable, Maximum length: 12
cABPItemNumber- Item Number in FI-CA DocumentConstraints: Not nullable, Maximum length: 4
cARepetitionItemNumber- Repetition Item in FI-CA DocumentConstraints: Not nullable, Maximum length: 3
cASubItemNumber- Subitem for a Partial Clearing in DocumentConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CADocBPItementity 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.
-
createBPItem
Deprecated.Create a newCADocBPItementity and save it to the S/4HANA system.- Parameters:
cADocBPItem-CADocBPItementity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
CADocBPItementity. To perform execution, call theexecutemethod on the request builder object.
-
updateBPItem
Deprecated.Update an existingCADocBPItementity and save it to the S/4HANA system.- Parameters:
cADocBPItem-CADocBPItementity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
CADocBPItementity. To perform execution, call theexecutemethod on the request builder object.
-
getAllBPItemBusLock
Deprecated.Fetch multipleCADocBPItemBusLockentities.- Returns:
- A request builder to fetch multiple
CADocBPItemBusLockentities. 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.
-
countBPItemBusLock
Deprecated.Fetch the number of entries from theCADocBPItemBusLockentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
CADocBPItemBusLockentities. 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.
-
getBPItemBusLockByKey
@Nonnull GetByKeyRequestBuilder<CADocBPItemBusLock> getBPItemBusLockByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber, String cABusinessProcess, String cABusinessLockReason, LocalDate cABusinessLockValidFrom, LocalDate cABusinessLockValidTo) Deprecated.Fetch a singleCADocBPItemBusLockentity using key fields.- Parameters:
cABusinessLockValidTo- Lock valid toConstraints: Not nullable
cADocumentNumber- DocumentConstraints: Not nullable, Maximum length: 12
cABPItemNumber- Item Number in FI-CA DocumentConstraints: Not nullable, Maximum length: 4
cARepetitionItemNumber- Repetition Item in FI-CA DocumentConstraints: Not nullable, Maximum length: 3
cABusinessLockValidFrom- Lock valid fromConstraints: Not nullable
cABusinessLockReason- Lock ReasonConstraints: Not nullable, Maximum length: 1
cABusinessProcess- Process Code (Example: Dunning, Payment)Constraints: Not nullable, Maximum length: 2
cASubItemNumber- Subitem for a Partial Clearing in DocumentConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CADocBPItemBusLockentity 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.
-
deleteBPItemBusLock
@Nonnull DeleteRequestBuilder<CADocBPItemBusLock> deleteBPItemBusLock(@Nonnull CADocBPItemBusLock cADocBPItemBusLock) Deprecated.Deletes an existingCADocBPItemBusLockentity in the S/4HANA system.- Parameters:
cADocBPItemBusLock-CADocBPItemBusLockentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
CADocBPItemBusLockentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllBPItemLogical
Deprecated.Fetch multipleCADocBPItemLogicalentities.- Returns:
- A request builder to fetch multiple
CADocBPItemLogicalentities. 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.
-
countBPItemLogical
Deprecated.Fetch the number of entries from theCADocBPItemLogicalentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
CADocBPItemLogicalentities. 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.
-
getBPItemLogicalByKey
@Nonnull GetByKeyRequestBuilder<CADocBPItemLogical> getBPItemLogicalByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber) Deprecated.Fetch a singleCADocBPItemLogicalentity using key fields.- Parameters:
cADocumentNumber- Number of a FI-CA DocumentConstraints: Not nullable, Maximum length: 12
cABPItemNumber- Item Number in FI-CA DocumentConstraints: Not nullable, Maximum length: 4
cARepetitionItemNumber- Repetition Item in FI-CA DocumentConstraints: Not nullable, Maximum length: 3
cASubItemNumber- Subitem for a Partial Clearing in DocumentConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CADocBPItemLogicalentity 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.
-
getAllDocumentHeader
Deprecated.Fetch multipleCADocHeaderentities.- Returns:
- A request builder to fetch multiple
CADocHeaderentities. 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.
-
countDocumentHeader
Deprecated.Fetch the number of entries from theCADocHeaderentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
CADocHeaderentities. 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.
-
getDocumentHeaderByKey
Deprecated.Fetch a singleCADocHeaderentity using key fields.- Parameters:
cADocumentNumber- Number of a FI-CA DocumentConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
CADocHeaderentity 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.
-
updateDocumentHeader
Deprecated.Update an existingCADocHeaderentity and save it to the S/4HANA system.- Parameters:
cADocHeader-CADocHeaderentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
CADocHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllGLItem
Deprecated.Fetch multipleCADocGLItementities.- Returns:
- A request builder to fetch multiple
CADocGLItementities. 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.
-
countGLItem
Deprecated.Fetch the number of entries from theCADocGLItementity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
CADocGLItementities. 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.
-
getGLItemByKey
@Nonnull GetByKeyRequestBuilder<CADocGLItem> getGLItemByKey(String cADocumentNumber, String cAGLItemNumber) Deprecated.Fetch a singleCADocGLItementity using key fields.- Parameters:
cADocumentNumber- Number of a FI-CA DocumentConstraints: Not nullable, Maximum length: 12
cAGLItemNumber- Item Number in FI-CA DocumentConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
CADocGLItementity 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.
-