Rahul Sharma has Published 46 Articles

Debugging a failed Insert statement in SAP ABAP

Rahul Sharma

Rahul Sharma

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

232 Views

Note that in SAP ABAP, sy-subrc == 0 means success. You can use breakpoint before your INSERT statement to ensure if it is a success or not. You can check the possible return value by bringing cursor on it and then press F1 key.Try checking if/else branch in your code ... Read More

What are reference data types in Java?

Rahul Sharma

Rahul Sharma

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

8K+ 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 ... Read More

What is the difference between integer and floating point literals in Java?

Rahul Sharma

Rahul Sharma

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

594 Views

Integer literals represent fixed integer values like 900, 12, 400, -222 etc. (with in the integer range). Whereas, floating point literals represents fractional values i.e. numbers with decimal values like 25.53, 45.66, 58.66 etc. while writing these literals we should use the notation f or F as 25.53. Example ... Read More

Information regarding function used in remote machine and their return values.

Rahul Sharma

Rahul Sharma

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

54 Views

There is a table TFDIR which contains all the information. You can use this table with FMODE=’R’ by transaction SE16. R denotes remote functions. If you want to check the return values of the function, you can use transaction SE37 by inputting the function in the search field.

Looping through a dynamic table in SAP

Rahul Sharma

Rahul Sharma

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

270 Views

You have to use Runtime Type Identification RTTI and assign the component name of structure To .Please refer to below link for more details:https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/index.htm

Can static variables be called using className.variableName in Java?

Rahul Sharma

Rahul Sharma

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

1K+ Views

Class variables also known as static variables are declared with the static keyword There would only be one copy of each class variable per class, regardless of how many objects are created from it. You can access a class variable without instantiation using the class name as className.variableName. Example ... Read More

Advertisements