Replace Tab with Space in SAP ABAP

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20

714 Views

You just need to make a small change. You need to add an “If condition” for handling the tab as shown below − if CO gc_hex_char I think it should sort out your issue and neither it looks like hardcoding or a wrong implementation.

Access Import Parameters in SAP ABAP Function Module

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

1K+ Views

ABAP has a function module named “RPY_FUNCTIONMODULE_READ” which lets you extract metadata about the function module. To be more precise, it lets you extract the parameter structure of function module and once you know the parameters then you can access them dynamically. But it comes at a cost, if you need to accomplish it, you should have S_DEVELOP authorizations permissions and it will be a performance intensive operation.Another way round will be to add tracing or logging to function parameters manually.In addition to this, ABAP has a utility class “CL_FB_FUNCTION_UTILITY” which has various methods. One of them is “METH_GET_INTERFACE” which ... Read More

Move SAP Client from One System to Another

Ankitha Reddy
Updated on 30-Jul-2019 22:30:20

1K+ Views

You can also create a copy of the existing clients between local and remote system IDs. Follow the below steps to create a copy of existing clients − Step 1 − To create a copy of a client in local SID, the transaction code is SCCL. Step 2 − Enter the following details − Select your desired profile, enter source client, and enter description. Step 3 − By default, the client copy is executed in a single process and you can distribute the workload on multiple processes to reduce time for copying. Step 4 − Copying a ... Read More

Activation of ABAP Table Failing with Reference Error

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

265 Views

The answer is very naïve. If you have any quantity fields or currency fields, you require reference columns and reference table. You need to just add the reference field and table for any such columns in your table.

Pass Parameters by Value in a Java Method

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20

337 Views

Passing Parameters by Value means calling a method with a parameter. Through this, the argument value is passed to the parameter. Example public class SwappingExample { public static void swapFunction(int a, int b) { int c = a+b; System.out.println("Sum of the given numbers is ::"+c); } public static void main(String[] args) { int a = 30; int b = 45; swapFunction(a, b); } } Output Sum of the given numbers is ::75

Check If a File Exists in Java

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

444 Views

The File class provides exists() method this returns true if a file in the specified path exists else it returns false.ExampleLive Demoimport java.io.File; public class FileHandling {    public static void main(String args[]) {       File file = new File("samplefile");       if(file.exists()) {          System.out.println("Given file existed");       } else {          System.out.println("Given file does not existed");       }    } }OutputGiven file does not existed

JIT Compiler: Part of JVM or Run-Time Interpreter?

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

468 Views

Java uses javac (compiler) to convert the java code to byte code (.class file). Then, JVM internally converts the byte code to system understandable code using the interpreter in addition to it JVM. Instead of executing a piece of code, again and again, JVM identifies them as “hot spots” and compiles them using Just in time compiler and, later reuses the same when required. Just in Time compiler is a compiler which is used by JVM internally to translate the hot spots in the byte code to machine understandable code. The main purpose of JIT compiler is to do heavy ... Read More

Using MIN-IF Function in SAP Dashboard

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

144 Views

You can use SUM if function as status is always 1 or 0.=IF(SUMIF(C:C,Q4,G:G)>=6,1,0)

Difference Between Abstraction and Encapsulation in Java

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

1K+ Views

As per dictionary, abstraction is the quality of dealing with ideas rather than events. For example, when you consider the case of e-mail, complex details such as what happens as soon as you send an e-mail, the protocol your e-mail server uses are hidden from the user. Therefore, to send an e-mail you just need to type the content, mention the address of the receiver, and click send. Abstraction is a process of hiding the implementation details from the user, only the functionality will be provided to the user. In other words, the user will have the information on what ... Read More

Skipping Mandatory Fields in an ABAP Screen

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

1K+ Views

You can make use of function code which is assigned to push button with “Exit” as function type and an event “AT SELECTION-SCREEN ON EXIT-COMMAND” to achieve this.A call is made to this event to validate the fields on the screen and you can implement all logic here.

Advertisements