cancel
Showing results for 
Search instead for 
Did you mean: 

Get Oldest SFC in Queue At Given Resource (& Queue Management field) - SAP DM

stephan_madlmayr
Explorer
0 Kudos
215

Dear community,

I am looking for a way to retrieve in the production process the SFC that is longest in queue at a given resource, since I need a FIFO logic. Unfortunately, the SFC work lists don't return a timestamp when the SFCs "arrived" at the resource.

During my research I found out the resource public API (v2) has a field called "inQueueManagement" which takes the values FIFO/LIFO. This field does not seem to be documented anywhere.

stephan_madlmayr_0-1736764225509.png

I am wondering if anyone has found out how to retrieve the oldest SFC in queue of the resource. And if somebody knows what the queueManagement field on resource master data does.

Thank you in advance,
Stephan

 

View Entire Topic
tobias_renth
Participant
0 Kudos

Following API contains a field called dateQueued: https://api.sap.com/api/sapdme_sfc/path/getSfcStepActivities. However with this API you can get the info only for one SFC, not for a list of them. Maybe one of the MDOs also contains this field? https://help.sap.com/docs/sap-digital-manufacturing/insights/apis?locale=en-US 

stephan_madlmayr
Explorer
0 Kudos

Hi Tobias, thank you for your fast answer. Unfortunately, calling this API is not an option since the amount of SFCs in Queue will be huge.

Regarding MDOs, I don't want to use them in a production process since SAP states that they are not always up to date and should only be used for reports/dashboards.