What are valid identifiers in Java?

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

672 Views

A valid identifier in java – Must begin with a letter (A to Z or a to z), currency character ($) or an underscore (_). Can have any combination of characters after the first character. Cannot be a keyword. Example Following example shows various possible identifiers used to declare a variable in Java. Live Demo public class VariableTest { public static void main(String args[]) { // Declaring a variable named num int num = 1; ... Read More

Transaction Jobs with no access to SM36 in SAP system

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

182 Views

There are few modules which let you schedule jobs programmatically like ‘JOB_OPEN’ or ‘JOB_CLOSE’. You can use these modules to schedule the job and then run it.You can programmatically handle it irrespective of privilege issue.

Finding index of rows and columns in SAP

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

314 Views

To identify the index of the row, you can use the property “indexOfRow” to get the row of the clicked button.All the buttons will be in the same column, so it does not make sense to get the column index, but if you still need to get the column index then you can go ahead and use the property “indexOfColumn” or “columnIndex”.

Identify required fields for an MB01 transaction in SAP

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

191 Views

As you have mentioned that you have access to SAP system. The solution lies within. Specify the transaction SE37 and mention the BAPI call that you have identified. It will navigate you to proper documentation of the call.But in order for that documentation to be of any help, you will still require movement type for your system. You can check it out with your infrastructure team to help you identify the movement type. Once you know the movement type, you will require other details like material number and others for more details. But that can be determined with minimal efforts. ... Read More

Are identifiers hello and Hello same in Java?

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

191 Views

Identifiers in Java are case-sensitive, therefore, hello and Hello are considered as two different identifiers.

Why can’t we override static methods in Java?

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

5K+ Views

Overloading is the mechanism of binding the method call with the method body dynamically based on the parameters passed to the method call.Static methods are bonded at compile time using static binding. Therefore, we cannot override static methods in Java.

Invoke a Web service from AJAX in SAP application

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

171 Views

It does not change much in SAP. How you have been doing in other projects like .NET or other, you need to incorporate the same.You need to send a POST or GET request to the intended service with the help of URL.In order to get the URL, you need to seek help from the ABAP person who would be exposing the service to fetch the WSDL file for all the details about the service.Once you have the WSDL, you can frame the request object with all required input parameters to make an AJAX call.

Keyboard shortcut for double clicking a selected object in SAP

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

487 Views

You can use F2 for this.

How do I write class names in Java?

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

4K+ Views

While writing class names you need to keep the following points in mind. You shouldn’t use predefined or existing class names as the name of the current class. You shouldn’t use any Java keywords as class name (with the same case). The First letter of the class name should be capital and remaining letters should be small (mixed case). class Sample Likewise, first letter of each word in the name should be capital an remaining letters should be small. class Test Keeping interface names simple and descriptive is suggestable. Better not ... Read More

Make a custom function call without using SAP NetWeaver

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

90 Views

I know a couple of ways how can you can go ahead and use the RFC you have created from SAPUI5 but without using SAP NetWeaver.You can try to create a web service or a REST service which uses the RFC that you have created. Host the service in the SAP environment and then you can use the service in SAP UI5 with the help of URL.Or you can go for a SICF service and have a handler for the service. In the handler of the service, you can have the same logic for fetching the content as you have ... Read More

Advertisements