OData Service API

Objective

After completing this lesson, you will be able to Learn new features and funcions.

OData Service API

Odata API for Maintenane Order

The OData API MaintenanceOrder has been deprecated, and a successor API version has been released. We recommend that you switch to the following successor API as soon as possible: MaintenanceOrder (Version 2). This new version includes the following changed and enhanced entities:

  •  Maintenance Order Settlement Rule (Version 2)
  •  Maintenance Order Operation Component (Version 2)
  •  Maintenance Order Component Long Text (Version 2)

The entity Maintenance Order Settlement History per edger (MaintOrdSettlmtDistrRuleHist) is no longer available in the new API version. The functionality of this entity has been included in the Maintenance Order Settlement Rule (Version 2) entity instead.

CDS Views for Maintenance Orders and Operations

You can access the following new CDS views, which are available for use in both key user tools and Cloud development:

  • Maintenance Order Data (I_MaintenanceOrderDEX)
  • Maintenance Order Change Document (I_MaintOrdChangeDocumentDEX)
  • Purchase Requisition Or Reservation Generation (I_PurReqnOrResvnGeneration) and the related text view I_PurReqnOrResvnGenerationText
  • Operation Basic Start Date Constraint Type (I_OpBscStartDateConstraintType) and the related text view I_OpBscStrtDateConstraintTypeT
  • Operation Basic End Date Constraint Type (I_OpBscEndDateConstraintType) and the related text view I_OpBscEndDateConstraintTypeT

CDS Views for Maintenance Orders and Operations

You can access the following new CDS views, which are available for use in both key user tools and Cloud development:

  • Maintenance Order Processing Context (I_MaintOrderProcessingContext) and the related text view I_MaintOrdProcessingContextT
  • Maintenance Order Component Special Stock Type (I_MaintOrdOpCompSpclStockType) and the related text view I_MaintOrdOpCompSpclStkTypeTxt
  • Maintenance Order Component Costing Relevancy (I_MaintOrdOpCompCostRelevancy) and the related text view I_MaintOrdOpCompCostRelevancyT
  • Maintenance Component Item Category (I_MaintComponentItemCategory) and the related text view I_MaintCompItemCategoryTxt

CDS Views for Maintenance Orders and Operations

Changes have been made to the following CDS views:

  • Maintenance Order Cube with Technical Object (I_MaintOrderTechObjCube): New attributes are available:
    • Process Phase (MaintOrdProcessPhaseCode), 
    • Process Subphase (MaintOrdProcessSubPhaseCode)
    • Processing Context (MaintOrderProcessingContext)
    • Previous Latest Acceptable Completion Date (PrevLtstAccptblCompletionDate)
    • Latest Acceptable Completion Date (LatestAcceptableCompletionDate)
  • Maintenance Order Operation Data (I_MaintOrderOperationData): This CDS view has been deprecated. You can use the following successor CDS view: Maintenance Order Operation (I_MaintOrderOperation_DEX).

Log in to track your progress & complete quizzes