Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @sap/cloud-sdk-vdm-purchase-requisition-service

@sap/cloud-sdk-vdm-purchase-requisition-service

This package contains the OData VDM for the Purchase Requisition Service of SAP S/4HANA Cloud. This service is part of the following communication scenarios: Purchase Requisition Integration (SAP_COM_0102), SAP S/4HANA Procurement Hub - Ariba GB - Hub to Ariba GB Integration (SAP_COM_0292). You can find additional documentation for this service on help.sap.com.

Helpful Links

Index

Type aliases

ReadPurchaseRequisitionServiceRequestBuilder

ReadPurchaseRequisitionServiceRequestBuilder: GetAllRequestBuilder<PurchaseReqnItemText> | GetAllRequestBuilder<PurchaseRequisitionHeader> | GetAllRequestBuilder<PurchaseRequisitionItem> | GetAllRequestBuilder<PurReqAddDelivery> | GetAllRequestBuilder<PurReqnAcctAssgmt> | GetByKeyRequestBuilder<PurchaseReqnItemText> | GetByKeyRequestBuilder<PurchaseRequisitionHeader> | GetByKeyRequestBuilder<PurchaseRequisitionItem> | GetByKeyRequestBuilder<PurReqAddDelivery> | GetByKeyRequestBuilder<PurReqnAcctAssgmt>

WritePurchaseRequisitionServiceRequestBuilder

WritePurchaseRequisitionServiceRequestBuilder: CreateRequestBuilder<PurchaseReqnItemText> | UpdateRequestBuilder<PurchaseReqnItemText> | DeleteRequestBuilder<PurchaseReqnItemText> | CreateRequestBuilder<PurchaseRequisitionHeader> | UpdateRequestBuilder<PurchaseRequisitionHeader> | DeleteRequestBuilder<PurchaseRequisitionHeader> | CreateRequestBuilder<PurchaseRequisitionItem> | UpdateRequestBuilder<PurchaseRequisitionItem> | DeleteRequestBuilder<PurchaseRequisitionItem> | CreateRequestBuilder<PurReqAddDelivery> | UpdateRequestBuilder<PurReqAddDelivery> | DeleteRequestBuilder<PurReqAddDelivery> | CreateRequestBuilder<PurReqnAcctAssgmt> | UpdateRequestBuilder<PurReqnAcctAssgmt> | DeleteRequestBuilder<PurReqnAcctAssgmt>

Variables

Const defaultPurchaseRequisitionServicePath

defaultPurchaseRequisitionServicePath: "/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV" = "/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV"

Functions

batch

changeset

createMessages

  • createMessages(json: object): Messages
  • deprecated

    since v1.6.0. Use Messages.build instead.

    Parameters

    Returns Messages

createValidationMessages

discardFromPurchasing

  • Invoke action DiscardFromPurchasing.

    Parameters

    Returns FunctionImportRequestBuilder<DiscardFromPurchasingParameters, Messages[]>

    A request builder that allows to overwrite some of the values and execute the resultng request.

enableForPurchasing

  • Invoke action EnableForPurchasing.

    Parameters

    Returns FunctionImportRequestBuilder<EnableForPurchasingParameters, Messages[]>

    A request builder that allows to overwrite some of the values and execute the resultng request.

validate

  • Invoke function Validate.

    Parameters

    • parameters: ValidateParameters

      Object containing all parameters for the function import.

    Returns FunctionImportRequestBuilder<ValidateParameters, ValidationMessages[]>

    A request builder that allows to overwrite some of the values and execute the resultng request.

Object literals

Const functionImports

functionImports: object

discardFromPurchasing

discardFromPurchasing: discardFromPurchasing

enableForPurchasing

enableForPurchasing: enableForPurchasing

validate

validate: validate