Articles on Trending Technologies

Technical articles with clear explanations and examples

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

What does an InfoStore refer to in SAP BO?

SAP Expert
SAP Expert
Updated on 30-Jul-2019 353 Views

Basically Infostore refers to the metadata about Objects and in BO terms – infoobject. An infoobject is basically an entity in SAP business Object universe. It can be a report or a user or an event as well.For E.g.: if we are speaking about an employee so an employee has a metadata like Name, Department, Designation, Salary and others. Infostore lists out this metadata when the context in Employee. So when you execute a GET request for getting infostore it returned you the metadata for an info object.

Read More

Why do Java array declarations use curly brackets?

Ankitha Reddy
Ankitha Reddy
Updated on 30-Jul-2019 734 Views

Curly brackets usually denote sets and ensembles while parenthesis usually in most Algol-based programming languages curly braces are used to declare arrays.

Read More

How to upload a big CSV file in SAP Hybrid mobile app quickly?

SAP Expert
SAP Expert
Updated on 30-Jul-2019 237 Views

As you said you are using the hot folder concept, you need to ensure that the proper threads are being used at every moment for any operation.By default, the number of threads used for import is one. To be more technical, impex.import.workers thread is one if not set explicitly. Since in your case the file is big, make sure that you exploit all the available cores to the fullest. It is highly recommended that maximum threads at any point of time should not be more than twice the number of cores. For optimal working, you may need to work out ...

Read More

How to access the members of a class from another class in Java?

radhakrishna
radhakrishna
Updated on 30-Jul-2019 13K+ Views

To access the members of a class from other class. First of all, import the class. Create an object of that class. Using this object access, the members of that class. Suppose there is a class in a package called myPackage with a method named display() package myPackage; public class Sample { public void display() { System.out.println("Hello"); } } You can access it as. import myPackage; public class MyClass { public static void main(String args[]) { Sample s = new Sample(); s.done(); } } Output hello

Read More

How to get some customization done in SAP HR system?

Anil SAP Gupta
Anil SAP Gupta
Updated on 30-Jul-2019 206 Views

I am not sure that there exists something in SAP HR in pure form which supports your use case. But you can handle the scenario as mentioned by you by making some changes here and there.There exists an infotype ‘Contracts’ with SAP HR which stores the type of employment of the employee like permanent or contract. You can take care of this type by flipping the status of the employee type by some third party service.  Once the employee resigns then rehire him as a contractor but create a dummy pay roll so that it does not gets picked up ...

Read More

How much size does the VARCHAR takes- the defined size or the size of the content in SAP HANA?

Anil SAP Gupta
Anil SAP Gupta
Updated on 30-Jul-2019 210 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.

Read More

How to switch between different views in ALV Grid in SAP ABAP?

Anil SAP Gupta
Anil SAP Gupta
Updated on 30-Jul-2019 810 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!

Read More

Can I define a column as a table type in SAP HANA?

Anil SAP Gupta
Anil SAP Gupta
Updated on 30-Jul-2019 240 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.

Read More

Which all formats are compatible as input by Process Integration SAP

SAP
Anil SAP Gupta
Anil SAP Gupta
Updated on 30-Jul-2019 271 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.

Read More
Showing 61271–61280 of 61,302 articles
Advertisements