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
- Login to SAP Cloud Applications Studio
- Select View > Repository Explorer
- Find CustomerQuote BO
- Right click on QueryByElements from Root and Execute Query
- Add the document ID to execute the query and hit OK
- Click on Navigation By Association > Select BusinessDocumentFlow > Relationship
- 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