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

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

245 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
Updated on 30-Jul-2019 22:30:20

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

How to get some customization done in SAP HR system?

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

211 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
Updated on 30-Jul-2019 22:30:20

216 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.

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

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

819 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!

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

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

243 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.

Which all formats are compatible as input by Process Integration SAP

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

277 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.

How to specify the connection string in SAP NetWeaver?

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

192 Views

You got it partially correct but had something irrelevant present in the connection string. Try with the below connection string, it should work: /H/122.175.43.76/S/3266

Are the private variables and private methods of a parent class inherited by the child class in Java?

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

1K+ Views

No, a child class can’t inherit private members of the parent class, it can inherit only protected, default, and public members of it. If you try it gives you a compile time error as: − Example class Super{ private int data = 30; public void display(){ System.out.println("Hello this is the method of the super class"); } } public class Sub extends Super{ public void greet(){ System.out.println("Hello this is the method of the sub class"); ... Read More

What are reference data types in Java?

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

9K+ Views

Reference datatypes in java are those which contains reference/address of dynamically created objects. These are not predefined like primitive data types. Following are the reference types in Java. class types − This reference type points to an object of a class. array types − This reference type points to an array. interface types − This reference type points to an object of a class which implements an interface. Once we create a variable of these types (i.e. when we create an array or object, class or interface). These variables only store the address of these values. Default ... Read More

Advertisements