Interface LegalDocumentService
- All Superinterfaces:
BatchService<LegalDocumentServiceBatch>
- All Known Implementing Classes:
DefaultLegalDocumentService
Legal documents are instances of legal content which are tailored to a specific legal transaction. The service contains legal document and legal document stamp nodes. The information sent in the request as a payload is used when creating a legal document, including appropriate checks for restricted values and authorizations. Once the legal document is created, the legal document ID is sent in the response with the data included in the legal document. If there are any issues when the legal document is created, the system displays error messages in the response. Note that to create or change the content of the legal document you need to use the Attachment Service that is also published in the SAP API Business Hub. For more information, refer to the business documentation of this API..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_LEGAL_DOCUMENT_SRV |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Legal Document Integration(SAP_COM_0178), Procurement - Supplier Quotation Management Integration(SAP_COM_0760) |
| Scope Items: | SAP S/4HANA for Enterprise Contract Management(1XV), Direct Material Sourcing(4RD) |
| Authentication Methods: | x509 |
| Business Object: | Legal 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 TypeMethodDescriptioncreateLegalDocument(LegalDocument legalDocument) Deprecated.Create a newLegalDocumententity and save it to the S/4HANA system.createLglCntntMDocCategory(LglCntntMDocCategory lglCntntMDocCategory) Deprecated.Create a newLglCntntMDocCategoryentity and save it to the S/4HANA system.createLglCntntMDocParCategory(LglCntntMDocParCategory lglCntntMDocParCategory) Deprecated.Create a newLglCntntMDocParCategoryentity and save it to the S/4HANA system.createLglDocStamp(LglDocStamp lglDocStamp) Deprecated.Create a newLglDocStampentity and save it to the S/4HANA system.Deprecated.Fetch multipleLegalDocumententities.Deprecated.Fetch multipleLglCntntMDocCategoryentities.Deprecated.Fetch multipleLglCntntMDocParCategoryentities.Deprecated.Fetch multipleLglDocStampentities.getLegalDocumentByKey(UUID lglCntntMDocumentUUID) Deprecated.Fetch a singleLegalDocumententity using key fields.getLglCntntMDocCategoryByKey(UUID lglCntntMDocCategoryUUID) Deprecated.Fetch a singleLglCntntMDocCategoryentity using key fields.getLglCntntMDocParCategoryByKey(UUID lglCntntMDocParCatUUID) Deprecated.Fetch a singleLglCntntMDocParCategoryentity using key fields.getLglDocStampByKey(UUID lglCntntMDocumentStampUUID) Deprecated.Fetch a singleLglDocStampentity using key fields.setLegalDocumentToAccepted(UUID lglCntntMDocumentUUID) Deprecated.Creates a fluent helper for the SetLegalDocumentToAccepted OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
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.
-
getAllLegalDocument
Deprecated.Fetch multipleLegalDocumententities.- Returns:
- A fluent helper to fetch multiple
LegalDocumententities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getLegalDocumentByKey
Deprecated.Fetch a singleLegalDocumententity using key fields.- Parameters:
lglCntntMDocumentUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
LegalDocumententity 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 theexecutemethod on the fluent helper object.
-
createLegalDocument
Deprecated.Create a newLegalDocumententity and save it to the S/4HANA system.- Parameters:
legalDocument-LegalDocumententity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
LegalDocumententity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllLglCntntMDocCategory
Deprecated.Fetch multipleLglCntntMDocCategoryentities.- Returns:
- A fluent helper to fetch multiple
LglCntntMDocCategoryentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getLglCntntMDocCategoryByKey
@Nonnull LglCntntMDocCategoryByKeyFluentHelper getLglCntntMDocCategoryByKey(UUID lglCntntMDocCategoryUUID) Deprecated.Fetch a singleLglCntntMDocCategoryentity using key fields.- Parameters:
lglCntntMDocCategoryUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
LglCntntMDocCategoryentity 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 theexecutemethod on the fluent helper object.
-
createLglCntntMDocCategory
@Nonnull LglCntntMDocCategoryCreateFluentHelper createLglCntntMDocCategory(@Nonnull LglCntntMDocCategory lglCntntMDocCategory) Deprecated.Create a newLglCntntMDocCategoryentity and save it to the S/4HANA system.- Parameters:
lglCntntMDocCategory-LglCntntMDocCategoryentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
LglCntntMDocCategoryentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllLglCntntMDocParCategory
Deprecated.Fetch multipleLglCntntMDocParCategoryentities.- Returns:
- A fluent helper to fetch multiple
LglCntntMDocParCategoryentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getLglCntntMDocParCategoryByKey
@Nonnull LglCntntMDocParCategoryByKeyFluentHelper getLglCntntMDocParCategoryByKey(UUID lglCntntMDocParCatUUID) Deprecated.Fetch a singleLglCntntMDocParCategoryentity using key fields.- Parameters:
lglCntntMDocParCatUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
LglCntntMDocParCategoryentity 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 theexecutemethod on the fluent helper object.
-
createLglCntntMDocParCategory
@Nonnull LglCntntMDocParCategoryCreateFluentHelper createLglCntntMDocParCategory(@Nonnull LglCntntMDocParCategory lglCntntMDocParCategory) Deprecated.Create a newLglCntntMDocParCategoryentity and save it to the S/4HANA system.- Parameters:
lglCntntMDocParCategory-LglCntntMDocParCategoryentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
LglCntntMDocParCategoryentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllLglDocStamp
Deprecated.Fetch multipleLglDocStampentities.- Returns:
- A fluent helper to fetch multiple
LglDocStampentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getLglDocStampByKey
Deprecated.Fetch a singleLglDocStampentity using key fields.- Parameters:
lglCntntMDocumentStampUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
LglDocStampentity 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 theexecutemethod on the fluent helper object.
-
createLglDocStamp
Deprecated.Create a newLglDocStampentity and save it to the S/4HANA system.- Parameters:
lglDocStamp-LglDocStampentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
LglDocStampentity. To perform execution, call theexecutemethod on the fluent helper object.
-
setLegalDocumentToAccepted
@Nonnull SetLegalDocumentToAcceptedFluentHelper setLegalDocumentToAccepted(@Nonnull UUID lglCntntMDocumentUUID) Deprecated.Creates a fluent helper for the SetLegalDocumentToAccepted OData function import.
- Parameters:
lglCntntMDocumentUUID- Universal Unique IDConstraints: none
Original parameter name from the Odata EDM: LglCntntMDocumentUUID
- Returns:
- A fluent helper object that will execute the SetLegalDocumentToAccepted OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-