Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3228

How to define xstring in java?

$
0
0

Hello,

 

I have a question for the JCo library:

I would like to use the Jco to execute a rfc-programm in SAP BW to write data directly into an DSO.

Therefore I got a small programm where I try to trigger "RSDRI_ODSO_INSERT_RFC" from SAP BW.

To submit data it uses an xstring as parameter.

 

Now I'm not sure how to define the xstring parameter in Java. If I read it right, the xstring is an byte sequence. Is this right?

So can I use a simple byte array in java for the parameter? Does anyone have a simple example how I can give some data as paramter to an xstring parameter in java, so that the ABAP application server will work with it?

 

Thanks in advance.

Best Regards

Stefan


Viewing all articles
Browse latest Browse all 3228

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>