Escolar Documentos
Profissional Documentos
Cultura Documentos
The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help
Portal.
Note
This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.
2016 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP
SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are
provided by SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP
Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set
forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in
Germany and other countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
Table of content
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 1 of 6
Table of content
1 Extracting Data to a Third-Party Tool
1.1 APIs for Third-Party Tools as Destinations
1.1.1 API: RSB_API_OHS_DEST_SETPARAMS
1.1.2 API: RSB_API_OHS_3RDPARTY_NOTIFY
1.1.3 API: RSB_API_OHS_REQUEST_SETSTATUS
1.1.4 API: RSB_API_OHS_DEST_GETLIST
1.1.5 API: RSB_API_OHS_DEST_GETDETAIL
1.1.6 API: RSB_API_OHS_DEST_READ_DATA_RAW
1.1.7 API: RSB_API_OHS_DEST_READ_DATA
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 2 of 6
Define an open hub destination with Third-Party Tool as the destination type.
Create an RFC destination for your third-party tool and enter it in the definition of the open hub destination.
Use API RSB_API_OHS_DEST_SETPARAMS to define the parameters for the third-party tool that are required for the extraction.
Start extraction immediately or include it in a process chain. You can also start this process chain from the third-party tool using process chain API
RSPC_API_CHAIN_START. The extraction process writes the data to a database table in the BW system.
5. When the extraction process is finished, the system sends a notification to the third-party tool using API RSB_API_OHS_3RDPARTY_NOTIFY.
6. The extracted data is read by API RSB_API_OHS_DEST_READ_DATA or RSB_API_OHS_DEST_READ_DATA.
7. The status of the extraction is transferred to the monitor by API RSB_API_OHS_REQUEST_SETSTATUS.
Type
Description
Import
OHDEST
RSOHDEST
3RDPARTYSYSTEM
LOGSYS
EXTEND
RS_BOOL
Export
RETURN
BAPIRET2
Tables
PARAMETERS
BAPI6107PA
Parameter table
EXTEND: If the value is true, new parameters are added to the existing parameters. If the value is false, the existing parameters are deleted and the new
parameters are inserted. The default setting is false.
The PARAMETERS table contains all the parameters required by the third-party system and saves these parameters in the metadata of the open hub
destination. When extraction is finished, these parameters are sent to the third-party system (3RDPARTYSYSTEM) using API
RSB_API_OHS_DEST_SEND_NOTIFICATION.
Type
Description
Import
OHDEST
RSOHDEST
REQUESTID
RSBREQUIDOUT
Request ID
NUMB_OF_PACKETS
DBTABNAME
RSBTABNAME
Name of DB table
DBRECORDS
SYTABIX
TIMESTAMP
BAPIBP_TIMESTAMP
Export
RETURN
BAPIRET2
Tables
PARAMETERS
BAPI6107PA
Exceptions
COMMUNICATION_FAILURE
Parameter table
SYSTEM_FAILURE
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 3 of 6
The OHD state is the status of extraction to the BI system; it is dependent on the status of the third-party tool. This status is set by the third-party tool.
STOP means that the request has not been started. The BI system waits until the status of the third-party tool is set to green. Only then does it start
extraction.
Import
Export
Parameter
Type
Description
REQUESTID
RSBREQUIDOUT
Request ID
STATUS
RSBSTAT3RD
MESSAGE
BAPI_MSG
RETURN
BAPIRET2
Type
Description
Import
OHDEST
RSOHDEST
DESTTYPE
RSDESTTYPE
Type of destination:
TAB = DB table
TAB3 = third-party tool
FILE = flat file
Export
RETURN
BAPIRET2
Tables
DEST_TAB
RSBOHDESTS
Table DEST_TAB contains all the destinations that the import parameter accesses.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 4 of 6
Import
Export
Parameters
Type
Description
OHDEST
RSOHDEST
SKIP_TECKEY
RS_BOOL
RFCINFOSPOKE
RSINFOSPOKE
RFCUPDATEMETHOD
RSBUPDMODE
initial)
Extraction mode of InfoSpoke (not
relevant for new open hub destination,
and remains initial)
RFCDATABASETABLENAME
RSBTABNAME
Name of DB table
RFCPROCESSCHAIN
RSPC_CHAIN
RFCDESTYPE
RSDESTTYPE
RFCTLOGOSRC
RSTLOGOSRC
RETURN
BAPIRET2
DBTAB_STRUCTURE
BAPI6118DALO
PARAMETERS
BAPI6107PA
T_MESSAGES
BAPIRETTAB
Messages
remains empty.
Tables
RFCDTPT
RFCPROCESSCHAINT
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:
Import
Parameter
Type
Description
OHDEST
RSOHDEST
REQUESTID
RSBREQUIDOUT
Request ID
PACKETID
SKIP_TECKEY
RS_BOOL
ENQUEUE_LOOP_COUNT
ENCODING
ABAP_ENCOD
Tables
NUMROWS
BAPI6116XX-NUMROWS
Number of rows
LINES_PER_RECORD
BAPI6116XX-NUMROWS
Number
NUMB_OF_PACKETS
RETURN
BAPIRET2
DATALAYOUT
BAPI6118DALO
RESULTDATA
BAPI6100DARAW
Recommendation
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 5 of 6
Try to avoid using API RSB_API_OHS_DEST_READ_DATA if possible. We recommend using the new API RSB_API_OHS_DEST_READ_DATA_RAW
instead, as this can be used with different code pages.
Import
Parameter
Type
Description
OHDEST
RSOHDEST
REQUESTID
RSBREQUIDOUT
Request ID
PACKETID
SKIP_TECKEY
RS_BOOL
I_ENQUEUE_LOOP_COUNT
NUMROWS
BAPI6116XX-NUMROWS
Number of rows
LINES_PER_RECORD
BAPI6116XX-NUMROWS
Number
NUMB_OF_PACKETS
RETURN
BAPIRET2
DATALAYOUT
BAPI6118DALO
Layout of records
RESULTDATA
BAPI6116DA
the DB table
Tables
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 6 of 6