cancel
Showing results for 
Search instead for 
Did you mean: 

Simple calculator

Former Member
0 Kudos

To leran myself how to prgram with VC I tried to make a simple calculator.

One Input form, with three numeric input fields, NUM1, NUM2, NUM3. And one button 'Add', with the submit form action.

I defined the value of NUM3 as '@NUM1+@NUM2'.

But nothing happens. Isn't it that simple?

Where can I find I simple tutorial to start with?

Accepted Solutions (1)

Accepted Solutions (1)

former_member188977
Contributor
0 Kudos

Hi Jan,

The problem is the refresh, when the form is charged NUM3 has the value NUM1+NUM2 but is empty.

May be you should be hide the NUM3 and displayed in other form after push the button... other way would be use a "expresion box" (no "input field" ) in result field.

The best place to start with VC is http://help.sap.com/saphelp_nw04s/helpdata/en/43/395a596c8a1806e10000000a1553f6/frameset.htm

Regards,

Ignacio.

Answers (1)

Answers (1)

Former Member
0 Kudos

This link is really helpful!

Do you know if this documentation is available in pdf format?

former_member188977
Contributor
0 Kudos

Hi Jan, this information isn't in PDF format because SAP people are updating it all time... but I'm sure that you'll find very interesting examples here in SDN page: https://www.sdn.sap.com/irj/sdn/visualcomposer