Sharon Christine has Published 337 Articles

Maintaining print program, routines, and forms in SAP in QM02

Sharon Christine

Sharon Christine

Updated on 12-Mar-2020 12:47:58

573 Views

You configure print program and output controls in IMG. Run T-Code: SPRO →Search for Output control or Print controlCheck Shop Papers for Notification types and mention Shop Papers has the ABAP Form and print Program as shown below -

Store data in format of XML string in SAP HANA system

Sharon Christine

Sharon Christine

Updated on 12-Mar-2020 12:45:14

676 Views

In older SAP HANA versions, no XML functions were provided. With HANA 2.0, these two functions are provided- XMLEXTRACT and XMLEXTRACTVALUE for extracting XML string in SAP HANA.Use of XMLEXTRACTXMLEXTRACT(, [, ])Syntax to use −Specifies an XML document of type CLOB, NCLOB, VARCHAR, or NVARCHAR.Specifies an XPath expression of ... Read More

How can we create a MySQL view by using data from multiple tables?

Sharon Christine

Sharon Christine

Updated on 04-Mar-2020 06:29:22

2K+ Views

MySQL UNION operator can combine two or more result sets hence we can use UNION operator to create a view having data from multiple tables. To understand this concept we are using the base tables ‘Student_info’ and ‘Student_detail’ having the following data −mysql> Select * from Student_info; +------+---------+------------+------------+ | id ... Read More

How to declare, create, initialize and access an array in Java?

Sharon Christine

Sharon Christine

Updated on 25-Feb-2020 10:56:19

372 Views

You can declare an array just like a variable −int myArray[];You can create an array just like an object using the new keyword −myArray = new int[5];You can initialize the array by assigning values to all the elements one by one using the index −myArray [0] = 101; myArray [1] ... Read More

What is the difference between System.out.println() and System.out.print() in Java?

Sharon Christine

Sharon Christine

Updated on 20-Feb-2020 08:19:37

2K+ Views

The println() terminates the current line by writing the line separator string. The print() method just prints the given content.ExampleLive Demopublic class Sample {    public static void main(String args[]) {       System.out.println("Hello");       System.out.println("how are you");       System.out.print("Hello");       System.out.print("how are ... Read More

How to convert a Double array to a String array in java?

Sharon Christine

Sharon Christine

Updated on 19-Feb-2020 10:44:05

4K+ Views

You can convert a double array to a string using the toString() method. To convert a double array to a string array, convert each element of it to string and populate the String array with them.ExampleLive Demoimport java.util.Arrays; public class DoubleArrayToString {    public static void main(String args[]) { ... Read More

How to move an element of an array to a specific position (swap)?

Sharon Christine

Sharon Christine

Updated on 19-Feb-2020 10:17:30

3K+ Views

To move an element from one position to other (swap) you need to –Create a temp variable and assign the value of the original position to it.Now, assign the value in the new position to original position.Finally, assign the value in the temp to the new position.ExampleLive Demoimport java.util.Arrays; public ... Read More

Adding an image to SAP Adobe form from MIME repository

Sharon Christine

Sharon Christine

Updated on 14-Feb-2020 08:23:22

2K+ Views

Note that Image must be uploaded from system to MIME beforehand.Run Transaction SE78 → Upload (F5).You have to declare 2 variables in the interface - global data with types string and xstring, You need to change the data declaration as below −data: gv_bmp_watermark type xstring. constants: gc_url_watermark type string value ... Read More

In MySQL, how can we get the number code of a particular character?

Sharon Christine

Sharon Christine

Updated on 07-Feb-2020 10:45:12

418 Views

With the help of MySQL string function ASCII(), we can get the number code of a particular character. Its syntax is ASCII(str) where, str, the argument of ASCII() function, is the string whose ASCII value of the first character to be retrieved.It will return the number code the left the ... Read More

Most Frequently Used Linux IPTables Rules with Examples

Sharon Christine

Sharon Christine

Updated on 31-Jan-2020 12:34:37

11K+ Views

This article will help you to create IPtables rules that you can directly use for your daily or routine needs, These examples will act as basic templates for you to work on iptables with these rules which suit your specific requirement.Deleting the IPtables or Existing RulesBefore you start building new ... Read More

Advertisements