Govinda Sai has Published 74 Articles

Taking backup of schema in SAP HANA

Govinda Sai

Govinda Sai

Updated on 16-Dec-2019 07:50:51

246 Views

It is always recommended to back up your critical systems.ExampleFollowing SQL command can be used to export schema in HANA:EXPORT "SOURCE_SCHEMA_NAME".* AS BINARY INTO '/tmp/DESTINATION SCHEMA NAME' WITH    REPLACE;This can also be directly zipped to Linux as below:tar -czf SOURCE_SCHEMA.tgz /tmp/DESTINATION_SCHEMA/Read More

Using ControlAggregation in SAPUI5

Govinda Sai

Govinda Sai

Updated on 16-Dec-2019 06:40:35

472 Views

“ControlAggregation” refers to the target aggregation to which the mapped view is added.As Specified in the use case below:"routing": {    "config": {       "routerClass": "sap.m.routing.Router",       "viewType": "XML",       "viewPath": "sap.ui.demo.nav.view",       "controlId": "app",       "controlAggregation": "dummy",     ... Read More

Exposing employee master data from SAP HR system using Web Service

Govinda Sai

Govinda Sai

Updated on 11-Dec-2019 06:51:17

769 Views

In a general scenario, when you have ICF configured you can expose SAP system business objects and jobs via BAPI. It is very easy to create and expose BAPI as a web service. As there are only few web services for SAP HR module in SAP system however you can ... Read More

\\\Parsing IDoc files to extract information from SAP system

Govinda Sai

Govinda Sai

Updated on 05-Dec-2019 07:24:06

538 Views

There are few third party libraries which can be used to perform this task however they involve some cost however best way here is to use an SAP Connector. SAP Connectors are available for almost all prevalent programming languages like JAVA, C#, Python. You can program against these connectors and read ... Read More

Backward compatibility with HTML5

Govinda Sai

Govinda Sai

Updated on 30-Jul-2019 22:30:22

751 Views

HTML5 is designed, as much as possible, to be backward compatible with existing web browsers. New features build on existing features and allow you to provide fallback content for older browsers.It is suggested to detect support for individual HTML5 features using a few lines of JavaScript.The latest versions of Apple ... Read More

What is Practical Use of Reversed Set Operators in Python?

Govinda Sai

Govinda Sai

Updated on 30-Jul-2019 22:30:22

94 Views

Reversed set operators are operators that are defined as:s & z corresponds to s.__and__(z) z & s corresponds to s.__rand__(z)These don't make much sense in normal operations like and, add, or, etc of simple objects. However in case of inheritence, reversed operations are particularly useful when dealing with subclasses because ... Read More

String in Switch Case in Java

Govinda Sai

Govinda Sai

Updated on 30-Jul-2019 22:30:21

133 Views

A switch statement allows a variable to be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.Example Live Demopublic class Test {    public static void main(String args[]) {       // char grade ... Read More

What does the method removeFirst() do in java?

Govinda Sai

Govinda Sai

Updated on 30-Jul-2019 22:30:21

82 Views

The removeFirst() method of the java.util.LinkedList class removes and returns the first element from this list.Example:import java.util.*; public class LinkedListDemo {    public static void main(String[] args) {       LinkedList list = new LinkedList();       list.add("Hello");       list.add(2);       list.add("Chocolate");     ... Read More

How to find the index of given element of a Java List?

Govinda Sai

Govinda Sai

Updated on 30-Jul-2019 22:30:21

14K+ Views

The indexOf(Object) method of the java.util.ArrayList class returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. Using this method, you can find the index of a given element.Example Live Demoimport java.util.ArrayList; public class ArrayListDemo {    public ... Read More

Displaying T-code description and T-code field in Output ALV of report SM20 in SAP system

Govinda Sai

Govinda Sai

Updated on 30-Jul-2019 22:30:20

222 Views

There is include rsau_class_auditlist_impl and to add an additional column into table mt_outtab you can try via an enhancement of this rsau_class_auditlist_impl.You need to add an additional Column to “ts_out_ext” in CL_SAL_READ_FILES line 145. Using this way you can enhance the definition however you have to check if it is ... Read More

Advertisements