public interface CreditMemoRequestService extends BatchService<CreditMemoRequestServiceBatch>
In every API call, you can make use of the following operations: - You can read entire credit memo requests or only parts of the data, using the provided filters. - You can create credit memo requests. Note that you must use “deep insert” requests (a header plus the following entities: header partner, header pricing element, item, item partner, and item pricing element). You cannot create entities without including any related entities. - For existing credit memo requests, you can create new items. Note that you must use “deep insert” requests (with the following entities: item partner and item pricing element). You cannot create entities without including any related entities. - For existing credit memo requests, you can update the following entities (that is, you can change the content of their properties): the header, header partner, header pricing element, item, item partner, and item pricing element. - For existing credit memo requests, you can delete the header, header partner, header pricing element, item, item partner, and item pricing element. - You can accept or deny approval requests for credit memo requests that cannot be processed without the consent of an approver..
Reference: SAP API Business Hub
OData Service: | API_CREDIT_MEMO_REQUEST_SRV |
API Version: | 1 |
Communication Scenario: | Credit Memo Request Integration (SAP_COM_0158) |
Scope Items: | Credit Memo Processing (1EZ), Invoice Correction Process with Credit Memo (BKL) |
Authentication Methods: | Basic, x509 |
Business Object: | CreditMemoRequest |
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 CreditMemoRequestService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CreditMemoReqItemPartnerFluentHelper getAllCreditMemoReqItemPartner()
CreditMemoReqItemPartner
entities.CreditMemoReqItemPartner
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 CreditMemoReqItemPartnerByKeyFluentHelper getCreditMemoReqItemPartnerByKey(String creditMemoRequest, String creditMemoRequestItem, String partnerFunction)
CreditMemoReqItemPartner
entity using key fields.partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
creditMemoRequest
- The number that uniquely identifies the sales, delivery, or billing document.
Constraints: Not nullable, Maximum length: 10
creditMemoRequestItem
- The number that uniquely identifies the item in the sales, shipping, or billing document.
Constraints: Not nullable, Maximum length: 6
CreditMemoReqItemPartner
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 CreditMemoReqItemPartnerUpdateFluentHelper updateCreditMemoReqItemPartner(@Nonnull CreditMemoReqItemPartner creditMemoReqItemPartner)
CreditMemoReqItemPartner
entity and save it to the S/4HANA system.creditMemoReqItemPartner
- CreditMemoReqItemPartner
entity object that will be updated in the S/4HANA system.CreditMemoReqItemPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoReqItemPartnerDeleteFluentHelper deleteCreditMemoReqItemPartner(@Nonnull CreditMemoReqItemPartner creditMemoReqItemPartner)
CreditMemoReqItemPartner
entity in the S/4HANA system.creditMemoReqItemPartner
- CreditMemoReqItemPartner
entity object that will be deleted in the S/4HANA system.CreditMemoReqItemPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoReqItemPrcgElmntFluentHelper getAllCreditMemoReqItemPrcgElmnt()
CreditMemoReqItemPrcgElmnt
entities.CreditMemoReqItemPrcgElmnt
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 CreditMemoReqItemPrcgElmntByKeyFluentHelper getCreditMemoReqItemPrcgElmntByKey(String creditMemoRequest, String creditMemoRequestItem, String pricingProcedureStep, String pricingProcedureCounter)
CreditMemoReqItemPrcgElmnt
entity using key fields.pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
creditMemoRequest
- The number that uniquely identifies the sales document.
Constraints: Not nullable, Maximum length: 10
creditMemoRequestItem
- The number that uniquely identifies the condition item.
Constraints: Not nullable, Maximum length: 6
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.
Constraints: Not nullable, Maximum length: 3
CreditMemoReqItemPrcgElmnt
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 CreditMemoReqItemPrcgElmntUpdateFluentHelper updateCreditMemoReqItemPrcgElmnt(@Nonnull CreditMemoReqItemPrcgElmnt creditMemoReqItemPrcgElmnt)
CreditMemoReqItemPrcgElmnt
entity and save it to the S/4HANA system.creditMemoReqItemPrcgElmnt
- CreditMemoReqItemPrcgElmnt
entity object that will be updated in the S/4HANA system.CreditMemoReqItemPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoReqItemPrcgElmntDeleteFluentHelper deleteCreditMemoReqItemPrcgElmnt(@Nonnull CreditMemoReqItemPrcgElmnt creditMemoReqItemPrcgElmnt)
CreditMemoReqItemPrcgElmnt
entity in the S/4HANA system.creditMemoReqItemPrcgElmnt
- CreditMemoReqItemPrcgElmnt
entity object that will be deleted in the S/4HANA system.CreditMemoReqItemPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoReqPartnerFluentHelper getAllCreditMemoReqPartner()
CreditMemoReqPartner
entities.CreditMemoReqPartner
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 CreditMemoReqPartnerByKeyFluentHelper getCreditMemoReqPartnerByKey(String creditMemoRequest, String partnerFunction)
CreditMemoReqPartner
entity using key fields.partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
creditMemoRequest
- The number that uniquely identifies the sales, delivery, or billing document.
Constraints: Not nullable, Maximum length: 10
CreditMemoReqPartner
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 CreditMemoReqPartnerUpdateFluentHelper updateCreditMemoReqPartner(@Nonnull CreditMemoReqPartner creditMemoReqPartner)
CreditMemoReqPartner
entity and save it to the S/4HANA system.creditMemoReqPartner
- CreditMemoReqPartner
entity object that will be updated in the S/4HANA system.CreditMemoReqPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoReqPartnerDeleteFluentHelper deleteCreditMemoReqPartner(@Nonnull CreditMemoReqPartner creditMemoReqPartner)
CreditMemoReqPartner
entity in the S/4HANA system.creditMemoReqPartner
- CreditMemoReqPartner
entity object that will be deleted in the S/4HANA system.CreditMemoReqPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoReqPrcgElmntFluentHelper getAllCreditMemoReqPrcgElmnt()
CreditMemoReqPrcgElmnt
entities.CreditMemoReqPrcgElmnt
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 CreditMemoReqPrcgElmntByKeyFluentHelper getCreditMemoReqPrcgElmntByKey(String creditMemoRequest, String pricingProcedureStep, String pricingProcedureCounter)
CreditMemoReqPrcgElmnt
entity using key fields.pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
creditMemoRequest
- The number that uniquely identifies the sales document.
Constraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.
Constraints: Not nullable, Maximum length: 3
CreditMemoReqPrcgElmnt
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 CreditMemoReqPrcgElmntUpdateFluentHelper updateCreditMemoReqPrcgElmnt(@Nonnull CreditMemoReqPrcgElmnt creditMemoReqPrcgElmnt)
CreditMemoReqPrcgElmnt
entity and save it to the S/4HANA system.creditMemoReqPrcgElmnt
- CreditMemoReqPrcgElmnt
entity object that will be updated in the S/4HANA system.CreditMemoReqPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoReqPrcgElmntDeleteFluentHelper deleteCreditMemoReqPrcgElmnt(@Nonnull CreditMemoReqPrcgElmnt creditMemoReqPrcgElmnt)
CreditMemoReqPrcgElmnt
entity in the S/4HANA system.creditMemoReqPrcgElmnt
- CreditMemoReqPrcgElmnt
entity object that will be deleted in the S/4HANA system.CreditMemoReqPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoRequestFluentHelper getAllCreditMemoRequest()
CreditMemoRequest
entities.CreditMemoRequest
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 CreditMemoRequestByKeyFluentHelper getCreditMemoRequestByKey(String creditMemoRequest)
CreditMemoRequest
entity using key fields.creditMemoRequest
- Credit Memo Request
Constraints: Not nullable, Maximum length: 10
CreditMemoRequest
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 CreditMemoRequestCreateFluentHelper createCreditMemoRequest(@Nonnull CreditMemoRequest creditMemoRequest)
CreditMemoRequest
entity and save it to the S/4HANA system.creditMemoRequest
- CreditMemoRequest
entity object that will be created in the S/4HANA system.CreditMemoRequest
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoRequestUpdateFluentHelper updateCreditMemoRequest(@Nonnull CreditMemoRequest creditMemoRequest)
CreditMemoRequest
entity and save it to the S/4HANA system.creditMemoRequest
- CreditMemoRequest
entity object that will be updated in the S/4HANA system.CreditMemoRequest
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoRequestDeleteFluentHelper deleteCreditMemoRequest(@Nonnull CreditMemoRequest creditMemoRequest)
CreditMemoRequest
entity in the S/4HANA system.creditMemoRequest
- CreditMemoRequest
entity object that will be deleted in the S/4HANA system.CreditMemoRequest
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoRequestItemFluentHelper getAllCreditMemoRequestItem()
CreditMemoRequestItem
entities.CreditMemoRequestItem
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 CreditMemoRequestItemByKeyFluentHelper getCreditMemoRequestItemByKey(String creditMemoRequest, String creditMemoRequestItem)
CreditMemoRequestItem
entity using key fields.creditMemoRequest
- Credit Memo Request
Constraints: Not nullable, Maximum length: 10
creditMemoRequestItem
- Credit Memo Request Item
Constraints: Not nullable, Maximum length: 6
CreditMemoRequestItem
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 CreditMemoRequestItemCreateFluentHelper createCreditMemoRequestItem(@Nonnull CreditMemoRequestItem creditMemoRequestItem)
CreditMemoRequestItem
entity and save it to the S/4HANA system.creditMemoRequestItem
- CreditMemoRequestItem
entity object that will be created in the S/4HANA system.CreditMemoRequestItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoRequestItemUpdateFluentHelper updateCreditMemoRequestItem(@Nonnull CreditMemoRequestItem creditMemoRequestItem)
CreditMemoRequestItem
entity and save it to the S/4HANA system.creditMemoRequestItem
- CreditMemoRequestItem
entity object that will be updated in the S/4HANA system.CreditMemoRequestItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CreditMemoRequestItemDeleteFluentHelper deleteCreditMemoRequestItem(@Nonnull CreditMemoRequestItem creditMemoRequestItem)
CreditMemoRequestItem
entity in the S/4HANA system.creditMemoRequestItem
- CreditMemoRequestItem
entity object that will be deleted in the S/4HANA system.CreditMemoRequestItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ReleaseApprovalRequestFluentHelper releaseApprovalRequest(String creditMemoRequest)
Creates a fluent helper for the releaseApprovalRequest OData function import.
creditMemoRequest
- Constraints: Not nullable, Maximum length: 11000
Original parameter name from the Odata EDM: CreditMemoRequest
execute
method on the fluent helper object.@Nonnull RejectApprovalRequestFluentHelper rejectApprovalRequest(String creditMemoRequest)
Creates a fluent helper for the rejectApprovalRequest OData function import.
creditMemoRequest
- Constraints: Not nullable, Maximum length: 11000
Original parameter name from the Odata EDM: CreditMemoRequest
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.