‎2010 Sep 22 7:17 AM
HI,
In module pool programming suppose for example i need to enter two values in two fields and in the third field the value should come automatically.
ex: amount 1000
debit 500
if i enter the above values, in the third field i need to automatically get the value for third field with calculations.
the third field should come as
credit 500.
how can i resolve this.can any one guide me.
thanks & Regards,
komal.
‎2010 Sep 22 8:21 AM
Hi Komal,
You can use the 'ON INPUT' addition for checking whether the values are entered in the first two fields.
Once the input is given for the first two fields, the relevant code to calculate the value in the third field can be
written in that module.
‎2010 Sep 22 8:25 AM
Hi,
you can actually enable the Enter function keys in the PF Status of the screen. This way, everytime u hit enter, u will just have to check if the 2 fields contain the values -> if yes, then compute the result and display it in the third box.
Regards,
‎2010 Sep 22 8:46 AM
HI,
In the PAI flow logic give this --
field : fld1,fld2 module calculation on request.
on request workes when ever u change the data in one of the two fields the module will be triggered.
write ur calculation logic in module calculation
‎2010 Sep 22 9:55 AM