SAP ABAP Message Class W8 Message Number 198 (Value of type & is used for defining date (type &))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWA (Package) Business Workflow: Expressions, binding
Attribute
Message class W8  
Short Description Workflow: Expressions, data flow    
Message Number 198  
Documentation status      
Authorization check Error Message      
Changed On    
Message Text
Value of type & is used for defining date (type &)
Help Document

Diagnosis

You are trying to assign an element of data type to an element of data type .

System Response

In cases concerning assignments, a conversion is executed at runtime involving in , under the following rules:

  • N -> D    First the conversion N -> C takes place and then C -> D.
  • N -> C    The numerical field is treated like a text field,
                leading zeros are retained.
  • C -> D    the text field should contain an 8-digit date in the form
                YYYYMMDD.

Procedure

You should ensure that only data type can be included when calculating difference days. The necessary type conversions (MOVE) are executed internally automatically before the arithmetic operation. For reasons of efficiency, however, only operands of the same numeric data type should occur within one arithmetic expression, if possible (up to the operands for STRLEN): in such cases, no conversion is required and special internal optimization can be carried out.

Procedure for System Administration

History
Last changed on/by 20110908  SAP 
SAP Release Created in