SAP Knowledge Base Article - Preview

1756313 - BPC Script logic error when using ABAP Calc Engine - "MESSAGEGZHIncomplete expression: Operand (e.g. field) missing at end of statement"

Symptom

  • Before upgrading to BPC10 NW SP07, the following script logic expression is working.

            RET = ( P2 * P1 ) * .123

            or

            %VALUE%*LOOKUP(LOCALPRICE))*.123

  • After upgrading to BPC 10 NW SP07, running the same expression will generate the following error:

CALCULATION BEGIN:
------------ ABAP Code Generation Error:4 -------------
MESSAGEGZHIncomplete expression: Operand (e.g. field) missing at end of
statement parenthetical expression) missing at end of statement.
Line13 WordCOMPUTE
-------- Code ---------
program.
class main definition.
public section.
methods ***** importing
P1 type ********
P2 type ********
exporting RET type ********
raising CX_SY_ZERODIVIDE.
endclass.
class main implementation.
method *****.
"(%VALUE%*LOOKUP(LOCALPRICE))*.123
RET = ( P2 * P1 ) * .123.
endmethod.
endclass.
-------- Input formulas ---------
(%VALUE%*LOOKUP(LOCALPRICE))*.123
------------ ABAP Code Generation Error Ends ------------


Read more...

Environment

  • SAP Business Planning and Consolidation 10 For Netweaver, Service Pack 07.

 

Product

SAP Business Planning and Consolidation 10.0, version for SAP NetWeaver

Keywords

Data Management Package, UJKT, Simulation, Debug, Operator , KBA , features and functionality , EPM-BPC-NW-ADM-LF , Script Logic and Dimension Member Formulas , 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.