@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultCreditMemoRequestService") public class DefaultCreditMemoRequestService extends Object implements CreditMemoRequestService
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. 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_CREDIT_MEMO_REQUEST_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Credit Memo Request |
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 DefaultCreditMemoRequestServiceBatch batch()
batch
in interface BatchService<CreditMemoRequestServiceBatch>
@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
- Sales and Distribution Document Number
Constraints: Not nullable, Maximum length: 10
creditMemoRequestItem
- Item number of the SD document
Constraints: Not nullable, Maximum length: 6
partnerFunction
- 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
- Sales Document
Constraints: Not nullable, Maximum length: 10
creditMemoRequestItem
- 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
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
- Sales and Distribution Document Number
Constraints: Not nullable, Maximum length: 10
partnerFunction
- 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
- 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
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 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 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 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 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.@Nonnull public CreditMemoValAddedSrvcFluentHelper getAllCreditMemoValAddedSrvc()
CreditMemoRequestService
CreditMemoValAddedSrvc
entities.getAllCreditMemoValAddedSrvc
in interface CreditMemoRequestService
CreditMemoValAddedSrvc
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 CreditMemoValAddedSrvcByKeyFluentHelper getCreditMemoValAddedSrvcByKey(String valueAddedServiceType, String valueAddedSubServiceType, String creditMemoRequest, String creditMemoRequestItem)
CreditMemoRequestService
CreditMemoValAddedSrvc
entity using key fields.getCreditMemoValAddedSrvcByKey
in interface CreditMemoRequestService
valueAddedServiceType
- VAS Service Types
Constraints: Not nullable, Maximum length: 2
valueAddedSubServiceType
- VAS Sub Services
Constraints: Not nullable, Maximum length: 5
creditMemoRequest
- Document number of the reference document
Constraints: Not nullable, Maximum length: 10
creditMemoRequestItem
- Item number of the reference item
Constraints: Not nullable, Maximum length: 6
CreditMemoValAddedSrvc
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 CreditMemoValAddedSrvcCreateFluentHelper createCreditMemoValAddedSrvc(@Nonnull CreditMemoValAddedSrvc creditMemoValAddedSrvc)
CreditMemoRequestService
CreditMemoValAddedSrvc
entity and save it to the S/4HANA system.createCreditMemoValAddedSrvc
in interface CreditMemoRequestService
creditMemoValAddedSrvc
- CreditMemoValAddedSrvc
entity object that will be created in the S/4HANA system.CreditMemoValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CreditMemoValAddedSrvcUpdateFluentHelper updateCreditMemoValAddedSrvc(@Nonnull CreditMemoValAddedSrvc creditMemoValAddedSrvc)
CreditMemoRequestService
CreditMemoValAddedSrvc
entity and save it to the S/4HANA system.updateCreditMemoValAddedSrvc
in interface CreditMemoRequestService
creditMemoValAddedSrvc
- CreditMemoValAddedSrvc
entity object that will be updated in the S/4HANA system.CreditMemoValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CreditMemoValAddedSrvcDeleteFluentHelper deleteCreditMemoValAddedSrvc(@Nonnull CreditMemoValAddedSrvc creditMemoValAddedSrvc)
CreditMemoRequestService
CreditMemoValAddedSrvc
entity in the S/4HANA system.deleteCreditMemoValAddedSrvc
in interface CreditMemoRequestService
creditMemoValAddedSrvc
- CreditMemoValAddedSrvc
entity object that will be deleted in the S/4HANA system.CreditMemoValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReleaseApprovalRequestFluentHelper releaseApprovalRequest(String creditMemoRequest)
CreditMemoRequestService
Creates a fluent helper for the releaseApprovalRequest OData function import.
releaseApprovalRequest
in interface CreditMemoRequestService
creditMemoRequest
- Constraints: Not nullable, Maximum length: 11000
Original parameter name from the Odata EDM: CreditMemoRequest
execute
method on the fluent helper object.@Nonnull public RejectApprovalRequestFluentHelper rejectApprovalRequest(String creditMemoRequest)
CreditMemoRequestService
Creates a fluent helper for the rejectApprovalRequest OData function import.
rejectApprovalRequest
in interface CreditMemoRequestService
creditMemoRequest
- Constraints: Not nullable, Maximum length: 11000
Original parameter name from the Odata EDM: CreditMemoRequest
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.