SAP Message TR589 - Combination of object type and function invalid (internal syntax error)

TR589 : Combination of object type and function invalid (internal syntax error)