Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Need to Push data from BI to XI

Hi Experts,

We have a requirement to push data from BI to XI(using Open Hub).

we found some document, in which excute method is selecting from specific open hub table,

we have more than 5 open hub destinations to send data to XI.

do i require to create like this 5 classes or do u have another other method to create one class

and use it for all objects.

this is the sample code, which give hardcoded open hub name.


lt_data TYPE zpushdbpush_table_datarow_tab,

ls_data TYPE zpushdbpush_table_datarow,

ls_applid TYPE zpushdbpush_table_process_id,

l_db_line TYPE /bic/ohnwl_oh_xi,

l_db_tab TYPE TABLE OF /bic/ohnwl_oh_xi.

SELECT * FROM /bic/ohnwl_oh_xi INTO TABLE l_db_tab.

LOOP AT l_db_tab INTO l_db_line.

CLEAR ls_data.

MOVE-CORRESPONDING l_db_line TO ls_data.

APPEND ls_data TO lt_data.


Thank You.


Not what you were looking for? View more on this topic or Ask a question