@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchasingCategoryService") public class DefaultPurchasingCategoryService extends Object implements PurchasingCategoryService
This service enables you to create, read, and update purchasing categories in an external system through an API call.
Reference: SAP API Business Hub
OData Service: | API_PURCHASING_CATEGORY_SRV |
API Version: | 1 |
Communication Scenario: | Purchasing Category Integration (SAP_COM_0123) |
Scope Items: | Supplier Classification and Segmentation (19E) |
Authentication Methods: | Basic, x509 |
Business Object: | PurchasingCategory |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPurchasingCategoryService()
Creates a service using
PurchasingCategoryService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultPurchasingCategoryService()
PurchasingCategoryService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPurchasingCategoryService withServicePath(@Nonnull String servicePath)
PurchasingCategoryService
withServicePath
in interface PurchasingCategoryService
servicePath
- Service path that will override the default.@Nonnull public DefaultPurchasingCategoryServiceBatch batch()
batch
in interface BatchService<PurchasingCategoryServiceBatch>
@Nonnull public PurgCatFluentHelper getAllPurgCat()
PurchasingCategoryService
PurgCat
entities.getAllPurgCat
in interface PurchasingCategoryService
PurgCat
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 PurgCatByKeyFluentHelper getPurgCatByKey(UUID purgCatUUID)
PurchasingCategoryService
PurgCat
entity using key fields.getPurgCatByKey
in interface PurchasingCategoryService
purgCatUUID
- Purchasing Category UUID
Constraints: Not nullable
PurgCat
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 PurgCatCreateFluentHelper createPurgCat(@Nonnull PurgCat purgCat)
PurchasingCategoryService
PurgCat
entity and save it to the S/4HANA system.createPurgCat
in interface PurchasingCategoryService
purgCat
- PurgCat
entity
object that will be created in the S/4HANA system.PurgCat
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatUpdateFluentHelper updatePurgCat(@Nonnull PurgCat purgCat)
PurchasingCategoryService
PurgCat
entity and save it to the S/4HANA system.updatePurgCat
in interface PurchasingCategoryService
purgCat
- PurgCat
entity
object that will be updated in the S/4HANA system.PurgCat
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatDescriptionFluentHelper getAllPurgCatDescription()
PurchasingCategoryService
PurgCatDescription
entities.getAllPurgCatDescription
in interface PurchasingCategoryService
PurgCatDescription
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 PurgCatDescriptionByKeyFluentHelper getPurgCatDescriptionByKey(UUID purgCatDescriptionUUID)
PurchasingCategoryService
PurgCatDescription
entity using key fields.getPurgCatDescriptionByKey
in interface PurchasingCategoryService
purgCatDescriptionUUID
- Purchasing Category Description UUID
Constraints: Not nullable
PurgCatDescription
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 PurgCatDescriptionCreateFluentHelper createPurgCatDescription(@Nonnull PurgCatDescription purgCatDescription)
PurchasingCategoryService
PurgCatDescription
entity and save it to the S/4HANA system.createPurgCatDescription
in interface PurchasingCategoryService
purgCatDescription
- PurgCatDescription
entity object that will be created in the S/4HANA system.PurgCatDescription
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatDescriptionUpdateFluentHelper updatePurgCatDescription(@Nonnull PurgCatDescription purgCatDescription)
PurchasingCategoryService
PurgCatDescription
entity and save it to the S/4HANA system.updatePurgCatDescription
in interface PurchasingCategoryService
purgCatDescription
- PurgCatDescription
entity object that will be updated in the S/4HANA system.PurgCatDescription
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatDescriptionDeleteFluentHelper deletePurgCatDescription(@Nonnull PurgCatDescription purgCatDescription)
PurchasingCategoryService
PurgCatDescription
entity in the S/4HANA system.deletePurgCatDescription
in interface PurchasingCategoryService
purgCatDescription
- PurgCatDescription
entity object that will be deleted in the S/4HANA system.PurgCatDescription
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatMaterialGroupFluentHelper getAllPurgCatMaterialGroup()
PurchasingCategoryService
PurgCatMaterialGroup
entities.getAllPurgCatMaterialGroup
in interface PurchasingCategoryService
PurgCatMaterialGroup
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 PurgCatMaterialGroupByKeyFluentHelper getPurgCatMaterialGroupByKey(UUID purCatMaterialGroupUUID)
PurchasingCategoryService
PurgCatMaterialGroup
entity using key fields.getPurgCatMaterialGroupByKey
in interface PurchasingCategoryService
purCatMaterialGroupUUID
- Purchasing Category Material Group Reference UUID
Constraints: Not nullable
PurgCatMaterialGroup
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 PurgCatMaterialGroupCreateFluentHelper createPurgCatMaterialGroup(@Nonnull PurgCatMaterialGroup purgCatMaterialGroup)
PurchasingCategoryService
PurgCatMaterialGroup
entity and save it to the S/4HANA system.createPurgCatMaterialGroup
in interface PurchasingCategoryService
purgCatMaterialGroup
- PurgCatMaterialGroup
entity object that will be created in the S/4HANA system.PurgCatMaterialGroup
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatMaterialGroupUpdateFluentHelper updatePurgCatMaterialGroup(@Nonnull PurgCatMaterialGroup purgCatMaterialGroup)
PurchasingCategoryService
PurgCatMaterialGroup
entity and save it to the S/4HANA system.updatePurgCatMaterialGroup
in interface PurchasingCategoryService
purgCatMaterialGroup
- PurgCatMaterialGroup
entity object that will be updated in the S/4HANA system.PurgCatMaterialGroup
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatMaterialGroupDeleteFluentHelper deletePurgCatMaterialGroup(@Nonnull PurgCatMaterialGroup purgCatMaterialGroup)
PurchasingCategoryService
PurgCatMaterialGroup
entity in the S/4HANA system.deletePurgCatMaterialGroup
in interface PurchasingCategoryService
purgCatMaterialGroup
- PurgCatMaterialGroup
entity object that will be deleted in the S/4HANA system.PurgCatMaterialGroup
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatMemberFluentHelper getAllPurgCatMember()
PurchasingCategoryService
PurgCatMember
entities.getAllPurgCatMember
in interface PurchasingCategoryService
PurgCatMember
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 PurgCatMemberByKeyFluentHelper getPurgCatMemberByKey(UUID purgCatPartyUUID)
PurchasingCategoryService
PurgCatMember
entity using key fields.getPurgCatMemberByKey
in interface PurchasingCategoryService
purgCatPartyUUID
- Purchasing Category Party UUID
Constraints: Not nullable
PurgCatMember
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 PurgCatMemberCreateFluentHelper createPurgCatMember(@Nonnull PurgCatMember purgCatMember)
PurchasingCategoryService
PurgCatMember
entity and save it to the S/4HANA system.createPurgCatMember
in interface PurchasingCategoryService
purgCatMember
- PurgCatMember
entity object that will be created in the S/4HANA system.PurgCatMember
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatMemberUpdateFluentHelper updatePurgCatMember(@Nonnull PurgCatMember purgCatMember)
PurchasingCategoryService
PurgCatMember
entity and save it to the S/4HANA system.updatePurgCatMember
in interface PurchasingCategoryService
purgCatMember
- PurgCatMember
entity object that will be updated in the S/4HANA system.PurgCatMember
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatMemberDeleteFluentHelper deletePurgCatMember(@Nonnull PurgCatMember purgCatMember)
PurchasingCategoryService
PurgCatMember
entity in the S/4HANA system.deletePurgCatMember
in interface PurchasingCategoryService
purgCatMember
- PurgCatMember
entity object that will be deleted in the S/4HANA system.PurgCatMember
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatPlannedSpendFluentHelper getAllPurgCatPlannedSpend()
PurchasingCategoryService
PurgCatPlannedSpend
entities.getAllPurgCatPlannedSpend
in interface PurchasingCategoryService
PurgCatPlannedSpend
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 PurgCatPlannedSpendByKeyFluentHelper getPurgCatPlannedSpendByKey(UUID purgCatPlndSpendUUID)
PurchasingCategoryService
PurgCatPlannedSpend
entity using key fields.getPurgCatPlannedSpendByKey
in interface PurchasingCategoryService
purgCatPlndSpendUUID
- Planned Spend for a Purchasing Category
Constraints: Not nullable
PurgCatPlannedSpend
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 PurgCatPlannedSpendCreateFluentHelper createPurgCatPlannedSpend(@Nonnull PurgCatPlannedSpend purgCatPlannedSpend)
PurchasingCategoryService
PurgCatPlannedSpend
entity and save it to the S/4HANA system.createPurgCatPlannedSpend
in interface PurchasingCategoryService
purgCatPlannedSpend
- PurgCatPlannedSpend
entity object that will be created in the S/4HANA system.PurgCatPlannedSpend
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatPlannedSpendUpdateFluentHelper updatePurgCatPlannedSpend(@Nonnull PurgCatPlannedSpend purgCatPlannedSpend)
PurchasingCategoryService
PurgCatPlannedSpend
entity and save it to the S/4HANA system.updatePurgCatPlannedSpend
in interface PurchasingCategoryService
purgCatPlannedSpend
- PurgCatPlannedSpend
entity object that will be updated in the S/4HANA system.PurgCatPlannedSpend
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatPlannedSpendDeleteFluentHelper deletePurgCatPlannedSpend(@Nonnull PurgCatPlannedSpend purgCatPlannedSpend)
PurchasingCategoryService
PurgCatPlannedSpend
entity in the S/4HANA system.deletePurgCatPlannedSpend
in interface PurchasingCategoryService
purgCatPlannedSpend
- PurgCatPlannedSpend
entity object that will be deleted in the S/4HANA system.PurgCatPlannedSpend
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatPurchaserResponsibleFluentHelper getAllPurgCatPurchaserResponsible()
PurchasingCategoryService
PurgCatPurchaserResponsible
entities.getAllPurgCatPurchaserResponsible
in interface PurchasingCategoryService
PurgCatPurchaserResponsible
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 PurgCatPurchaserResponsibleByKeyFluentHelper getPurgCatPurchaserResponsibleByKey(UUID purgCatPartyUUID)
PurchasingCategoryService
PurgCatPurchaserResponsible
entity using key fields.getPurgCatPurchaserResponsibleByKey
in interface PurchasingCategoryService
purgCatPartyUUID
- Purchasing Category Party UUID
Constraints: Not nullable
PurgCatPurchaserResponsible
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 PurgCatPurchaserResponsibleUpdateFluentHelper updatePurgCatPurchaserResponsible(@Nonnull PurgCatPurchaserResponsible purgCatPurchaserResponsible)
PurchasingCategoryService
PurgCatPurchaserResponsible
entity and save it to the S/4HANA system.updatePurgCatPurchaserResponsible
in interface PurchasingCategoryService
purgCatPurchaserResponsible
- PurgCatPurchaserResponsible
entity object that will be updated in the S/4HANA system.PurgCatPurchaserResponsible
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatSupplierFluentHelper getAllPurgCatSupplier()
PurchasingCategoryService
PurgCatSupplier
entities.getAllPurgCatSupplier
in interface PurchasingCategoryService
PurgCatSupplier
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 PurgCatSupplierByKeyFluentHelper getPurgCatSupplierByKey(UUID purgCatPartyUUID)
PurchasingCategoryService
PurgCatSupplier
entity using key fields.getPurgCatSupplierByKey
in interface PurchasingCategoryService
purgCatPartyUUID
- Purchasing Category Party UUID
Constraints: Not nullable
PurgCatSupplier
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 PurgCatSupplierCreateFluentHelper createPurgCatSupplier(@Nonnull PurgCatSupplier purgCatSupplier)
PurchasingCategoryService
PurgCatSupplier
entity and save it to the S/4HANA system.createPurgCatSupplier
in interface PurchasingCategoryService
purgCatSupplier
- PurgCatSupplier
entity object that will be created in the S/4HANA system.PurgCatSupplier
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatSupplierUpdateFluentHelper updatePurgCatSupplier(@Nonnull PurgCatSupplier purgCatSupplier)
PurchasingCategoryService
PurgCatSupplier
entity and save it to the S/4HANA system.updatePurgCatSupplier
in interface PurchasingCategoryService
purgCatSupplier
- PurgCatSupplier
entity object that will be updated in the S/4HANA system.PurgCatSupplier
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatSupplierDeleteFluentHelper deletePurgCatSupplier(@Nonnull PurgCatSupplier purgCatSupplier)
PurchasingCategoryService
PurgCatSupplier
entity in the S/4HANA system.deletePurgCatSupplier
in interface PurchasingCategoryService
purgCatSupplier
- PurgCatSupplier
entity object that will be deleted in the S/4HANA system.PurgCatSupplier
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatTranslationStatusFluentHelper getAllPurgCatTranslationStatus()
PurchasingCategoryService
PurgCatTranslationStatus
entities.getAllPurgCatTranslationStatus
in interface PurchasingCategoryService
PurgCatTranslationStatus
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 PurgCatTranslationStatusByKeyFluentHelper getPurgCatTranslationStatusByKey(UUID purgCatTranslationUUID)
PurchasingCategoryService
PurgCatTranslationStatus
entity using key fields.getPurgCatTranslationStatusByKey
in interface PurchasingCategoryService
purgCatTranslationUUID
- Purchasing Category Translation UUID
Constraints: Not nullable
PurgCatTranslationStatus
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 PurgCatTranslationStatusCreateFluentHelper createPurgCatTranslationStatus(@Nonnull PurgCatTranslationStatus purgCatTranslationStatus)
PurchasingCategoryService
PurgCatTranslationStatus
entity and save it to the S/4HANA system.createPurgCatTranslationStatus
in interface PurchasingCategoryService
purgCatTranslationStatus
- PurgCatTranslationStatus
entity object that will be created in the S/4HANA system.PurgCatTranslationStatus
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatTranslationStatusUpdateFluentHelper updatePurgCatTranslationStatus(@Nonnull PurgCatTranslationStatus purgCatTranslationStatus)
PurchasingCategoryService
PurgCatTranslationStatus
entity and save it to the S/4HANA system.updatePurgCatTranslationStatus
in interface PurchasingCategoryService
purgCatTranslationStatus
- PurgCatTranslationStatus
entity object that will be updated in the S/4HANA system.PurgCatTranslationStatus
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgCatTranslationStatusDeleteFluentHelper deletePurgCatTranslationStatus(@Nonnull PurgCatTranslationStatus purgCatTranslationStatus)
PurchasingCategoryService
PurgCatTranslationStatus
entity in the S/4HANA system.deletePurgCatTranslationStatus
in interface PurchasingCategoryService
purgCatTranslationStatus
- PurgCatTranslationStatus
entity object that will be deleted in the S/4HANA system.PurgCatTranslationStatus
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.