Application Development 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: 

How to calculate inside script layout.

ram_sahoo
Participant
0 Kudos

Hi Experts,

I have need to calculate inside the script layout,Means in LV_LINES containing 16 i want add 4 in variable LV_LINE + 4 but its giving some error while debugging time.Anyone can help me for this requirement.

Thanks,

3 REPLIES 3

krishna_k19
Contributor
0 Kudos

Hi Ram,

   Can you elaborate the same.

What error your getting and can you post your code.

Regards,

Krishna

0 Kudos

Hi Krishna,

I want calculate inside script layout

E.g DEFINE &GV_LINE& = &GV_LINE& - '32'.

gv_line value is 20 i want 20 minus from 32.

Thanks,

0 Kudos

Hi ram,

can you please explain what do you mean by 'script layout'?

if it is sapscript, smartforms or adobe form, you'd rather do the calculation in the forms driver program or function. In sapscript you may use external perform if you can or don't want to change the driver program. In smartforms you can use code nodes, with adobe interactive forms it will be done in java.

Just let us know more...

Regards Clemens