Symptom
The result of a formula is not expected in ABAP runtime, when the formula is using a constant value for comparison and if the field has a conversion exit (ALPHA, MATN1, etc.).
Let's take the following example:
- The source field is called SZRALPHA.
- It is CHAR, 2 with ALPHA conversion exit.
- The formula is:
IF ( /BIC/SZRALPHA = '4' ; '02' ; /BIC/SZRALPHA )
- The generated formula in the ABAP program
Therefore if the source in SZRALPHA has the value '04' (value 4 is not valid because of the ALPHA conversion), this formula will deliver incorrect results.
Read more...
Environment
SAP BW/4HANA
Product
Keywords
transformation, formula, constant, internal, external, forma, alpha, matn1, wbsel, peri6, peri7 , KBA , BW4-ME-TRFN , Transformation Metadata , BW4-DM-TRFN , SAP HANA execution in Transformation and DTP , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview