@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultDebitMemoRequestService") public class DefaultDebitMemoRequestService extends Object implements DebitMemoRequestService
In every API call, you can make use of the following operations: You can read entire debit memo requests or only parts of the data, using the provided filters. 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, header text, item, item partner, item pricing element, and item text). 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, item pricing element, and item text). You cannot create entities without including any related entities. For existing debit memo requests, you can update the following entities (that is, you can change the content of their properties): header, header partner, header pricing element, header text, item, item partner, item pricing element, and item text. For existing debit memo requests, you can delete the header, header partner, header pricing element, header text, item, item partner, item pricing element, and item text. You can accept or deny approval requests for debit memo requests that cannot be processed without the consent of an approver. Note: Certain elements and entities can only be used if you activate the business function ISR_RETAILSYSTEM. For more information, see Business Documentation..
Reference: SAP API Business Hub
OData Service: | OP_API_DEBIT_MEMO_REQUEST_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Debit Memo Request |
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
- Sales and Distribution Document Number
Constraints: Not nullable, Maximum length: 10
debitMemoRequestItem
- Item number of the SD document
Constraints: Not nullable, Maximum length: 6
partnerFunction
- 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
- Sales Document
Constraints: Not nullable, Maximum length: 10
debitMemoRequestItem
- Condition item number
Constraints: Not nullable, Maximum length: 6
pricingProcedureStep
- Step Number
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Condition Counter
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 DebitMemoReqItemTextFluentHelper getAllDebitMemoReqItemText()
DebitMemoRequestService
DebitMemoReqItemText
entities.getAllDebitMemoReqItemText
in interface DebitMemoRequestService
DebitMemoReqItemText
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 DebitMemoReqItemTextByKeyFluentHelper getDebitMemoReqItemTextByKey(String debitMemoRequest, String debitMemoRequestItem, String language, String longTextID)
DebitMemoRequestService
DebitMemoReqItemText
entity using key fields.getDebitMemoReqItemTextByKey
in interface DebitMemoRequestService
debitMemoRequest
- Debit Memo Request
Constraints: Not nullable, Maximum length: 10
debitMemoRequestItem
- Debit Memo Request Item
Constraints: Not nullable, Maximum length: 6
language
- Language Key
Constraints: Not nullable, Maximum length: 2
longTextID
- Text ID
Constraints: Not nullable, Maximum length: 4
DebitMemoReqItemText
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 DebitMemoReqItemTextUpdateFluentHelper updateDebitMemoReqItemText(@Nonnull DebitMemoReqItemText debitMemoReqItemText)
DebitMemoRequestService
DebitMemoReqItemText
entity and save it to the S/4HANA system.updateDebitMemoReqItemText
in interface DebitMemoRequestService
debitMemoReqItemText
- DebitMemoReqItemText
entity object that will be updated in the S/4HANA system.DebitMemoReqItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqItemTextDeleteFluentHelper deleteDebitMemoReqItemText(@Nonnull DebitMemoReqItemText debitMemoReqItemText)
DebitMemoRequestService
DebitMemoReqItemText
entity in the S/4HANA system.deleteDebitMemoReqItemText
in interface DebitMemoRequestService
debitMemoReqItemText
- DebitMemoReqItemText
entity object that will be deleted in the S/4HANA system.DebitMemoReqItemText
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
- Sales and Distribution Document Number
Constraints: Not nullable, Maximum length: 10
partnerFunction
- 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
- Sales Document
Constraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Step Number
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Condition Counter
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 DebitMemoReqTextFluentHelper getAllDebitMemoReqText()
DebitMemoRequestService
DebitMemoReqText
entities.getAllDebitMemoReqText
in interface DebitMemoRequestService
DebitMemoReqText
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 DebitMemoReqTextByKeyFluentHelper getDebitMemoReqTextByKey(String debitMemoRequest, String language, String longTextID)
DebitMemoRequestService
DebitMemoReqText
entity using key fields.getDebitMemoReqTextByKey
in interface DebitMemoRequestService
debitMemoRequest
- Debit Memo Request
Constraints: Not nullable, Maximum length: 10
language
- Language Key
Constraints: Not nullable, Maximum length: 2
longTextID
- Text ID
Constraints: Not nullable, Maximum length: 4
DebitMemoReqText
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 DebitMemoReqTextUpdateFluentHelper updateDebitMemoReqText(@Nonnull DebitMemoReqText debitMemoReqText)
DebitMemoRequestService
DebitMemoReqText
entity and save it to the S/4HANA system.updateDebitMemoReqText
in interface DebitMemoRequestService
debitMemoReqText
- DebitMemoReqText
entity object that will be updated in the S/4HANA system.DebitMemoReqText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoReqTextDeleteFluentHelper deleteDebitMemoReqText(@Nonnull DebitMemoReqText debitMemoReqText)
DebitMemoRequestService
DebitMemoReqText
entity in the S/4HANA system.deleteDebitMemoReqText
in interface DebitMemoRequestService
debitMemoReqText
- DebitMemoReqText
entity object that will be deleted in the S/4HANA system.DebitMemoReqText
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.@Nonnull public DebitMemoValAddedSrvcFluentHelper getAllDebitMemoValAddedSrvc()
DebitMemoRequestService
DebitMemoValAddedSrvc
entities.getAllDebitMemoValAddedSrvc
in interface DebitMemoRequestService
DebitMemoValAddedSrvc
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 DebitMemoValAddedSrvcByKeyFluentHelper getDebitMemoValAddedSrvcByKey(String valueAddedServiceType, String valueAddedSubServiceType, String debitMemoRequest, String debitMemoRequestItem)
DebitMemoRequestService
DebitMemoValAddedSrvc
entity using key fields.getDebitMemoValAddedSrvcByKey
in interface DebitMemoRequestService
valueAddedServiceType
- VAS Service Types
Constraints: Not nullable, Maximum length: 2
valueAddedSubServiceType
- VAS Sub Services
Constraints: Not nullable, Maximum length: 5
debitMemoRequest
- Document number of the reference document
Constraints: Not nullable, Maximum length: 10
debitMemoRequestItem
- Item number of the reference item
Constraints: Not nullable, Maximum length: 6
DebitMemoValAddedSrvc
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 DebitMemoValAddedSrvcCreateFluentHelper createDebitMemoValAddedSrvc(@Nonnull DebitMemoValAddedSrvc debitMemoValAddedSrvc)
DebitMemoRequestService
DebitMemoValAddedSrvc
entity and save it to the S/4HANA system.createDebitMemoValAddedSrvc
in interface DebitMemoRequestService
debitMemoValAddedSrvc
- DebitMemoValAddedSrvc
entity object that will be created in the S/4HANA system.DebitMemoValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoValAddedSrvcUpdateFluentHelper updateDebitMemoValAddedSrvc(@Nonnull DebitMemoValAddedSrvc debitMemoValAddedSrvc)
DebitMemoRequestService
DebitMemoValAddedSrvc
entity and save it to the S/4HANA system.updateDebitMemoValAddedSrvc
in interface DebitMemoRequestService
debitMemoValAddedSrvc
- DebitMemoValAddedSrvc
entity object that will be updated in the S/4HANA system.DebitMemoValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DebitMemoValAddedSrvcDeleteFluentHelper deleteDebitMemoValAddedSrvc(@Nonnull DebitMemoValAddedSrvc debitMemoValAddedSrvc)
DebitMemoRequestService
DebitMemoValAddedSrvc
entity in the S/4HANA system.deleteDebitMemoValAddedSrvc
in interface DebitMemoRequestService
debitMemoValAddedSrvc
- DebitMemoValAddedSrvc
entity object that will be deleted in the S/4HANA system.DebitMemoValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.