Difference Between System.out, System.in, and System.err Streams in Java

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

1K+ 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

Where is VKORG Stored in SAP

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

2K+ Views

Since VKORG is related to sales, it is stored in VBAK which is header table for all the sales order. It is a mandatory field on the table so it is mapped with order and stored with the order itself.You can get the description in the TVKOT table for more details on the sales order.

Error: Invalid Schema Name in SAP HANA

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

1K+ Views

I think you need to mention database name in JDBC URL while connecting to the database. Try following − String server = "servername.domain.com"; String instance = "03"; String database = "TEST"; String dbUsername = "USERNAME"; String dbPassword = "xxxxxx"; String jdbcUrl = "jdbc:sap://" + server + ":3" + instance + "15/?currentschema=" + database + "&user=" + dbUsername + "&password=" + dbPassword; java.sql.Connection connection = java.sql.DriverManager.getConnection(jdbcUrl);

Controlling Close Events in SAP Business One Screen Painter

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

284 Views

You can make use of SP_TransactionNotification, which is one of the most common way of receiving notification of data-driven events. With the use of SP_TransactionNotification, you can edit error code returned by Transaction notification, and also prevent transaction to committed.This shows how to prevent a purchase order from adding when the base document is not provided. You can make use of SBO_SP_TransactionNotification for Screen Painter forms in SBO to avoid null values.

Generate Excel from a Report in SAP System

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

333 Views

I am not sure what you are asking, reason being if you are saying that the report is running in the background, then how it will come to know where the file needs to be saved locally (where locally it should be saved).However assuming few things, what can you try out is you can generate the file (translating data into excel is not a big task and get snippets online easily) on AS.Once generated, you can move this file from report running location to location of your choice using any SHELL command. It’s not suggested that you make a connection ... Read More

Apply Sorting on Date in SAP BO Webi Report

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

704 Views

As you had already mentioned that you are using FormatDate function to format the date, So the sorting is applied to the output of the function which is STRING. So it applies sorting on the string and sorts only the initial alphabets which are a day in your case.You can get your task done in few ways:Easiest option will add another column with the same field and then apply sorting on this and then hide the column. This will sort your data on the date field.Other but better option will be using a custom date format to format the date ... Read More

Upload Excel File in Web Dynpro for ABAP

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

446 Views

Note that an Excel stores data in number format and to display in date format, you have to show it format as a date. You can also try using this formula: TEXT(31421,"YYYY-mm-dd") and the date should display correctly.

Check Technical Information for SAP Screen Fields

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

576 Views

When you have report selection screen option, you can use Ctrl+S to enter the variant screen. Press Technical Name button to display technical name information for the respective field.In case you want more information related to parameter field, you can write an ABAP code to see the definition.Mostly, F1 key is used to get all the details about the technical details of a particular field as shown in below:Also if you want to see Technical name of objects in SAP ECC Easy access for all the modules, you can navigate to Extras -> Settings

What is Callable Interface in Java

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

899 Views

The Callable interface is found in the package java.util.concurrent. The Callable object can return the computed result done by a thread in contrast to a runnable interface which can only run the thread. The Callable object returns a Future object which provides methods to monitor the progress of a task being executed by a thread. The future object can be used to check the status of a Callable and then retrieve the result from the Callable once the thread is done. It also provides timeout functionality.

Creating a Dashboard from Webi Report

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

643 Views

Yes, you can use Webi report in Dashboard using Web Service URL. You can use that URL in dashboard. To get URL, you need to select table in Webi report -> Right click Publish.

Advertisements