Connecting SAP SOAP WebService with Android application

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

405 Views

You are passing parameter in URL like this: http://XXX.com/xyz/api/sap-client=100&sap-user=username&sap-password=xxxxx"Instead of this, you should pass parameter like this: request.addProperty("sap-client", "100"); request.addProperty("sap-user", "*"); request.addProperty("sap-password", "*");

Moving to SAP BOXI 4.0 from BO XIR2

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

192 Views

This could be cause of usage of different versions of cryptocme2.dllThis is location of CA's file: C:\Program Files\CA\SC\ETPKI\lib\cryptocme2.dll [Additional Info: File Version: Not Available, Timestamp: 2/29/2012 9:43 PM, size 3, 188 KB] Location of SAP's file : D:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\cryptocme2.dll [ Additional Info: File Version 3.0.0.0 , TimeStamp: 2/25/2011 6:55 PM, size: 1704 KB]To fix this issue: you need to rename dll C:\Program Files\CA\SC\ETPKI\lib\cryptocme2.dll to cryptocme2_ca.dllNext is to copy D:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\cryptocme2.dll to C:\Program Files\CA\SC\ETPKI\lib\Next is to uninstall BO XI 4.0 SDK via Control Panel.You have to restart the Box and stop ... Read More

How (where) are the elements of an array stored in memory?

Priya Pallavi
Updated on 30-Jul-2019 22:30:20

2K+ Views

In Java, arrays are objects, therefore just like other objects arrays are stored in heap area. An array store primitive data types or reference (to derived data) types Just like objects the variable of the array holds the reference to the array.

Checking implementation of interface IF_EX_IDOC_CREATION_CHECK in SAP ABAP

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

666 Views

IDOC_DATA_CHECK – This method is used to check IDoc Data to see If an IDoc is Generated.You can check documentation of this interface IF_EX_IDOC_CREATION_CHECK by using T-Code: SE24 or SE80You can refer this Method by using this syntax: CALL METHOD IF_EX_IDOC_CREATION_CHECK=>methodname EXPORTING/IMPORTING...Now come to you issue, an Exit statement takes program out of the loop. Incase you have loop as only processing block, it will also exit the method. You need to call BADI/method for each Idoc.

Creating context for JNDI in SAP NetWeaver Developer Studio

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

198 Views

You have to use following properties while running tests outside NWDS:java.naming.factory.initial=com.sap.engine.services.jndi.InitialContextFactoryImpl java.naming.provider.url={our nw host}:50004

Uploading data to SAP via WebService using WCF in C#

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

353 Views

I think you should try using long properties as it is one of closed way to get to achieve this.

How to use EXPORT / IMPORT to Memory ABAP – SAP?

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

1K+ Views

As per your requirement, you are utilizing ABAP memory to transfer data to background session from session of the user. It will not work as per the standard documentation.  RFC or updates module will run in different user sessions with different ABAP memory and hence it will not be possible.

How to pause an ABAP program?

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

759 Views

Either you can use SAP “WAIT UP TO” statement. For e.g. the below statement waits up for 30 seconds WAIT UP TO 30 SECONDS But this statement has an implicit database commit. It might sound weird but there are scenarios where this behavior is expected so you should be aware of whether this fits your use case or not. In addition to this, it performs a rollout and releases the worker processes. But the use cases where you don’t want to have an implicit database commit and worker process are considered important then you can go for an ... Read More

How can I transfer data from SAP HANA to virtual table?

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

564 Views

You are making a basic mistake over here. A VORA virtual table does not support the traditional INSERT or UPDATE or DELETE statements. If you are planning to make any modification to data from VORA itself, then you need to use the APPEND command to add data or files to the table. But since you are trying from SAP HANA even this will not work for you. For your requirement, you need to have a HDFS file then use it for appending to the virtual table.

How to convert BLOB to Byte Array in java?

Ramu Prasad
Updated on 30-Jul-2019 22:30:20

8K+ Views

You can contents of a blob into a byte array using the getBytes() method.Exampleimport java.awt.Image; import java.awt.image.BufferedImage; import java.sql.Blob; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.Arrays; public class BlobToByteArray { public static void main(String[] args) throws Exception { Image image = new BufferedImage(300, 400, BufferedImage.TYPE_INT_RGB); String JDBC_DRIVER = "com.mysql.jdbc.Driver"; String DB_URL = "jdbc:mysql://localhost/mydb"; String USER = "root"; String PASS = "password"; ... Read More

Advertisements