@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDebitMemoRequestService") public class DefaultDebitMemoRequestService extends Object implements DebitMemoRequestService
You can use this service to integrate external applications with debit memo request processing in SAP S/4HANA Cloud. In every API call, you can make use of the following operations: - You can retrieve debit memo requests. Apply any of the filters provided or retrieve all existing data. - You can create debit 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 debit 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 debit memo requests, you can update the header, header partner, header pricing element, item, item partner, and item pricing element. - For existing debit memo requests, you can delete the header, header partner, header pricing element, item, item partner, and item pricing element..
Reference: SAP API Business Hub
OData Service: | API_DEBIT_MEMO_REQUEST_SRV |
API Version: | 1 |
Communication Scenario: | Debit Memo Request Integration (SAP_COM_0159) |
Scope Items: | Debit Memo Processing (1F1), Invoice Correction Process with Debit Memo (BDQ) |
Authentication Methods: | Basic, x509 |
Business Object: | DebitMemoRequest |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultDebitMemoRequestService()
Creates a service using
DebitMemoRequestService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultDebitMemoRequestService()
DebitMemoRequestService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDebitMemoRequestService withServicePath(@Nonnull String servicePath)
DebitMemoRequestService
withServicePath
in interface DebitMemoRequestService
servicePath
- Service path that will override the default.@Nonnull public DefaultDebitMemoRequestServiceBatch batch()
batch
in interface BatchService<DebitMemoRequestServiceBatch>
@Nonnull public DebitMemoReqItemPartnerFluentHelper getAllDebitMemoReqItemPartner()
DebitMemoRequestService
DebitMemoReqItemPartner
entities.getAllDebitMemoReqItemPartner
in interface DebitMemoRequestService
DebitMemoReqItemPartner
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 public DebitMemoReqItemPartnerByKeyFluentHelper getDebitMemoReqItemPartnerByKey(String debitMemoRequest, String debitMemoRequestItem, String partnerFunction)
DebitMemoRequestService
DebitMemoReqItemPartner
entity using key fields.getDebitMemoReqItemPartnerByKey
in interface DebitMemoRequestService
debitMemoRequest
- The number that uniquely identifies the sales, delivery, or billing document.
Constraints: Not nullable, Maximum length: 10
debitMemoRequestItem
- The number that uniquely identifies the item in the sales, shipping, or billing document.
Constraints: Not nullable, Maximum length: 6
partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
DebitMemoReqItemPartner
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 public DebitMemoReqItemPartnerUpdateFluentHelper updateDebitMemoReqItemPartner(@Nonnull DebitMemoReqItemPartner debitMemoReqItemPartner)
DebitMemoRequestService
DebitMemoReqItemPartner
entity and save it to the S/4HANA system.updateDebitMemoReqItemPartner
in interface DebitMemoRequestService
debitMemoReqItemPartner
- DebitMemoReqItemPartner
entity object that will be updated in the S/4HANA system.DebitMemoReqItemPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqItemPartnerDeleteFluentHelper deleteDebitMemoReqItemPartner(@Nonnull DebitMemoReqItemPartner debitMemoReqItemPartner)
DebitMemoRequestService
DebitMemoReqItemPartner
entity in the S/4HANA system.deleteDebitMemoReqItemPartner
in interface DebitMemoRequestService
debitMemoReqItemPartner
- DebitMemoReqItemPartner
entity object that will be deleted in the S/4HANA system.DebitMemoReqItemPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqItemPrcgElmntFluentHelper getAllDebitMemoReqItemPrcgElmnt()
DebitMemoRequestService
DebitMemoReqItemPrcgElmnt
entities.getAllDebitMemoReqItemPrcgElmnt
in interface DebitMemoRequestService
DebitMemoReqItemPrcgElmnt
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 public DebitMemoReqItemPrcgElmntByKeyFluentHelper getDebitMemoReqItemPrcgElmntByKey(String debitMemoRequest, String debitMemoRequestItem, String pricingProcedureStep, String pricingProcedureCounter)
DebitMemoRequestService
DebitMemoReqItemPrcgElmnt
entity using key fields.getDebitMemoReqItemPrcgElmntByKey
in interface DebitMemoRequestService
debitMemoRequest
- The number that uniquely identifies the sales document.
Constraints: Not nullable, Maximum length: 10
debitMemoRequestItem
- 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
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
DebitMemoReqItemPrcgElmnt
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 public DebitMemoReqItemPrcgElmntUpdateFluentHelper updateDebitMemoReqItemPrcgElmnt(@Nonnull DebitMemoReqItemPrcgElmnt debitMemoReqItemPrcgElmnt)
DebitMemoRequestService
DebitMemoReqItemPrcgElmnt
entity and save it to the S/4HANA system.updateDebitMemoReqItemPrcgElmnt
in interface DebitMemoRequestService
debitMemoReqItemPrcgElmnt
- DebitMemoReqItemPrcgElmnt
entity object that will be updated in the S/4HANA system.DebitMemoReqItemPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqItemPrcgElmntDeleteFluentHelper deleteDebitMemoReqItemPrcgElmnt(@Nonnull DebitMemoReqItemPrcgElmnt debitMemoReqItemPrcgElmnt)
DebitMemoRequestService
DebitMemoReqItemPrcgElmnt
entity in the S/4HANA system.deleteDebitMemoReqItemPrcgElmnt
in interface DebitMemoRequestService
debitMemoReqItemPrcgElmnt
- DebitMemoReqItemPrcgElmnt
entity object that will be deleted in the S/4HANA system.DebitMemoReqItemPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqPartnerFluentHelper getAllDebitMemoReqPartner()
DebitMemoRequestService
DebitMemoReqPartner
entities.getAllDebitMemoReqPartner
in interface DebitMemoRequestService
DebitMemoReqPartner
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 public DebitMemoReqPartnerByKeyFluentHelper getDebitMemoReqPartnerByKey(String debitMemoRequest, String partnerFunction)
DebitMemoRequestService
DebitMemoReqPartner
entity using key fields.getDebitMemoReqPartnerByKey
in interface DebitMemoRequestService
debitMemoRequest
- The number that uniquely identifies the sales, delivery, or billing document.
Constraints: Not nullable, Maximum length: 10
partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
DebitMemoReqPartner
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 public DebitMemoReqPartnerUpdateFluentHelper updateDebitMemoReqPartner(@Nonnull DebitMemoReqPartner debitMemoReqPartner)
DebitMemoRequestService
DebitMemoReqPartner
entity and save it to the S/4HANA system.updateDebitMemoReqPartner
in interface DebitMemoRequestService
debitMemoReqPartner
- DebitMemoReqPartner
entity object that will be updated in the S/4HANA system.DebitMemoReqPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqPartnerDeleteFluentHelper deleteDebitMemoReqPartner(@Nonnull DebitMemoReqPartner debitMemoReqPartner)
DebitMemoRequestService
DebitMemoReqPartner
entity in the S/4HANA system.deleteDebitMemoReqPartner
in interface DebitMemoRequestService
debitMemoReqPartner
- DebitMemoReqPartner
entity object that will be deleted in the S/4HANA system.DebitMemoReqPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqPrcgElmntFluentHelper getAllDebitMemoReqPrcgElmnt()
DebitMemoRequestService
DebitMemoReqPrcgElmnt
entities.getAllDebitMemoReqPrcgElmnt
in interface DebitMemoRequestService
DebitMemoReqPrcgElmnt
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 public DebitMemoReqPrcgElmntByKeyFluentHelper getDebitMemoReqPrcgElmntByKey(String debitMemoRequest, String pricingProcedureStep, String pricingProcedureCounter)
DebitMemoRequestService
DebitMemoReqPrcgElmnt
entity using key fields.getDebitMemoReqPrcgElmntByKey
in interface DebitMemoRequestService
debitMemoRequest
- 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
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
DebitMemoReqPrcgElmnt
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 public DebitMemoReqPrcgElmntUpdateFluentHelper updateDebitMemoReqPrcgElmnt(@Nonnull DebitMemoReqPrcgElmnt debitMemoReqPrcgElmnt)
DebitMemoRequestService
DebitMemoReqPrcgElmnt
entity and save it to the S/4HANA system.updateDebitMemoReqPrcgElmnt
in interface DebitMemoRequestService
debitMemoReqPrcgElmnt
- DebitMemoReqPrcgElmnt
entity object that will be updated in the S/4HANA system.DebitMemoReqPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqPrcgElmntDeleteFluentHelper deleteDebitMemoReqPrcgElmnt(@Nonnull DebitMemoReqPrcgElmnt debitMemoReqPrcgElmnt)
DebitMemoRequestService
DebitMemoReqPrcgElmnt
entity in the S/4HANA system.deleteDebitMemoReqPrcgElmnt
in interface DebitMemoRequestService
debitMemoReqPrcgElmnt
- DebitMemoReqPrcgElmnt
entity object that will be deleted in the S/4HANA system.DebitMemoReqPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoRequestFluentHelper getAllDebitMemoRequest()
DebitMemoRequestService
DebitMemoRequest
entities.getAllDebitMemoRequest
in interface DebitMemoRequestService
DebitMemoRequest
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 public DebitMemoRequestByKeyFluentHelper getDebitMemoRequestByKey(String debitMemoRequest)
DebitMemoRequestService
DebitMemoRequest
entity using key fields.getDebitMemoRequestByKey
in interface DebitMemoRequestService
debitMemoRequest
- Debit Memo Request
Constraints: Not nullable, Maximum length: 10
DebitMemoRequest
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 public DebitMemoRequestCreateFluentHelper createDebitMemoRequest(@Nonnull DebitMemoRequest debitMemoRequest)
DebitMemoRequestService
DebitMemoRequest
entity and save it to the S/4HANA system.createDebitMemoRequest
in interface DebitMemoRequestService
debitMemoRequest
- DebitMemoRequest
entity object that will be created in the S/4HANA system.DebitMemoRequest
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoRequestUpdateFluentHelper updateDebitMemoRequest(@Nonnull DebitMemoRequest debitMemoRequest)
DebitMemoRequestService
DebitMemoRequest
entity and save it to the S/4HANA system.updateDebitMemoRequest
in interface DebitMemoRequestService
debitMemoRequest
- DebitMemoRequest
entity object that will be updated in the S/4HANA system.DebitMemoRequest
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoRequestDeleteFluentHelper deleteDebitMemoRequest(@Nonnull DebitMemoRequest debitMemoRequest)
DebitMemoRequestService
DebitMemoRequest
entity in the S/4HANA system.deleteDebitMemoRequest
in interface DebitMemoRequestService
debitMemoRequest
- DebitMemoRequest
entity object that will be deleted in the S/4HANA system.DebitMemoRequest
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoRequestItemFluentHelper getAllDebitMemoRequestItem()
DebitMemoRequestService
DebitMemoRequestItem
entities.getAllDebitMemoRequestItem
in interface DebitMemoRequestService
DebitMemoRequestItem
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 public DebitMemoRequestItemByKeyFluentHelper getDebitMemoRequestItemByKey(String debitMemoRequest, String debitMemoRequestItem)
DebitMemoRequestService
DebitMemoRequestItem
entity using key fields.getDebitMemoRequestItemByKey
in interface DebitMemoRequestService
debitMemoRequest
- Debit Memo Request
Constraints: Not nullable, Maximum length: 10
debitMemoRequestItem
- Debit Memo Request Item
Constraints: Not nullable, Maximum length: 6
DebitMemoRequestItem
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 public DebitMemoRequestItemCreateFluentHelper createDebitMemoRequestItem(@Nonnull DebitMemoRequestItem debitMemoRequestItem)
DebitMemoRequestService
DebitMemoRequestItem
entity and save it to the S/4HANA system.createDebitMemoRequestItem
in interface DebitMemoRequestService
debitMemoRequestItem
- DebitMemoRequestItem
entity object that will be created in the S/4HANA system.DebitMemoRequestItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoRequestItemUpdateFluentHelper updateDebitMemoRequestItem(@Nonnull DebitMemoRequestItem debitMemoRequestItem)
DebitMemoRequestService
DebitMemoRequestItem
entity and save it to the S/4HANA system.updateDebitMemoRequestItem
in interface DebitMemoRequestService
debitMemoRequestItem
- DebitMemoRequestItem
entity object that will be updated in the S/4HANA system.DebitMemoRequestItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoRequestItemDeleteFluentHelper deleteDebitMemoRequestItem(@Nonnull DebitMemoRequestItem debitMemoRequestItem)
DebitMemoRequestService
DebitMemoRequestItem
entity in the S/4HANA system.deleteDebitMemoRequestItem
in interface DebitMemoRequestService
debitMemoRequestItem
- DebitMemoRequestItem
entity object that will be deleted in the S/4HANA system.DebitMemoRequestItem
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.