V Jyothi has Published 77 Articles

How to Map multi-dimensional arrays to a single array in java?

V Jyothi

V Jyothi

Updated on 19-Feb-2020 12:15:46

2K+ Views

A two-dimensional array is nothing but an array of one dimensional arrays. Therefore to map a two dimensional array into one dimensional arrays.Create arrays equal to the length of the 2d array and, using for loop store the contents of the 2d array row by row in the arrays created ... Read More

Getting table name in SAP system

V Jyothi

V Jyothi

Updated on 18-Feb-2020 07:26:58

3K+ Views

Once your data is displayed on screen please follow the below steps −Position your cursor onto the field.Press “F1” Help option – In “Performance Assistant”.This Dialog will show the information for “Table Name” and “Table Field”.

Cast string to date in specific format in SAP HANA

V Jyothi

V Jyothi

Updated on 14-Feb-2020 10:06:12

2K+ Views

I think you just need to use ‘TO_VARCHAR’ and ‘TO_DATE’ functions.SELECT TO_VARCHAR(TO_DATE(, 'YYYYMMDD'), 'YYYY-MM-DD') FROM

Usage of Operator +n and (n) to pass data in ABAP

V Jyothi

V Jyothi

Updated on 13-Feb-2020 12:50:32

303 Views

If my date format is in the form DDMMYYYY then Z_Period(4) equals DDMM so (4) means first four characters.If my date format is in the form DDMMYYYY then Z_Period +4 equals YYYY so +4 means after the first four characters.So If I say Z_PERIOD+2(2) then this would result MM- i.e. ... Read More

Using constants in ABAP OO method

V Jyothi

V Jyothi

Updated on 13-Feb-2020 10:08:34

349 Views

Your INCLUDE should only contain definitions of constants nothing else and then the answer is straightforward.Select Goto → Class - whichever local definition and then add an INCLUDE statement. This will expose all the constants “INCLUDE” in your implementation.

Usage of text-align property in CSS

V Jyothi

V Jyothi

Updated on 31-Jan-2020 06:40:17

103 Views

The text-align property is used to align the text of a document. Possible values are left, right, center, justify.ExampleYou can try to run the following code to implement text-align property:                            This will be right aligned.                      This will be center aligned.                      This will be left aligned.          

Capitalize text with CSS

V Jyothi

V Jyothi

Updated on 31-Jan-2020 06:22:15

1K+ Views

To capitalize text with CSS, use the capitalize property. You can try to run the following code to capitalize text:                            India          

Remove a FileList item from a multiple “input:file” in HTML5

V Jyothi

V Jyothi

Updated on 30-Jan-2020 06:58:16

2K+ Views

When there is a situation where we need to remove items from DOM’s through JavaScript, we cannot do so directly from FileList object. We need to assign the following to an array:$('input:file#upload')[1].filesAfter that remove items from this array using splice or method of our choice and use that array.Another way ... Read More

How to detect point on canvas after canvas rotation in HTML5

V Jyothi

V Jyothi

Updated on 30-Jan-2020 06:15:29

281 Views

Whenever we work with canvas and want the canvas to be rotated, we need to translate point to draw point as per its rotation.A transform class can be made to detect point on the canvas after canvas rotationvar t = new Transform(); console.log(t.transformPoint(5, 6)); //Transform point will be [5, 6] ... Read More

Open a file browser with default directory in JavaScript and HTML?

V Jyothi

V Jyothi

Updated on 30-Jan-2020 06:10:44

1K+ Views

If you want to open a file browser in JavaScript and then want to set a default directory same as the file folder, then we cannot do it since windows do not allow you to do so, so it is not possible. For example:C: :\AmitThis is mainly due to security ... Read More

Advertisements