RFC_ABAP_Exception Error While Querying Columns Using RFC_READ_TABLE in SAP

Vikyath Ram
Updated on 30-Jul-2019 22:30:20

322 Views

It is not because of a number of columns but the actual total size of the fields you are querying. It should not be more than 512 bytes.  For RFC communication, the types likes DATA or STANDARD table are not supported. So the RFC_READ_TABLE function module has to convert the data into the generic format and the data is transferred as a series of lines. It is the size of these table lines that matter. The size cannot exceed 512 characters.  If the size is greater than 512 characters, the module throws a Rfcabapexception exception with a short dump.  The ... Read More

Check User Authorization for T-Code in SAP System

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

9K+ Views

To check if a user has authorization for T-code or not you can use Transaction SUIM. You can manage user permissions using different ways like profile assignment via a single role, collective roles that contain single roles, etc. Below shows SUIM transaction that opens User Information System as below:You can also join tables: AGR_USERS and AGR_1251AGR_USERS is a standard SAP Table which is used to store Assignment of roles to user information. This is available within R/3 SAP systems depending on the version and release level.AGR_1251 is a standard SAP Table which is used to store Authorization data for the activity ... Read More

Write Variable Names in Java

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

4K+ Views

While choosing an identifier to declare a variable in Java you need to keep the following points in mind. The name of the variable should begin with either alphabet or, an underscore (_) or, a dollar ($) sign. The identifiers used for variables must not be keywords. No spaces or special characters are allowed in the variable names of Java. Variable names may contain 0 to 9 numbers (if not at the beginning). Variable names are case sensitive i.e. MY_NUM is different from my_num. If you use two words in a identifier then the you should follow camel case ... Read More

References Not Allowed in SAP Remote Function Call

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

380 Views

You are trying to make use of references but you should be aware that it is accessible only with the same stack and in your case, it is not. You are creating a remote function module and here references will not work. So, you should be going with parameters as ‘pass by value’ instead of ‘pass by reference’.

Check List of Existing Authority Objects in SAP System

Monica Mona
Updated on 30-Jul-2019 22:30:20

536 Views

To maintain authorization objects, you can use T-code: SU21 in SAP ECC system.You can all authorization objects including S_CARRID is located inside the different class like - BC_C object class.

Why Method Overloading Cannot Be Achieved by Changing Only the Return Type in Java

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

3K+ Views

Overloading is the mechanism of binding the method call with the method body dynamically based on the parameters passed to the method call. If you observe the following example, it contains two methods with same name, different parameters and if you call the method by passing two integer values the first method will be executed and, if you call by passing 3 integer values then the second method will be executed.It is not possible to decide to execute which method based on the return type, therefore, overloading is not possible just by changing the return type of the method. Example ... Read More

Using AT FIRST to Initialize Variables in Loop in SAP ABAP

Rishi Raj
Updated on 30-Jul-2019 22:30:20

170 Views

There would not be much of difference in both ways. The only thing is without AT_FIRST, the counter variables will be cleared in all cases while using AT_FIRST, the counter variables will be cleared only if there is at least one execution of the loop. So, the only difference would come into the picture if ls_itab is empty.

Recovery Database SBO COMMON in SAP Business One

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

1K+ Views

In SAP Business One, SBO-Common is only used in functionality handling or following your company database. Normal day to day business functions happens entirely in the company database. You can create a new set of sample database SBO-COMMON by reinstalling SAP B1 server. SBO-Common database holds this information − DB List (DB's which having SAP DB Structures) DB Details like Version, Upgrade Details License Details For more details about SBO-COMMON database, you can refer below link − https://archive.sap.com/discussions/thread/1447063

Same Features in SAP ABAP as in Visual Studio

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

106 Views

If you want to show all the occurrences of a variable in an ABAP program, you can use a shortcut- ctrl+shift+F3 or you can also make use of Yellow icon at the top.

Can We Overload the Main Method in Java

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

3K+ Views

Yes, we can overload the main method in Java, but When we execute the class JVM starts execution with public static void main(String[] args) method. Example Live Demo public class Sample{ public static void main(){ System.out.println("This is the overloaded main method"); } public static void main(String args[]){ Sample obj = new Sample(); obj.main(); } } Output This is the overloaded main method

Advertisements