SAP Knowledge Base Article - Public

3564805 - Unable to Fetch the Purchase Order Approvals ROOT Node Details in SDK

Symptom

For a specific purchase order, system does not display any values under approvals ROOT node in the SDK.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Login to SDK
  2. Navigate to Repository Explorer
  3. Access Purchase Order Business Object (BO)
  4. Navigate to Approval Node
  5. Observe that no values are found

Cause

The data which displays under the approval node of the Purchase Order document is runtime data. This data is determined instantly based on the approval criteria and conditions defined. Therefore, it is not possible to read the Approvals data from SDK. Moreover, the approval details are read through business tasks, from where the approver for the document can be determined.

Resolution

  1. Utilize Library Functions.
  2. Refer to Approval Process Library Functions.
  3. Apply Transformation Rule in MDRS - BTM_APPR_PROC_LIB.
  4. Use Library Name – ApprovalProcess.

See Also

Keywords

SDK, Repository Explorer, Purchase Order, Approval Node, No Values, Runtime Data, Library Functions, Approval Process, MDRS, BTM_APPR_PROC_LIB, ApprovalProcess. , KBA , AP-POP-PO , Purchase Order , Problem

Product

SAP Business ByDesign 2411 ; SAP Business ByDesign 2502