Swarali Sree

Swarali Sree

48 Articles Published

Articles by Swarali Sree

Page 5 of 5

Print screen using VBA in SAP

Swarali Sree
Swarali Sree
Updated on 16-Dec-2019 968 Views

If you are using SendKeys then avoid using it. I had used it in the past project and it seems to be inconsistent and error-prone.You can use the below snippet at the top of the module and call it wherever required.Option Explicit Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal _bScan As Byte,  ByVal dwFlags As Long, ByVal dwExtraInfo As Long) Private Const KEYEVENTF_KEYUP = &H2 Private Const VK_SNAPSHOT = &H2C Private Const VK_MENU = &H12 Sub PrintScreen()     keybd_event VK_SNAPSHOT, 1, 0, 0  End Sub

Read More

Differentiate between Transaction code SE01, SE09, and SE10 in SAP ECC system?

Swarali Sree
Swarali Sree
Updated on 11-Dec-2019 1K+ Views

In early sap version, SE09 and SE10 perform different functions as below:SE09 was widely used in workbench/development of transports.SE10 was widely used in customizing transports.In newer version now, both the Transactions SE09 and SE10 perform the same function as shown in below snapshot.In addition, SE01 is an extension combining SE09 and SE10 functions and adding lot other functions as shown in below snapshot:

Read More

Difference between SE01, SE09 and SE10 Transactions in SAP

Swarali Sree
Swarali Sree
Updated on 11-Dec-2019 5K+ Views

Both SE09 and SE10 were used in earlier releases of SAP for different purposes.SE09 – This was used for development of transportsSE10 – This was used for customizing the transports request. When you run SE10 in SAP ERP, you will get the same screen as in T-Code SE09 of Transport Organizer.In the latest version of SAP NetWeaver, both the Transactions are same.SE01 –This combines the features of both SE09 and SE10. Apart from that, there are many other features included in it like displaying specific transport request.

Read More

How many public classes of the same name it can have in Java?

Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 2K+ Views

A Java file contains only one public class with a particular name. If you create another class with same name it will be a duplicate class. Still if you try to create such class then the compiler will generate a compile time error. Example public class Example { } public class Example{ public void sample(){ System.out.println("sample method of the Example class"); } public void demo(){ System.out.println("demo method of the Example class"); } ...

Read More

What are checked exceptions in Java?

Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 1K+ Views

A checked exception is an exception that occurs at the time of compilation, these are also called as compile time exceptions. These exceptions cannot simply be ignored at the time of compilation; the programmer should take care of (handle) these exceptions. if you use FileReader class in your program to read data from a file, if the file specified in its constructor doesn't exist, then a FileNotFoundException occurs, and the compiler prompts the programmer to handle the exception. Example import java.io.File; import java.io.FileReader; public class FilenotFound_Demo { public static void main(String args[]) { ...

Read More

What is the difference between a Java method and a native method?

Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 721 Views

A native method is the one whose method implementation is done in other languages like c++ and Java. These programs are linked to Java using JNI or JNA interfaces. The difference between normal method and native method is That the native method declaration contains native keyword and, the implementation of the method will be other programming language. Example Tester.java public class Tester { public native int getValue(int i); public static void main(String[] args) { System.loadLibrary("Tester"); System.out.println(new Tester().getValue(2)); ...

Read More

What is the difference between System.out, System.in and System.err streams in Java?

Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 2K+ Views

All the programming languages provide support for standard I/O where the user's program can take input from a keyboard and then produce an output on the computer screen. Similarly, Java provides the following three standard streams:Standard Input: This is used to feed the data to user's program and usually a keyboard is used as a standard input stream and represented as System.in.Standard Output: This is used to output the data produced by the user's program and usually a computer screen is used for standard output stream and represented as System.out.Standard Error: This is used to output the error data produced ...

Read More

How is GENTRAN used in Electronic data interchange EDI in SAP?

SAP
Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 519 Views

Let me give you a basic info about electronic data interchange, it is used to exchange data (usually structured) between firms.Speaking about GENTRAN, it is one of the available EDI tools which can help you parse data in most of the common formats available. If you want to change the format of data from one to another, GENTRAN can do it for you too.Coming up to the most exciting part of it, it provides a drag and drop interface to you where you can program.Usually, when you need to convert a document from one format to another, you need to ...

Read More
Showing 41–48 of 48 articles
« Prev 1 2 3 4 5 Next »
Advertisements