Sort Datetime Type in SAP ABAP

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

512 Views

There are two operation LT (Less than) and GT (Greater Than) which you can use to perform basic comparisons between two variables.You can frame the logic as per your requirement whether you have a set of variables or a table. If it involves set of variables then you need to do manual comparisons.

Using SPELL-AMOUNT Function to Convert Amounts in ABAP

George John
Updated on 30-Jul-2019 22:30:20

813 Views

You can use the standard function module “SPELL AMOUNT”. It will convert amounts to corresponding words. To display function module, use Transaction code: SE37 Click on Search icon and select Function module: “SPELL AMOUNT”

SAP Crystal Report File Not Opening in VS2015

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

338 Views

To start with I would suggest you to check SP level on Crystal Report Visual Studio. Try reinstalling Crystal Report and make sure your asp.net application is configured properly. There are various forums that you can search specific for Crystal Reports for VS like this:SAP Tags

Java Package for Pattern Matching with Regular Expressions

Paul Richard
Updated on 30-Jul-2019 22:30:20

302 Views

Java provides the java.util.regex package for pattern matching with regular expressions.

Map an Object of Objects to a SAP List

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

230 Views

The answer to your question is ‘NO’. It is not possible to map your complex JSON object (object of objects) to a list as it does not make sense.If you want you can have a model or a JSONModel which replicates your object and then you can map it otherwise as you said, you can try to use array if it suits your requirement.

Meaning of Immutable in Terms of String in Java

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

288 Views

In Java, immutable objects are those whose data can’t be changed or modified (once modified). String class is immutable i.e. once we create a String object its data cannot be modified.

Ways to Create a String Object in Java

George John
Updated on 30-Jul-2019 22:30:20

1K+ Views

You can create a String by − Step 1 − Assigning a string value wrapped in " " to a String type variable. String message = "Hello Welcome to Tutorialspoint"; Step 2 − Creating an object of the String class using the new keyword by passing the string value as a parameter of its constructor. String message = new String ("Hello Welcome to Tutorialspoint"); Step 3 − Passing a character array to the String constructor. char arr[] = {'H','e','l','l','o'}; String message = new String(arr);

Connect SAP with Android Using JCo

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

334 Views

I have not tried it but it does not seem feasible. The reason being if you are planning to use JCo library, you will require a native library but that is still not available for Android environment.You can try an alternative for it. You can create a Web Service either a SOAP or REST which communicates to SAP via JCo. Then, you can use the service to do two way communication with SAP.The result of communication can then be shared to Android environment in either JSON or XML format as per requirement.

Reduce Number of Columns in SAP Transaction Result Set

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

172 Views

The simple answer to your question is NO. Because, this is SAP standard behavior and if you want to restrict the number of columns to be returned then it will require you to change the original source code of SAP implementation.The change will be quite exhaustive and it will also mean that you are violating the contract and hence, no support from SAP on any issue encountered later.As you said you are filtering data that means the number of rows will not be huge and hence the number of columns will not have much implication on the performance of the ... Read More

Difference Between String Object and String Literal in Java

Paul Richard
Updated on 30-Jul-2019 22:30:20

956 Views

When the String literal used to create String, JVM initially checks weather String with the same value in the String constant pool, if available it creates another reference to it else it creates a new object and stores it in the String constant pool.In case of an object, each time you instantiate the class a new object is created given value irrespective of the contents of the String constant pool.

Advertisements