Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Syntax Help

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

Tags:
Not what you were looking for? View more on this topic or Ask a question