cancel
Showing results for 
Search instead for 
Did you mean: 

Open calculator input helper by key

bernd_speckmann
Contributor
0 Kudos

Hi there,

in an application numeric input fields automatically get a calculator as input helper.

Now I want to open the calculator by pressing a key when the field is selected. Is this possible? How can I achieve this?

Thanks ahead, Bernd

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please check in Note 1406153 - How to disable calculator value help in Web Dynpro Java

With SAP NetWeaver 7.1 Ehp1 Web Dynpro Java introduced an additional value help (calculator) for numeric input fields. For consistency reasons Web Dynpro does not allow to activate or deactivate the calculator per input field. All input fields bound to a numeric data type get by default a calculator value

Solution

By default Web Dynpro Java runtime provides the calculator value help at each input field which is bound to a numeric data type.

But for compatibility reasons Web Dynpro introduced some configurations to explicitly deactivate the calculator value help.

1) Calcualtor value help can be deactived by appending following parameter to the application url:

  sap-wd-activateCalculatorValueHelp=false

2) The calculator value help can be deactivated also for a complete application by using the web dynpro application property sap.wd.activateCalculatorValueHelp and by setting its value to false.

3) The calculator value help can also be deactivated for all Web Dynpro Java applications by setting the Web Dynpro default configuration for sap.wd.activateCalculatorValueHelp to false.

Start the NWA, e.g. via the engine homepage

Navigate to "Configuration Management > Infrastructure > Application Modules"

Filter table "Module List" for name = "webdynpro/resources/sap.com/tc~wd~dispwda"

In the "Web Module Details" view, select the "Web Dynpro  Properties" tab. There you can select the property sheet in which you like to change configuration. Select property sheet  "default" for the technical configuration of the Web Dynpro runtime.

In the "Full Details" view, the properties are now shown. Search the property "sap.wd.activateCalculatorValueHelp" and change its value to "false". If the property does not exist add a new one.

Save the changes by pressing the "Save" button in the "Web Module Details" view. The changes are applied immediately, i.e. a restart of the engine is not necessary.

Take care that url parameter has precedence over application property and application property has precedence over global Web Dynpro configuration.

Thanks,

Patralekha

bernd_speckmann
Contributor
0 Kudos

Hi,

I don't want to deactivate the calculator. I want to open the calculator by pressing a key after switching to it using tab.

Is this possible?

Thanks ahead.

Former Member
0 Kudos

Dear Bernd,

According to the Note 1406153 - "How to disable calculator value help in Web Dynpro Java"- with SAP NetWeaver 7.1 Ehp1 Web Dynpro Java introduced an additional value help (calculator) for numeric input fields. For consistency reasons Web Dynpro does not allow to activate or deactivate the calculator per input field. All input fields bound to a numeric data type get by default a calculator value.

So at first you have to disable the default calculator.

And then you have to create one custom application for calculator and call that application by clicking the button of your view.

You can check following documents for this.

1) How to Use Input Field Suggestions in a Web Dynpro for Java Application  -

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3073bc25-2c08-2d10-1e82-f6ed25001...

2)Creating Your First J2EE Application  -

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a1b99c90-0201-0010-39be-c36341d3f...

Thanks,

Patralekha

bernd_speckmann
Contributor
0 Kudos

Hi Patralekha,

thanks for your answer. Found the soltuion. Pressing the F4-Key opens the calculator without clicking on it with the mouse.

Regards, Bernd

Answers (0)