Number Format Exceptions in Java

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20

207 Views

This Exception happens once you associated convert a string variable in an incorrect format to a whole number (numeric format) that's not compatible with one another. Example public class Test { public static void main(String[] args) { int data = Integer.parseInt("hello"); } } Output Exception in thread "main" java.lang.NumberFormatException: For input string: "hello" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at a6.dateAndTime.Test.main(Test.java:5)

Display T-Code Description and T-Code Field in Output ALV of Report SM20 in SAP System

Govinda Sai
Updated on 30-Jul-2019 22:30:20

375 Views

There is include rsau_class_auditlist_impl and to add an additional column into table mt_outtab you can try via an enhancement of this rsau_class_auditlist_impl.You need to add an additional Column to “ts_out_ext” in CL_SAL_READ_FILES line 145. Using this way you can enhance the definition however you have to check if it is used.

What is Binding in Java

Lakshmi Srinivas
Updated on 30-Jul-2019 22:30:20

6K+ Views

Association of method call with the method body is known as binding in Java. There are two kinds of binding. Static binding In static binding the method call is bonded with the method body at compile time. This is also known as early binding. This is done using static, private and, final methods. Example class Super{ public static void sample(){ System.out.println("This is the method of super class"); } } Public class Sub extends Super{ Public static void sample(){ ... Read More

SAP Authorization Concept and Authorization Objects

Abhinanda Shri
Updated on 30-Jul-2019 22:30:20

2K+ Views

To clear the air all at once, SAP Authorization Objects and Object Class has nothing much in common from Object Oriented classes and objects and differ vastly from it.Authorization object details the current user’s privileges which are used to authorize user activities and data availability. The Authorization Object is the place where configurations pertaining to permissions are set up and initialized against fields.An object class, on the other hand, is a grouping of Authorization objects. It may contain one or more than one authorization objects.

Difference Between javac and java Commands

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

7K+ Views

The javac command is used to compile Java programs, it takes .java file as input and produces bytecode. Following is the syntax of this command. >javac sample.java The java command is used to execute the bytecode of java. It takes byte code as input and runs it and produces the output. Following is the syntax of this command. >java sample Let us consider an example create a Sample Java program with name Sample.java Sample.java public class Sample { public static void main(String args[]) { System.out.println("Hi welcome ... Read More

Comparing SAP ABAP Field Symbols and Data Reference with Pointers in C

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20

874 Views

Field symbol resembles pointer in C but there is one main difference: you can use Field Symbol only to access the values present in it but not the memory address. Similar to a pointer in actual, it stores the memory address of the variable that was assigned to it. You can see the data held by the variable but you cannot fetch the memory address. Similar to a pointer, in case if you make changes to data referenced by field symbol, it changes the value at the original place too. Data reference too resembles pointer at a high level. You ... Read More

Error: Object Already Exported - No Package Change Possible for 250 SAP Development Objects

Ankitha Reddy
Updated on 30-Jul-2019 22:30:20

271 Views

This problem commonly occurs when you move development objects from Transportable enabled package to non-Transportable package. You can resolve this issue by following steps − You need to migrate legacy package using report RS_MIGRATE_PACKAGES. Check SAP Note:  https://launchpad.support.sap.com/#/notes/1711900Then legacy package' will be removed, but the package will be still non-transportable. You can recreate package after migration. Next is to delete non Transportable package and create a copy of non TMS package. Next step is to assign all development objects to package created in the previous step using report RSWBO052. You use this program “RSWBO052” (Change Object Directory Entries) to ... Read More

Importing and Exporting ABAP Packages to Presentation Server

Ankitha Reddy
Updated on 30-Jul-2019 22:30:20

528 Views

You can either go for some tools like SAPlink in this case. SAPlink will let you export custom objects. In case if you want to package them, it is possible to use SAPlink, however, I doubt that it covers all types.Another way using basis is that you can configure to add the required objects to a Transport in SAP system, set the destination where you want the backup objects to be stored and then release them to apply the transport. You can programmatically (or manually) take the transported files and do whatever you want.

Why We Use jQuery Over JavaScript

David Meador
Updated on 30-Jul-2019 22:30:20

3K+ Views

jQuery is a JavaScript library, so it operates on top of JavaScript. It cannot exist on its own, so you can't use one over the other. You can use just JavaScript or JavaScript and jQuery. jQuery was introduced to make development with JavaScript easier. It will reduce the development time. Use it to add animation and even handling on your website. jQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is easier to use compared to JavaScript and its other JavaScript libraries. You need to write fewer lines of code while using jQuery, ... Read More

Advertisements