Show TOC

API: RSB_API_OHS_DEST_READ_DATA_RAWLocate this document in the navigation structure

This API reads data from the database table in the BW system. Unlike API RSB_API_OHS_DEST_READ_DATA, you do not need to make sure that the same code pages are used. You can specify the code page using the ENCODING parameter. The data transfer is binary (in raw format).

Recommendation

We recommend using the new API instead of RSB_API_OHS_DEST_READ_DATA, as the new API can be used with different code pages.

Parameters:

Parameter

Type

Description

Import

OHDEST

RSOHDEST

Name of the open hub destination

REQUESTID

RSBREQUIDOUT

Request ID

PACKETID

I

Data package to be read. Is the value is empty or null, all packages are read.

SKIP_TECKEY

RS_BOOL

Skips technical keys in the target structure (layout structure)

ENQUEUE_LOOP_COUNT

I

Counter for lock loop. A loop waits five seconds before the next loop starts.

ENCODING

ABAP_ENCOD

Identifier for the character format (UTF-8, UCS-2 etc.) For more information, see SAP Note 73606.

Export

NUMROWS

BAPI6116XX-NUMROWS

Number of rows

LINES_PER_RECORD

BAPI6116XX-NUMROWS

Number

NUMB_OF_PACKETS

I

Number of packages for this request in the DB table

RETURN

BAPIRET2

Tables

DATALAYOUT

BAPI6118DALO

Layout of the data structure

RESULTDATA

BAPI6100DARAW

Data record (binary) with continuation indicator