Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

computation

Former Member
0 Likes
505

hi all,

can anyone help me how to code this:

compute for the offset by [(NPLDA - STADT)/CYCLE] - 1.

PLS. HELP ME.

THANX IN ADVANCE.

REGARDS,

JC

3 REPLIES 3
Read only

Former Member
0 Likes
484

[(NPLDA - STADT)/CYCLE] - 1.

lval = nplda - stadt.

lval = lval / cycle.

lval = lval - 1.

Regards

Anurag

Read only

Former Member
0 Likes
484

Hi,

data lv_var type p.

compute lv_var = [(NPLDA - STADT)/CYCLE] - 1.

write lv_var

Regards

amole

Read only

Former Member
0 Likes
484

Hi,

use below logic

data lv_var type p.

compute lv_var = ( ( 100 - 20 ) / 2 ) - 1.

write lv_var.

Regards

amole