BAPI to Upload Documents to SAP System Exception Handling

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

471 Views

As mentioned in exception message, it seems that the function module tries to access GUI related function and it doesn’t support BAPIs. So it seems to be a custom RFC module or there is some bug in SAP coding and you should open a support ticket with SAP.Also, you shouldn’t use GUI services in non-GUI operations, and it is not suggested to use class cl_gui_frontend_services and functions GUI_* and you should use OPEN_DATASET FOR INPUT/OUTPUT instruction in RFC function.

Callback Not Working on Remote but Working Locally in SAP CRM

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

275 Views

The issue lies in the class you are using for making a method call. This class is basically making RFC callback with the help of SAP GUI. SO, when you are using the function builder, it works well because it has an SAP GUI connection present.But when you are using an external system, the GUI is missing and it doesn’t works. What you can try is to use some other method which does not have an RFC callback and thus will not have any problem. Try to use ‘create_with_table’ in place of your used method.

Print Data of Specific Element from an Array in Java

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

15K+ Views

An array is a data structure/container/object that stores a fixed-size sequential collection of elements of the same type. The size/length of the array is determined at the time of creation. The position of the elements in the array is called as index or subscript. The first element of the array is stored at the index 0 and, the second element is at the index 1 and so on. Each element in an array is accessed using an expression which contains the name of the array followed by the index of the required element in square brackets. You can access an ... Read More

Internal Table Declaration in SAP and Differences Explained

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

262 Views

As per my understanding, the key difference between two statements is that in first you are reserving memory space for storing 5 lines of the customer_tab table.If you consider performance, the 2nd statement should be better.

LDAP SEARCH Function Not Returning Photos in SAP BSP Application

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

197 Views

I would recommend to use LDAP_READ instead of LDAP_SEARCH and you will see thumbnail photo should be available in a convenient form to be from “XSTRING”.LDAP_SEARCH is mentioned as obsolete in SAP documentation. To see full documentation of this FM, you can use T-code SE37 to open Function Builder. Navigate to Goto ->Documentation -> Function Module Documentation.Function Module: LDAP_READ  Function Group: FSLDAP_EXTProgram Name: SAPLFSLDAP_EXTINCLUDE Name: LFSLDAP_EXTU01

Invalid Connection String in SAP Business One

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

558 Views

The answer lies within the exception message itself. The connection string that you are using to connect to the Business object server is wrongly configured. Check for each parameter, you will find something must be wrong and hence why you are receiving this error message.

Check String for Palindrome Using Arrays in Java

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

9K+ Views

To verify whether the given string is a palindrome (using arrays) Convert the given string into a character array using the toCharArray() method. Make a copy of this array. Reverse the array. Compare the original array and the reversed array. in case of match given string is a palindrome. Example import java.util.Arrays; import java.util.Scanner; public class Palindrome { public static void main(String args[]) { System.out.println("Enter a string "); Scanner sc = new Scanner(System.in); String s ... Read More

Refreshing List Viewer Data Selectively in SAP ABAP

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

148 Views

Only refreshing the selected or the modified rows is compatible or supported in EDIT mode but not in the display mode.As you said, you are using the display mode so I doubt you can do anything. But in case you switch over to EDIT mode from DISPLAY mode, then you can go for and bind the function with the DATA_CHANGED event.You can use the suggested approach and it should work for you. Hope it helps.

Cast a List of Strings to a String Array

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

439 Views

The java.util.ArrayList.toArray() method returns an array containing all of the elements in this list in proper sequence (from first to last element).This acts as bridge between array-based and collection-based APIs. You can convert a list to array using this method of the List class − Example Live Demo import java.util.ArrayList; import java.util.List; public class ListOfStringsToStringArray { public static void main(String args[]) { List list = new ArrayList(); list.add("JavaFX"); list.add("HBase"); ... Read More

Use Workbench with SAP Business One

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

436 Views

The answer is No. Workbench is not present in business one. The reason being the core of business one is not based on ABAP or NetWeaver.Business one relies heavily on SQL. It has a SQL database and you can write queries for fetching data. These data are then used for creating reports.But When you analyze business one with ABAP, the extension capabilities are very little in business one as available in ABAP.But you have other options for achieving the same; you can integrate with either JAVA or .NET using their connectors for writing your custom requirements.

Advertisements