Amit Sharma has Published 39 Articles

Can we initialize blank final variable in Java

Amit Sharma

Amit Sharma

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

944 Views

Yes! You can initialize a blank final variable in constructor or instance initialization block.

Controlling close events in SAP Business One Screen Painter

Amit Sharma

Amit Sharma

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

180 Views

You can make use of SP_TransactionNotification, which is one of the most common way of receiving notification of data-driven events. With the use of SP_TransactionNotification, you can edit error code returned by Transaction notification, and also prevent transaction to committed.This shows how to prevent a purchase order from adding when ... Read More

Exporting test variant in Transaction SE37 in SAP R/3

Amit Sharma

Amit Sharma

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

821 Views

Try using Table EUFUNC or also check Function Module: RS_TESTDATA_GET. When you save test data in SE37 it's going to be saved in test data directory.

Can’t create a Dictionary Object: View by adding two db tables

Amit Sharma

Amit Sharma

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

63 Views

When you create a view, it is created on top of multiple database tables using an inner join. Note that basis table of database views should be transparent tables.To create a view on 2 tables, you have to enter the primary table you want to maintain and place the cursor ... Read More

Using CSS3 in SAP BSP application without using DOCTYPE tag

Amit Sharma

Amit Sharma

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

141 Views

To add a DOCTYPE tag without changing code of your BSP application, you can try using in Web Server, JQuery, or other UI libraries.There are various other libraries that you can search for as a replacement for CSS3 and they have their own advantage. I have used JQuery UI, Wijmo ... Read More

Error Message: Unsupported xstream found: (“HTTP Code 200:OK”)” while consuming SAP Web Service

Amit Sharma

Amit Sharma

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

627 Views

I think this is related to incorrect HTTP destination configuration. You can check Web Service using T-Code: SOAMANAGER to verify if HTTP destination is configured properly.

What is the difference between data types and literals in Java?

Amit Sharma

Amit Sharma

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

2K+ Views

Data types are those which specify the type of data represented by the variable and literal is the that is stored in to the variable. A literal is a source code representation of a fixed value. They are represented directly in the code without any computation. Literals can be ... Read More

What are Boolean literals in Java?

Amit Sharma

Amit Sharma

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

1K+ Views

Boolean literals represent only two values true or false. And in Java the value of 1 is assumed as true and the value of 0 is assumed as false. Example Live Demo public class Test{ public static void main(String args[]) throws Exception{ ... Read More

Is String a primitive data type or an object in Java?

Amit Sharma

Amit Sharma

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

889 Views

String is not a primitive data type. Java.lang package provides the String class therefore, it is an object type. You can create a string variable directly like any other variables as −String s = "myString";(or)By instantiating the string class using the new keyword as −String s = new String("myString");Example Live Demoimport ... Read More

Advertisements