@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCreditMemoRequestService") public class DefaultCreditMemoRequestService extends Object implements CreditMemoRequestService
You can use this service to integrate external applications with credit memo request processing in SAP S/4HANA Cloud. In every API call, you can make use of the following operations: - You can retrieve credit memo requests. Apply any of the filters provided or retrieve all existing data. - 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 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..
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) |
Business Object: | CreditMemoRequest |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultCreditMemoRequestService()
Creates a service using
CreditMemoRequestService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultCreditMemoRequestService()
CreditMemoRequestService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultCreditMemoRequestService withServicePath(@Nonnull String servicePath)
CreditMemoRequestService
withServicePath
in interface CreditMemoRequestService
servicePath
- Service path that will override the default.@Nonnull public CreditMemoReqItemPartnerFluentHelper getAllCreditMemoReqItemPartner()
CreditMemoRequestService
CreditMemoReqItemPartner
entities.getAllCreditMemoReqItemPartner
in interface CreditMemoRequestService
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 public CreditMemoReqItemPartnerByKeyFluentHelper getCreditMemoReqItemPartnerByKey(String creditMemoRequest, String creditMemoRequestItem, String partnerFunction)
CreditMemoRequestService
CreditMemoReqItemPartner
entity using key fields.getCreditMemoReqItemPartnerByKey
in interface CreditMemoRequestService
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
partnerFunction
- The abbreviated form of the name that identifies the partner function.Constraints: Not nullable, Maximum length: 2
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 public CreditMemoReqItemPartnerUpdateFluentHelper updateCreditMemoReqItemPartner(@Nonnull CreditMemoReqItemPartner creditMemoReqItemPartner)
CreditMemoRequestService
CreditMemoReqItemPartner
entity and save it to the S/4HANA system.updateCreditMemoReqItemPartner
in interface CreditMemoRequestService
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 public CreditMemoReqItemPartnerDeleteFluentHelper deleteCreditMemoReqItemPartner(@Nonnull CreditMemoReqItemPartner creditMemoReqItemPartner)
CreditMemoRequestService
CreditMemoReqItemPartner
entity in the S/4HANA system.deleteCreditMemoReqItemPartner
in interface CreditMemoRequestService
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 public CreditMemoReqItemPrcgElmntFluentHelper getAllCreditMemoReqItemPrcgElmnt()
CreditMemoRequestService
CreditMemoReqItemPrcgElmnt
entities.getAllCreditMemoReqItemPrcgElmnt
in interface CreditMemoRequestService
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 public CreditMemoReqItemPrcgElmntByKeyFluentHelper getCreditMemoReqItemPrcgElmntByKey(String creditMemoRequest, String creditMemoRequestItem, String pricingProcedureStep, String pricingProcedureCounter)
CreditMemoRequestService
CreditMemoReqItemPrcgElmnt
entity using key fields.getCreditMemoReqItemPrcgElmntByKey
in interface CreditMemoRequestService
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
pricingProcedureCounter
- Access number of the conditions within a step in the pricing 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 public CreditMemoReqItemPrcgElmntUpdateFluentHelper updateCreditMemoReqItemPrcgElmnt(@Nonnull CreditMemoReqItemPrcgElmnt creditMemoReqItemPrcgElmnt)
CreditMemoRequestService
CreditMemoReqItemPrcgElmnt
entity and save it to the S/4HANA system.updateCreditMemoReqItemPrcgElmnt
in interface CreditMemoRequestService
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 public CreditMemoReqItemPrcgElmntDeleteFluentHelper deleteCreditMemoReqItemPrcgElmnt(@Nonnull CreditMemoReqItemPrcgElmnt creditMemoReqItemPrcgElmnt)
CreditMemoRequestService
CreditMemoReqItemPrcgElmnt
entity in the S/4HANA system.deleteCreditMemoReqItemPrcgElmnt
in interface CreditMemoRequestService
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 public CreditMemoReqPartnerFluentHelper getAllCreditMemoReqPartner()
CreditMemoRequestService
CreditMemoReqPartner
entities.getAllCreditMemoReqPartner
in interface CreditMemoRequestService
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 public CreditMemoReqPartnerByKeyFluentHelper getCreditMemoReqPartnerByKey(String creditMemoRequest, String partnerFunction)
CreditMemoRequestService
CreditMemoReqPartner
entity using key fields.getCreditMemoReqPartnerByKey
in interface CreditMemoRequestService
creditMemoRequest
- 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
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 public CreditMemoReqPartnerUpdateFluentHelper updateCreditMemoReqPartner(@Nonnull CreditMemoReqPartner creditMemoReqPartner)
CreditMemoRequestService
CreditMemoReqPartner
entity and save it to the S/4HANA system.updateCreditMemoReqPartner
in interface CreditMemoRequestService
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 public CreditMemoReqPartnerDeleteFluentHelper deleteCreditMemoReqPartner(@Nonnull CreditMemoReqPartner creditMemoReqPartner)
CreditMemoRequestService
CreditMemoReqPartner
entity in the S/4HANA system.deleteCreditMemoReqPartner
in interface CreditMemoRequestService
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 public CreditMemoReqPrcgElmntFluentHelper getAllCreditMemoReqPrcgElmnt()
CreditMemoRequestService
CreditMemoReqPrcgElmnt
entities.getAllCreditMemoReqPrcgElmnt
in interface CreditMemoRequestService
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 public CreditMemoReqPrcgElmntByKeyFluentHelper getCreditMemoReqPrcgElmntByKey(String creditMemoRequest, String pricingProcedureStep, String pricingProcedureCounter)
CreditMemoRequestService
CreditMemoReqPrcgElmnt
entity using key fields.getCreditMemoReqPrcgElmntByKey
in interface CreditMemoRequestService
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
pricingProcedureCounter
- Access number of the conditions within a step in the pricing 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 public CreditMemoReqPrcgElmntUpdateFluentHelper updateCreditMemoReqPrcgElmnt(@Nonnull CreditMemoReqPrcgElmnt creditMemoReqPrcgElmnt)
CreditMemoRequestService
CreditMemoReqPrcgElmnt
entity and save it to the S/4HANA system.updateCreditMemoReqPrcgElmnt
in interface CreditMemoRequestService
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 public CreditMemoReqPrcgElmntDeleteFluentHelper deleteCreditMemoReqPrcgElmnt(@Nonnull CreditMemoReqPrcgElmnt creditMemoReqPrcgElmnt)
CreditMemoRequestService
CreditMemoReqPrcgElmnt
entity in the S/4HANA system.deleteCreditMemoReqPrcgElmnt
in interface CreditMemoRequestService
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 public CreditMemoRequestFluentHelper getAllCreditMemoRequest()
CreditMemoRequestService
CreditMemoRequest
entities.getAllCreditMemoRequest
in interface CreditMemoRequestService
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 public CreditMemoRequestByKeyFluentHelper getCreditMemoRequestByKey(String creditMemoRequest)
CreditMemoRequestService
CreditMemoRequest
entity using key fields.getCreditMemoRequestByKey
in interface CreditMemoRequestService
creditMemoRequest
- Credit Memo RequestConstraints: 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 public CreditMemoRequestCreateFluentHelper createCreditMemoRequest(@Nonnull CreditMemoRequest creditMemoRequest)
CreditMemoRequestService
CreditMemoRequest
entity and save it to the S/4HANA system.createCreditMemoRequest
in interface CreditMemoRequestService
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 public CreditMemoRequestUpdateFluentHelper updateCreditMemoRequest(@Nonnull CreditMemoRequest creditMemoRequest)
CreditMemoRequestService
CreditMemoRequest
entity and save it to the S/4HANA system.updateCreditMemoRequest
in interface CreditMemoRequestService
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 public CreditMemoRequestDeleteFluentHelper deleteCreditMemoRequest(@Nonnull CreditMemoRequest creditMemoRequest)
CreditMemoRequestService
CreditMemoRequest
entity in the S/4HANA system.deleteCreditMemoRequest
in interface CreditMemoRequestService
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 public CreditMemoRequestItemFluentHelper getAllCreditMemoRequestItem()
CreditMemoRequestService
CreditMemoRequestItem
entities.getAllCreditMemoRequestItem
in interface CreditMemoRequestService
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 public CreditMemoRequestItemByKeyFluentHelper getCreditMemoRequestItemByKey(String creditMemoRequest, String creditMemoRequestItem)
CreditMemoRequestService
CreditMemoRequestItem
entity using key fields.getCreditMemoRequestItemByKey
in interface CreditMemoRequestService
creditMemoRequest
- Credit Memo RequestConstraints: Not nullable, Maximum length: 10
creditMemoRequestItem
- Credit Memo Request ItemConstraints: 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 public CreditMemoRequestItemCreateFluentHelper createCreditMemoRequestItem(@Nonnull CreditMemoRequestItem creditMemoRequestItem)
CreditMemoRequestService
CreditMemoRequestItem
entity and save it to the S/4HANA system.createCreditMemoRequestItem
in interface CreditMemoRequestService
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 public CreditMemoRequestItemUpdateFluentHelper updateCreditMemoRequestItem(@Nonnull CreditMemoRequestItem creditMemoRequestItem)
CreditMemoRequestService
CreditMemoRequestItem
entity and save it to the S/4HANA system.updateCreditMemoRequestItem
in interface CreditMemoRequestService
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 public CreditMemoRequestItemDeleteFluentHelper deleteCreditMemoRequestItem(@Nonnull CreditMemoRequestItem creditMemoRequestItem)
CreditMemoRequestService
CreditMemoRequestItem
entity in the S/4HANA system.deleteCreditMemoRequestItem
in interface CreditMemoRequestService
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.Copyright © 2018 SAP SE. All rights reserved.