Difference Between Simple Name, Canonical Name, and Class Name in Java

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

3K+ Views

Canonical name of a Java class is the name of the class along with the package. For example, the canonical name of the class File is java.io.File. You can also get the canonical name of a particular class using Java method. The class named Class provides a method getCanonicalName(), this method returns canonical name of the current class. Example Live Demo import java.lang.*; public class ClassDemo { public static void main(String[] args) { ClassDemo c = new ClassDemo(); Class cls = c.getClass(); ... Read More

Pull a List of Functional Location from SAP using BAPI

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

385 Views

After you set objRfcFunc, try this before you call this and this will include these parameters.With objRfcFunc.tables("funcloc_ra")    If .RowCount < 1 Then .Rows.Add    .cell(1, 1) = "I"    .cell(1, 2) = "EQ"    .cell(1, 3) = "Your Func Loc"End With

VARCHAR Size in SAP HANA

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

186 Views

I am not sure whether someone can get you exact answer, SAP is not open source and implementation details and bits are not known to many except the creators and few others. If I go with the standard definition, for storage you will require the size of length of the data plus number of bytes for header information. So as per your example it will require 9 + 2 (for header) = 11 overall for storage.

Error While Synchronizing Data in iOS from SMP 2.3 SAP

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

137 Views

This normally happens when you have incorrect configuration in synchronization profile. You have to check if stream parameters are set correctly, etc.

Switch Between Different Views in ALV Grid in SAP ABAP

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

734 Views

You can achieve something similar to your requirement. Firstly, you need to fetch the layout key information from the layout object. You can look for disvariant to get the key information if not able to find. Then use the key information to specify different handles for different data types. So basically you are having different layouts for different inputs or data types. As soon as you change the data type, the handle will do its job and display will change accordingly. Hope it helps!

Declare, Define and Call a Method in Java

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

2K+ Views

Following is the syntax to declare a method in Java. Syntax modifier return_type method_name(parameters_list){ //method body } Where, modifier − It defines the access type of the method and it is optional to use. return_type − Method may return a value. method_name − This is the method name. The method signature consists of the method name and the parameter list. parameters_list − The list of parameters, it is the type, order, and a number of parameters of a method. These are optional, method may contain zero parameters. method body − The method body defines ... Read More

Define Column as Table Type in SAP HANA

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

203 Views

I don’t think there exists any way where you can define the column type of a column within a table type as an array. Table type refers to a row structure with predefined number of columns. So you might need to rethink on how to change the incoming data from .NET application to be a usable one for your SAP HANA project.

Static Members of a Java Class

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

30K+ Views

In Java, static members are those which belongs to the class and you can access these members without instantiating the class. The static keyword can be used with methods, fields, classes (inner/nested), blocks. Static Methods − You can create a static method by using the keyword static. Static methods can access only static fields, methods. To access static methods there is no need to instantiate the class, you can do it just using the class name as − Example Live Demo public class MyClass { public static void sample(){ ... Read More

Build an XCode Application Using Maven Plugin for SAP

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

212 Views

Note that Xcode-maven-plugin is not compatible with maven 3.1. You have to downgrade to lower version Maven 3.0.x.

Compatible Input Formats for Process Integration in SAP

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

249 Views

The answer to your question is that a lot of formats are supported by process integration for processing. The basic concept is that you need to define a mapping which will parse the incoming file and then converts it to the output format. Since you are getting a file from service as an input, it will be better if it is in CSV or .xls.

Advertisements