@Named(value="com.sap.cloud.sdk.s4hana.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 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 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
- The language key indicates
Constraints: Not nullable, Maximum length: 2
longTextID
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:
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
- 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 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
- The language key indicates
Constraints: Not nullable, Maximum length: 2
longTextID
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:
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.Copyright © 2020 SAP SE. All rights reserved.