Found 10 Articles for SAP Web Dynpro

Calculate the value of (m)1/n in JavaScript

Updated on 17-Apr-2021 11:50:58
ProblemWe are required to write a JavaScript function that takes in two numbers m and n. Our function should calculate and return the value of the following expression −(m)1/nExampleFollowing is the code − Live Democonst m = 16; const n = 4; const findNthRoot = (m, n) => {    const power = 1 / n;    const res = Math.pow(m, power);      return res; }; console.log(findNthRoot(m, n));OutputFollowing is the console output −2

HTML DOM Input Submit formAction property

Updated on 18-Jun-2020 11:10:56
The HTML DOM Submit formAction property is used for setting or getting the formaction attribute value of the form. The formaction property specifies to url where the data is to be sent after clicking on the submit button. The formAction attribute value overrides the action attribute value associated with the element.SyntaxFollowing is the syntax for −Setting the formAction property −submitObject.formAction = URLHere, the URL can be an absolute url or a relative one.ExampleLet us look at an example for the Submit formAction property − Submit formAction Property UserName: Location: Change ... Read More

Geolocation HTML5 enableHighAccuracy True, False or What?

Ankith Reddy
Updated on 25-Jun-2020 07:35:34
For Geolocation enableHighAccuracy, you need to set it to true −enableHighAccuracy: trueIf you still fail in getting the result i.e. handling the timeout error, then again try it withenableHighAccuracy: falseThe above would work on Android, Chrome, and Firefox as well.

How to set outline color with JavaScript?

Sai Subramanyam
Updated on 30-Jul-2019 22:30:21
To set outline color, use the outlineColor property in JavaScript. You can try to run the following code to learn how to implement outlineColor property − Example Live Demo #box { border: 2px solid red; } Demo Content Change outline color function display() { document.getElementById("box").style.outlineColor = "#FF5733"; document.getElementById("box").style.outline = "2px solid"; }

Creating an Attribute view in SAP HANA

Anil SAP Gupta
Updated on 18-Jun-2020 08:39:48
To create a new Attribute view, select the Package name under which you want to create an Attribute View. Right Click on Package → Go to New → Attribute ViewClick on Attribute View, and this will open a new Window. You need to pass Attribute View name and description. From the drop-down list, choose View Type and subtype. In subtype, there are three types of Attribute views − Standard, Time, and Derived.Once you finish the wizard, you can see view is created under the specified package.

Getting error while using schema in SAP HANA Modeling

John SAP
Updated on 30-Jul-2019 22:30:22
When you use object of a schema to build HANA modeling views then it’s necessary to grant _SYS_REPO the SELECT WITH GRANT privilege on this schema. You need to execute the following:GRANT SELECT ON SCHEMA "" TO _SYS_REPO WITH GRANT OPTIONTo use tables from one Schema to create views we should provide access on the Schema to the default user who runs all the Views in HANA Modeling._SYS_REPO user is responsible for activating models and creating the required runtime objects from them. This is the reason you need to provide user _SYS_REPO to select objects in tables and views in ... Read More

Information available in M_DISKS view in SAP HANA

SAP Developer
Updated on 12-Mar-2020 10:28:16
M_DISKS System View is used to provide information about disk configuration and utilization of the host machine. The following information is available −

Maximum Column name length in SAP HANA

SAP Expert
Updated on 12-Mar-2020 10:17:03
Maximum column name length supported in a table in SAP HANA is 127 chars.

Seeing list of all program screens in SAP ABAP

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20
If you want to check all Dynpros belongs to one program, you can use table D020S. D020S is known as SAP Table to store screen sources information. This is available within R/3 SAP systems depending on the version and release level. To display or maintain this table, use T-code SM30 You can use T-code SE11 to view the fields in table D020S: It is text table D020T with the key program = sy-repid

Using HP UFT GetCellData function on SAP Web Dynpro crash Internet Explorer

Anil SAP Gupta
Updated on 25-Jun-2020 20:48:55
Note that column number is used to locate table cell data and column name is unique identifier.object.GetCellData( row, column)- takes argument as long integers row and cell numbers to locate cell data.Try using GetCellData like this:Browser("Browser").Page("Page").Frame ("searchDialog").SAPTable("ResultsTable").GetCellData(1, 1) Browser("Browser").Page("Page").Frame ("searchDialog").SAPTable("ResultsTable").GetCellData(1, 2)