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

calculator

Former Member
0 Likes
646

Hi..

am using FITRV_CALCULATOR fm to get the calculator is working fine . i want to enter the values using keyboard. is there any other FM which takes the value from keyboard, or i can use the same function module.

Regards

prajwal.

1 ACCEPTED SOLUTION
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
604

Hi,

The problem is the FM calls Screen 300 of the FM's function group(FITRV_UTIL) and on that screen this input field is marked as "Input not possible".

So the author of this FM wants the user to make use of Mouse to make the input since he does not want to handle the values and their format problems.

If you want input using keyboard, my advise is to copy this Function group(FITRV_UTIL) on to a ZFITRV_UTIL function group and then change the Z* function module that you get as per your need, make sure you take care of formatting and conversion errors that come as user can enter even character or make it NUMC type.

Regards,

Sesh

Hi..

am using FITRV_CALCULATOR fm to get the calculator is working fine . i want to enter the values using keyboard. is there any other FM which takes the value from keyboard, or i can use the same function module.

Regards

prajwal.

3 REPLIES 3
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
605

Hi,

The problem is the FM calls Screen 300 of the FM's function group(FITRV_UTIL) and on that screen this input field is marked as "Input not possible".

So the author of this FM wants the user to make use of Mouse to make the input since he does not want to handle the values and their format problems.

If you want input using keyboard, my advise is to copy this Function group(FITRV_UTIL) on to a ZFITRV_UTIL function group and then change the Z* function module that you get as per your need, make sure you take care of formatting and conversion errors that come as user can enter even character or make it NUMC type.

Regards,

Sesh

Read only

Former Member
0 Likes
604

Hi,

Try FI_PSO_CALCULATOR_OFFER

Regards

Read only

sukhbold_altanbat
Active Participant
0 Likes
604

Hi Prajwal,

I think it is not possible for giving the inputs from keyboard.

Reason: the input is not possible.

How to know:

1. please goto se80 and expand function group : FITRV_UTIL which has FITRV_CALCULATOR fm.

2. go to screens ( here you will see 300 screen)

3. go to the screen 300 (just double click it)

4. go to Element list (here you can see element called CALC-INPUT_RAW, which is used for displaying output)

5. select the element and press the attribute button.

it has clearly mentioned that output field is check. above it input is not checked.

I suggest you to copy the function group and change the screen element for input as well as output.

Thx