Swarali Sree

Swarali Sree

48 Articles Published

Articles by Swarali Sree

Page 2 of 5

BAPI to upload documents to SAP system is throwing an exception

Swarali Sree
Swarali Sree
Updated on 13-Mar-2026 531 Views

When using a BAPI to upload documents to an SAP system, you may encounter exceptions indicating that the function module is trying to access GUI-related functions. As mentioned in the exception message, this occurs because the function module attempts to access GUI-related functionality, which doesn't support BAPIs. This suggests the issue stems from either a custom RFC module or a bug in SAP coding, and you should open a support ticket with SAP. Understanding the Root Cause The primary issue arises from improper use of GUI services in non-GUI operations. When developing BAPI functions, you shouldn't use GUI ...

Read More

Transaction Jobs with no access to SM36 in SAP system

SAP
Swarali Sree
Swarali Sree
Updated on 13-Mar-2026 328 Views

In SAP systems, users may not always have access to transaction SM36 (Define Background Job) to schedule jobs through the standard interface. In such scenarios, you can leverage ABAP function modules to schedule jobs programmatically. There are specific function modules like JOB_OPEN and JOB_CLOSE that allow you to create and manage background jobs directly from your ABAP programs. You can programmatically handle job scheduling irrespective of privilege issues, providing an alternative approach when standard transaction access is restricted. Key Function Modules for Job Scheduling The ...

Read More

RFC returns exception while using SAP RFC_READ_TABLE to output data to software

Swarali Sree
Swarali Sree
Updated on 13-Mar-2026 599 Views

When working with SAP RFC_READ_TABLE function module, you may encounter RFC exceptions that prevent data extraction to external software. You can check if there are any short dumps in the SAP system using T-Code: ST22. When there are short dumps, it leaves the ABAP Processor in an invalid state. This results in a failed call with an unspecified error message. Checking Short Dumps in SAP To diagnose RFC exceptions with RFC_READ_TABLE, follow these steps − Step 1: Access the SAP system and navigate to transaction code ST22 (ABAP Runtime Error Analysis). Step 2: Review ...

Read More

How to capture divide by zero exception in Java?

Swarali Sree
Swarali Sree
Updated on 11-Mar-2026 2K+ Views

When you divide a number by zero an Arithmetic Exception number is thrown.Examplepublic class DividedByZero {    public static void main(String args[]) {       int a, b;       try {          a = 0;          b = 54/a;          System.out.println("hello");       } catch (ArithmeticException e) {          System.out.println("you cannot divide a number with zero");       }    } }Outputyou cannot divide a number with zero

Read More

What is a method signature in Java?

Swarali Sree
Swarali Sree
Updated on 11-Mar-2026 8K+ Views

The method signature consists of the method name and the parameter list. Example public class MethodSignature { public int add(int a, int b){ int c = a+b; return c; } public static void main(String args[]){ MethodSignature obj = new MethodSignature(); int result = obj.add(56, 34); System.out.println(result); } } Output 90 Method signature does not ...

Read More

Should I use , , or for SVG files?

Swarali Sree
Swarali Sree
Updated on 26-Jun-2020 529 Views

To add SVG files, you can use , or element in HTML. Choose any one of them according to your requirement. Here’s how you can add SVG, elementUse the tag for images without interaction.The disadvantage is you cannot manipulate images with JavaScript. elementThe element is used to define an embedded object within an HTML document. Use it to embed multimedia like audio, video, flash, etc in the web page.    Your browser does not support SVG elementThe tag wasn’t part of the HTML 4 specification and is new in HTML5. It validates in an HTML5 page.

Read More

How to use .svg files in a webpage?

Swarali Sree
Swarali Sree
Updated on 26-Jun-2020 774 Views

The svg files are Scalable Vector Graphics. You can add it to a web page using the , , or tag.The .svg file is to be referenced in the src attribute of the tag. Let’s see how to add it using the tag.You can try to run the following code to learn how to use .svg files in a web page. We have a smiley.svg file −           HTML SVG               Design          

Read More

Why do we need to change the delimiter for creating a trigger?

Swarali Sree
Swarali Sree
Updated on 22-Jun-2020 651 Views

As we know that in MySQL we use the delimiter semicolon (;) to end each statement. The semicolon is the by default delimiter in MySQL. We need to change the delimiter, while creating a trigger, to tell MySQL that this is not the end of our trigger statement because we can use multiple statements in the trigger. We can change the delimiter temporarily by DELIMITER // statement to change the delimiter from Semicolon (;) to two back-slash (//). After this MySQL would know that the triggering statement only ends when it encounters a two back-slash (//). Following is an example ...

Read More

How can we nest a subquery within another subquery?

Swarali Sree
Swarali Sree
Updated on 22-Jun-2020 244 Views

If a subquery is nested inside another subquery then it is called a nested subquery. To make it understand we are creating the nested subquery from the following tables data −mysql> Select * from Cars; +------+--------------+---------+ | ID | Name | Price | +------+--------------+---------+ | 1 | Nexa | 750000 | | 2 | Maruti Swift | 450000 | | 3 | BMW ...

Read More

How can group functions be used in ORDER BY clause?

Swarali Sree
Swarali Sree
Updated on 22-Jun-2020 220 Views

We can sort the result set groups by using group functions in the ORDER BY clause. By default, the sort order is ascending but we can reverse it by using DESC keyword.Examplemysql> Select designation, YEAR(Doj), count(*) from employees GROUP BY designation, YEAR(DoJ) ORDER BY Count(*) DESC; +-------------+-----------+----------+ | designation | YEAR(Doj) | count(*) | +-------------+-----------+----------+ | Prof | 2009 | 2 | | Asst.Prof | 2015 | ...

Read More
Showing 11–20 of 48 articles
Advertisements