SAP Message ADPMPS050 - This function is only useful for orders

Diagnosis
You attempted to perform a function that can only be used for orders inthis application.

Procedure
Check the objects on which you used the function.