mkotla

mkotla

77 Articles Published

Articles by mkotla

Page 8 of 8

How to write single line comment in Java?

mkotla
mkotla
Updated on 30-Jul-2019 606 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 void main(String args[]) { //Declaring a variable named num int num = 1; //Printing the value of the variable num System.out.println("value if the variable num: "+num); } } Output value if the variable num: 1

Read More

Getting data in SAPUI5 application from backend tables in NetWeaver

mkotla
mkotla
Updated on 30-Jul-2019 424 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.

Read More

Make a custom function call without using SAP NetWeaver

mkotla
mkotla
Updated on 30-Jul-2019 175 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 SAP environment and then you can use the service in SAP UI5 with the help of URL.Or you can go for a SICF service and have a handler for the service. In the handler of the service, you can have the same logic for fetching the content as you have ...

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 3K+ 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 first method will be executed and, if you call by passing 3 integer values then the second method will be executed.It is not possible to decide to execute which method based on the return type, therefore, overloading is not possible just by changing the return type of the method. Example ...

Read More

How do I write interface names in Java?

mkotla
mkotla
Updated on 30-Jul-2019 733 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 an remaining letters should be small. interface MYInterface Keeping interface names simple and descriptive is suggestable. Better not to use acronyms while writing interface/class names. Example Live Demo interface MyInterface { void sample(); void demo(); } ...

Read More

How to declare a class in Java?

mkotla
mkotla
Updated on 30-Jul-2019 14K+ 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 (contents) of the class i.e. fields and methods.To make the class accessible to all (classes) you need to make it public. public class MyClass { //contents of the class (fields and methods) }

Read More

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

mkotla
mkotla
Updated on 30-Jul-2019 178 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 in dropdown starts coming.Also, make sure the Global assembly cache is synced while adding.

Read More
Showing 71–77 of 77 articles
« Prev 1 4 5 6 7 8 Next »
Advertisements