Mkotla has Published 100 Articles

Does constructor return any value in Java?

mkotla

mkotla

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

4K+ Views

No, constructor does not return any value. While declaring a constructor you will not have anything like return type. In general, Constructor is implicitly called at the time of instantiation. And it is not a method, its sole purpose is to initialize the instance variables. Example Live ... Read More

Moving TABKEY from CDPOS table into field structure in ABAP

mkotla

mkotla

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

273 Views

I would suggest you make use of Function Module CHANGEDOCU_KEY_ANY2CHAR and other FM’s of function group SCD8. This function module performs the reverse function.Function Module: CHANGEDOCU_KEY_ANY2CHARFunction Group: SCD8Program Name: SAPLSCD8You can refer this SAP link to see all Function modules available and their description under this Function Group:https://help.sap.com/viewer/c14d25a8f471453590980dbb47a2aa0e/7.40.15/en-US/48d8fd10f63a3e49e10000000a421937.htmlRead More

Are static methods inherited in Java?

mkotla

mkotla

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

6K+ Views

The static keyword is used to create methods that will exist independently of any instances created for the class. Static methods do not use any instance variables of any object of the class they are defined in. Static methods take all the data from parameters and compute something from those ... Read More

How to write single line comment in Java?

mkotla

mkotla

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

421 Views

To comment a particular line just place ‘double back slash (//)’ before the line as shown below. // Hello this line is commented Example Following example demonstrates the usage of single line comments in Java. Live Demo public class CommentsExample { public static ... Read More

Getting data in SAPUI5 application from backend tables in NetWeaver

mkotla

mkotla

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

227 Views

Note that Eclipse is just a standard editor to develop UI5 application. You should use SAP IDE which is one of the recommended editor now.When you backend system as NetWeaver system, Gateway and OData would be the recommended way to use.

Make a custom function call without using SAP NetWeaver

mkotla

mkotla

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

82 Views

I know a couple of ways how can you can go ahead and use the RFC you have created from SAPUI5 but without using SAP NetWeaver.You can try to create a web service or a REST service which uses the RFC that you have created. Host the service in the ... Read More

Why is method overloading not possible by changing the return type of the method only in java?

mkotla

mkotla

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

2K+ Views

Overloading is the mechanism of binding the method call with the method body dynamically based on the parameters passed to the method call. If you observe the following example, it contains two methods with same name, different parameters and if you call the method by passing two integer values the ... Read More

How do I write interface names in Java?

mkotla

mkotla

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

506 Views

While writing an interface/class names you need to keep the following points in mind. First letter of the interface/class name should be capital and remaining letters should be small (mixed case). interface Sample Likewise, first letter of each word in the name should be capital ... Read More

How to declare a class in Java?

mkotla

mkotla

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

12K+ Views

Following is the syntax to declare a class. class className { //Body of the class } You can declare a class by writing the name of the next to the class keyword, followed by the flower braces. Within these, you need to define the body ... Read More

Adapter properties dropdown not updated with list even after installation (SAP 7.2 adapter)

mkotla

mkotla

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

73 Views

I have experienced something similar in the past. What I noticed was a part of the installer, the assembly responsible for Microsoft adapter properties is not deployed over to the group.I had to perform the step manually. So I had to copy the dll (BizTalkPropertySchema) manually so that the options ... Read More

Previous 1 ... 6 7 8 9 10
Advertisements