on 05-06-2009 8:27 AM
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.
DATA:
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.
ENDLOOP.
Thank You.
Manjula.B
Hi Manjula,
I'm implementing that soluction... Have you?
Now I'm having problem with the code when says:
lt_data TYPE zpushdbpush_table_datarow_tab,
ls_data TYPE zpushdbpush_table_datarow,
ls_applid TYPE zpushdbpush_table_process_id,
So, when activating that code does not generate... The system return error informing that the TYPE zpushdbpush_table_datarow_tab does not exist... can you help me on that?
With ANY kind of information?
Thanks!
Best regards,
Demétrius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.