Articles on Trending Technologies

Technical articles with clear explanations and examples

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 214 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 220 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 827 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 248 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 282 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

How to specify the connection string in SAP NetWeaver?

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

Read More

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

varma
varma
Updated on 30-Jul-2019 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
Rahul Sharma
Updated on 30-Jul-2019 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

Difference between SAP BAPI and BAdi and Customer Enhancement vs Customer Modification?

Sai Subramanyam
Sai Subramanyam
Updated on 30-Jul-2019 1K+ Views

BAPI It is a short form for Business Application Programming Interface. It is a simple API used for business operations. It can be simple module function provided by SAP or it can be developed by the user as well. BAdI This is an abbreviation for Business Add-Ins. These are customer exits which are used to modify or customize existing SAP functionality. BAdI can be reused as they follow Object-oriented approach. Enhancements It is a modification of SAP functionality or adding new functionality possibly by using a BAdI class or any enhancement technique. Customer modification It is to customize existing function ...

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