Sravani S has Published 90 Articles

How to handle Java Array Index Out of Bounds Exception?

Sravani S

Sravani S

Updated on 19-Feb-2020 10:49:26

13K+ Views

Generally, an array is of fixed size and each element is accessed using the indices. For example, we have created an array with size 9. Then the valid expressions to access the elements of this array will be a[0] to a[8] (length-1).Whenever you used an –ve value or, the value ... Read More

Loading 3rd party libraries in SAPUI5

Sravani S

Sravani S

Updated on 18-Feb-2020 07:28:51

697 Views

JavaScript includes various third-party libraries that ease the development while working on SAP UI5 app. You can use following jQuery as below −jQuery.sap.require("sap.ui.thirdparty.jqueryui.jquery-ui-core");Other common JavaScript libraries that are in use −MomentJSLoadshTo load a third party library in SAP UI app project, create a folder “libs”. This folder is used to ... Read More

Difference between Work area, global structure and internal table in SAP ABAP

Sravani S

Sravani S

Updated on 18-Feb-2020 07:20:22

838 Views

Internal tables let you read data from a fixed structure and stores it in-memory (working memory) in ABAP. The data is stored in a sequential manner in memory. They are basically equivalent to arrays but dynamic in nature. Since they are dynamic in nature, memory management is already taken care ... Read More

Integrating SAP system with ISV company product to deploy at client end

Sravani S

Sravani S

Updated on 14-Feb-2020 11:07:30

48 Views

SAP NetWeaver is just a term used for SAP system. All SAP systems are mostly running on NetWeaver. SAP PI is one of common integration tool like Biztalk and it is not necessary that all clients has SAP PI system for integration.You should use Remote Function Call RFC in SAP ... Read More

In SAP ABAP, few records are skipped during parallel processing

Sravani S

Sravani S

Updated on 14-Feb-2020 10:11:03

224 Views

Check out on code to handle parallel processing-gv_semaphore = 0. DESCRIBE TABLE lt_itab LINES lv_lines. LOOP AT lt_itab INTO ls_itab. CALL FUNCTION 'ZABC' STARTING NEW TASK taskname DESTINATION IN GROUP srv_grp PERFORMING come_back ON END OF TASK EXPORTING ... EXCEPTIONS ... . "

Binding OData service to SAP UI5 table

Sravani S

Sravani S

Updated on 14-Feb-2020 10:10:22

928 Views

Your service end point is incorrect- var oModel = new sap.ui.model.odata.v2.ODataModel("http://admin- think:88/sap/...", {useBatch : true});.To fix this issue, you need to remove “CoreOpenAppSet()” portion of the variable which is getting passed to ODataModel constructor. You need to pass function import using ODataModel- “oModel.callFunction()”.Once function call is completed, you can bind ... Read More

How can we create a MySQL stored function that uses the dynamic data from a table?

Sravani S

Sravani S

Updated on 13-Feb-2020 07:12:47

302 Views

MySQL Stored functions can reference tables but they cannot make use of statements that return a result set. Hence we can say that there is no SELECT query that returns result set. But we can have SELECT INTO to get rid of that. For example, we are creating a function ... Read More

How to convert an std::string to const char* or char* in C++?

Sravani S

Sravani S

Updated on 12-Feb-2020 06:30:54

14K+ Views

You can use the c_str() method of the string class to get a const char* with the string contents. example#include using namespace std; int main() {    string x("hello");    const char* ccx = x.c_str();    cout

What is double address operator(&&) in C++?

Sravani S

Sravani S

Updated on 11-Feb-2020 05:00:36

15K+ Views

&& is a new reference operator defined in the C++11 standard. int&& a means "a" is an r-value reference. && is normally only used to declare a parameter of a function. And it only takes an r-value expression.Simply put, an r-value is a value that doesn't have a memory address. ... Read More

Bitwise Operators in C++

Sravani S

Sravani S

Updated on 10-Feb-2020 13:05:37

274 Views

There are 3 bitwise operators available in c++. These are the bitwise AND(&), bitwise OR(|) and the bitwise XOR(^).The bitwise AND operator (&) compares each bit of the first operand to the corresponding bit of the second operand. If both bits are 1, the corresponding result bit is set to ... Read More

Advertisements