SAP ABAP Message Class UA_FORMULA Message Number 049 (Method &1 of class &2 cannot be used)
Hierarchy
FINBASIS (Software Component) Fin. Basis
   FIN-FB-SRV (Application Component) Services
     UA_FORMULA (Package) Costing Solutions: Formula Editor
Attribute
Message class UA_FORMULA  
Short Description Formula Editor Messages    
Message Number 049  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20041209   
Message Text
Method &1 of class &2 cannot be used
Help Document

Diagnosis

You attempted to use a customer-defined ABAP method in a formula. However, you can only use a customer-defined method in formulas if it meets the following conditions:

  • The method must be static (not an instance method).
  • Visibility: Public.
  • Abstract: No.
  • All parameters must be typed with DDIC types.
  • A parameter of the type 'Returning' exists.
  • Exceptions: Only class-based exceptions can be triggered.

Method of class does not meet at least one of these conditions.

System Response

Method cannot be used in formulas.

Procedure

Adjust the definition or interface of method so that it meets the conditions named above.

Procedure for System Administration

History
Last changed on/by 20041006  SAP 
SAP Release Created in   350