Skip to Content
0
Former Member
Sep 26, 2008 at 02:49 AM

Syntax Help

91 Views

Hi,

I'm new to ABAP, i coded the below statements, when i check i get the message:

E:Incomplete arithmetic expression: ")" missing at end of statement. Can anyone please let me what is the issue with the below code.

deno1 = ( ( 60 ) / ( SOURCE_FIELDS-/BIC/ZKPICKSPH ) ) + ( ppha ).

deno2 = ( ( 60 ) / ( tpph ) ) + ( ppha ).

if deno1 = '0'.

overpc1 = ( ( SOURCE_FIELDS-/BIC/ZKEMPIPHR ) / ( 60 / 0.0001 ) ) * 100.

else.

overpc1 = ( SOURCE_FIELDS-/BIC/ZKEMPIPHR / ( 60 / deno1 ) ) * 100.

endif.

if deno2 = '0'.

overpc2 = ( SOURCE_FIELDS-/BIC/ZKEMPIPHR / ( 60 / 0.0001 ) ) * 100.

else.

overpc1 = ( SOURCE_FIELDS-/BIC/ZKEMPIPHR / ( 60 / deno2 ) ) * 100.

endif.

Thanks,

AM