SAP Knowledge Base Article - Public

3464033 - Query on BusinessDocumentFlow does not work on Repository Explorer from SAP Cloud Applications Studio

Symptom

You are performing a query on the CustomerQuote and when navigating by association to BusinessDocumentFlow > Relationship, 0 records are found, however, you can see the related documents connected to the sales order or sales quote on the Document Flow tab from the user interface (UI).

Environment

  • SAP Cloud for Customer
  • SAP Cloud Applications Studio

Reproducing the Issue

  1. Login to SAP Cloud Applications Studio
  2. Select View > Repository Explorer
  3. Find CustomerQuote BO
  4. Right click on QueryByElements from Root and Execute Query
  5. Add the document ID to execute the query and hit OK
  6. Click on Navigation By Association > Select BusinessDocumentFlow > Relationship
  7. Find that there are 0 records 

Cause

Due to the technical nature of the BusinessDocumentFlow business object, the query navigation from CustomerQuote to BusinessDocumentFlow > Relationship won't work in the Repository Explorer. 

Resolution

You can locate the document flow instances (records) by navigating to BusinessDocumentFlow > Relationship from a CustomerQuote BO instance with ABSL script coding.

See Also

PDI, SDK, repository, explorer, query, relationship, business, document, flow, missing, records

Keywords

KBA , AP-RC-BDS-REP , ByDesign Studio Repository View , Problem

Product

SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions